Cleanup: Adjust styling to Jobbörse, remove JS, remove external references #2
6 changed files with 58 additions and 41 deletions
Remove references to external icons, add new favicon
commit
b720f3fbe9
19
failed.php
19
failed.php
|
|
@ -13,20 +13,19 @@ $lang = $_GET['lang'];
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
||||
<title id="page_title"><?php echo $title; ?></title>
|
||||
<link rel="stylesheet" href="https://raw.githubusercontent.com/KilakOriginal/stfl/main/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="https://raw.githubusercontent.com/KilakOriginal/stfl/main/styles.min.css">
|
||||
<link rel="shortcut icon" href="favicon.svg" />
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
</head>
|
||||
|
||||
<body style="width: 930px;max-width: 100%;margin-left: auto;margin-right: auto;padding: 0;">
|
||||
<body>
|
||||
<h4 style="text-align: center;margin-top: 0.3%;">
|
||||
<span style="color: rgb(112, 114, 118);">Fachschaft Informatik</span>
|
||||
<span>Fachschaft Informatik</span>
|
||||
</h4>
|
||||
<h1 style="text-align: center;margin-top: 0.3%;" id="title"><?php echo $title; ?></h1>
|
||||
<p style="text-align: justify;background: #b92929;border-radius: 20px;color: rgb(255,255,255);width: 900px;max-width: 85%;align-self: center;margin-left: auto;margin-right: auto;margin-top: 10px;padding: 15px;"
|
||||
id="about"><?php echo $about; ?><a href="mailto:technik@fs-infmath.uni-kiel.de"
|
||||
style="color: white;">technik@fs-infmath.uni-kiel.de</a></b>.</p>
|
||||
<p style="text-align: center;"><b><a href="https://www.fs-infmath.uni-kiel.de/wiki/Hauptseite"
|
||||
style="color: #454545;" id="go_back"><?php echo $go_back; ?></a></b></p>
|
||||
<h1 id="title"><?php echo $title; ?></h1>
|
||||
<p id="about">
|
||||
<?php echo str_replace("{support_mail}", "<a href=\"mailto:technik@fs-infmath.uni-kiel.de\">technik@fs-infmath.uni-kiel.de</a>", $about); ?>
|
||||
</p>
|
||||
<p><a href="https://www.fs-infmath.uni-kiel.de/wiki/Hauptseite" id="go_back"><?php echo $go_back; ?></a></p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
31
favicon.svg
Normal file
31
favicon.svg
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
id="Ebene_1"
|
||||
width="518.52002"
|
||||
height="512"
|
||||
viewBox="0 0 518.52003 512"
|
||||
version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1">
|
||||
<style
|
||||
id="style1">.cls-1{fill:#000;}.cls-1,.cls-2,.cls-3,.cls-4{stroke-width:0px;}.cls-2{fill:#003d86;}.cls-3{fill:#9b0a7d;}.cls-4{fill:#2dc2bf;}</style>
|
||||
</defs>
|
||||
<polygon
|
||||
class="cls-3"
|
||||
points="70.77,512 297.04,15.67 15.67,102.37 "
|
||||
id="polygon1" />
|
||||
<polygon
|
||||
class="cls-2"
|
||||
points="55.11,496.33 281.37,0 0,86.7 "
|
||||
id="polygon2" />
|
||||
<path
|
||||
class="cls-3"
|
||||
d="M 422.09,135.76 518.52,512 h -64.5 L 405.15,274.65 357.59,512 h -65.15 l 82.09,-323.43 -10.42,-39.78 c -5.21,-18.26 -12.38,-25.43 -26.71,-25.43 -3.91,0 -10.42,1.3 -14.98,3.91 L 313.3,73.8 c 6.52,-2.61 22.15,-4.56 31.93,-4.56 39.74,0 62.55,14.35 76.88,66.51 z"
|
||||
id="path22" />
|
||||
<path
|
||||
class="cls-4"
|
||||
d="m 406.43,120.09 96.43,376.24 h -64.5 L 389.49,258.98 341.93,496.33 H 276.78 L 358.87,172.9 348.45,133.12 c -5.21,-18.26 -12.38,-25.43 -26.71,-25.43 -3.91,0 -10.42,1.3 -14.98,3.91 l -9.12,-53.47 c 6.52,-2.61 22.15,-4.56 31.93,-4.56 39.74,0 62.55,14.35 76.88,66.51 z"
|
||||
id="path23" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
30
index.php
30
index.php
|
|
@ -29,30 +29,20 @@ if (isset($_POST["submit"])) {
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
||||
<title id="page_title"><?php echo $title; ?></title>
|
||||
<link rel="shortcut icon" href="https://raw.githubusercontent.com/KilakOriginal/stfl/main/favicon.ico" />
|
||||
<link rel="stylesheet" href="https://raw.githubusercontent.com/KilakOriginal/stfl/main/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="https://raw.githubusercontent.com/KilakOriginal/stfl/main/styles.min.css">
|
||||
<link rel="shortcut icon" href="favicon.svg" />
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
</head>
|
||||
|
||||
<body style="width: 930px; max-width: 100%; margin-left: auto;margin-right: auto;padding: 0;">
|
||||
<body>
|
||||
<h4 style="text-align: center;margin-top: 10px;"><span style="color: rgb(112, 114, 118);">Fachschaft
|
||||
Informatik</span></h4>
|
||||
<h1 style="text-align: center;margin-top: 10px;" id="title"><?php echo $title; ?></h1>
|
||||
<p style="text-align: justify;background: #0d6efd;border-radius: 20px;color: rgb(255,255,255);width: 900px; max-width: 85%;align-self: center;margin-left: auto;margin-right: auto;margin-top: 15px;padding: 15px;"
|
||||
id="about"><?php echo $about; ?></p>
|
||||
<form action="<?php echo $_SERVER["PHP_SELF"] . '?' . http_build_query($_GET); ?>" method="post"
|
||||
style="margin-left: auto;margin-right: auto;width:900px;max-width: 85%;">
|
||||
<input type="text"
|
||||
style="display: block;width: 900px;max-width: 100%;height: 60px;margin-left: auto;margin-right: auto;margin-bottom: 20px;border-radius: 1.5rem; padding: 15px;"
|
||||
id="subject" name="subject" placeholder="<?php echo $subject_placeholder; ?>"></input>
|
||||
<textarea
|
||||
style="display: block;width: 900px;max-width: 100%;height: 400px;margin-left: auto;margin-right: auto;margin-bottom: 20px;border-radius: 1.5rem; padding: 15px;"
|
||||
id="message" name="message" placeholder="<?php echo $message_placeholder; ?>"></textarea>
|
||||
<button class="btn btn-primary" type="submit"
|
||||
style="display: block;width: auto;float: right;margin-bottom:10px;" id="submit"
|
||||
name="submit"><?php echo $send_button; ?></button>
|
||||
<p><b><a href="https://www.fs-infmath.uni-kiel.de/wiki/Hauptseite" style="color: #454545;"
|
||||
id="go_back"><?php echo $go_back; ?></a></b>
|
||||
<h1 id="title"><?php echo $title; ?></h1>
|
||||
<p id="about"><?php echo $about; ?></p>
|
||||
<form action="<?php echo $_SERVER["PHP_SELF"] . '?' . http_build_query($_GET); ?>" method="post">
|
||||
<input type="text" id="subject" name="subject" placeholder="<?php echo $subject_placeholder; ?>"></input>
|
||||
<textarea id="message" name="message" placeholder="<?php echo $message_placeholder; ?>"></textarea>
|
||||
<button class="btn btn-primary" type="submit" name="submit"><?php echo $send_button; ?></button>
|
||||
<p><b><a href="https://www.fs-infmath.uni-kiel.de/wiki/Hauptseite" id="go_back"><?php echo $go_back; ?></a></b>
|
||||
</p>
|
||||
</form>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@
|
|||
"send_button": "Senden",
|
||||
"go_back": "Zurück zur Fachschaft",
|
||||
"success": "Ihre Nachricht wurde erfolgreich gesendet!",
|
||||
"error": "Ihre Anfrage konnte nicht übermittelt werden! Stellen Sie sicher, dass Sie mit dem Internet verbunden sind und versuchen Sie es erneut. Sollte das Problem weiterhin bestehen, wenden Sie sich bitte an ",
|
||||
"error": "Ihre Anfrage konnte nicht übermittelt werden! Stellen Sie sicher, dass Sie mit dem Internet verbunden sind und versuchen Sie es erneut. Sollte das Problem weiterhin bestehen, wenden Sie sich bitte an {support_mail}.",
|
||||
"recipient": "ldr@fs-wiinf.uni-kiel.de"
|
||||
}
|
||||
|
|
@ -6,6 +6,6 @@
|
|||
"send_button": "Send",
|
||||
"go_back": "Homepage fachschaft",
|
||||
"success": "Your message was sent successfully!",
|
||||
"error": "Error sending message; Make sure you have an active internet connection. If the problem persists, please contact ",
|
||||
"error": "Error sending message; Make sure you have an active internet connection. If the problem persists, please contact {support_mail}.",
|
||||
"recipient": "ldr@fs-wiinf.uni-kiel.de"
|
||||
}
|
||||
15
success.php
15
success.php
|
|
@ -13,20 +13,17 @@ $lang = $_GET['lang'];
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
||||
<title id="page_title"><?php echo $title; ?></title>
|
||||
<link rel="shortcut icon" href="https://raw.githubusercontent.com/KilakOriginal/stfl/main/favicon.ico" />
|
||||
<link rel="shortcut icon" href="favicon.svg" />
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="stylesheet" href="https://raw.githubusercontent.com/KilakOriginal/stfl/main/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="https://raw.githubusercontent.com/KilakOriginal/stfl/main/styles.min.css">
|
||||
</head>
|
||||
|
||||
<body style="width: 930px;max-width: 100%;margin-left: auto;margin-right: auto;padding: 0;">
|
||||
<h4 style="text-align: center;margin-top: 0.3%;"><span style="color: rgb(112, 114, 118);">Fachschaft
|
||||
Informatik</span></h4>
|
||||
<body>
|
||||
<h4>Fachschaft Informatik</h4>
|
||||
<h1 style="text-align: center;margin-top: 0.3%;" id="title"><?php echo $title; ?></h1>
|
||||
<p style="text-align: justify;background: #0d6efd;border-radius: 20px;color: rgb(255,255,255);width: 900px;max-width: 85%;align-self: center;margin-left: auto;margin-right: auto;margin-top: 10px;padding: 15px;"
|
||||
id="about"><?php echo $about; ?></p>
|
||||
<p style="text-align: center;"><b><a href="https://www.fs-infmath.uni-kiel.de/wiki/Hauptseite"
|
||||
style="color: #454545;" id="go_back"><?php echo $go_back; ?></a></b></p>
|
||||
|
||||
<p id="about"><?php echo $about; ?></p>
|
||||
<p><a href="https://www.fs-infmath.uni-kiel.de/wiki/Hauptseite" id="go_back"><?php echo $go_back; ?></a></p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue