Updated hr templates

This commit is contained in:
2011-12-04 17:51:47 +00:00
parent d789925c10
commit 7fe2e3af52
8 changed files with 70 additions and 35 deletions

View File

@@ -3,12 +3,19 @@
{% block title %}Accept Application{% endblock %}
{% block content %}
<div class="page-header">
<h1>Accept Application</h1>
</div>
<p>Fill in a note you want to send to the user.</p>
<form action="{% url hr-acceptapplication application.id %}" method="post">
<table>
{{ form.as_table }}
{% csrf_token %}
</table>
<input type="submit" value="Apply" />
<formset>
{% include "formtools/formfield.html" with field=form.text class="xxlarge" %}
{% include "formtools/formfield.html" with field=form.template %}
{% csrf_token %}
<input type="submit" value="Add" class="btn primary"/>
</formset>
</form>
{% endblock %}

View File

@@ -11,10 +11,12 @@
<p>Select the character you wish to apply with, then the corporation you wish to apply for.</p>
<form action="{% url hr-addapplication %}" method="post">
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Create Application" class="btn primary"/>
<formset>
{% include "formtools/formfield.html" with field=form.character %}
{% include "formtools/formfield.html" with field=form.corporation %}
{% csrf_token %}
<input type="submit" value="Create Application" class="btn primary"/>
</formset>
</form>
{% endblock %}

View File

@@ -3,11 +3,17 @@
{% block title %}Send Message to Applicant{% endblock %}
{% block content %}
<div class="page-header">
<h1>Add Message</h1>
</div>
<form action="{% url hr-addmessage application.id %}" method="post">
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Apply" />
<formset>
{% include "formtools/formfield.html" with field=form.text class="xxlarge" %}
{% if form.template %}{% include "formtools/formfield.html" with field=form.template %}{% endif %}
{% csrf_token %}
<input type="submit" value="Add" class="btn primary"/>
</formset>
</form>
{% endblock %}

View File

@@ -3,11 +3,15 @@
{% block title %}Add Note to Application{% endblock %}
{% block content %}
<div class="page-header">
<h1>Add Staff Note</h1>
</div>
<form action="{% url hr-addnote application.id %}" method="post">
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Apply" />
<formset>
{% include "formtools/formfield.html" with field=form.text class="xxlarge" %}
{% csrf_token %}
<input type="submit" value="Add" class="btn primary"/>
</formset>
</form>
{% endblock %}

View File

@@ -3,12 +3,20 @@
{% block title %}Reject Application{% endblock %}
{% block content %}
<div class="page-header">
<h1>Reject Application</h1>
</div>
<p>Fill in the rejection reason below, please note, this will be sent out to the user.</p>
<form action="{% url hr-rejectapplication application.id %}" method="post">
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Apply" />
<formset>
{% include "formtools/formfield.html" with field=form.text class="xxlarge" %}
{% include "formtools/formfield.html" with field=form.template %}
{% csrf_token %}
<input type="submit" value="Reject" class="btn error"/>
</formset>
</form>
{% endblock %}

View File

@@ -7,12 +7,15 @@
</div>
<form action="{% url hr-blacklist-add %}" method="post">
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<formset>
{% include "formtools/formfield.html" with field=form.type %}
{% include "formtools/formfield.html" with field=form.value class="xxlarge" %}
{% include "formtools/formfield.html" with field=form.reason class="xxlarge" %}
{% include "formtools/formfield.html" with field=form.expiry_date %}
<input type="submit" value="Add Blacklist" class="btn primary"/>
{% csrf_token %}
<input type="submit" value="Add Blacklist" class="btn primary"/>
</formset>
</form>
{% endblock %}

View File

@@ -13,10 +13,11 @@
The person you are recommending needs to have created their application before you can add a recommendation.</p>
<form action="{% url hr-addrecommendation %}" method="post">
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Add Recommendation" />
<formset>
{% include "formtools/formfield.html" with field=form.character %}
{% include "formtools/formfield.html" with field=form.application %}
{% csrf_token %}
<input type="submit" value="Add Recommendation" class="btn primary"/>
</formset>
</form>
{% endblock %}

View File

@@ -5,6 +5,10 @@
{% block content %}
<script src="/static/js/jquery.tablesorter.min.js"></script>
<div class="page-header">
<h1>Your Recommendations</h1>
</div>
<p>This list shows your current open recommendations that are yet to be submitted, as
soon as the recommended user submits their application your recommendation will be removed from this list.</p>
{% if recommendations %}