Permalink
Browse files

Re-added missing debug/empty_homepage.html template

  • Loading branch information...
1 parent 04556a2 commit 8264f2c696bc236b7e7ad106f9c4d7d2bb2bf4d2 @xaralis xaralis committed Oct 16, 2012
Showing with 99 additions and 0 deletions.
  1. +99 −0 ella/core/templates/debug/empty_homepage.html
@@ -0,0 +1,99 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en"><head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <meta name="robots" content="NONE,NOARCHIVE"><title>Welcome to your Ella-powered pages!</title>
+ <style type="text/css">
+ html * { padding:0; margin:0; }
+ body * { padding:10px 20px; }
+ body * * { padding:0; }
+ body { font:small sans-serif; }
+ body>div { border-bottom:1px solid #ddd; }
+ h1 { font-weight:normal; margin-top: 5px; }
+ h2 { margin-bottom:.8em; }
+ h2 span { font-size:80%; color:#666; font-weight:normal; }
+ h3 { margin:1em 0 .5em 0; }
+ h4 { margin:0 0 .5em 0; font-weight: normal; }
+ table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
+ tbody td, tbody th { vertical-align:top; padding:2px 3px; }
+ thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; }
+ tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
+ ul { margin-left: 2em; margin-top: 1em; }
+ img.logo { float: left; margin-right: 20px;}
+ #summary { background: #e0ebff; }
+ #summary h2 { font-weight: normal; color: #666; }
+ #explanation { background:#eee; }
+ #instructions { background:#f6f6f6; }
+ #summary table { border:none; background:transparent; }
+ </style>
+</head>
+
+<body>
+<div id="summary">
+ <img class='logo' src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE
+EAAABDCAIAAABMXf8ZAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAAD
+dcBQiibeAAAAAd0SU1FB9w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Kcp3FKCdAEPnzNnm3n1lXG4X1xVJKTIZO5f0N7eNv/46/3nTw3Mu0OpOP9Zg
+YHLSEZnt3akPPjy67vXk++8D50owjKo6mpgRNQ0/nXdZ+rNtqGvldzRQZyFtRxpZMkyHTAQ4Y8m9Lb9
+/Kt+ke/F1va+uFdJEUJiqKT4/aMc2irIHBkD06orvrNbE5i2arpVfczrwFlMVpgYhACqAyGTteOIYN/
+oSrCqgescNShkSjLaqEoVhBlqamOeRZ8iyRCbjcqkxIg7afAhg8FcchLz8dI5lm6noxGX3KgDQfii26
+/KOVHeXiyAkgMhlj/nByhmJiLv9e2tqZ2z4R2b2AtwbrWBh9oHZbRRP9McjUyo5CoNKPlxVmaorXK/o
+KP8HT7bf8ETPdYkAAAAASUVORK5CYII=' />
+ <h1>Hey, fellow Ella user!</h1>
+ <h2>Congratulations, your Ella installation is working, let's add some stuff.</h2>
+</div>
+
+<div id="instructions">
+ <p>Showing this page means, you haven't defined any <strong>categories</strong> so far. Next steps are:</p>
+ <ul>
+ <li>If you haven't enabled admin yet, do it. If you don't know how, find it out in <a href="https://docs.djangoproject.com/en/1.3/intro/tutorial02/#activate-the-admin-site">Django docs</a>.</li>
+ <li>Go the <strong>admin page</strong> on <code>/admin/</code>.</li>
+ <li><strong>Create some categories</strong> to start with in Category administration.</li>
+ </ul>
+</div>
+
+<div id="explanation">
+ <p>
+ You're seeing this message because you have <code>DEBUG = True</code> in your
+ Django settings file and you haven't created any categories. Get to work!
+ </p>
+</div>
+</body></html>

4 comments on commit 8264f2c

@HonzaKral
Member

This template was removed intentionally. Ella has no templates, currently this file wouldn't even make it to PYPI since setup.py isn't set up to include non-python files except for translations. Would you please consider just returning a friendly string message from the view? Imho there is no need for entire template just for this.

@xaralis
Member

I don't really see a reason why we shouldn't include this when it's already finished. It's just one template which looks more professional than simple Http404 message in my opinion.

@HonzaKral
Member

fine, but then we need to add it to MANIFEST.in so it would get included in the distributed package

@xaralis
Member

I'm gonna add it to the MANIFEST as soon as I have a little time spare.

Please sign in to comment.