Skip to content

Commit

Permalink
Reduce size for admin button Manage users
Browse files Browse the repository at this point in the history
Reduce size for user edition button `save`
Add back button `cancel` to user edition form
  • Loading branch information
notoraptor committed Oct 21, 2024
1 parent 6930770 commit e7b4d52
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion clockwork_web/templates/admin_panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1>{{ gettext("Administration panel") }}</h1>
</div>
</div>
</div>
<div class="row">
<div class="row-cols-2">
<a class="btn btn-turquoise" href="{{url_for('admin.users')}}">
{{ gettext("Manage users") }}
</a>
Expand Down
15 changes: 12 additions & 3 deletions clockwork_web/templates/admin_user.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,21 @@ <h3><strong>{{ user_edit_status }}</strong></h3>
<input type="text" name="cc_account_username" value="{{ D_user['cc_account_username'] }}"/>
</td>
</tr>
<tr>
<td>
<a class="btn btn-turquoise" href="{{url_for('admin.users')}}">
{{ gettext("Cancel") }}
</a>
</td>
<td>
<button type="submit" class="btn btn-turquoise">
{{ gettext("Save") }}
</button>
</td>
</tr>
</tbody>
</table>
</div>
<div class="row mb-4">
<button type="submit" class="btn btn-turquoise">{{ gettext("Save") }}</button>
</div>
</form>
</div>
{% endblock %}

0 comments on commit e7b4d52

Please sign in to comment.