~linuxgoose/bocpress

ref: 998269312d17fad056e8960a12a1a33f49aeff70 bocpress/main/templates/main/dashboard.html -rw-r--r-- 2.7 KiB
99826931Jordan Robinson update post detail page for tag query param on url 2 months ago
                                                                                
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
{% extends 'main/layout.html' %}

{% block title %}Workshop — {{ request.user.username }}{% endblock %}

{% block content %}
<main>
    <h1>Workshop</h1>
    <p>
        Hi <b>{{ request.user.username }}</b>, thank you for joining the fold. Within these pages, your thoughts may take shape and your stories may flourish. 
        Write freely, explore boldly, and trust that this space remains devoted to your creativity and care.
    </p>
    <p class="dashboard-cta">
        <a href="{% url 'post_create' %}"><b>New post »</b></a>
    </p>

    <strong>Content</strong>
    <div class="dashboard-list">
        {% if request.user.comments_on %}
        <a href="{% url 'comment_pending' %}">
            Comments pending
            ({{ comments_pending_count }})
        </a>
        <br>
        {% endif %}

        <a href="{% url 'homepage_update' %}">Homepage</a>
        <br><a href="{% url 'image_list' %}">Assets</a>
        <br><a href="{% url 'post_list' %}">Posts</a>
        <br><a href="{% url 'page_list' %}">Pages</a>

        {% if request.user.notifications_on %}
        <br><a href="{% url 'notificationrecord_list' %}">Newsletter</a>
        {% endif %}

        <br><a href="{% url 'analytic_list' %}">Analytics</a>
        {% if request.user.post_backups_on %}
        <br><a href="{% url 'snapshot_list' %}">Post Backups</a>
        {% endif %}
    </div>

    <strong>Manage</strong>
    <div class="dashboard-list">
        <a href="{% url 'webring' %}">Webring</a>
        <br><a href="{% url 'api_docs' %}">API</a>

        {% if billing_enabled %}
        <br><a href="{% url 'billing_index' %}">Billing</a>
        {% endif %}

        <br><a href="{% url 'blog_import' %}">Import posts</a>
        <br><a href="{% url 'export_index' %}">Export blog</a>
    </div>

    <strong>Account</strong>
    <div class="dashboard-list">
        <a href="{% url 'user_update' %}">Blog settings</a>
        <br><a href="{% url 'password_change' %}">Change password</a>
        <br><a href="{% url 'methodology' %}">Platform Methodology</a>
        <br><a href="mailto:admin@bocpress.co.uk">Help and support</a>
        <br>
        <form method="post" action="{% url 'logout' %}" class="form-inline">
            {% csrf_token %}
            <input type="submit" value="Log out">
        </form>
    </div>

    <strong>Licensing</strong>
    <div class="dashboard-list">
        <a href="{% url 'rsl_update' %}">Really Simple Licensing</a>
    </div>

    {% if request.user.is_superuser %}
    <strong>Administration</strong>
    <div class="dashboard-list">
        <a href="{% url 'admin:index' %}">Django Admin</a>
        <br><a href="{% url 'moderation_index' %}">Moderation</a>
    </div>
    {% endif %}
</main>
{% endblock content %}