-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "clean: remove duplicate pages under
/db/my/*
"
This reverts commit 952f4b4.
- Loading branch information
1 parent
952f4b4
commit b6af4e0
Showing
6 changed files
with
284 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{% extends 'base_admin.html' %} | ||
{% load staticfiles %} | ||
|
||
|
||
{% block content %} | ||
<div class="container marketing" style="text-align:center;"> | ||
<div class="row"> | ||
<div class="col-md-3"> | ||
<img class="img-circle" src="{% static 'img/Account.gif' %}"/> | ||
<h2> My Account </h2> | ||
<a href="{% url "my-acct" %}" class="btn btn-lg btn-primary">Modify Account</a> | ||
</div> | ||
|
||
|
||
<div class="col-md-3"> | ||
<img class="img-circle" src="{% static 'img/WorkOrders.gif' %}"/> | ||
<h2> WorkOrders </h2> | ||
<div class="btn-group"> | ||
<a href="{% url 'wizard:start' %}" class="btn btn-lg btn-primary">New</a> | ||
<a href="{% url "my:workorder" %}" class="btn btn-lg btn-primary">Previous</a> | ||
</div> | ||
</div> | ||
|
||
|
||
<div class="col-md-3"> | ||
<img class="img-circle" src="{% static 'img/Org.gif' %}"/> | ||
<h2> My Orgs </h2> | ||
<a href="{% url "my:orgs" %}" class="btn btn-lg btn-primary">Associated Orgs</a> | ||
</div> | ||
|
||
{% if is_lnl %} | ||
<div class="col-md-3"> | ||
<img class="img-circle" src="{% static 'img/MyEvents.gif' %}"/> | ||
<h2> My Events </h2> | ||
<a href="{% url "my:events" %}" class="btn btn-lg btn-primary">View Events</a> | ||
|
||
</div> | ||
{% endif %} | ||
|
||
</div> | ||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{% extends 'base_admin.html' %} | ||
{% load crispy_forms_tags %} | ||
{% block extras %} | ||
{% include "js_phonelimit.tmpl" %} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<h2> <a href="{% url "accounts:me" %}">My</a> Files for '<em>{{event }}</em>'</h2> | ||
<table class="table"> | ||
<tr> | ||
<th>Service</th> | ||
<th>Notes</th> | ||
<th>File Name</th> | ||
<th></th> | ||
</tr> | ||
{% for a in event.attachments.all %} | ||
<tr> | ||
<td> | ||
{% for s in a.for_service.all %} | ||
{{ s }}{% if not forloop.last %},{% endif %} | ||
{% empty %} | ||
{% endfor %} | ||
</td> | ||
<td>{{ a.note }}</td> | ||
<td>{{ a.attachment.name }}</td> | ||
<td><a class="btn btn-default" href="{{ a.attachment.url }}">Link</a></td> | ||
</tr> | ||
|
||
|
||
{% empty %} | ||
<tr><td colspan="4">No files have been uploaded</td></tr> | ||
{% endfor %} | ||
</table> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% extends 'base_admin.html' %} | ||
|
||
{% block content %} | ||
<h1><a href="{% url "my:events" %}">My</a> Hours for '<em>{{event}}</em>'</h1> | ||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th>Member</th> | ||
<th>Hours</th> | ||
<th>Service</th> | ||
<th></th> | ||
</tr> | ||
</thead> | ||
{% for hour in hours %} | ||
<tr> | ||
<td>{{ hour.user.get_full_name }}</td> | ||
<td>{{ hour.hours }}</td> | ||
<td>{{ hour.category }}</td> | ||
<td><a href="{% url "my:hours-edit" event.id hour.user.id %}">Update</a> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
<a class="btn btn-primary btn-lg" href="{% url "my:hours-bulk" event.id %}">Bulk Add</a> | ||
<a class="btn btn-warning btn-lg" href="{% url "my:hours-new" event.id %}">Single Add</a> | ||
<a class="btn btn-warning btn-lg" href="{% url "my:events" %}">Done</a> | ||
{% endblock %} |