Commit fc9ec538 by Dányi Bence

webui: markup fix

parent fa9dda71
...@@ -88,12 +88,12 @@ ...@@ -88,12 +88,12 @@
<p> <p>
<textarea name="members" placeholder="{% trans 'Student NEPTUN codes, one per line' %}" id="new-group-members"></textarea> <textarea name="members" placeholder="{% trans 'Student NEPTUN codes, one per line' %}" id="new-group-members"></textarea>
</p> </p>
<h4>{% trans "Summary" %}</h4> <!--<h4>{% trans "Summary" %}</h4>
<p> <p>
<strong>{% trans "Group name" %}:</strong> <span id="new-group-summary-name"></span><br /> <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 "Semester" %}:</strong> <span id="new-group-summary-semester"></span><br />
<strong>{% trans "Member count" %}:</strong> <span id="new-group-summary-count"></span><br /> <strong>{% trans "Member count" %}:</strong> <span id="new-group-summary-count"></span><br />
</p> </p>-->
<p> <p>
{% csrf_token %} {% csrf_token %}
<input type="submit" value="{% trans "Done" %}"> <input type="submit" value="{% trans "Done" %}">
......
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
<h2>{% blocktrans with t=base.name%}Sharing template: {{t}}{% endblocktrans %}</h2> <h2>{% blocktrans with t=base.name%}Sharing template: {{t}}{% endblocktrans %}</h2>
{% if not group %} {% if not group %}
<div class="hilight"> <div class="hilight">
<p>{% trans "Choose a group" %}</p> <p style="margin: 5px">{% trans "Choose a group" %}</p>
{% if not groups %} {% if not groups %}
<p class="hilight">{% trans "You have no groups." %}</p> <p style="margin: 5px">{% trans "You have no groups." %}</p>
{% endif %} {% endif %}
<ul> <ul style="margin: 5px">
<li> <li>
<label for="share-group">{% trans "Group" %}</label> <label for="share-group">{% trans "Group" %}</label>
<select id="share-group-select" name="group"{% if not groups %} disabled=""{%endif%}> <select id="share-group-select" name="group"{% if not groups %} disabled=""{%endif%}>
...@@ -60,13 +60,15 @@ ...@@ -60,13 +60,15 @@
{% endfor %} {% endfor %}
<div class="clear"></div> <div class="clear"></div>
</li> </li>
<li class="clear"> <li>
<label for="share-instance-limit">{% trans "Maximal count of instances" %}</label> <label for="share-instance-limit">{% trans "Maximal count of instances" %}</label>
<input type="number" name="instance_limit" id="share-instance-limit" value="10" /> <input type="number" name="instance_limit" id="share-instance-limit" value="10" />
<div class="clear"></div>
</li> </li>
<li class="clear"> <li>
<label for="share-instance-limit">{% trans "Maximal count of instaces/user" %}</label> <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" /> <input type="number" name="per_user_limit" id="share-per-user-limit" value="1" />
<div class="clear"></div>
</li> </li>
<li style="border: none" class="clear"> <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