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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
23c71f57
authored
Feb 14, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: separate template for vm-credentials
parent
05fcc028
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
25 deletions
+2
-25
one/templates/show.html
+1
-24
one/templates/vm-credentials.html
+1
-1
No files found.
one/templates/show.html
View file @
23c71f57
...
@@ -84,30 +84,7 @@
...
@@ -84,30 +84,7 @@
</div>
</div>
<div
class=
"contentblock"
id=
"vm-credentials"
>
<div
class=
"contentblock"
id=
"vm-credentials"
>
<h2>
{% trans "Login credentials" %}
</h2>
<h2>
{% trans "Login credentials" %}
</h2>
<div
class=
"content"
>
{% include "vm-credentials.html" %}
<table>
<tr>
<th>
{% trans "Protocol" %}:
</th>
<td>
{{i.template.access_type|upper}}
</td>
</tr>
<tr>
<th>
{% trans "IP" %}:
</th>
<td>
{{ i.firewall_host.pub_ipv4 }}
</td>
</tr>
<tr>
<th>
{% trans "Port" %}:
</th>
<td>
{{ i.get_port}}
</td>
</tr>
<tr>
<th>
{% trans "Username" %}:
</th>
<td>
cloud
</td>
</tr>
<tr>
<th>
{% trans "Password" %}:
</th>
<td>
{{ i.pw }}
</td>
</tr>
</table>
</div>
</div>
</div>
{% if i.firewall_host %}
{% if i.firewall_host %}
<div
class=
"contentblock"
id=
"ports"
>
<div
class=
"contentblock"
id=
"ports"
>
...
...
one/templates/vm-credentials.html
View file @
23c71f57
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</tr>
</tr>
<tr>
<tr>
<th>
{% trans "Password" %}:
</th>
<th>
{% trans "Password" %}:
</th>
<td>
{{ i.pw }}
</td>
<td>
<span
id=
"vm-password"
>
{{ i.pw }}
</span><a
id=
"vm-password-show"
href=
"#"
>
Jelszó megjelenítése
</a>
</td>
</tr>
</tr>
</table>
</table>
</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