Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
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
17dec8d2
authored
Feb 21, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: add vm show infoboxes
parent
83e2d27e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
2 deletions
+46
-2
one/templates/show.html
+18
-1
one/templates/vm-credentials.html
+28
-1
No files found.
one/templates/show.html
View file @
17dec8d2
...
...
@@ -88,7 +88,24 @@
</div>
{% if i.firewall_host %}
<div
class=
"contentblock"
id=
"ports"
>
<h2>
{% trans "Port administration" %}
</h2>
<h2>
<div
class=
"boxhelp"
>
<div
class=
"icon"
>
<img
src=
"/static/icons/information-frame.png"
alt=
"{% trans "
Help
"
%}"
/>
</div>
<div
class=
"boxhelp-box"
>
<p>
{% blocktrans %}This is a list about the network ports
forwarded to the public internet.{% endblocktrans %}
</p>
<p>
{% blocktrans %}You can access the given private port of
the VM trough the public address of the network.
{% endblocktrans %}
</p>
<p>
{% blocktrans %}On the IPV6 network you can access the
listed private ports direcly using the VM's global IPV6
address (connections to other ports are dropped).
{% endblocktrans %}
</p>
</div>
</div>
{% trans "Port administration" %}
</h2>
<div
class=
"content"
>
<form
action=
"{% url vm_port_add i.id %}"
method=
"post"
>
{% csrf_token %}
...
...
one/templates/vm-credentials.html
View file @
17dec8d2
...
...
@@ -4,7 +4,34 @@
<table>
<tr>
<th>
{% trans "Protocol" %}:
</th>
<td>
{{i.template.access_type|upper}}
</td>
<td>
<div
class=
"boxhelp"
>
<div
class=
"icon"
>
<img
src=
"/static/icons/information-frame.png"
alt=
"{% trans "
Help
"
%}"
/>
</div>
<div
class=
"boxhelp-box"
>
{% if i.template.os_type == 'linux' %}
<p>
{% blocktrans %}You can access Linux machines through
the SSH protocol (we recommend
<a
href=
"http://www.chiark.greenend.org.uk/~sgtatham/putty/"
>
PuTTY
</a>
for Windows and OpenSSH for all other systems).
{% endblocktrans %}
</p>
{% if i.template.access_type == 'nx' %}
<p>
{% blocktrans %}Graphical log in is also supported with
the
<a
href=
"http://www.nomachine.com/download.php"
>
NoMachine NX Client
</a>
application.{% endblocktrans %}
</p>
{% endif %}
{% else %}
<p>
{% blocktrans %}You can access Windows machines through
the remote desktop protocol.{% endblocktrans %}
</p>
<p>
{% blocktrans %}We recommend the built-in remote desktop
client for Windows and Remmina for Linux.{% endblocktrans %}
</p>
{% endif %}
</div>
</div>
{{i.template.access_type|upper}}
</td>
</tr>
<tr>
<th>
{% trans "IP" %}:
</th>
...
...
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