Commit fc9ec538 by Dányi Bence

webui: markup fix

parent fa9dda71
......@@ -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" %}">
......
......@@ -5,11 +5,11 @@
<h2>{% blocktrans with t=base.name%}Sharing template: {{t}}{% endblocktrans %}</h2>
{% if not group %}
<div class="hilight">
<p>{% trans "Choose a group" %}</p>
<p style="margin: 5px">{% trans "Choose a group" %}</p>
{% if not groups %}
<p class="hilight">{% trans "You have no groups." %}</p>
<p style="margin: 5px">{% trans "You have no groups." %}</p>
{% endif %}
<ul>
<ul style="margin: 5px">
<li>
<label for="share-group">{% trans "Group" %}</label>
<select id="share-group-select" name="group"{% if not groups %} disabled=""{%endif%}>
......@@ -60,13 +60,15 @@
{% endfor %}
<div class="clear"></div>
</li>
<li class="clear">
<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">
<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">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment