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
fc9ec538
authored
Feb 11, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: markup fix
parent
fa9dda71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
44 deletions
+46
-44
one/templates/box-grouplist.html
+2
-2
one/templates/new-share.html
+44
-42
No files found.
one/templates/box-grouplist.html
View file @
fc9ec538
...
...
@@ -88,12 +88,12 @@
<p>
<textarea
name=
"members"
placeholder=
"{% trans 'Student NEPTUN codes, one per line' %}"
id=
"new-group-members"
></textarea>
</p>
<h4>
{% trans "Summary" %}
</h4>
<
!--<
h4>{% trans "Summary" %}</h4>
<p>
<strong>{% trans "Group name" %}:</strong> <span id="new-group-summary-name"></span><br />
<strong>{% trans "Semester" %}:</strong> <span id="new-group-summary-semester"></span><br />
<strong>{% trans "Member count" %}:</strong> <span id="new-group-summary-count"></span><br />
</p>
</p>
-->
<p>
{% csrf_token %}
<input
type=
"submit"
value=
"{% trans "
Done
"
%}"
>
...
...
one/templates/new-share.html
View file @
fc9ec538
...
...
@@ -5,20 +5,20 @@
<h2>
{% blocktrans with t=base.name%}Sharing template: {{t}}{% endblocktrans %}
</h2>
{% if not group %}
<div
class=
"hilight"
>
<p
>
{% trans "Choose a group" %}
</p>
{% if not groups %}
<p
class=
"hilight
"
>
{% trans "You have no groups." %}
</p>
{% endif %}
<ul
>
<li>
<label
for=
"share-group"
>
{% trans "Group" %}
</label>
<select
id=
"share-group-select"
name=
"group"
{%
if
not
groups
%}
disabled=
""
{%
endif
%}
>
<option
value=
""
selected=
""
class=
"dummy"
>
--
</option>
{%for i in groups%}
<option
value=
"{{i.id}}"
>
{{i.name}} ({{i.members.count}})
</option>
{%endfor%}
</select>
<div
class=
"clear"
></div>
</li>
</ul>
<p
style=
"margin: 5px"
>
{% trans "Choose a group" %}
</p>
{% if not groups %}
<p
style=
"margin: 5px
"
>
{% trans "You have no groups." %}
</p>
{% endif %}
<ul
style=
"margin: 5px"
>
<li>
<label
for=
"share-group"
>
{% trans "Group" %}
</label>
<select
id=
"share-group-select"
name=
"group"
{%
if
not
groups
%}
disabled=
""
{%
endif
%}
>
<option
value=
""
selected=
""
class=
"dummy"
>
--
</option>
{%for i in groups%}
<option
value=
"{{i.id}}"
>
{{i.name}} ({{i.members.count}})
</option>
{%endfor%}
</select>
<div
class=
"clear"
></div>
</li>
</ul>
</div>
<div
class=
"clear"
></div>
{% else %}
...
...
@@ -33,40 +33,42 @@
</li>
<li
class=
"li-share-type"
>
<label
for=
"share-type"
>
{% trans "Type" %}
</label>
<ul
class=
"radio"
>
{% for s in types %}
<li>
<label>
<input
type=
"radio"
name=
"type"
value=
"{{s.id}}"
id=
"share-type-{{s.id}}"
{%
if
s
.
default
%}
checked=
"checked"
{%
endif
%}
/>
{{s.verbose_name}}
</label>
</li>
{% endfor %}
</ul>
<ul
class=
"radio"
>
{% for s in types %}
<p
id=
"share-type-summary-{{s.id}}"
class=
"type-summary clear"
{%
if
not
s
.
default
%}
style=
"display:none"
{%
endif
%}
>
{{s.help_text}}
({% if s.suspend %}
<span
class=
"suspend"
title=
"{% blocktrans with time=s.suspend %}Suspend after {{time}}.{%endblocktrans%}"
>
{{s.suspendx|timeuntil}}
</span>
{%endif%}{% if s.delete %}
<span
class=
"delete"
title=
"{% blocktrans with time=s.delete %}Delete after {{time}}.{%endblocktrans%}"
>
{{s.deletex|timeuntil}}
</span>
{%endif%})
</p>
<li>
<label>
<input
type=
"radio"
name=
"type"
value=
"{{s.id}}"
id=
"share-type-{{s.id}}"
{%
if
s
.
default
%}
checked=
"checked"
{%
endif
%}
/>
{{s.verbose_name}}
</label>
</li>
{% endfor %}
<div
class=
"clear"
></div>
</ul>
{% for s in types %}
<p
id=
"share-type-summary-{{s.id}}"
class=
"type-summary clear"
{%
if
not
s
.
default
%}
style=
"display:none"
{%
endif
%}
>
{{s.help_text}}
({% if s.suspend %}
<span
class=
"suspend"
title=
"{% blocktrans with time=s.suspend %}Suspend after {{time}}.{%endblocktrans%}"
>
{{s.suspendx|timeuntil}}
</span>
{%endif%}{% if s.delete %}
<span
class=
"delete"
title=
"{% blocktrans with time=s.delete %}Delete after {{time}}.{%endblocktrans%}"
>
{{s.deletex|timeuntil}}
</span>
{%endif%})
</p>
{% endfor %}
<div
class=
"clear"
></div>
</li>
<li
class=
"clear"
>
<label
for=
"share-instance-limit"
>
{% trans "Maximal count of instances" %}
</label>
<li>
<label
for=
"share-instance-limit"
>
{% trans "Maximal count of instances" %}
</label>
<input
type=
"number"
name=
"instance_limit"
id=
"share-instance-limit"
value=
"10"
/>
<div
class=
"clear"
></div>
</li>
<li
class=
"clear"
>
<label
for=
"share-instance-limit"
>
{% trans "Maximal count of instaces/user" %}
</label>
<li>
<label
for=
"share-instance-limit"
>
{% trans "Maximal count of instaces/user" %}
</label>
<input
type=
"number"
name=
"per_user_limit"
id=
"share-per-user-limit"
value=
"1"
/>
<div
class=
"clear"
></div>
</li>
<li
style=
"border: none"
class=
"clear"
>
...
...
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