feat: widen container to no limit, split year/edition in semap page
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<img class="logo" src="https://www.ph-freiburg.de/_assets/cc3dd7db45300ecc1f3aeed85bda5532/Images/logo-big-blue.svg" alt="PH Freiburg Logo" />
|
<img class="logo" src="https://www.ph-freiburg.de/_assets/cc3dd7db45300ecc1f3aeed85bda5532/Images/logo-big-blue.svg" alt="PH Freiburg Logo" />
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<div class="brand-title">Bibliothek der Pädagogischen Hochschule Freiburg</div>
|
<div class="brand-title">Bibliothek der Pädagogischen Hochschule Freiburg</div>
|
||||||
<div class="brand-sub">Hochschulbibliothek · Online-Formulare</div>
|
<div class="brand-sub"><a href="https://www.ph-freiburg.de/bibliothek.html" target="_blank" rel="noopener noreferrer">Hochschulbibliothek</a> · Online-Formulare</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button type="button" id="theme-toggle" class="theme-toggle" aria-label="Switch to dark mode" title="Switch to dark mode">
|
<button type="button" id="theme-toggle" class="theme-toggle" aria-label="Switch to dark mode" title="Switch to dark mode">
|
||||||
|
|||||||
@@ -100,12 +100,13 @@
|
|||||||
<h2>Medien</h2>
|
<h2>Medien</h2>
|
||||||
<table id="book-table" class="data-table">
|
<table id="book-table" class="data-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Autorenname</th><th>Jahr/Auflage</th><th>Titel</th><th>Signatur (wenn vorhanden)</th>
|
<th>Autorenname</th><th>Jahr</th><th>Auflage</th><th>Titel</th><th>Signatur (wenn vorhanden)</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><input type="text" name="authorname[]" required></td>
|
<td><input type="text" name="authorname[]" required></td>
|
||||||
<td><input type="text" name="year[]" required></td>
|
<td><input type="text" name="year[]" required></td>
|
||||||
<td><input type="text" name="booktitle[]" required></td>
|
<td><input type="text" name="edition[]" required></td>
|
||||||
|
<td><input type="text" name="title[]" required></td>
|
||||||
<td><input type="text" name="signature[]"></td>
|
<td><input type="text" name="signature[]"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -125,7 +126,7 @@
|
|||||||
Hinweis: Weitere Informationen zu den Semesterapparaten finden Sie auf den Seiten der Hochschulbibliothek der PH Freiburg.
|
Hinweis: Weitere Informationen zu den Semesterapparaten finden Sie auf den Seiten der Hochschulbibliothek der PH Freiburg.
|
||||||
<br>
|
<br>
|
||||||
<a href="https://www.ph-freiburg.de/bibliothek.html" target="_blank" rel="noopener noreferrer">Zur Bibliothek</a>
|
<a href="https://www.ph-freiburg.de/bibliothek.html" target="_blank" rel="noopener noreferrer">Zur Bibliothek</a>
|
||||||
<br>
|
|
|
||||||
<a href="https://www.ph-freiburg.de/bibliothek/lernen/semesterapparate.html" target="_blank" rel="noopener noreferrer">Zu den Semesterapparaten</a>
|
<a href="https://www.ph-freiburg.de/bibliothek/lernen/semesterapparate.html" target="_blank" rel="noopener noreferrer">Zu den Semesterapparaten</a>
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ body {
|
|||||||
|
|
||||||
/* Layout */
|
/* Layout */
|
||||||
.container {
|
.container {
|
||||||
max-width: 1250px;
|
/* max-width: 1250px; */
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,8 +20,10 @@ $dauerapparat = isset($_POST['dauerapparat']) ? 'true' : 'false';
|
|||||||
$message = post('message');
|
$message = post('message');
|
||||||
|
|
||||||
// Validate required fields
|
// Validate required fields
|
||||||
if (empty($name) || empty($lastname) || empty($telno) || empty($mail) ||
|
if (
|
||||||
empty($apparatsname) || empty($subject) || empty($semester_type) || empty($semester_year)) {
|
empty($name) || empty($lastname) || empty($telno) || empty($mail) ||
|
||||||
|
empty($apparatsname) || empty($subject) || empty($semester_type) || empty($semester_year)
|
||||||
|
) {
|
||||||
die('Fehler: Alle Pflichtfelder müssen ausgefüllt werden.');
|
die('Fehler: Alle Pflichtfelder müssen ausgefüllt werden.');
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -33,6 +35,7 @@ if (!validateEmail($mail)) {
|
|||||||
// Collect book data
|
// Collect book data
|
||||||
$authornames = postArray('authorname');
|
$authornames = postArray('authorname');
|
||||||
$years = postArray('year');
|
$years = postArray('year');
|
||||||
|
$edition = postArray('edition');
|
||||||
$booktitles = postArray('booktitle');
|
$booktitles = postArray('booktitle');
|
||||||
$signatures = postArray('signature');
|
$signatures = postArray('signature');
|
||||||
|
|
||||||
@@ -47,6 +50,7 @@ for ($i = 0; $i < count($authornames); $i++) {
|
|||||||
$books[] = [
|
$books[] = [
|
||||||
'authorname' => $authornames[$i] ?? '',
|
'authorname' => $authornames[$i] ?? '',
|
||||||
'year' => $years[$i] ?? '',
|
'year' => $years[$i] ?? '',
|
||||||
|
'edition' => $edition[$i] ?? '',
|
||||||
'title' => $booktitles[$i] ?? '',
|
'title' => $booktitles[$i] ?? '',
|
||||||
'signature' => $signatures[$i] ?? ''
|
'signature' => $signatures[$i] ?? ''
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user