mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-11-26 05:10:41 +03:00
fix
This commit is contained in:
parent
17486e4288
commit
e3b6345196
2 changed files with 3 additions and 4 deletions
|
@ -65,6 +65,7 @@ Akf-forum has got an API for AJAX (fetch), other clients etc. And, you can learn
|
||||||
- send public to common/public
|
- send public to common/public
|
||||||
- new screenshoots
|
- new screenshoots
|
||||||
- user.ejs for per theme
|
- user.ejs for per theme
|
||||||
|
|
||||||
### front-end
|
### front-end
|
||||||
- text alling center body
|
- text alling center body
|
||||||
- add a css file for CodeMirror in threads / send message ok
|
- add a css file for CodeMirror in threads / send message ok
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<a class="btn-outline-primary" id="un_discord">Unauth DC!</a>
|
<a class="btn-outline-primary" id="un_discord">Unauth DC!</a>
|
||||||
<% } %>
|
<% } %>
|
||||||
<a href="/users/<%=member.id%>/avatar" class="btn-outline-primary">Upload avatar</a>
|
<a href="/users/<%=member.id%>/avatar" class="btn-outline-primary">Upload avatar</a>
|
||||||
<a class="btn-outline-primary" id="toogle">Edit user!</a>
|
<a class="btn-outline-primary" href="/users/<%=member.id%>/edit" id="toogle">Edit user!</a>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import request from "/js/request.js";
|
import request from "/js/request.js";
|
||||||
|
|
||||||
|
@ -57,9 +57,7 @@
|
||||||
alert(`Last seen is ${!hideLastSeen?"un":""}hided!`);
|
alert(`Last seen is ${!hideLastSeen?"un":""}hided!`);
|
||||||
location.reload()
|
location.reload()
|
||||||
|
|
||||||
} else if (e.target.id == "toogle")
|
}
|
||||||
document.getElementById('user-edit').classList.toggle('no-active')
|
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue