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
4d3d3710
Commit
4d3d3710
authored
Nov 08, 2013
by
Petrus J.v.Rensburg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add index page to 'sqla' and 'layout' examples.
parent
182b55b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
index.html
examples/layout/templates/admin/index.html
+17
-0
test.sqlite
examples/sqla-inline/test.sqlite
+0
-0
index.html
examples/sqla/templates/admin/index.html
+17
-0
No files found.
examples/layout/templates/admin/index.html
0 → 100644
View file @
4d3d3710
{% extends 'admin/master.html' %}
{% block body %}
{{ super() }}
<div
class=
"row-fluid"
>
<h1>
Flask-Admin example
</h1>
<p
class=
"lead"
>
Customize the layout
</p>
<p>
This example shows how you can customize the look
&
feel of the admin interface.
</p>
<p>
This is done by overriding some of the built-in templates.
</p>
<a
class=
"btn btn-primary"
href=
"/"
><i
class=
"icon-arrow-left icon-white"
></i>
Back
</a>
</div>
{% endblock body %}
\ No newline at end of file
examples/sqla-inline/test.sqlite
0 → 100644
View file @
4d3d3710
File added
examples/sqla/templates/admin/index.html
0 → 100644
View file @
4d3d3710
{% extends 'admin/master.html' %}
{% block body %}
{{ super() }}
<div
class=
"row-fluid"
>
<h1>
Flask-Admin example
</h1>
<p
class=
"lead"
>
Basic SQLAlchemy model views.
</p>
<p>
This example shows how to add basic CRUD-views for your SQLAlchemy models.
</p>
<p>
The views are generated automatically, but it is perfectly possible to customize them to suit your needs.
</p>
<a
class=
"btn btn-primary"
href=
"/"
><i
class=
"icon-arrow-left icon-white"
></i>
Back
</a>
</div>
{% endblock body %}
\ No newline at end of file
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