Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bumped version for gulp-sourcemap and gulp-scss * bumped foundation version * centered checkboxes * changed width of first column * changed admin-bottom * refactored and cleanup * admin-bottom is fixed where user save something * admin-bottom is relative to list in change list * added additional information about actual context * changed admin-bottom bg color * changed bg color to same as a change form * hide empty column in inline * removed panel from actions and filters * added model verbose name to header * added extra margin to auto-complete * changed align of count-info in bulk edit view * restyled filters fields
- Loading branch information
Showing
24 changed files
with
245 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 16 additions & 11 deletions
27
src/ralph/admin/templates/admin/filters/_filter_base.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
{% load i18n %} | ||
|
||
{% block filter_header %} | ||
<div class="filter-header"> | ||
<h6> | ||
{% blocktrans with filter_title=title %} | ||
{{ filter_title }} | ||
{% endblocktrans %} | ||
</h6> | ||
<div class="filter-row"> | ||
<div class="filter-header"> | ||
<h6> | ||
{% blocktrans with filter_title=title %} | ||
{{ filter_title }} | ||
{% endblocktrans %} | ||
{% with choices.0 as i %} | ||
{% block filter_after_header %}{% endblock %} | ||
{% endwith %} | ||
</div> | ||
{% endblock %} | ||
{% block filter_content %} | ||
{% with choices.0 as i %} | ||
</h6> | ||
</div> | ||
<div class="wrapper"> | ||
{% block filter_content %} | ||
{% with choices.0 as i %} | ||
{% block filter_choices %}{% endblock %} | ||
{% endwith %} | ||
{% endwith %} | ||
{% endblock %} | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
{% extends "admin/filters/_filter_base.html" %} | ||
|
||
{% block filter_choices %} | ||
<input type="text" name="{{ i.parameter_name_start }}" placeholder="Start {{ i.date_format }}" class="datepicker" value="{{ i.date_start }}" /> | ||
<input type="text" name="{{ i.parameter_name_end }}" placeholder="End {{ i.date_format }}" class="datepicker" value="{{ i.date_end }}" /> | ||
<div class="date-filter"> | ||
<div class="start"> | ||
<input type="text" name="{{ i.parameter_name_start }}" placeholder="Start {{ i.date_format }}" class="datepicker" value="{{ i.date_start }}" /> | ||
</div> | ||
<div class="end"> | ||
<input type="text" name="{{ i.parameter_name_end }}" placeholder="End {{ i.date_format }}" class="datepicker" value="{{ i.date_end }}" /> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{% extends "admin/filters/_filter_base.html" %} | ||
|
||
{% block filter_after_header %} | ||
<i data-tooltip class="has-tip fa fa-info-circle" title='Use {{ i.separators }} separators to search{% if i.multiple %} for multiple values{% endif %}'></i> | ||
<i data-tooltip class="has-tip fa fa-info-circle" title='Use {{ i.separators }} separators to search{% if i.multiple %} for multiple values{% endif %}'></i> | ||
{% endblock %} | ||
|
||
{% block filter_choices %} | ||
<input type="text" name="{{ i.parameter_name }}" value="{{ i.current_value|default_if_none:"" }}" /> | ||
<input type="text" name="{{ i.parameter_name }}" value="{{ i.current_value|default_if_none:"" }}" /> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,30 @@ | ||
{% load admin_change_list i18n %} | ||
<div class="panel admin_bottom"> | ||
<div class="row"> | ||
<div class="small-4 columns"> | ||
<ul class="pagination"> | ||
{% if pagination_required %} | ||
{% for i in page_range %} | ||
{% admin_paginator_number cl i %} | ||
{% endfor %} | ||
{% endif %} | ||
</ul> | ||
<div class="admin-bottom pagination"> | ||
{% if page_range %} | ||
<div class="row"> | ||
<div class="small-12 columns pagination-centered"> | ||
<ul class="pagination"> | ||
{% if pagination_required %} | ||
{% for i in page_range %} | ||
{% admin_paginator_number cl i %} | ||
{% endfor %} | ||
{% endif %} | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="small-4 columns text-center"> | ||
{% endif %} | ||
<div class="row"> | ||
<div class="small-{% if cl.formset %}6{% else %}12{% endif %} columns count-info"> | ||
{{ cl.result_count }} | ||
{% ifequal cl.result_count 1 %}{{ cl.opts.verbose_name }}{% else %}{{ cl.opts.verbose_name_plural }}{% endifequal %} | ||
{% if show_all_url %} | ||
<a href="{{ show_all_url }}" class="showall">{% trans 'Show all' %}</a> | ||
{% endif %} | ||
</div> | ||
<div class="small-4 columns right_section"> | ||
{% if cl.formset and cl.result_count %} | ||
<input type="submit" name="_save" class="default button success small right radius" value="{% trans 'Save' %}"/> | ||
{% endif %} | ||
</div> | ||
{% if cl.formset and cl.result_count %} | ||
<div class="small-6 columns right_section"> | ||
<input type="submit" name="_save" class="default button success small right radius" value="{% trans 'Save' %}"/> | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.