Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0a56f429
authored
Apr 22, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix template wizard texts
parent
a46d3f9c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
15 deletions
+7
-15
circle/dashboard/static/dashboard/vm-tour.js
+7
-7
circle/dashboard/templates/dashboard/vm-detail.html
+0
-8
No files found.
circle/dashboard/static/dashboard/vm-tour.js
View file @
0a56f429
...
...
@@ -46,7 +46,7 @@ function createTemplateTour() {
backdrop
:
true
,
element
:
'a[href="#home"]'
,
title
:
gettext
(
"Home tab"
),
content
:
gettext
(
"In this tab you can tag your virtual machine and modify the description."
),
content
:
gettext
(
"In this tab you can tag your virtual machine and modify the
name and
description."
),
placement
:
'top'
,
onShow
:
function
()
{
$
(
'a[href="#home"]'
).
trigger
(
"click"
);
...
...
@@ -69,7 +69,7 @@ function createTemplateTour() {
placement
:
'top'
,
backdrop
:
true
,
title
:
gettext
(
"Resources"
),
content
:
'<p><strong>'
+
gettext
(
"CPU priority"
)
+
":</strong> "
+
gettext
(
"higher
(or lower?)
is better"
)
+
"</p>"
+
content
:
'<p><strong>'
+
gettext
(
"CPU priority"
)
+
":</strong> "
+
gettext
(
"higher is better"
)
+
"</p>"
+
'<p><strong>'
+
gettext
(
"CPU count"
)
+
":</strong> "
+
gettext
(
"number of CPU cores."
)
+
"</p>"
+
'<p><strong>'
+
gettext
(
"RAM amount"
)
+
":</strong> "
+
gettext
(
"amount of RAM."
)
+
"</p>"
,
onShow
:
function
()
{
...
...
@@ -118,14 +118,14 @@ function createTemplateTour() {
});
ttour
.
addStep
({
element
:
"
.alert-new-templat
e"
,
placement
:
"
bottom
"
,
element
:
"
#vm-info-pan
e"
,
placement
:
"
top
"
,
title
:
gettext
(
"Customize the virtual machine"
),
content
:
gettext
(
"After you have connected to the virtual
do you modifications
."
),
content
:
gettext
(
"After you have connected to the virtual
machine do you modifications then log off
."
),
});
ttour
.
addStep
({
element
:
".
vm-details-button-save-as
"
,
element
:
".
operation-save_as_template
"
,
title
:
gettext
(
"Save as"
),
placement
:
"left"
,
backdrop
:
true
,
...
...
@@ -135,7 +135,7 @@ function createTemplateTour() {
ttour
.
addStep
({
element
:
".alert-new-template"
,
title
:
gettext
(
"Finis
i
h"
),
title
:
gettext
(
"Finish"
),
backdrop
:
true
,
placement
:
"bottom"
,
content
:
gettext
(
"This is the last message, if something is not clear you can do the the tour again!"
),
...
...
circle/dashboard/templates/dashboard/vm-detail.html
View file @
0a56f429
...
...
@@ -26,14 +26,6 @@
<li>
{% trans "Log off from the machine" %}
</li>
<li>
{% trans "Press the Save as template button" %}
<form
style=
"display: inline;"
class=
"vm-details-button-save-as pull-right"
method=
"POST"
action=
"{% url "
dashboard
.
views
.
detail
"
pk=
instance.pk
%}"
>
{% csrf_token %}
<input
type=
"hidden"
name=
"save_as"
/>
<button
class=
"btn btn-default btn-lg"
type=
"submit"
>
<i
class=
"icon-save"
></i>
{% trans "Save as template" %}
</button>
</form>
</li>
</ol>
</div>
...
...
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