Created
October 8, 2014 14:15
-
-
Save darklow/ce3149724aa99d369bcd to your computer and use it in GitHub Desktop.
Custom view template for Django
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
<!-- templates/admin/custom_view.html --> | |
{% extends "admin/base_site.html" %} | |
{% load i18n %} | |
{% block breadcrumbs %} | |
<ul class="breadcrumb"> | |
<li class="active"> | |
<i class="icon-home"></i> | |
{% trans "Custom view" %} | |
</li> | |
</ul> | |
{% endblock %} | |
{% block content %} | |
<table id="result_list" class="table table-striped table-bordered table-hover table-condensed"> | |
<thead> | |
<tr> | |
<th>Information on example</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>This is just an example how menu can link to custom view</td> | |
</tr> | |
</tbody> | |
</table> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment