bornhack-website/src/backoffice/templates/index.html

157 lines
8.1 KiB
HTML

{% extends 'base.html' %}
{% load commonmark %}
{% load static %}
{% load imageutils %}
{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{{ camp.title }} Backoffice</h3>
</div>
<div class="panel-body">
<p class="lead">Welcome to the promised land! Please select your desired action below:</p>
<div class="list-group">
{% for team in facilityfeedback_teams %}
{% if "camps."|add:team.permission_set in perms %}
{% if forloop.first %}
<h3>Facility Feedback</h3>
{% endif %}
<a href="{% url 'backoffice:facilityfeedback' camp_slug=camp.slug team_slug=team.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">
{{ team.name }} Team
</h4>
<p class="list-group-item-text">
See unhandled feedback for facilities managed by {{ team.name }} Team
</p>
</a>
{% endif %}
{% empty %}
<div class="list-group-item">
<h4 class="list-group-item-heading">N/A</h4>
<p class="list-group-item-text">
No unhandled Facility Feedback found!
</p>
</div>
{% endfor %}
{% if perms.camps.infoteam_permission %}
<h3>Info Team</h3>
<a href="{% url 'backoffice:scan_tickets' camp_slug=camp.slug %}"
class="list-group-item">
<h4 class="list-group-item-heading">
Scan tickets
</h4>
<p class="list-group-item-text">
Use this to get scan tickets
</p>
</a>
{% endif %}
{% if perms.camps.contentteam_permission %}
<h3>Content Team</h3>
<a href="{% url 'backoffice:approve_event_feedback' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Approve Feedback</h4>
<p class="list-group-item-text">Use these views to approve or reject EventFeedback</p>
</a>
<a href="{% url 'backoffice:pending_proposals' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Approve/Reject Pending Proposals</h4>
<p class="list-group-item-text">Use these views to approve/reject pending SpeakerProposals and EventProposals</p>
</a>
<a href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">AutoScheduler</h4>
<p class="list-group-item-text">Use these views to manage the AutoScheduler</p>
</a>
<a href="{% url 'backoffice:event_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Events</h4>
<p class="list-group-item-text">Use these views to manage Events</p>
</a>
<a href="{% url 'backoffice:event_location_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">EventLocations</h4>
<p class="list-group-item-text">Use these views to manage EventLocations</p>
</a>
<a href="{% url 'backoffice:event_proposal_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">EventProposals</h4>
<p class="list-group-item-text">Use these views to see all EventProposals</p>
</a>
<a href="{% url 'backoffice:event_session_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">EventSessions</h4>
<p class="list-group-item-text">Use these views to manage <i>EventSession</i> objects. Each <i>EventSession</i> is parent to one or more related <i>EventSlot</i> objects, which is what <i>Events</i> are scheduled in.</p>
</a>
<a href="{% url 'backoffice:event_slot_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">EventSlots</h4>
<p class="list-group-item-text">Use these views to see <i>EventSlot</i> objects. <i>Events</i> are scheduled in <i>EventSlots</i>. An <i>EventSlot</i> belong to an <i>EventSession</i>, which is what defines the <i>EventType</i> and <i>EventLocation</i> of the <i>EventSlot</i>.</p>
</a>
<a href="{% url 'backoffice:event_type_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">EventTypes</h4>
<p class="list-group-item-text">Use these views to manage EventTypes</p>
</a>
<a href="{% url 'backoffice:speaker_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Speakers</h4>
<p class="list-group-item-text">Use these views to manage Speakers</p>
</a>
<a href="{% url 'backoffice:speaker_proposal_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">SpeakerProposals</h4>
<p class="list-group-item-text">Use these views to see all SpeakerProposals</p>
</a>
{% endif %}
{% if perms.camps.orgateam_permission %}
<h3>Orga Team</h3>
<a href="{% url 'backoffice:public_credit_names' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Approve Public Credit Names</h4>
<p class="list-group-item-text">Use this view to check and approve users Public Credit Names</p>
</a>
<a href="{% url 'backoffice:merchandise_orders' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Merchandise Orders</h4>
<p class="list-group-item-text">Use this view to look at Merchandise Orders</p>
</a>
<a href="{% url 'backoffice:merchandise_to_order' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Merchandise To Order</h4>
<p class="list-group-item-text">Use this view to generate a list of merchandise that needs to be ordered</p>
</a>
<a href="{% url 'backoffice:village_orders' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Village Orders</h4>
<p class="list-group-item-text">Use this view to look at Village category OrderProductRelations</p>
</a>
<a href="{% url 'backoffice:village_to_order' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Village Gear To Order</h4>
<p class="list-group-item-text">Use this view to generate a list of village gear that needs to be ordered</p>
</a>
<a href="{% url 'backoffice:shop_ticket_overview' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Shop Ticket Overview</h4>
<p class="list-group-item-text">Use this to list shop tickets</p>
</a>
{% endif %}
{% if perms.camps.economyteam_permission %}
<h3>Economy Team</h3>
<a href="{% url 'backoffice:chain_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Chains</h4>
<p class="list-group-item-text">Use this view to see the Chains and Credebtors registered in the system.</p>
</a>
<a href="{% url 'backoffice:expense_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Expenses</h4>
<p class="list-group-item-text">Use this view to see and approve/reject expenses.</p>
</a>
<a href="{% url 'backoffice:reimbursement_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Reimbursements</h4>
<p class="list-group-item-text">Use this view to view and create reimbursements for approved expenses.</p>
</a>
<a href="{% url 'backoffice:revenue_list' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Revenues</h4>
<p class="list-group-item-text">Use this view to see and approve/reject revenues.</p>
</a>
{% endif %}
<h3>External Content</h3>
<a href="{% url 'backoffice:proxy' camp_slug=camp.slug %}" class="list-group-item">
<h4 class="list-group-item-heading">Proxied Content</h4>
<p class="list-group-item-text">Use this view to see proxied content</p>
</a>
</div>
</div>
</div>
{% endblock content %}