Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
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
cf5fc7ad
authored
Feb 06, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one: box-vmlist.html i18n
parent
91247902
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
22 deletions
+24
-22
one/templates/box-vmlist.html
+24
-22
No files found.
one/templates/box-vmlist.html
View file @
cf5fc7ad
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% if instances %}
{% if instances %}
{% for i in instances %}
{% for i in instances %}
<li
class=
"wm"
>
<li
class=
"wm"
>
...
@@ -11,33 +13,33 @@
...
@@ -11,33 +13,33 @@
</div>
</div>
<div
class=
"actions"
>
<div
class=
"actions"
>
{% if i.state == 'ACTIVE' %}
{% if i.state == 'ACTIVE' %}
<a
href=
"{{i.get_connect_uri}}"
title=
"
Csatlakozás
"
>
<a
href=
"{{i.get_connect_uri}}"
title=
"
{% trans "
Connect
"
%}
"
>
<img
src=
"static/icons/plug.png"
alt=
"
connect
"
/>
<img
src=
"static/icons/plug.png"
alt=
"
{% trans "
Connect
"
%}
"
/>
</a>
</a>
<a
href=
"/vm/suspend/{{i.id}}/"
onclick=
"alert('Hamarosan a mozikban.'); return false"
title=
"
Felfüggesztés
"
>
<a
href=
"/vm/suspend/{{i.id}}/"
onclick=
"alert('Hamarosan a mozikban.'); return false"
title=
"
{% trans "
Suspend
"
%}
"
>
<img
src=
"/static/icons/control-pause.png"
alt=
"
pause
"
/>
<img
src=
"/static/icons/control-pause.png"
alt=
"
{% trans "
Suspend
"
%}
"
/>
</a>
</a>
<a
href=
"/vm/delete/{{i.id}}/"
onclick=
"return confirm('Biztosan törli a gépet?')"
title=
"
Törlés
"
>
<a
href=
"/vm/delete/{{i.id}}/"
onclick=
"return confirm('Biztosan törli a gépet?')"
title=
"
{% trans "
Delete
"
%}
"
>
<img
src=
"/static/icons/minus-circle.png"
alt=
"
delete
"
/>
<img
src=
"/static/icons/minus-circle.png"
alt=
"
{% trans "
Delete
"
%}
"
/>
</a>
</a>
<a
href=
"/vm/reset/{{i.id}}/"
onclick=
"alert('Hamarosan a mozikban.'); return false"
title=
"
Újraindítás
"
>
<a
href=
"/vm/reset/{{i.id}}/"
onclick=
"alert('Hamarosan a mozikban.'); return false"
title=
"
{% trans "
Reboot
"
%}
"
>
<img
src=
"/static/icons/arrow-circle-double.png"
alt=
"↺"
/>
<img
src=
"/static/icons/arrow-circle-double.png"
alt=
"↺"
/>
</a>
</a>
{% endif %}
{% endif %}
{% if i.state == 'PENDING' %}
{% if i.state == 'PENDING' %}
<img
src=
"/static/load-2.gif"
/>
indítás...
<img
src=
"/static/load-2.gif"
/>
{% trans "starting…" %}
{% endif %}
{% endif %}
{% if i.state == 'SUSPENDED' %}
{% if i.state == 'SUSPENDED' %}
<a
href=
"/vm/continue/{{i.id}}/"
title=
"
Folytatás
"
>
<a
href=
"/vm/continue/{{i.id}}/"
title=
"
{% trans "
Resume
"
%}
"
>
<img
src=
"/static/icons/control.png"
alt=
"
resume
"
/>
<img
src=
"/static/icons/control.png"
alt=
"
{% trans "
Resume
"
%}
"
/>
</a>
</a>
<a
href=
"/vm/delete/{{i.id}}/"
onclick=
"return confirm('Biztosan törli a gépet?')"
title=
"
Törlés
"
>
<a
href=
"/vm/delete/{{i.id}}/"
onclick=
"return confirm('Biztosan törli a gépet?')"
title=
"
{% trans "
Delete
"
%}
"
>
<img
src=
"/static/icons/minus-circle.png"
alt=
"
delete
"
/>
<img
src=
"/static/icons/minus-circle.png"
alt=
"
{% trans "
Delete
"
%}
"
/>
</a>
</a>
{% endif %}
{% endif %}
{% if i.state == 'FAILED' %}
{% if i.state == 'FAILED' %}
<a
href=
"/vm/delete/{{i.id}}/"
title=
"
Törlés
"
>
<a
href=
"/vm/delete/{{i.id}}/"
title=
"
{% trans "
Delete
"
%}
"
>
<img
src=
"/static/icons/minus-circle.png"
alt=
"
delete
"
/>
<img
src=
"/static/icons/minus-circle.png"
alt=
"
{% trans "
Delete
"
%}
"
/>
</a>
</a>
{% endif %}
{% endif %}
</div>
</div>
...
@@ -46,12 +48,12 @@
...
@@ -46,12 +48,12 @@
<div
class=
"details"
>
<div
class=
"details"
>
<div
class=
"details-container"
><h3>
Részletek
</h3>
<div
class=
"details-container"
><h3>
Részletek
</h3>
<ul>
<ul>
<li
class=
"name"
>
Gép neve
:
<span
class=
"value"
>
{{i.name}}
</span></li>
<li
class=
"name"
>
{% trans "Hostname" %}
:
<span
class=
"value"
>
{{i.name}}
</span></li>
<li
class=
"os-linux"
>
Operációs rendszer
:
<span
class=
"value"
>
{{i.template.disk.name}}
</span></li>
<li
class=
"os-linux"
>
{% trans "System" %}
:
<span
class=
"value"
>
{{i.template.disk.name}}
</span></li>
<li
class=
"type"
>
Instance típus
:
<span
class=
"value"
>
{{i.template.instance_type.name}}
</span></li>
<li
class=
"type"
>
{% trans "Size" %}
:
<span
class=
"value"
>
{{i.template.instance_type.name}}
</span></li>
<li
class=
"date"
>
Létrehozás dátuma
:
<span
class=
"value"
>
{{i.created_at}}
</span></li>
<li
class=
"date"
>
{% trans "Created at" %}
:
<span
class=
"value"
>
{{i.created_at}}
</span></li>
<li
class=
"date"
>
Lejáratig
:
<span
class=
"value"
><abbr
title=
"1 nap, 5 óra, 34 perc"
>
1 nap
</abbr></span></li>
<li
class=
"date"
>
{% trans "Expiration" %}
:
<span
class=
"value"
><abbr
title=
"1 nap, 5 óra, 34 perc"
>
1 nap
</abbr></span></li>
<li>
<span
class=
"value"
><a
href=
"/vm/show/{{i.id}}/"
title=
"{{i.name}}"
>
További részletek
</a></span></li>
<li>
<span
class=
"value"
><a
href=
"/vm/show/{{i.id}}/"
title=
"{{i.name}}"
>
{% trans "More details" %}
</a></span></li>
</ul>
</ul>
</div>
</div>
</div>
</div>
...
@@ -61,10 +63,10 @@
...
@@ -61,10 +63,10 @@
<div
id=
"new-wm-tooltip"
>
<div
id=
"new-wm-tooltip"
>
<div
id=
"new-wm-tooltip-container"
>
<div
id=
"new-wm-tooltip-container"
>
<p>
<p>
Még nem indított egy gépet sem.
{% trans "You have not started any machines yet." %}
</p>
</p>
<p>
<p>
Válasszon sablont, és septiben használhatja a kiválasztott rendszert.
{% trans "Choose a template, and you can use the system in a minute." %}
</p>
</p>
</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