Jobboerse/packages/jobboerse/templates/job_offer/create.hb
Lukas Drescher 4a5a0a2d4b Apply new design to the rest of the website
- Change students' association logo to the version with the university name
- translate the login screen to german
- fix a typo on the job offer creation screen
- update CSS
2023-12-23 22:58:47 +01:00

74 lines
4.3 KiB
Text

{{#> base}}
<div class="centered">
<form class="submission-form" method="post" enctype="multipart/form-data">
<label class="offer-title-title" for="offer-title">Titel der Anzeige</label>
<input class="offer-title-field" id="offer-title" type="text" name="title" autocomplete="on" autofocus placeholder="z.B. HiWi-Gesucht" required><br />
<label class="submitter-title" for="offer-offering-party">Anbieter/Unternehmen</label>
<input class="submitter-field" id="offer-offering-party" type="text" name="offering_party" autocomplete="organization" placeholder="z.B. Weihnachtsmann & Co.KG. oder Institut für Informatik der CAU Kiel" required><br />
<label class="contact-title" for="contact-data">Kontakt-E-Mail-Addresse<sup>1</sup></label>
<input class="contact-field" id="contact-data" type="email" autocomplete="email" name="offer-contact" placeholder="max.mustermann@example.com" required>
<label class="publish-contact-title" for="publish-contact-data">E-Mail-Adresse veröffentlichen</label>
<input class="publish-contact-checkbox" id="publish-contact-data" type="checkbox" name="offer-contact-visible" value="visible"><br />
<label class="expiry-title" for="offer-expiry">Gültig bis (wenn nicht angegeben, 6 Monate nach Einsendung)</label>
<input class="expiry-select" id="offer-expiry" type="date" name="offer_expiry" min="{{base.date}}"><br />
<fieldset class="attachment-area">
<legend>Anhänge</legend>
{{#each form.attachments }}
{{#unless @first}}
<hr />
{{/unless}}
<div>
<input type="text" autocomplete="on" name="file_title[]" placeholder="Anzeigename"/>
<input type="file" accept=".pdf" name="file[]"/>
<div/>
{{/each}}
</fieldset>
<fieldset class="link-area">
<legend>Links<sup>2</sup></legend>
{{#each form.links }}
{{#unless @first}}
<hr />
{{/unless}}
<div>
<input type="text" autocomplete="on" name="link_title[]" placeholder="z.B. Online-Stellenausschreibung" />
<input type="url" autocomplete="url" name="link_url[]" pattern="https://.+" placeholder="{{@root.base.routes.index}}" />
<div/>
{{/each}}
</fieldset>
<div class="notes">
Hinweis: Es muss mindestens ein Anhang oder ein Link angegeben werden.
</div>
<div class="footnotes">
1: Die Kontakt-Addresse wird für eine Bestätigungsmail und eventuelle Rückfragen benötigt, sie kann optional auch öffentlich als Teil der Stellenausschreibung angezeigt werden.<br />
2: Link-URLs müssen mit "https://" beginnen
</div>
{{#if user }}
<fieldset class="advanced-options">
<legend>Erweiterte Optionen für Reviewer</legend>
<label class="backdate-title" for="offer-backdate">Eingangsdatum (optionale Rückdatierung)</label>
<input class="backdate-select" id="offer-backdate" type="datetime-local" name="backdate"><br />
<label class="review-title" for="approval"checked>Als bereits ge-reviewed markieren</label>
<input id="approval" class="review-checkbox" type="checkbox" name="pre_approved" value="approved" checked><br />
<label class="review-title" for="confirmation">Bestätigungsmail für diese Anzeige überspringen</label>
<input id="confirmation" class="confirmation-checkbox" type="checkbox" name="skip_confirmation" value="skip" checked><br />
<label class="infinite-title" for="permanent">Permanente Stellenausschreibung</label>
<input id="permanent" class="infinite-checkbox" type="checkbox" name="permanent" value="permanent"><br />
</fieldset>
{{/if}}
<button class="submit-button" type="submit">Stellenausschreibung einreichen</button>
</form>
</div>
{{/base}}