feat: implement user creation functionality and update dashboard notifications
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<!--
|
||||
<script>
|
||||
window.history.pushState({}, "", "<%= newLink %>");
|
||||
window.history.pushState({}, "", "<%=// newLink %>");
|
||||
</script>
|
||||
-->
|
||||
<meta charset="utf-8" />
|
||||
@@ -104,6 +104,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<% if (typeof status !== 'undefined') { %> <% if (status ===
|
||||
'success') { %>
|
||||
<div class="alert alert-success">User created successfully!</div>
|
||||
<% } else if (status === 'error') { %>
|
||||
<div class="alert alert-danger">User creation failed.</div>
|
||||
<% } %> <% } %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -114,4 +120,4 @@
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user