forked from enviPath/enviPy
Implement basic group listing and re-enabled group creation
This commit is contained in:
@ -1,8 +0,0 @@
|
||||
<li>
|
||||
<a
|
||||
role="button"
|
||||
onclick="document.getElementById('new_group_modal').showModal(); return false;"
|
||||
>
|
||||
<span class="glyphicon glyphicon-plus"></span> New Group</a
|
||||
>
|
||||
</li>
|
||||
|
||||
21
templates/collections/groups_paginated.html
Normal file
21
templates/collections/groups_paginated.html
Normal file
@ -0,0 +1,21 @@
|
||||
{% extends "collections/paginated_base.html" %}
|
||||
|
||||
{% block page_title %}Groups{% endblock %}
|
||||
|
||||
{% block action_button %}
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-primary btn-sm"
|
||||
onclick="document.getElementById('new_group_modal').showModal(); return false;"
|
||||
>
|
||||
New Group
|
||||
</button>
|
||||
{% endblock action_button %}
|
||||
|
||||
{% block action_modals %}
|
||||
{% include "modals/collections/new_group_modal.html" %}
|
||||
{% endblock action_modals %}
|
||||
|
||||
{% block description %}
|
||||
<p>Users can team up in groups to share packages.</p>
|
||||
{% endblock description %}
|
||||
Reference in New Issue
Block a user