Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Embedded Genesys UI
Commits
d136bb5a
Commit
d136bb5a
authored
Aug 06, 2021
by
Matija Obreza
Browse files
v1.1.0 Release
parent
93468fa9
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
d136bb5a
...
...
@@ -12,13 +12,13 @@ Explore the demo at https://genesys-pgr.p.gitlab.croptrust.org/ui-embedded/
Add Javascript dependencies to your page:
```
html
<script
src=
"https://cdn.jsdelivr.net/npm/@genesys-pgr/ui-embedded@1.1.0
-alpha5
/dist/genesys-deps.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/@genesys-pgr/ui-embedded@1.1.0
-alpha5
/dist/genesys-ui.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/@genesys-pgr/ui-embedded@1.1.0/dist/genesys-deps.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/@genesys-pgr/ui-embedded@1.1.0/dist/genesys-ui.js"
></script>
<!-- Recommended: Bootstrap CSS -->
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
/>
<!-- Genesys UI CSS -->
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/@genesys-pgr/ui-embedded@1.1.0
-alpha5
/dist/genesys-deps.css"
/>
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/@genesys-pgr/ui-embedded@1.1.0/dist/genesys-deps.css"
/>
```
Add a container
`<div>`
to your HTML page and initialize the Genesys UI with the
`<script>`
:
...
...
index.html
View file @
d136bb5a
...
...
@@ -9,7 +9,7 @@
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
integrity=
"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2"
crossorigin=
"anonymous"
/>
<!-- Genesys UI CSS-->
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/@genesys-pgr/ui-embedded@1.1.0
-alpha5
/dist/genesys-deps.css"
/>
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/@genesys-pgr/ui-embedded@1.1.0/dist/genesys-deps.css"
/>
</head>
<body>
...
...
@@ -60,8 +60,8 @@
felis nec auctor ultrices.
</p>
</div>
<script
src=
"https://cdn.jsdelivr.net/npm/@genesys-pgr/ui-embedded@1.1.0
-alpha5
/dist/genesys-deps.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/@genesys-pgr/ui-embedded@1.1.0
-alpha5
/dist/genesys-ui.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/@genesys-pgr/ui-embedded@1.1.0/dist/genesys-deps.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/@genesys-pgr/ui-embedded@1.1.0/dist/genesys-ui.js"
></script>
<script
type=
"text/javascript"
>
// Detect language from query string
const
queryLang
=
document
.
location
.
search
&&
document
.
location
.
search
.
substr
(
1
)
||
undefined
;
...
...
package.json
View file @
d136bb5a
{
"name"
:
"@genesys-pgr/ui-embedded"
,
"version"
:
"1.1.0
-alpha5
"
,
"version"
:
"1.1.0"
,
"publishConfig"
:
{
"access"
:
"public"
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment