diff options
author | luxagraf <sng@luxagraf.net> | 2020-11-16 10:15:21 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-11-16 10:15:21 -0500 |
commit | 18e2de4f0941791cc0812184dd800bd10e9a2fa3 (patch) | |
tree | 9b4a7ed07f3f4c92e38aea826bbe2c23c21d5f4a /design/templates/admin/index.html | |
parent | 56f9544407416937df910bd095f396918b3d0773 (diff) |
customized admin homepage some
Diffstat (limited to 'design/templates/admin/index.html')
-rw-r--r-- | design/templates/admin/index.html | 93 |
1 files changed, 56 insertions, 37 deletions
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> </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 %} |