add description into quota editing.

This commit is contained in:
zhuyj17 2017-11-24 15:13:26 +08:00
parent 8571498063
commit 47b28e12e8
1 changed files with 2 additions and 1 deletions

View File

@ -185,11 +185,12 @@
<div class="form-group">
<label> {{ quota['name'] }}</label>
{% if quota['name'] == 'vnode' %}
<small class="font-bold"> Only 2^n - 3 is legal. Any other value will be reset to the nearest 2^n - 3.</small>
<small class="font-bold"> Only 2^n - 3 are legal. Any other value will be reset to the nearest 2^n - 3.</small>
{% endif %}
<input type="text" placeholder="{{ quota['hint'] }}" class="form-control" name={{ quota['name'] }} value={{ group['quotas'][quota['name']] }} />
</div>
{% endfor %}
<small class="font-bold"> *: The update of <i>vnode</i>, <i>input_rate_limit</i> and <i>output_rate_limit</i> will take effect when a user deletes all his/her workpsaces.</small>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-white" data-dismiss="modal">Close</button>