summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--design/templates/admin/base.html6
-rw-r--r--design/templates/admin/index.html93
2 files changed, 60 insertions, 39 deletions
diff --git a/design/templates/admin/base.html b/design/templates/admin/base.html
index 262387a..fd468f1 100644
--- a/design/templates/admin/base.html
+++ b/design/templates/admin/base.html
@@ -78,9 +78,9 @@
{% endfor %}</ul>
{% endif %}
{% endblock messages %}
-
+ <div class="homepage-flex">
<!-- Content -->
- <div id="content" class="{% block coltype %}colM{% endblock %}">
+ <div id="content" class="{% block coltype %}colM{% endblock %} flex-left">
{% block pretitle %}{% endblock %}
{% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %}
{% block content %}
@@ -90,7 +90,9 @@
{% block sidebar %}{% endblock %}
<br class="clear" />
</div>
+ {% block adminembed %}{% endblock %}
<!-- END Content -->
+ </div>
{% block footer %}<div id="footer"></div>{% endblock %}
</div>
diff --git a/design/templates/admin/index.html b/design/templates/admin/index.html
index d0b53cd..2674092 100644
--- a/design/templates/admin/index.html
+++ b/design/templates/admin/index.html
@@ -13,6 +13,29 @@ td, th {
.module {
margin-bottom: 20px;
}
+.homepage-flex {
+ display: flex;
+ flex-direction: row;
+}
+.flex-right{
+ width: 84%;
+ margin-top: 5.5rem;
+}
+.flex-left {
+ width: 15%
+}
+.faux-btns {
+ margin: 0;
+ padding: 0;
+ list-style-type: none;
+}
+.faux-btns li {
+ display: inline-block;
+ margin-right: .6rem;
+}
+.colMS {
+ margin-right: 0;
+}
</style>
{% endblock %}
@@ -24,59 +47,80 @@ td, th {
{% block content %}
<div id="content-main">
-
+ <ul class="faux-btns">
+ <li><a href="https://awstats.luxagraf.net/cgi-bin/awstats.pl?config=luxagraf.net">lxf awstats</a></li>
+ <li><a href="https://stats.luxagraf.net/">lxf stats</a></li>
+ <li><a href="/admin/build/build?id=buildbooks">Build Books</a></li>
+ <li><a href="/admin/build/build?id=pubs">Build Publications</a></li>
+ <li><a href="/admin/build/build?id=resume">Build Resume</a></li>
+ </ul>
{% if app_list %}
<div class="module">
<table>
<caption><a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">Frequently Used</a></caption>
<tr>
<th scope="row"><a href="/admin/django_comments/comment/">moderate comments</a></th>
+ <td>&nbsp;</td>
+ <td><a href="/admin/build/build?id=builddetails">Build JrnlDetails</a></td>
</tr>
<tr>
- <th scope="row"><a href="/admin/jrnl/entry/">jrnl</a></th>
- <td><a href="/admin/jrnl/entry/add/" class="addlink">{% trans 'Add' %}</a></td></tr>
- <tr>
+ <th scope="row"><a href="/admin/posts/post/">posts</a></th>
+ <td><a href="/admin/posts/post/add/" class="addlink">Add</a></td>
+ <td><a href="/admin/build/build?id=writingarchives">Build JrnlArc</a></td>
+ </tr>
<th scope="row"><a href="/admin/photos/luximage/">photos</a></th>
<td><a href="/admin/photos/luximage/add/" class="addlink">Add</a></td>
+ <td><a href="/admin/build/build?id=homepage">Build Homepage</a></td>
</tr>
<tr>
- <th scope="row"><a href="/admin/posts/post/">posts</a></th>
- <td><a href="/admin/posts/post/add/" class="addlink">Add</a></td>
+ <th scope="row"><a href="/admin/lttr/newslettermailing/">Newsletter Mailings</a></th>
+ <td><a href="/admin/lttr/newslettermailing/add/" class="addlink">Add</a></td>
+ <td><a href="/admin/build/build?id=sitemap">Build Sitemap</a></td>
</tr>
<tr>
<th scope="row"><a href="/admin/sightings/sighting/">sightings</a></th>
<td><a href="/admin/sightings/sighting/add/" class="addlink">Add</a></td>
+ <td><a href="/admin/build/build?id=buildrss">Build RSS</a></td>
</tr>
<tr>
<th scope="row"><a href="/admin/locations/luxcheckin/">check ins</a></th>
<td><a href="/admin/locations/checkin/add/" class="addlink">Add</a></td>
+ <td><a href="/admin/build/build?id=lttr_archive">Build Newsletter</a></td>
</tr>
<tr>
<th scope="row"><a href="/admin/locations/location/">locations</a></th>
<td><a href="/admin/locations/location/add/" class="addlink">Add</a></td>
+ <td><a href="/admin/build/build?id=essays">Build Essays</a></td>
</tr>
<tr>
<th scope="row"><a href="/admin/sightings/ap/">dialogue</a></th>
<td><a href="/admin/sightings/ap/add/" class="addlink">Add</a></td>
+ <td><a href="/admin/build/build?id=buildsightings">Build Dialogues</a></td>
</tr>
<tr>
<th scope="row"><a href="/admin/locations/campsite/">campsite</a></th>
<td><a href="/admin/locations/campsite/add/" class="addlink">Add</a></td>
+ <td><a href="/admin/build/build?id=src">Build src</a></td>
</tr>
<tr>
- <th scope="row"><a href="/admin/jrnl/home/1/change/">homepage</a></th>
+ <th scope="row"><a href="/admin/pages/homepage/1/change/">homepage</a></th>
+ <td><a href="/admin/locations/homepage/add/" class="addlink">Add</a></td>
+ <td><a href="/admin/build/build?id=guide">Build Guide</a></td>
</tr>
<tr>
<th scope="row"><a href="/admin/lttr/subscriber/">subscribers</a></th>
<td><a href="/admin/lttr/subscriber/add/" class="addlink">Add</a></td>
+ <td><a href="/admin/build/build?id=pages">Build Pages</a></td>
</tr>
<tr>
<th scope="row"><a href="/admin/pages/page/">pages</a></th>
<td><a href="/admin/pages/page/add/" class="addlink">Add</a></td>
+ <td><a href="/admin/build/build?id=discursivepages">Build Discursive Pages</a></td>
</tr>
<tr>
<th scope="row"><a href="/admin/links/link/">link</a></th>
<td><a href="/admin/links/link/add/" class="addlink">Add</a></td>
+ <td><a href="/admin/build/build?id=fieldnotes">Build FieldNotes</a></td>
</tr>
</table>
</div>
@@ -122,35 +166,10 @@ td, th {
{% endblock %}
{% block sidebar %}
-
-<div id="content-related">
-{% include 'admin/buttons.html' %}
- <div class="module" id="recent-actions-module">
- <h2>{% trans 'Recent Actions' %}</h2>
- <h3>{% trans 'My Actions' %}</h3>
- {% load log %}
- {% get_admin_log 10 as admin_log for_user user %}
- {% if not admin_log %}
- <p>{% trans 'None available' %}</p>
- {% else %}
- <ul class="actionlist">
- {% for entry in admin_log %}
- <li class="{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}">
- {% if entry.is_deletion or not entry.get_admin_url %}
- {{ entry.object_repr }}
- {% else %}
- <a href="{{ entry.get_admin_url }}">{{ entry.object_repr }}</a>
- {% endif %}
- <br/>
- {% if entry.content_type %}
- <span class="mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}</span>
- {% else %}
- <span class="mini quiet">{% trans 'Unknown content' %}</span>
- {% endif %}
- </li>
- {% endfor %}
- </ul>
- {% endif %}
- </div>
+{% endblock %}
+{% block adminembed %}
+<div class="flex-right">
+<iframe style="border:none;width:98%;height: 25%" src="https://stats.luxagraf.net/"></iframe>
+<iframe style="border:none;width:98%;height: 40%" src="https://awstats.luxagraf.net/cgi-bin/awstats.pl?config=luxagraf.net&framename=mainright"></iframe>
</div>
{% endblock %}