Archived
Changing basic layout.
This commit is contained in:
1 parent
0cb1af8dbf
commit
bc5fe30df9
3 files changed
+86
-69
No files matched your search
@@ -1,15 +1,13 @@
|
||||
body.center
|
||||
{
|
||||
margin:auto;
|
||||
width:800px;
|
||||
}
|
||||
|
||||
textarea
|
||||
{
|
||||
width:99%;
|
||||
height:250px;
|
||||
}
|
||||
|
||||
.affix {
|
||||
top:40px;
|
||||
}
|
||||
|
||||
div.formitem
|
||||
{
|
||||
padding:10px;
|
||||
|
||||
@@ -22,69 +22,81 @@
|
||||
defaultDate: new Date("{{ deadline }}") });
|
||||
});
|
||||
</script>
|
||||
<h3 style="margin-left:15px;">Bestillingsskjema for KAK</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.</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.</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>
|
||||
|
||||
{% include "design/form.html" %}
|
||||
{% include "tekst/form.html" %}
|
||||
{% include "prm/form.html" %}
|
||||
<header class="page-header">
|
||||
<div class="container">
|
||||
<h3 style="margin-left:15px;">Bestillingsskjema for KAK</h3>
|
||||
</div><!-- .container -->
|
||||
</header>
|
||||
|
||||
<div class="submit">
|
||||
<input class="btn" type="submit" value="Send bestilling" name="bestill" style="margin-left:20px;margin-top:5px;" />
|
||||
</div>
|
||||
</form>
|
||||
<div class="container">
|
||||
<div class="row-fluid">
|
||||
|
||||
{% include "navigation.html" %}
|
||||
|
||||
<form class="span9" 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.</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.</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>
|
||||
|
||||
{% include "design/form.html" %}
|
||||
{% include "tekst/form.html" %}
|
||||
{% include "prm/form.html" %}
|
||||
|
||||
<div class="submit">
|
||||
<input class="btn" type="submit" value="Send bestilling" name="bestill" style="margin-left:20px;margin-top:5px;" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div><!-- .row-fluid -->
|
||||
</div><!-- .container -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,7 @@
|
||||
<div id="sidebar-navigation" class="span3">
|
||||
<ul class="nav nav-list" data-spy="affix" data-offset-top="70">
|
||||
<li><a href="#designform">Design</a></li>
|
||||
<li><a href="#prmform">PR og markedsføring</a></li>
|
||||
<li><a href="#tekstform">Tekst</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
Reference in new issue
Block a user