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
91766601
authored
Feb 26, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: display share type
fixes #73
parent
2f79b226
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
one/templates/box/template/box.html
+8
-1
one/templates/box/template/summary.html
+8
-1
No files found.
one/templates/box/template/box.html
View file @
91766601
...
@@ -77,12 +77,19 @@
...
@@ -77,12 +77,19 @@
</div>
</div>
<form
action=
"/vm/unshare/{{i.id}}/"
method=
"post"
>
<form
action=
"/vm/unshare/{{i.id}}/"
method=
"post"
>
<span
title=
"{{i.name}}"
>
{{i.name|truncatechars:20}}
</span>
<span
title=
"{{i.name}}"
>
{{i.name|truncatechars:20}}
</span>
({{i.get_running}}/{{i.instance_limit}})
({{i.get_running}}/{{i.instance_limit}})
{{i.type}}
{% csrf_token %}
{% csrf_token %}
<input
type=
"submit"
class=
"template-unshare"
value=
"{% trans "
Delete
"
%}"
style=
"float: right"
/>
<input
type=
"submit"
class=
"template-unshare"
value=
"{% trans "
Delete
"
%}"
style=
"float: right"
/>
</form>
</form>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
</li>
</li>
<li
class=
"description"
>
{% if i.description %}
{{i.description}}
{% else %}
{% trans "No description available" %}
{% endif %}
</li>
{% endfor %}
{% endfor %}
</ul>
</ul>
{% endif %}
{% endif %}
...
...
one/templates/box/template/summary.html
View file @
91766601
...
@@ -15,12 +15,19 @@
...
@@ -15,12 +15,19 @@
</div>
</div>
<form
action=
"/vm/unshare/{{i.id}}/"
method=
"post"
>
<form
action=
"/vm/unshare/{{i.id}}/"
method=
"post"
>
<span
title=
"{{i.name}}"
>
{{i.name|truncatechars:20}}
</span>
<span
title=
"{{i.name}}"
>
{{i.name|truncatechars:20}}
</span>
({{i.get_running}}/{{i.instance_limit}})
({{i.get_running}}/{{i.instance_limit}})
{{i.type}}
{% csrf_token %}
{% csrf_token %}
<input
class=
"template-unshare"
type=
"submit"
value=
"{% trans "
Delete
"
%}"
style=
"float: right"
/>
<input
class=
"template-unshare"
type=
"submit"
value=
"{% trans "
Delete
"
%}"
style=
"float: right"
/>
</form>
</form>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
</li>
</li>
<li
class=
"description"
>
{% if i.description %}
{{i.description}}
{% else %}
{% trans "No description available" %}
{% endif %}
</li>
{% endfor %}
{% endfor %}
</ul>
</ul>
{% endif %}
{% endif %}
...
...
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