aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/djangoproject/djangoproject/templates/base.html4
-rw-r--r--examples/djangoproject/djangoproject/templates/index.html4
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