Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
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() {
...
@@ -46,7 +46,7 @@ function createTemplateTour() {
backdrop
:
true
,
backdrop
:
true
,
element
:
'a[href="#home"]'
,
element
:
'a[href="#home"]'
,
title
:
gettext
(
"Home tab"
),
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'
,
placement
:
'top'
,
onShow
:
function
()
{
onShow
:
function
()
{
$
(
'a[href="#home"]'
).
trigger
(
"click"
);
$
(
'a[href="#home"]'
).
trigger
(
"click"
);
...
@@ -69,7 +69,7 @@ function createTemplateTour() {
...
@@ -69,7 +69,7 @@ function createTemplateTour() {
placement
:
'top'
,
placement
:
'top'
,
backdrop
:
true
,
backdrop
:
true
,
title
:
gettext
(
"Resources"
),
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
(
"CPU count"
)
+
":</strong> "
+
gettext
(
"number of CPU cores."
)
+
"</p>"
+
'<p><strong>'
+
gettext
(
"RAM amount"
)
+
":</strong> "
+
gettext
(
"amount of RAM."
)
+
"</p>"
,
'<p><strong>'
+
gettext
(
"RAM amount"
)
+
":</strong> "
+
gettext
(
"amount of RAM."
)
+
"</p>"
,
onShow
:
function
()
{
onShow
:
function
()
{
...
@@ -118,14 +118,14 @@ function createTemplateTour() {
...
@@ -118,14 +118,14 @@ function createTemplateTour() {
});
});
ttour
.
addStep
({
ttour
.
addStep
({
element
:
"
.alert-new-templat
e"
,
element
:
"
#vm-info-pan
e"
,
placement
:
"
bottom
"
,
placement
:
"
top
"
,
title
:
gettext
(
"Customize the virtual machine"
),
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
({
ttour
.
addStep
({
element
:
".
vm-details-button-save-as
"
,
element
:
".
operation-save_as_template
"
,
title
:
gettext
(
"Save as"
),
title
:
gettext
(
"Save as"
),
placement
:
"left"
,
placement
:
"left"
,
backdrop
:
true
,
backdrop
:
true
,
...
@@ -135,7 +135,7 @@ function createTemplateTour() {
...
@@ -135,7 +135,7 @@ function createTemplateTour() {
ttour
.
addStep
({
ttour
.
addStep
({
element
:
".alert-new-template"
,
element
:
".alert-new-template"
,
title
:
gettext
(
"Finis
i
h"
),
title
:
gettext
(
"Finish"
),
backdrop
:
true
,
backdrop
:
true
,
placement
:
"bottom"
,
placement
:
"bottom"
,
content
:
gettext
(
"This is the last message, if something is not clear you can do the the tour again!"
),
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 @@
...
@@ -26,14 +26,6 @@
<li>
{% trans "Log off from the machine" %}
</li>
<li>
{% trans "Log off from the machine" %}
</li>
<li>
<li>
{% trans "Press the Save as template button" %}
{% 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>
</li>
</ol>
</ol>
</div>
</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