Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download of user list #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ <h2><i class="icon-check"></i> {{_('Categories')}}</h2>
</div>
<div class="row-fluid">
<div id="users" class="span6 well">
<h2><i class="icon-user"></i> {{_('Administrators')}}</h2>
<p>{{_('Manage administrators')}}</p>
<h2><i class="icon-user"></i> {{_('Users')}}</h2>
<p>{{_('Manage users')}}</p>
<a href="{{url_for('admin.users')}}" class="btn btn-primary">
{{ _('Manage') }} <i class="icon-chevron-right"></i>
</a>
Expand Down
6 changes: 4 additions & 2 deletions templates/admin/users.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
{{ render_account_local_nav(current_user, active_link) }}
</div>
<div class="span9">
<h1><strong>{{ _('Admin Site') }}:</strong> {{ _('Manage Admin Users') }}</h1>
<a style="float: right" class="btn btn-success" href="{{url_for('admin.download_users')}}">Download user list</a>

<h1><strong>{{ _('Admin Site') }}:</strong> {{ _('Manage Users') }}</h1>
{% from "_formhelpers.html" import render_field %}
<form class="form-search" method="POST">
{{ form.hidden_tag() }}
<div class="input-append">
<input id="user" name="user" type="text" class="input-large search-query" placeholder={{ _('Try with the full name or nick') }}>
<input id="user" name="user" type="text" class="input-large search-query" placeholder={{ _('Search users by name or nick') }}>
<button type="submit" class="btn"><i class="icon-search"></i> {{ _('Search') }}</button>
</div>
</form>
Expand Down