Skip to content

Commit

Permalink
Reenable submit request
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhofmann committed Apr 5, 2024
1 parent cb7e972 commit 5fdfa1c
Showing 1 changed file with 265 additions and 2 deletions.
267 changes: 265 additions & 2 deletions src/main/resources/META-INF/resources/editor/submit_request.xed
Original file line number Diff line number Diff line change
@@ -1,10 +1,273 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ This file is part of *** M y C o R e ***
~ See http://www.mycore.de/ for details.
~
~ MyCoRe is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ MyCoRe is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with MyCoRe. If not, see <http://www.gnu.org/licenses/>.
-->

<!DOCTYPE MyCoReWebPage>
<MyCoReWebPage>
<section xml:lang="all" title="Veröffentlichen von E-Publikationen">

<h1>Übermittlung Ihrer Daten</h1>
<p>Die Übermittlung der Daten auf diesem Weg kann aktuell nicht zur Verfügung gestellt werden. Bei Bedarf treten
sie bitte direkt mit dem <a href="../content/below/contact.xml">Team in Kontakt</a>.</p>
<form action="../servlets/MIRMailerWithFile" method="post" role="form" class="form-horizontal needs-validation" enctype="multipart/form-data" novalidate="novalidate">
<input type="hidden" name="action" value="submit_request" />
<fieldset>
<legend>
Persönliche Daten:
</legend>

<!-- Input Name -->
<div class="form-group">
<label class="col-md-4 control-label required">
Name:
</label>
<div class="col-md-6">
<input name="name" placeholder="Max Mustermann" class="form-control input-md" type="text" required="required" />
<div class="help-block invalid-feedback">Bitte geben Sie einen Namen an</div>
</div>
</div>

<!-- Input Mail -->
<div class="form-group">
<label class="col-md-4 control-label required">
E-Mail:
</label>
<div class="col-md-6">
<input name="mail" placeholder="[email protected]" class="form-control input-md" type="email" required="required" />
<div class="help-block invalid-feedback">Bitte geben Sie eine gültige Mail-Adresse an</div>
</div>
</div>

<!-- Input Institut -->
<div class="form-group">
<label class="col-md-4 control-label">
Institut:
</label>
<div class="col-md-6">
<input name="institute" class="form-control input-md" type="text" />
</div>
</div>

<!-- Input Faculty -->
<div class="form-group">
<label class="col-md-4 control-label">
Fakulät:
</label>
<div class="col-md-6">
<select name="faculty" class="form-control">
<option value=""> (bitte wählen) </option>
<option title="TU-Braunschweig" value="TUBS">TU-Braunschweig</option>
<option title="01 - Carl-Friedrich Gauß-Fakultät" value="01 - Carl-Friedrich Gauß-Fakultät">
01 - Carl-Friedrich Gauß-Fakultät
</option>
<option title="02 - Lebenswissenschaften" value="02 - Lebenswissenschaften">
02 - Lebenswissenschaften
</option>
<option title="03 - Architektur, Bauingenieurwesen und Umweltwissenschaften" value="03 - Architektur, Bauingenieurwesen und Umweltwissenschaften">
03 - Architektur, Bauingenieurwesen und Umweltwissenschaften
</option>
<option title="04 - Maschinenbau" value="04 - Maschinenbau">
04 - Maschinenbau
</option>
<option title="05 - Elektrotechnik, Informationstechnik, Physik" value="05 - Elektrotechnik, Informationstechnik, Physik">
05 - Elektrotechnik, Informationstechnik, Physik
</option>
<option title="06 - Geistes- und Erziehungswissenschaften" value="06 - Geistes- und Erziehungswissenschaften">
06 - Geistes- und Erziehungswissenschaften
</option>
<option title="Sonstige / Keine" value="Sonstige / Keine">Sonstige / Keine</option>
</select>
</div>
</div>

</fieldset>


<fieldset>
<legend>
Angaben zur Publikation:
</legend>

<div class="form-group">
<label class="col-md-4 control-label" for="title_de">
Titel (deutsch):
</label>
<div class="col-md-6">
<input name="title_de" class="form-control input-md" type="text" />
</div>
</div>

<!-- Input Title (english) -->
<div class="form-group">
<label class="col-md-4 control-label" for="title_en">
Titel (englisch):
</label>
<div class="col-md-6">
<input name="title_en" class="form-control input-md" type="text" />
</div>
</div>

