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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
445bb4b9
authored
Feb 09, 2013
by
tarokkk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: Translations and marked selected template
parent
ff990e57
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
one/templates/box-vmlist.html
+1
-1
one/templates/show.html
+3
-3
No files found.
one/templates/box-vmlist.html
View file @
445bb4b9
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
{% if instances %}
{% if instances %}
{% for i in instances %}
{% for i in instances %}
<li
class=
"wm"
>
<li
class=
"wm"
>
<div
class=
"summary {% if id == i.id %}selected-summary{% e
l
if i.template.state == "
NEW
"
%}
unfinished
{%
endif
%}"
>
<div
class=
"summary {% if id == i.id %}selected-summary{% e
ndif %} {%
if i.template.state == "
NEW
"
%}
unfinished
{%
endif
%}"
>
<!--<div class="id"></div>-->
<!--<div class="id"></div>-->
<div
class=
"name {% if i.state == 'ACTIVE' %}wm-on{% else %}wm-off{% endif %}"
>
<div
class=
"name {% if i.state == 'ACTIVE' %}wm-on{% else %}wm-off{% endif %}"
>
{{i.name|truncatechars:20}}
{{i.name|truncatechars:20}}
...
...
one/templates/show.html
View file @
445bb4b9
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
</tr>
</tr>
<tr>
<tr>
<th>
{% trans "IP" %}:
</th>
<th>
{% trans "IP" %}:
</th>
<td>
{{ i.firewall_host.pub_ipv4}}
</td>
<td>
{{ i.firewall_host.pub_ipv4
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
{% trans "Port" %}:
</th>
<th>
{% trans "Port" %}:
</th>
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
</div>
</div>
</div>
</div>
<div
class=
"contentblock"
id=
"ports"
>
<div
class=
"contentblock"
id=
"ports"
>
<h2>
Portok kezelése
</h2>
<h2>
{% trans "Port administration" %}
</h2>
<div
class=
"content"
>
<div
class=
"content"
>
<form
action=
"{% url vm_port_add i.id %}"
method=
"post"
>
<form
action=
"{% url vm_port_add i.id %}"
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
</div>
</div>
<div
class=
"boxes"
>
<div
class=
"boxes"
>
<div
class=
"contentblock"
id=
"vm-list"
>
<div
class=
"contentblock"
id=
"vm-list"
>
<h2>
Virtuális gépek
</h2>
<h2>
{% trans "Virtual machines" %}
</h2>
<ul
class=
"wm-list"
>
{% include "box-vmlist.html" %}
</ul>
<ul
class=
"wm-list"
>
{% include "box-vmlist.html" %}
</ul>
</div>
</div>
</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