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
34243b48
authored
Feb 11, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: markup fix (commit commit hátán)
parent
fc9ec538
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
one/static/box.less
+3
-0
one/templates/box-templatelist.html
+8
-6
No files found.
one/static/box.less
View file @
34243b48
...
@@ -166,6 +166,9 @@
...
@@ -166,6 +166,9 @@
li {
li {
height: 30px;
height: 30px;
position: relative;
position: relative;
form {
position: relative;
}
}
}
}
}
@placeholderColor: #555;
@placeholderColor: #555;
...
...
one/templates/box-templatelist.html
View file @
34243b48
...
@@ -26,16 +26,15 @@
...
@@ -26,16 +26,15 @@
<ul
class=
"shares"
>
<ul
class=
"shares"
>
{% for i in t.myshares %}
{% for i in t.myshares %}
<li>
<li>
<div
class=
"quota"
>
<div
class=
"quota"
>
<div
class=
"used"
style=
"width: {{ i.get_instance_pc|unlocalize }}%"
></div>
<div
class=
"used"
style=
"width: {{ i.get_instance_pc }}%"
></div>
</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}} = {{i.get_instance_pc}}%)
{% csrf_token %}
{% csrf_token %}
<input
type=
"submit"
value=
"
unshare
"
style=
"float: right"
/>
<input
type=
"submit"
value=
"
{% trans "
Delete
"
%}
"
style=
"float: right"
/>
</form>
</form>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
</li>
</li>
...
@@ -100,12 +99,15 @@
...
@@ -100,12 +99,15 @@
<ul
class=
"shares"
>
<ul
class=
"shares"
>
{% for i in t.myshares %}
{% for i in t.myshares %}
<li>
<li>
<div
class=
"quota"
>
<div
class=
"used"
style=
"width: {{ i.get_instance_pc|unlocalize }}%"
></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}} = {{i.get_instance_pc}}%)
{% csrf_token %}
{% csrf_token %}
<input
type=
"submit"
value=
"
unshare
"
style=
"float: right"
/>
<input
type=
"submit"
value=
"
{% trans "
Delete
"
%}
"
style=
"float: right"
/>
</form>
</form>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
</li>
</li>
...
...
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