Archived
91 lines
3.9 KiB
HTML
91 lines
3.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title>{% block title %}{% endblock %}</title>
|
|
{% load staticfiles %}
|
|
<link type="text/css" href="{% static 'css/jquery.ui.css' %}" rel="stylesheet" />
|
|
<link type="text/css" href="{% static 'css/jquery.ui.datepicker.css' %}" rel="stylesheet" />
|
|
<link type="text/css" href="{% static 'css/bootstrap.css' %}" rel="stylesheet" />
|
|
<link type="text/css" href="{% static 'css/bootstrap-responsive.css' %}" rel="stylesheet" />
|
|
<link type="text/css" href="{% static 'css/design/style.css' %}" rel="stylesheet" />
|
|
<script type="text/javascript" src="{% static 'js/jquery-2.0.0.js' %}"></script>
|
|
<script type="text/javascript" src="{% static 'js/jquery.ui.core.js' %}"></script>
|
|
<script type="text/javascript" src="{% static 'js/jquery.ui.datepicker.js' %}"></script>
|
|
<script type="text/javascript" src="{% static 'js/bootstrap.js' %}"></script>
|
|
</head>
|
|
<body class="center">
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
$("#deadline").datepicker({altField: '#deadline_field',
|
|
altFormat: 'yy-mm-dd',
|
|
minDate: '+2w',
|
|
defaultDate: new Date("{{ deadline }}") });
|
|
});
|
|
</script>
|
|
<h3 style="margin-left:15px;">{% block header %}{% endblock %}</h3>
|
|
|
|
<form method="post" action="" method="post" id="bestilling">{% csrf_token %}
|
|
|
|
<div class="formitem">
|
|
<legend>Forening</legend>
|
|
<label>Hvem bestiller?</label>
|
|
<input type="text" name="client" value="{{ client }}" />
|
|
{% if errors.client_error %}
|
|
<label class="text-error">Feltet er obligatorisk og kan ikke ha mer enn 50 tegn.</label>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div class="formitem">
|
|
<legend>Frist</legend>
|
|
<div class="desc">
|
|
<p>Fristen må være tidligst to uker etter bestilling.</p>
|
|
<p>Tidsfristen for oppdraget skal være forsvarlig i henhold til estimert arbeidsmengde. Dersom bestillingen er et hastoppdrag, må det gjerne presiseres, men Kommunikasjonsavdelingen kan ikke garantere at bestillingen prioriteres fremfor øvrige oppdrag.</p>
|
|
</div>
|
|
<input id = "deadline_field" style="display:none;" value="" name="deadline" />
|
|
<div id="deadline"></div>
|
|
</div>
|
|
<div class="formitem">
|
|
<legend>Kontaktperson</legend>
|
|
|
|
<div class="form-horizontal">
|
|
<div class="control-group">
|
|
<label class="control-label" for="contact_name">Navn:</label>
|
|
<div class="controls">
|
|
<input type="text" name="contact_name" value="{{ contact_name }}" />
|
|
{% if errors.contact_name_error %}
|
|
<label class="text-error">Feltet er obligatorisk og kan ikke har mer enn 50 tegn.</label>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label" for="contact_email">Email:</label>
|
|
<div class="controls">
|
|
<input type="text" name="contact_email" value="{{ contact_email }}" />
|
|
{% if errors.contact_email_error %}
|
|
<label class="text-error">Skriv inn gyldig epost-adresse.</label>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label" for="contact_number">Tlf.:</label>
|
|
<div class="controls">
|
|
<input type="text" name="contact_number" value="{{ contact_number }}" />
|
|
{% if errors.contact_number_error %}
|
|
<label class="text-error">Skriv inn gyldig telefonnummer.</label>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% block order_details %}{% endblock %}
|
|
|
|
<p style="padding-left: 8px; padding-top: 20px;"><strong>Ønsker du å legge ved filer?</strong> Du kan legge til filer på statussiden etter du har sendt den inn.</p>
|
|
|
|
<div class="submit">
|
|
<input class="btn btn-primary btn-large" type="submit" value="Send bestilling" name="bestill" style="margin-left:8px;margin-top:5px;" />
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|