Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d7f9727d
authored
Feb 12, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: new group creation interface
parent
272a1c82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
35 deletions
+30
-35
one/templates/box-grouplist.html
+30
-35
No files found.
one/templates/box-grouplist.html
View file @
d7f9727d
...
...
@@ -69,41 +69,36 @@
</div>
<div
id=
"new-group-wizard"
style=
"display: none"
>
<form
action=
"/group/new/"
method=
"POST"
class=
"wizard"
>
<h3>
{% trans "Create new group" %}
</h3>
<h4>
{% trans "Group name" %}
</h4>
<p>
<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>
<h3>
{% trans "Create new group" %}
</h3>
<ul>
<li>
<label
for=
"new-group-name"
>
{% trans "Group name" %}
</label>
<input
type=
"text"
name=
"name"
id=
"new-group-name"
/>
</li>
<li>
<label
for=
"new-group-semester"
>
{% trans "Semester" %}
</label>
<select
name=
"semester"
id=
"new-group-semester"
>
{% for semester in semesters %}
<option
value=
"{{semester.id}}"
>
{{semester.name}}
</option>
{% endfor %}
</select>
</li>
<li>
<label
for=
"new-group-members"
>
{% trans "Members" %}
</label>
<textarea
name=
"members"
placeholder=
"{% trans 'Student NEPTUN codes, one per line' %}"
id=
"new-group-members"
></textarea>
<div
class=
"clear"
></div>
</li>
</ul>
<nav>
<input
type=
"reset"
class=
"prev"
value=
"{% trans "
Cancel
"
%}"
/>
<input
type=
"submit"
class=
"next"
value=
"{% trans "
Done
"
%}"
/>
<div
class=
"clear"
></div>
</nav>
</form>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
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