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
16ab76f1
authored
Feb 08, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: group creating interface added
parent
62a152c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletions
+26
-1
one/templates/box-grouplist.html
+26
-1
No files found.
one/templates/box-grouplist.html
View file @
16ab76f1
...
...
@@ -65,10 +65,35 @@
<div
class=
"clear"
></div>
</div>
<div
id=
"new-group-wizard"
style=
"display: none"
>
<form
action=
"/group/new/"
method=
"POST"
>
<h3>
{% trans "Create new group" %}
</h3>
<h4>
{% trans "Group name" %}
</h4>
<p>
<textarea
placeholder=
"{% trans 'Student NEPTUN codes, one per line' %}"
></textarea
>
<input
type=
"text"
name=
"name"
id=
"new-group-name"
/
>
</p>
<h4>
{% trans "Semester" %}
</h4>
<p>
<select
name=
"semester"
id=
"new-group-semester"
>
{% for semester in semesters %}
<option
value=
"{{semester.id}}"
>
{{semester.name}}
</option>
{% endfor %}
</select>
</p>
<h4>
{% trans "Members" %}
</h4>
<p>
<textarea
name=
"members"
placeholder=
"{% trans 'Student NEPTUN codes, one per line' %}"
id=
"new-group-members"
></textarea>
</p>
<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>
{% csrf_token %}
<input
type=
"submit"
value=
"{% trans "
Done
"
%}"
>
</p>
</form>
</div>
</li>
</ul>
...
...
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