Abgleich mit dem Stand auf dem Server. Irgendwie sind hier Commits verloren/nie gemacht worden.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
$userInfo = getUserData( $mysqlConn, $_SESSION['user']['userId'] );
|
||||
$kinderInfo = getUsersKidsData( $mysqlConn, $_SESSION['user']['userId'] );
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
@@ -24,7 +25,13 @@
|
||||
<link rel="icon" href="/ressourcen/graphiken/icons/cwsv.ico" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||||
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<style>
|
||||
<?php
|
||||
$css = file_get_contents( $basePath."/pages/desktop/wkParticipo/wkParticipo.css");
|
||||
echo(colorThemeCss($_SESSION['user']['userConfig']['colors']));
|
||||
echo($css);
|
||||
?>
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -81,6 +88,21 @@
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<form action="api.php" method="POST">
|
||||
<?php $userConfig = json_decode($userInfo['config'], true);?>
|
||||
<fieldset style="display: flex;">
|
||||
<legend>Farben</legend>
|
||||
<label for="parameter[colors][backgroundColor]">Hintergrundfarbe</label>
|
||||
<input type="color" name="parameter[colors][backgroundColor]" value="<?php echo($userConfig['colors']['backgroundColor']);?>" />
|
||||
<label for="parameter[colors][highlightColor]">hervorgehobender Hintergrund</label>
|
||||
<input type="color" name="parameter[colors][highlightColor]" value="<?php echo($userConfig['colors']['highlightColor']);?>" />
|
||||
<label for="parameter[colors][buttonColor]">Farbe für Interaktionsflächen</label>
|
||||
<input type="color" name="parameter[colors][buttonColor]" value="<?php echo($userConfig['colors']['buttonColor']);?>" />
|
||||
</fieldset>
|
||||
<input type="hidden" name="parameter[userId]" value="<?php echo($userInfo['id']);?>" />
|
||||
<input type="hidden" name="action" value="setUserColors" />
|
||||
<input type="hidden" name="backtoUrl" value="http://cwsvjudo.bplaced.net/pages/desktop/wkParticipo/userInfo.php" />
|
||||
<input type="submit" value="Farben ändern"/>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user