Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
91617877
authored
Oct 15, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: close tour when user clicks things
parent
659102d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
circle/dashboard/static/dashboard/vm-common.js
+1
-1
circle/dashboard/static/dashboard/vm-tour.js
+7
-1
No files found.
circle/dashboard/static/dashboard/vm-common.js
View file @
91617877
...
@@ -28,7 +28,7 @@ $(function() {
...
@@ -28,7 +28,7 @@ $(function() {
$
(
'#vm-migrate-node-list li input:checked'
).
closest
(
'li'
).
addClass
(
'panel-primary'
);
$
(
'#vm-migrate-node-list li input:checked'
).
closest
(
'li'
).
addClass
(
'panel-primary'
);
}
}
});
});
return
false
;
e
.
preventDefault
()
;
});
});
/* if the operation fails show the modal again */
/* if the operation fails show the modal again */
...
...
circle/dashboard/static/dashboard/vm-tour.js
View file @
91617877
var
intro
;
$
(
function
()
{
$
(
function
()
{
$
(
"#vm-details-start-template-tour"
).
click
(
function
()
{
$
(
"#vm-details-start-template-tour"
).
click
(
function
()
{
var
intro
=
introJs
();
intro
=
introJs
();
intro
.
setOptions
({
intro
.
setOptions
({
'nextLabel'
:
gettext
(
"Next"
)
+
' <i class="fa fa-chevron-right"></i>'
,
'nextLabel'
:
gettext
(
"Next"
)
+
' <i class="fa fa-chevron-right"></i>'
,
'prevLabel'
:
'<i class="fa fa-chevron-left"></i> '
+
gettext
(
"Previous"
),
'prevLabel'
:
'<i class="fa fa-chevron-left"></i> '
+
gettext
(
"Previous"
),
...
@@ -28,6 +29,11 @@ $(function() {
...
@@ -28,6 +29,11 @@ $(function() {
return
false
;
return
false
;
});
});
$
(
document
).
on
(
'click'
,
'button[type="submit"], a.operation'
,
function
()
{
if
(
intro
)
intro
.
exit
();
});
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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