mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
added some js
This commit is contained in:
parent
5c122eff9c
commit
426b83f364
2 changed files with 12 additions and 4 deletions
|
@ -0,0 +1,7 @@
|
||||||
|
$(document).ready(function(){
|
||||||
|
$("#username-input").focus(function(){$(this).css("color", "black");});
|
||||||
|
$("#mail-input").focus(function(){$(this).css("color", "black");});
|
||||||
|
$("#userSaveButton").click(function(){
|
||||||
|
|
||||||
|
});
|
||||||
|
});
|
|
@ -1,3 +1,4 @@
|
||||||
|
<script src="/bin/settings.js" charset="utf-8"></script>
|
||||||
<link rel="stylesheet" href="/style/settings.css">
|
<link rel="stylesheet" href="/style/settings.css">
|
||||||
<h1>Settings</h1>
|
<h1>Settings</h1>
|
||||||
<?php
|
<?php
|
||||||
|
@ -11,11 +12,11 @@
|
||||||
<h2>User</h2>
|
<h2>User</h2>
|
||||||
<div class="userprofile-pane pane">
|
<div class="userprofile-pane pane">
|
||||||
<div class="userprofile">
|
<div class="userprofile">
|
||||||
<span><font class="attribute">Benutzername</font><input class="change-attribute-input" type="text" name="username" placeholder="<?php echo $user["username"]; ?>"></span>
|
<span><font class="attribute">Benutzername</font><input class="change-attribute-input" id="username-input" type="text" name="username" placeholder="<?php echo $user["username"]; ?>"></span>
|
||||||
<span><font class="attribute">Email</font><input class="change-attribute-input" type="text" name="username" placeholder="<?php echo $user["email"]; ?>"></span>
|
<span><font class="attribute">Email</font><input class="change-attribute-input" id="mail-input" type="email" name="username" placeholder="<?php echo $user["email"]; ?>"></span>
|
||||||
<span><font class="attribute">Letzter Login</font><font><?php echo $user["last_login"]; ?></font></span>
|
<span><font class="attribute">Letzter Login</font><font><?php echo $user["last_login"]; ?></font></span>
|
||||||
</div>
|
</div>
|
||||||
<button class="button" id="saveButton">Speichern</button>
|
<button class="button" id="userSaveButton">Speichern</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="userpassword-pane pane">
|
<div class="userpassword-pane pane">
|
||||||
<div class="userpassword">
|
<div class="userpassword">
|
||||||
|
@ -23,7 +24,7 @@
|
||||||
<span><font class="attribute">Neues Passwort</font><input class="change-attribute-input" type="text" name="username" placeholder="********"></span>
|
<span><font class="attribute">Neues Passwort</font><input class="change-attribute-input" type="text" name="username" placeholder="********"></span>
|
||||||
<span><font class="attribute">Passwort bestätigen</font><input class="change-attribute-input" type="text" name="username" placeholder="********"></span>
|
<span><font class="attribute">Passwort bestätigen</font><input class="change-attribute-input" type="text" name="username" placeholder="********"></span>
|
||||||
</div>
|
</div>
|
||||||
<button class="button" id="saveButton">Speichern</button>
|
<button class="button" id="passwordSaveButton">Speichern</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="import-export-pane">
|
<div class="import-export-pane">
|
||||||
<h2>Import / Export</h2>
|
<h2>Import / Export</h2>
|
||||||
|
|
Loading…
Reference in a new issue