Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
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 @@
...
@@ -69,41 +69,36 @@
</div>
</div>
<div
id=
"new-group-wizard"
style=
"display: none"
>
<div
id=
"new-group-wizard"
style=
"display: none"
>
<form
action=
"/group/new/"
method=
"POST"
class=
"wizard"
>
<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 %}
{% csrf_token %}
<input
type=
"submit"
value=
"{% trans "
Done
"
%}"
></p>
<h3>
{% trans "Create new group" %}
</h3>
</form>
<ul>
</div>
<li>
</li>
<label
for=
"new-group-name"
>
{% trans "Group name" %}
</label>
</ul>
<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>
</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