mirror of https://github.com/Aidaho12/haproxy-wi
parent
813e341988
commit
9a4d29076e
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
function Intro() {
|
||||
var intro = introJs();
|
||||
let intro = introJs();
|
||||
intro.setOptions({
|
||||
steps: [
|
||||
{
|
||||
|
@ -95,16 +95,16 @@
|
|||
let intro = introJs();
|
||||
intro.setOptions({
|
||||
hints: [
|
||||
{ hint: 'A new way for Groups and Roles. Try it!', element: '#user-group-role-th' },
|
||||
{ hint: 'Looking for Services? They\'re here, now it\'s called Tools', element: '#ui-id-7' },
|
||||
]
|
||||
});
|
||||
intro.onhintclose(function() {
|
||||
localStorage.setItem('introHintAdminRoles', 1);
|
||||
localStorage.setItem('introHintAdminTools', '1');
|
||||
localStorage.removeItem('introHintAdminRoles');
|
||||
});
|
||||
return intro;
|
||||
}
|
||||
// setTimeout(() => { var intro_temp = Intro(); startIntro(intro_temp); }, 3000);
|
||||
if (!localStorage.getItem('introHintAdminRoles')) {
|
||||
if (!localStorage.getItem('introHintAdminTools')) {
|
||||
setTimeout(() => {
|
||||
var intro_temp = introHints();
|
||||
intro_temp.addHints();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
function Intro() {
|
||||
var intro = introJs();
|
||||
let intro = introJs();
|
||||
intro.setOptions({
|
||||
steps: [
|
||||
{
|
||||
|
@ -82,12 +82,10 @@
|
|||
},
|
||||
{
|
||||
element: document.querySelector('.menu'),
|
||||
intro: "7 more sections left to discover. Meet you there :)",
|
||||
intro: "9 more sections left to discover. Meet you there :)",
|
||||
}
|
||||
]
|
||||
});
|
||||
return intro;
|
||||
}
|
||||
|
||||
// setTimeout(() => { var intro_temp = Intro(); startIntro(intro_temp); }, 3000);
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue