summaryrefslogtreecommitdiff
path: root/templates/admin/index.html
blob: e2285f81af7b5ae4e5ba180240ed390800eb1297 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{% extends "admin/base_site.html" %}
{% load admin_list static i18n %}

{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/dashboard.css" %}" />
<style>
.module caption {
    padding: 5px;
}
td, th {
    font-size: 12px;
    padding: 5px 8px;
}
.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 %}

{% block coltype %}colMS{% endblock %}

{% block bodyclass %}dashboard{% endblock %}

{% block breadcrumbs %}{% endblock %}

{% block content %}
<div id="content-main">
    <ul class="faux-btns">
        <li><a href="https://awstats.luxagraf.net/cgi-bin/awstats.pl?config=luxagraf.net" target="_blank">lxf awstats</a></li>
        <li><a href="https://stats.luxagraf.net/" target="_blank">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/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/media/luximage/">images</a></th>
                <td><a href="/admin/media/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/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 Jrnl 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=range">Build Range</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=films">Build Films</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=src">Build src</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=pages">Build Pages</a></td>
            </tr>
            <tr>
                <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=essays">Build Essays</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=buildsightings">Build Dialogues</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=fieldnotes">Build FieldNotes</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=discursivepages">Build Discursive Pages</a></td>
            </tr>
            </table>
        </div>
    {% for app in 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 %}">
                {% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}
            </a>
        </caption>
        {% for model in app.models %}
            <tr>
            {% if model.admin_url %}
                <th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th>
            {% else %}
                <th scope="row">{{ model.name }}</th>
            {% endif %}

            {% if model.add_url %}
                <td><a href="{{ model.add_url }}" class="addlink">{% trans 'Add' %}</a></td>
            {% else %}
                <td>&nbsp;</td>
            {% endif %}

            {% if model.admin_url %}
                <td><a href="{{ model.admin_url }}" class="changelink">{% trans 'Change' %}</a></td>
            {% else %}
                <td>&nbsp;</td>
            {% endif %}
            </tr>
            {% if model.name == "Gigs"%}
            <tr>    <th scope="row"><a href="{{ model.admin_url }}monthly/">Income for month</a></th></tr>
                {% endif %}
        {% endfor %}
        </table>
        </div>
    {% endfor %}
{% else %}
    <p>{% trans "You don't have permission to edit anything." %}</p>
{% endif %}
</div>
{% endblock %}

{% block sidebar %}
{% endblock %}
{% block adminembed %}
<div class="flex-right">
    <!--<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 %}