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
1768643d
authored
May 06, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: modify a few texts in template wizard
parent
e182ac63
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
circle/dashboard/static/dashboard/vm-tour.js
+2
-2
circle/dashboard/templates/dashboard/vm-detail.html
+8
-3
No files found.
circle/dashboard/static/dashboard/vm-tour.js
View file @
1768643d
...
@@ -29,7 +29,7 @@ function createTemplateTour() {
...
@@ -29,7 +29,7 @@ function createTemplateTour() {
});
});
ttour
.
addStep
({
ttour
.
addStep
({
element
:
"
.alert-new-template
"
,
element
:
"
#vm-details-template-tour-button
"
,
title
:
gettext
(
"Template Tutorial Tour"
),
title
:
gettext
(
"Template Tutorial Tour"
),
content
:
"<p>"
+
gettext
(
"Welcome to the template tutorial. In this quick tour, we gonna show you how to do the steps described above."
)
+
"</p>"
+
content
:
"<p>"
+
gettext
(
"Welcome to the template tutorial. In this quick tour, we gonna show you how to do the steps described above."
)
+
"</p>"
+
"<p>"
+
gettext
(
'For the next tour step press the "Next" button or the right arrow (or "Back" button/left arrow for the previous step).'
)
+
"</p>"
+
"<p>"
+
gettext
(
'For the next tour step press the "Next" button or the right arrow (or "Back" button/left arrow for the previous step).'
)
+
"</p>"
+
...
@@ -118,7 +118,7 @@ function createTemplateTour() {
...
@@ -118,7 +118,7 @@ function createTemplateTour() {
element
:
"#vm-info-pane"
,
element
:
"#vm-info-pane"
,
placement
:
"top"
,
placement
:
"top"
,
title
:
gettext
(
"Customize the virtual machine"
),
title
:
gettext
(
"Customize the virtual machine"
),
content
:
gettext
(
"After you have connected to the virtual machine do you modifications then log off."
),
content
:
gettext
(
"After you have connected to the virtual machine do you
r
modifications then log off."
),
});
});
ttour
.
addStep
({
ttour
.
addStep
({
...
...
circle/dashboard/templates/dashboard/vm-detail.html
View file @
1768643d
...
@@ -8,11 +8,13 @@
...
@@ -8,11 +8,13 @@
{% if instance.is_base %}
{% if instance.is_base %}
<div
class=
"alert alert-info alert-new-template"
>
<div
class=
"alert alert-info alert-new-template"
>
<strong>
{% trans "This is the master vm of your new template" %}
</strong>
<strong>
{% trans "This is the master vm of your new template" %}
</strong>
<div
id=
"vm-details-template-tour-button"
class=
"pull-right"
>
<a
href=
"#"
class=
"btn btn-default btn-lg pull-right vm-details-start-template-tour"
>
<a
href=
"#"
class=
"btn btn-default btn-lg pull-right vm-details-start-template-tour"
>
<i
class=
"icon-play"
></i>
{% trans "Start template tutorial tour
" %}
<i
class=
"icon-play"
></i>
{% trans "Start template tutorial
" %}
</a>
</a>
</div>
<ol>
<ol>
<li>
{% trans "Modify the
VM
to suit your needs
<strong>
(optional)
</strong>
" %}
<li>
{% trans "Modify the
virtual machine
to suit your needs
<strong>
(optional)
</strong>
" %}
<ul>
<ul>
<li>
{% trans "Change the name and description" %}
</li>
<li>
{% trans "Change the name and description" %}
</li>
<li>
{% trans "Change the resources (CPU and RAM)" %}
</li>
<li>
{% trans "Change the resources (CPU and RAM)" %}
</li>
...
@@ -20,13 +22,16 @@
...
@@ -20,13 +22,16 @@
<li>
{% trans "Add or remove network interfaces" %}
</li>
<li>
{% trans "Add or remove network interfaces" %}
</li>
</ul>
</ul>
</li>
</li>
<li>
{% trans "Deploy the
VM
" %}
</li>
<li>
{% trans "Deploy the
virtual machine
" %}
</li>
<li>
{% trans "Connect to the machine" %}
</li>
<li>
{% trans "Connect to the machine" %}
</li>
<li>
{% trans "Do all the needed installations/customizations" %}
</li>
<li>
{% trans "Do all the needed installations/customizations" %}
</li>
<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" %}
</li>
</li>
<li>
{% trans "Delete this virtual machine
<strong>
(optional)
</strong>
" %}
</li>
</ol>
</ol>
</div>
</div>
{% endif %}
{% endif %}
...
...
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