Commit 0a56f429 by Kálmán Viktor

dashboard: fix template wizard texts

parent a46d3f9c
...@@ -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-template", element: "#vm-info-pane",
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("Finisih"), 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!"),
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment