Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
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
920d1272
authored
Mar 21, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: more i18n
parent
199288ea
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
circle/dashboard/templates/dashboard/node-detail.html
+1
-1
circle/dashboard/templates/dashboard/vm-detail/console.html
+1
-0
circle/dashboard/templates/dashboard/vm-detail/network.html
+6
-6
No files found.
circle/dashboard/templates/dashboard/node-detail.html
View file @
920d1272
...
...
@@ -33,7 +33,7 @@
<li>
<a
style=
"display:{% if node.enabled %}none{% else %}block{% endif %}"
data-node-pk=
"{{ node.pk }}"
class=
"real-link node-enable"
href=
"{% url "
dashboard
.
views
.
status-node
"
pk=
node.pk
%}?
next=
{{
request
.
path
}}"
><i
class=
"icon-check"
></i>
{% trans "Enable" %}
</a>
<a
style=
"display:{% if not node.enabled %}none{% else %}block{% endif %}"
data-node-pk=
"{{ node.pk }}"
class=
"real-link node-enable"
href=
"{% url "
dashboard
.
views
.
status-node
"
pk=
node.pk
%}?
next=
{{
request
.
path
}}"
><i
class=
"icon-remove"
></i>
{% trans "Disable" %}
</a></li>
<li><a
data-node-pk=
"{{ node.pk }}"
class=
"real-link node-delete"
href=
"{% url "
dashboard
.
views
.
delete-node
"
pk=
node.pk
%}?
next=
{{
request
.
path
}}"
><i
class=
"icon-trash"
></i>
Delete
</a></li>
<li><a
data-node-pk=
"{{ node.pk }}"
class=
"real-link node-delete"
href=
"{% url "
dashboard
.
views
.
delete-node
"
pk=
node.pk
%}?
next=
{{
request
.
path
}}"
><i
class=
"icon-trash"
></i>
{% trans "Delete" %}
</a></li>
</ul>
</div>
</div>
...
...
circle/dashboard/templates/dashboard/vm-detail/console.html
View file @
920d1272
{% load i18n %}
<div
class=
"btn-toolbar"
>
<button
id=
"sendCtrlAltDelButton"
class=
"btn btn-danger small"
>
{% trans "Send Ctrl+Alt+Del" %}
</button>
<button
id=
"sendPasswordButton"
class=
"btn btn-default small"
>
{% trans "Type password" %}
</button>
...
...
circle/dashboard/templates/dashboard/vm-detail/network.html
View file @
920d1272
{% load i18n %}
<h2>
<a
href=
"#"
id=
"vm-details-network-add"
class=
"btn btn-success pull-right no-js-hidden"
>
<i
class=
"icon-plus"
></i>
add interface
<i
class=
"icon-plus"
></i>
{% trans "add interface" %}
</a>
Interfaces
{% trans "Interfaces" %}
</h2>
<div
class=
"row"
id=
"vm-details-network-add-for-form"
>
...
...
@@ -12,7 +12,7 @@
{% for i in instance.interface_set.all %}
<h3
class=
"list-group-item-heading dashboard-vm-details-network-h3"
>
<i
class=
"icon-{% if i.host %}globe{% else %}link{% endif %}"
></i>
{{ i.vlan.name }}
{% if not i.host %}(unmanaged)
<a
href=
"#"
class=
"btn btn-danger btn-xs"
>
remove
</a>
{% endif %}
{% if not i.host %}(unmanaged)
<a
href=
"#"
class=
"btn btn-danger btn-xs"
>
{% trans "remove" %}
</a>
{% endif %}
</h3>
{% if i.host %}
<div
class=
"row"
>
...
...
@@ -31,10 +31,10 @@
</div>
<div
class=
"col-md-7"
>
<ul
class=
"nav nav-pills pull-right"
>
<li
class=
"active"
><a
href=
"#ipv4_{{ i.host.vlan.pk }}"
data-toggle=
"pill"
class=
"text-center"
>
IPv4
</a></li>
<li><a
href=
"#ipv6_{{ i.host.vlan.pk }}"
data-toggle=
"pill"
class=
"text-center"
>
IPv6
</a></li>
<li
class=
"active"
><a
href=
"#ipv4_{{ i.host.vlan.pk }}"
data-toggle=
"pill"
class=
"text-center"
>
{% trans "IPv4" %}
</a></li>
<li><a
href=
"#ipv6_{{ i.host.vlan.pk }}"
data-toggle=
"pill"
class=
"text-center"
>
{% trans "IPv6" %}
</a></li>
</ul>
<h4>
Port access
</h4>
<h4>
{% trans "Port access" %}
</h4>
<div
class=
"tab-content"
style=
"padding-top: 10px;"
>
<div
class=
"tab-pane active"
id=
"ipv4_{{ i.host.vlan.pk }}"
>
<table
class=
"table table-striped rule-table"
>
...
...
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