created basic user panel
This commit is contained in:
parent
f8fc97f88b
commit
c96b0efceb
15
res/forum/user/user.html
Normal file
15
res/forum/user/user.html
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<div id="info_pane">
|
||||||
|
<button onclick="update_user()" id="save_btn" class="btn">Uložit Změny</button>
|
||||||
|
</div>
|
||||||
|
<script>
|
||||||
|
var button_buffer = document.getElementById("info_pane").innerHTML;
|
||||||
|
|
||||||
|
$.ajax
|
||||||
|
({
|
||||||
|
url: "./res/forum/api/get_username.php",
|
||||||
|
success: function(result)
|
||||||
|
{
|
||||||
|
inject_info("#info_pane", result.username, button_buffer);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
</script>
|
Loading…
x
Reference in New Issue
Block a user