From 93a46fafe412db42f06cea67cf8b09ff5c695a1a Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sat, 27 Oct 2018 19:37:28 +0200 Subject: [PATCH] added settings site (styling required , though...) --- cont/settings.php | 16 ++++++++++++++++ style/settings.css | 26 ++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 style/settings.css diff --git a/cont/settings.php b/cont/settings.php index e69de29..e8bdee0 100644 --- a/cont/settings.php +++ b/cont/settings.php @@ -0,0 +1,16 @@ + +

Settings

+

User

+query($query); + $user = $result->fetch_assoc(); +?> +
+ Benutzername"> + Email"> + Letzter Login +
+ diff --git a/style/settings.css b/style/settings.css new file mode 100644 index 0000000..456a578 --- /dev/null +++ b/style/settings.css @@ -0,0 +1,26 @@ +.userprofile { + width: 30em; + max-width: 90%; + display: flex; + flex-direction: column; + border: 1px solid grey; + border-radius: 5px; + background-color: #ddd; +} +.userprofile span { + display: flex; + flex-direction: row; + align-items: center; +} +.attribute { + width: 10em; + padding: 1em; +} +.value { + padding: 1em; +} +#safeButton { + margin: 1em; + width: min-content; + float: right; +}