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
bde254c8
Commit
bde254c8
authored
Aug 26, 2012
by
Serge S. Koval
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjusted button styles
parent
b6614b7d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
50 deletions
+52
-50
list.html
flask_admin/templates/admin/file/list.html
+3
-3
create.html
flask_admin/templates/admin/model/create.html
+1
-1
list.html
flask_admin/templates/admin/model/list.html
+48
-46
No files found.
flask_admin/templates/admin/file/list.html
View file @
bde254c8
...
...
@@ -87,17 +87,17 @@
<div
class=
"btn-toolbar"
>
{% if admin_view.can_upload %}
<div
class=
"btn-group"
>
<a
class=
"btn btn-
primary btn-
large"
href=
"{{ get_dir_url('.upload', path=dir_path) }}"
>
{{ _gettext('Upload File') }}
</a>
<a
class=
"btn btn-large"
href=
"{{ get_dir_url('.upload', path=dir_path) }}"
>
{{ _gettext('Upload File') }}
</a>
</div>
{% endif %}
{% if admin_view.can_mkdir %}
<div
class=
"btn-group"
>
<a
class=
"btn btn-
primary btn-
large"
href=
"{{ get_dir_url('.mkdir', path=dir_path) }}"
>
{{ _gettext('Create Directory') }}
</a>
<a
class=
"btn btn-large"
href=
"{{ get_dir_url('.mkdir', path=dir_path) }}"
>
{{ _gettext('Create Directory') }}
</a>
</div>
{% endif %}
{% if actions %}
<div
class=
"btn-group"
>
{{ actionslib.dropdown(actions, 'dropdown-toggle btn btn-
primary btn-
large') }}
{{ actionslib.dropdown(actions, 'dropdown-toggle btn btn-large') }}
</div>
{% endif %}
</div>
...
...
flask_admin/templates/admin/model/create.html
View file @
bde254c8
...
...
@@ -8,7 +8,7 @@
{% block body %}
{% macro extra() %}
<input
name=
"_add_another"
type=
"submit"
class=
"btn btn-
primary btn-
large"
value=
"{{ _gettext('Save and Add') }}"
/>
<input
name=
"_add_another"
type=
"submit"
class=
"btn btn-large"
value=
"{{ _gettext('Save and Add') }}"
/>
{% endmacro %}
<ul
class=
"nav nav-tabs"
>
...
...
flask_admin/templates/admin/model/list.html
View file @
bde254c8
...
...
@@ -97,6 +97,7 @@
<table
class=
"table table-striped table-bordered model-list"
>
<thead>
<tr>
{% block list_header scoped %}
{% if actions %}
<th
class=
"span1"
>
<input
type=
"checkbox"
name=
"rowtoggle"
class=
"action-rowtoggle"
/>
...
...
@@ -125,10 +126,12 @@
</th>
{% set column = column + 1 %}
{% endfor %}
{% endblock %}
</tr>
</thead>
{% for row in data %}
<tr>
{% block list_row scoped %}
{% if actions %}
<td>
<input
type=
"checkbox"
name=
"rowid"
class=
"action-checkbox"
value=
"{{ get_pk_value(row) }}"
/>
...
...
@@ -148,7 +151,6 @@
</form>
{%- endif -%}
</td>
{% block list_columns scoped %}
{% for c, name in list_columns %}
<td>
{{ get_value(row, c) }}
</td>
{% endfor %}
...
...
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