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
Commit
3019fd42
authored
Feb 12, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: more simple template share display
parent
4b4d4733
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
one/templates/box-templatelist.html
+3
-6
No files found.
one/templates/box-templatelist.html
View file @
3019fd42
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
<li
class=
"wm"
id=
"t{{t.id }}"
>
<li
class=
"wm"
id=
"t{{t.id }}"
>
<div
class=
"summary {% if t.state == 'NEW' or t.state == 'SAVING'%}unfinished{% endif %}"
>
<div
class=
"summary {% if t.state == 'NEW' or t.state == 'SAVING'%}unfinished{% endif %}"
>
<div
class=
"name"
>
{{t.name}}
</div>
<div
class=
"name"
>
{{t.name}}
</div>
<div
class=
"status"
>
{{t.state}}
</div>
<div
class=
"status"
>
{{t.state}}
</div>
<div
class=
"actions"
>
<div
class=
"actions"
>
{% if t.state == 'READY' %}
{% if t.state == 'READY' %}
...
@@ -36,10 +35,9 @@
...
@@ -36,10 +35,9 @@
</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_instance_pc}}%)
({{i.get_running}}/{{i.instance_limit}})
{% csrf_token %}
{% csrf_token %}
<input
type=
"submit"
value=
"{% trans "
Delete
"
%}"
style=
"float: right"
/>
<input
class=
"unshare"
type=
"submit"
value=
"{% trans "
Delete
"
%}"
style=
"float: right"
/>
</form>
</form>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
</li>
</li>
...
@@ -127,8 +125,7 @@
...
@@ -127,8 +125,7 @@
</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_instance_pc}}%)
({{i.get_running}}/{{i.instance_limit}})
{% csrf_token %}
{% csrf_token %}
<input
type=
"submit"
value=
"{% trans "
Delete
"
%}"
style=
"float: right"
/>
<input
type=
"submit"
value=
"{% trans "
Delete
"
%}"
style=
"float: right"
/>
</form>
</form>
...
...
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