Preliminary lists
This commit is contained in:
parent
15fa8226e0
commit
bf0d99ccd2
@ -15,11 +15,20 @@
|
|||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
||||||
<section class="max-w-screen-lg mx-auto px-6 md:py-12 md:flex">
|
<section class="max-w-screen-lg mx-auto px-6 md:py-12 md:flex">
|
||||||
<aside class="w-2/12 mr-4 block text-sm">
|
<aside class="w-2/12 mr-4 block">
|
||||||
<a class="icon ~urge ml-6 mb-8 mt-3" href="{% url 'core:dashboard' %}">
|
<a class="icon ~urge ml-6 mb-8 mt-3" href="{% url 'core:dashboard' %}">
|
||||||
<i class="fas fa-low-vision fa-3x text-purple-600"></i>
|
<i class="fas fa-low-vision fa-3x text-purple-600"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<p class="ml-2 mt-2 mb-1 supra font-medium text-gray-500 pointer-events-none">Services</p>
|
||||||
|
|
||||||
|
{% for service in user.owning_services.all %}
|
||||||
|
{% url 'account_email' as url %}
|
||||||
|
{% include 'core/includes/sidebar_portal.html' with label=service.name url=url %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
<p class="ml-2 mt-8 mb-1 supra font-medium text-gray-500 pointer-events-none">Account</p>
|
||||||
|
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
|
|
||||||
{% url 'account_email' as url %}
|
{% url 'account_email' as url %}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{% with stats=service.get_daily_stats %}
|
{% with stats=service.get_daily_stats %}
|
||||||
<div class="md:flex justify-between">
|
<div class="md:flex justify-between">
|
||||||
<div class="mr-4 md:w-1/4">
|
<div class="mr-4 md:w-1/4">
|
||||||
<h3 class="heading text-gray-700 text-2xl mr-2 leading-none">
|
<h3 class="heading text-2xl mr-2">
|
||||||
{{service.name}}
|
{{service.name}}
|
||||||
</h3>
|
</h3>
|
||||||
{% if stats.currently_online > 0 %}
|
{% if stats.currently_online > 0 %}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h4 class="heading text-lg leading-none text-purple-600">Shynet</h4>
|
<h4 class="heading text-xl leading-none text-purple-600">Shynet</h4>
|
||||||
<h4 class="heading text-4xl leading-none">Dashboard</h4>
|
<h4 class="heading text-5xl leading-none">Dashboard</h4>
|
||||||
<hr class="sep">
|
<hr class="sep">
|
||||||
|
|
||||||
{% for service in user.owning_services.all %}
|
{% for service in user.owning_services.all %}
|
||||||
|
Loading…
Reference in New Issue
Block a user