Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
2cc08231
Commit
2cc08231
authored
Jul 24, 2015
by
Priit Laes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert details template to unix lineendings and remove executable bits
parent
780d3d90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
100 additions
and
100 deletions
+100
-100
details.html
flask_admin/templates/bootstrap2/admin/model/details.html
+51
-51
details.html
flask_admin/templates/bootstrap3/admin/model/details.html
+49
-49
No files found.
flask_admin/templates/bootstrap2/admin/model/details.html
100755 → 100644
View file @
2cc08231
{% extends 'admin/master.html' %}
{% import 'admin/lib.html' as lib with context %}
{% block body %}
{% block navlinks %}
<ul
class=
"nav nav-tabs"
>
<li>
<a
href=
"{{ return_url }}"
>
{{ _gettext('List') }}
</a>
</li>
<li>
<a
href=
"{{ get_url('.create_view', url=return_url) }}"
>
{{ _gettext('Create') }}
</a>
</li>
{%- if admin_view.can_edit -%}
<li>
<a
href=
"{{ get_url('.edit_view', id=get_pk_value(model), url=return_url) }}"
>
{{ _gettext('Edit') }}
</a>
</li>
{%- endif -%}
<li
class=
"active"
>
<a
href=
"javascript:void(0)"
>
{{ _gettext('View Record') }}
</a>
</li>
</ul>
{% endblock %}
{% block details_search %}
<div
class=
"row-fluid"
>
<div
class=
"input-prepend fa_filter_container"
>
<span
class=
"add-on"
>
{{ _gettext('Filter') }}
</span>
<input
id=
"fa_filter"
id=
"prependedInput"
type=
"text"
>
</div>
</div>
{% endblock %}
{% block details_table %}
<table
class=
"table table-hover table-bordered searchable"
>
{% for c, name in details_columns %}
<tr>
<td>
<b>
{{ name }}
</b>
</td>
<td>
{{ get_value(model, c) }}
</td>
</tr>
{% endfor %}
</table>
{% endblock %}
{% endblock %}
{% block tail %}
<script
src=
"{{ admin_static.url(filename='admin/js/details_filter.js', v='1.0.0') }}"
></script>
{% endblock %}
{% extends 'admin/master.html' %}
{% import 'admin/lib.html' as lib with context %}
{% block body %}
{% block navlinks %}
<ul
class=
"nav nav-tabs"
>
<li>
<a
href=
"{{ return_url }}"
>
{{ _gettext('List') }}
</a>
</li>
<li>
<a
href=
"{{ get_url('.create_view', url=return_url) }}"
>
{{ _gettext('Create') }}
</a>
</li>
{%- if admin_view.can_edit -%}
<li>
<a
href=
"{{ get_url('.edit_view', id=get_pk_value(model), url=return_url) }}"
>
{{ _gettext('Edit') }}
</a>
</li>
{%- endif -%}
<li
class=
"active"
>
<a
href=
"javascript:void(0)"
>
{{ _gettext('View Record') }}
</a>
</li>
</ul>
{% endblock %}
{% block details_search %}
<div
class=
"row-fluid"
>
<div
class=
"input-prepend fa_filter_container"
>
<span
class=
"add-on"
>
{{ _gettext('Filter') }}
</span>
<input
id=
"fa_filter"
id=
"prependedInput"
type=
"text"
>
</div>
</div>
{% endblock %}
{% block details_table %}
<table
class=
"table table-hover table-bordered searchable"
>
{% for c, name in details_columns %}
<tr>
<td>
<b>
{{ name }}
</b>
</td>
<td>
{{ get_value(model, c) }}
</td>
</tr>
{% endfor %}
</table>
{% endblock %}
{% endblock %}
{% block tail %}
<script
src=
"{{ admin_static.url(filename='admin/js/details_filter.js', v='1.0.0') }}"
></script>
{% endblock %}
flask_admin/templates/bootstrap3/admin/model/details.html
100755 → 100644
View file @
2cc08231
{% extends 'admin/master.html' %}
{% import 'admin/lib.html' as lib with context %}
{% block body %}
{% block navlinks %}
<ul
class=
"nav nav-tabs"
>
<li>
<a
href=
"{{ return_url }}"
>
{{ _gettext('List') }}
</a>
</li>
<li>
<a
href=
"{{ get_url('.create_view', url=return_url) }}"
>
{{ _gettext('Create') }}
</a>
</li>
{%- if admin_view.can_edit -%}
<li>
<a
href=
"{{ get_url('.edit_view', id=get_pk_value(model), url=return_url) }}"
>
{{ _gettext('Edit') }}
</a>
</li>
{%- endif -%}
<li
class=
"active"
>
<a
href=
"javascript:void(0)"
>
{{ _gettext('View Record') }}
</a>
</li>
</ul>
{% endblock %}
{% block details_search %}
<div
class=
"input-group fa_filter_container col-lg-6"
>
<span
class=
"input-group-addon"
>
{{ _gettext('Filter') }}
</span>
<input
id=
"fa_filter"
type=
"text"
class=
"form-control"
>
</div>
{% endblock %}
{% block details_table %}
<table
class=
"table table-hover table-bordered searchable"
>
{% for c, name in details_columns %}
<tr>
<td>
<b>
{{ name }}
</b>
</td>
<td>
{{ get_value(model, c) }}
</td>
</tr>
{% endfor %}
</table>
{% endblock %}
{% endblock %}
{% block tail %}
<script
src=
"{{ admin_static.url(filename='admin/js/details_filter.js', v='1.0.0') }}"
></script>
{% endblock %}
{% extends 'admin/master.html' %}
{% import 'admin/lib.html' as lib with context %}
{% block body %}
{% block navlinks %}
<ul
class=
"nav nav-tabs"
>
<li>
<a
href=
"{{ return_url }}"
>
{{ _gettext('List') }}
</a>
</li>
<li>
<a
href=
"{{ get_url('.create_view', url=return_url) }}"
>
{{ _gettext('Create') }}
</a>
</li>
{%- if admin_view.can_edit -%}
<li>
<a
href=
"{{ get_url('.edit_view', id=get_pk_value(model), url=return_url) }}"
>
{{ _gettext('Edit') }}
</a>
</li>
{%- endif -%}
<li
class=
"active"
>
<a
href=
"javascript:void(0)"
>
{{ _gettext('View Record') }}
</a>
</li>
</ul>
{% endblock %}
{% block details_search %}
<div
class=
"input-group fa_filter_container col-lg-6"
>
<span
class=
"input-group-addon"
>
{{ _gettext('Filter') }}
</span>
<input
id=
"fa_filter"
type=
"text"
class=
"form-control"
>
</div>
{% endblock %}
{% block details_table %}
<table
class=
"table table-hover table-bordered searchable"
>
{% for c, name in details_columns %}
<tr>
<td>
<b>
{{ name }}
</b>
</td>
<td>
{{ get_value(model, c) }}
</td>
</tr>
{% endfor %}
</table>
{% endblock %}
{% endblock %}
{% block tail %}
<script
src=
"{{ admin_static.url(filename='admin/js/details_filter.js', v='1.0.0') }}"
></script>
{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment