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
4ab976f3
authored
Apr 04, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: enhanced user experience
parent
f50c8409
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
one/templates/show.html
+3
-6
one/templates/vm-credentials.html
+2
-2
No files found.
one/templates/show.html
View file @
4ab976f3
...
...
@@ -191,20 +191,17 @@
</tr>
{% endfor %}
<tr>
<th>
{% trans "Protokoll" %}
</th>
<th
colspan=
"2"
>
Port
</th>
<th
colspan=
"3"
>
{% trans "Port/Protocol" %}
</th>
</tr>
<tr>
<td>
<td
colspan=
"2"
>
<input
style=
"min-width:50px;width:50px;"
type=
"text"
name=
"port"
/>
/
<select
style=
"min-width:50px;"
name=
"proto"
>
<option
value=
"tcp"
>
tcp
</option>
<option
value=
"udp"
>
udp
</option>
</select>
</td>
<td>
<input
style=
"min-width:70px;width:70px;"
type=
"text"
name=
"port"
/>
</td>
<td>
<input
type=
"submit"
style=
"min-width:3em"
value=
"{% trans "
Add
"
%}"
/>
</td>
</tr>
...
...
one/templates/vm-credentials.html
View file @
4ab976f3
...
...
@@ -38,11 +38,11 @@
</tr>
<tr
{%
if
i
.
is_ipv6
%}
class=
"faded"
{%
endif
%}
>
<th>
{% trans "IPv4 Host" %}{% if i.is_ipv6 %} ({% trans "You are using IPv6" %}){% endif %}:
</th>
<td>
{{ i.hostname_v4 }}
:{{i.port_v4}}
</td>
<td>
{{ i.hostname_v4 }}
<strong>
:{{ i.port_v4 }}
</strong>
</td>
</tr>
<tr
{%
if
not
i
.
is_ipv6
%}
style=
"display: none"
{%
endif
%}
>
<th>
{% trans "IPv6 Host" %}{% if not i.is_ipv6 %} ({% trans "You are using IPv4" %}){% endif %}:
</th>
<td>
{{ i.hostname_v6 }}
:{{ i.port_v6 }}
</td>
<td>
{{ i.hostname_v6 }}
<strong>
:{{ i.port_v6 }}
</strong>
</td>
</tr>
<tr>
<th>
{% trans "Username" %}:
</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