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
Commit
17eb9faa
authored
May 05, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: touches to tour
parent
a8c6a220
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
circle/dashboard/static/dashboard/dashboard.css
+4
-0
circle/dashboard/static/dashboard/vm-tour.js
+4
-7
circle/dashboard/templates/dashboard/vm-detail.html
+1
-1
No files found.
circle/dashboard/static/dashboard/dashboard.css
View file @
17eb9faa
...
@@ -548,3 +548,7 @@ footer a, footer a:hover, footer a:visited {
...
@@ -548,3 +548,7 @@ footer a, footer a:hover, footer a:visited {
.table-sorting
{
.table-sorting
{
display
:
none
;
display
:
none
;
}
}
#ops
{
padding
:
15px
0
15px
15px
;
}
circle/dashboard/static/dashboard/vm-tour.js
View file @
17eb9faa
/* TODO i18n
* https://docs.djangoproject.com/en/1.5/topics/i18n/translation/#internationalization-in-javascript-code
*/
$
(
function
()
{
$
(
function
()
{
$
(
".vm-details-start-template-tour"
).
click
(
function
()
{
$
(
".vm-details-start-template-tour"
).
click
(
function
()
{
ttour
=
createTemplateTour
();
ttour
=
createTemplateTour
();
...
@@ -101,8 +98,8 @@ function createTemplateTour() {
...
@@ -101,8 +98,8 @@ function createTemplateTour() {
ttour
.
addStep
({
ttour
.
addStep
({
element
:
"
.operation-deploy
"
,
element
:
"
#ops
"
,
title
:
gettext
(
"Deploy"
),
title
:
'<i class="icon-play"></i> '
+
gettext
(
"Deploy"
),
placement
:
"left"
,
placement
:
"left"
,
backdrop
:
true
,
backdrop
:
true
,
content
:
gettext
(
"Deploy the virtual machine."
),
content
:
gettext
(
"Deploy the virtual machine."
),
...
@@ -125,8 +122,8 @@ function createTemplateTour() {
...
@@ -125,8 +122,8 @@ function createTemplateTour() {
});
});
ttour
.
addStep
({
ttour
.
addStep
({
element
:
"
.operation-save_as_template
"
,
element
:
"
#ops
"
,
title
:
gettext
(
"Save as"
),
title
:
'<i class="icon-save"></i> '
+
gettext
(
"Save as"
),
placement
:
"left"
,
placement
:
"left"
,
backdrop
:
true
,
backdrop
:
true
,
content
:
gettext
(
'Press the "Save as template" button and wait until the activity finishes.'
),
content
:
gettext
(
'Press the "Save as template" button and wait until the activity finishes.'
),
...
...
circle/dashboard/templates/dashboard/vm-detail.html
View file @
17eb9faa
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
{% endif %}
{% endif %}
<div
class=
"body-content"
>
<div
class=
"body-content"
>
<div
class=
"page-header"
>
<div
class=
"page-header"
>
<div
class=
"pull-right"
style=
"padding-top: 15px;"
id=
"ops"
>
<div
class=
"pull-right"
id=
"ops"
>
{% include "dashboard/vm-detail/_operations.html" %}
{% include "dashboard/vm-detail/_operations.html" %}
</div>
</div>
<h1>
<h1>
...
...
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