Added profile and join analytics
This commit is contained in:
1 parent
ef0725439c
commit
d0a969f145
15 files changed
+227
-33
No files matched your search
@@ -51,6 +51,9 @@
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<div class="relative z-0 mb-6 w-full group">
|
||||
<label for="tos" class="ml-2 text-sm font-medium text-gray-900 dark:text-gray-300">Be adding a server you automatically to our <a href="/tos" target="_blank" class="text-blue-700 hover:text-blue-300">Terms of Service</a></label>\
|
||||
</div>
|
||||
<button type="submit" class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
@@ -1,6 +1,11 @@
|
||||
<%- include("../includes/header.ejs", {title: "Edit " + server.name}) %>
|
||||
<!-- create form -->
|
||||
<div class="container-sm p-10">
|
||||
<a href="/server/<%= server.id %>/analytics" class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">
|
||||
<i class="fas fa-chart-bar"></i>
|
||||
<span>Analytics</span>
|
||||
</a>
|
||||
<br><br>
|
||||
<form method="post" action="">
|
||||
<div class="relative z-0 mb-6 w-full group">
|
||||
<textarea type="text" name="server_description" id="server_name" class="block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer" placeholder=" " required rows="5"><%= server.long_description %></textarea>
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<%- include('../includes/header.ejs', {title: 'Join' + server.name}) %>
|
||||
<div class="flex flex-col items-center justify-center h-screen ">
|
||||
<div class="w-96 h-96 bg-blue-color text-white text-center rounded-lg items-center">
|
||||
<h1 class="text-3xl font-bold p-5">Join <%= server.name %></h1>
|
||||
<p>You will be redirect after 3 seconds </p>
|
||||
<div class="flex justify-center">
|
||||
<image src="/gif/loading.gif">
|
||||
<span class="sr-only">Loading...</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- script to redirect -->
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
window.location.href = '<%= server.invite %>';
|
||||
}, 3000);
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<%- include('../includes/footer.ejs') %>
|
||||
Reference in new issue
Block a user