diff options
author | Teddy Wing | 2014-04-20 20:37:53 -0400 |
---|---|---|
committer | Teddy Wing | 2014-04-20 20:37:53 -0400 |
commit | caaf6d1d4ea3cae012aca99685fdb043a822e295 (patch) | |
tree | 2615c7c21fcb62a838ed952ab1fda09544117381 | |
parent | 471c12b7dc65aef83ed5e9d7623b2e95c68cf392 (diff) | |
download | django-sneak-peek-caaf6d1d4ea3cae012aca99685fdb043a822e295.tar.bz2 |
Update index HTML in example project
* Improve markup
* Use slightly better test content
-rw-r--r-- | examples/djangoproject/djangoproject/templates/base.html | 4 | ||||
-rw-r--r-- | examples/djangoproject/djangoproject/templates/index.html | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/examples/djangoproject/djangoproject/templates/base.html b/examples/djangoproject/djangoproject/templates/base.html index 64cb1b4..bc5d652 100644 --- a/examples/djangoproject/djangoproject/templates/base.html +++ b/examples/djangoproject/djangoproject/templates/base.html @@ -2,14 +2,14 @@ {% load static %} <html> <head> - <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <meta charset="utf-8"> <title>Sneak Peek Example</title> + <!-- Include sneak-peek CSS --> <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}sneak_peek_tag/css/django-sneak-peek.css" /> </head> <body> - <header>Sneak Peek Example</header> + <h1>Sneak Peek Example</h1> {% block content %} {% endblock %} diff --git a/examples/djangoproject/djangoproject/templates/index.html b/examples/djangoproject/djangoproject/templates/index.html index 4cf8087..4116c7a 100644 --- a/examples/djangoproject/djangoproject/templates/index.html +++ b/examples/djangoproject/djangoproject/templates/index.html @@ -6,7 +6,9 @@ {% block content %} {% sneak_peek %} -test + <div> + This will be hidden from users who don't have the sneak peek permission. + </div> {% endsneak_peek %} {% endblock %}
\ No newline at end of file |