<!-- Input license -->
<div class="form-group">
<label class="col-md-4 control-label required" for="license">
Lizenz:
</label>
<div class="col-md-6">
<select name="license" class="form-control" required="required">
<option value=""> (bitte wählen)
</option>
<option title="Alle Rechte vorbehalten" value="rights_reserved">Alle Rechte
vorbehalten</option>
<option title="Creative Commons 4.0 International Lizenzen"
value="cc_4.0">Creative Commons 4.0 International Lizenzen</option>
<option title="CC BY 4.0" value="cc_by_4.0">&#160;&#160;&#160;CC
BY 4.0
</option>
<option title="CC BY-NC 4.0" value="cc_by-nc_4.0">&#160;&#160;&#160;CC
BY-NC 4.0
</option>
<option title="CC BY-NC-ND 4.0" value="cc_by-nc-nd_4.0">&#160;&#160;&#160;CC
BY-NC-ND 4.0
</option>
<option title="CC BY-NC-SA 4.0" value="cc_by-nc-sa_4.0">&#160;&#160;&#160;CC
BY-NC-SA 4.0
</option>
<option title="CC BY-ND 4.0" value="cc_by-nd_4.0">&#160;&#160;&#160;CC
BY-ND 4.0
</option>
<option title="CC BY-SA 4.0" value="cc_by-sa_4.0">&#160;&#160;&#160;CC
BY-SA 4.0
</option>
<option title="Open-Access im Zuge einer Allianz- bzw. Nationallizenz"
value="oa_nlz">Open-Access im Zuge einer Allianz- bzw. Nationallizenz</option>
</select>
<div class="help-block invalid-feedback">Bitte wählen Sie eine Lizenz aus, unter der die Publikation nachgenutzt werden darf. Falls Sie Fragen dazu haben, wenden Sie sich gern an uns.</div>
</div>
</div>

<!-- Input Keywords (german) -->
<div class="form-group">
<label class="col-md-4 control-label" for="keywords_de">
Schlagworte (deutsch):
</label>
<div class="col-md-6">
<input name="keywords_de" class="form-control input-md" type="text" />
</div>
</div>

<!-- Input Keywords (english) -->
<div class="form-group">
<label class="col-md-4 control-label" for="keywords_en">
Schlagworte (englisch):
</label>
<div class="col-md-6">
<input name="keywords_en" class="form-control input-md" type="text" />
</div>
</div>

<!-- Input Abstract (german) -->
<div class="form-group">
<label class="col-md-4 control-label" for="abstract_de">
Zusammenfassung (deutsch):
</label>
<div class="col-md-6">
<textarea name="abstract_de" class="form-control input-md" rows="3" />
</div>
</div>

<!-- Input Abstract (english) -->
<div class="form-group">
<label class="col-md-4 control-label" for="abstract_en">
Zusammenfassung (englisch):
</label>
<div class="col-md-6">
<textarea name="abstract_en" class="form-control input-md" rows="3" />
</div>
</div>

<!-- Comment -->
<div class="form-group">
<label class="col-md-4 control-label" for="comment">
Anmerkungen:
</label>
<div class="col-md-6">
<textarea name="comment" class="form-control input-md" rows="3" />
</div>
</div>

<!-- Input File -->
<div class="form-group">
<label class="col-md-4 control-label" for="file">
Anhang (max. 50MB):
</label>
<div class="col-md-6">
<input name="file" type="file" />
</div>
</div>

<!-- Captcha -->
<div class="form-group">
<label class="col-md-4 control-label">
Captcha:
</label>

<div class="col-6">
<div class="row">
<div class="col-6 justify-content-center align-self-center">
<img id="captcha-image"
src="../servlets/MIRMailerWithFile?action=captcha"
alt="captcha" class="img-fluid"/>
</div>
<div class="col-6 justify-content-center align-self-center">
<input type="text" id="captcha-input" name="captcha" class="form-control" required="required"
value=""/>
</div>
</div>
<div class="row">
<div class="col-6">
<a href="#" id="captcha-refresh">
Erneuern
</a>
</div>
<div class="col-6">
<a href="#play" id="captcha-play">
Audio Captcha abspielen
</a>
<a href="#stop" id="captcha-stop" class="d-none">
Stop
</a>
</div>
</div>
</div>
</div>

<!-- Buttons -->
<div class="form-group">
<label class="col-md-4 control-label" for="save"></label>
<div class="col-md-8">
<button id="save" class="btn btn-info" type="submit">
absenden
</button>
<input type="checkbox" value="true" name="copy" />
Kopie an Absender
</div>
</div>
</fieldset>
</form>
<script src="../js/captcha.js" type="text/javascript"> </script>
<script src="../js/mailer-with-file.js" type="text/javascript"> </script>
</section>
</MyCoReWebPage>

0 comments on commit 5fdfa1c

Please sign in to comment.