update
This commit is contained in:
1 parent
29fff68ff0
commit
f16305c6ad
25 files changed
+1079
-350
No files matched your search
@@ -16,14 +16,27 @@
|
||||
<input type="text" name="bot_short" id="floating_last_name" class="block py-2.5 px-0 w-full text-sm text-white 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 value="<%= bot.description %>" />
|
||||
<label for="bot_name" class="peer-focus:font-medium absolute text-sm text-white dark:text-white duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:left-0 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6">Short
|
||||
Description (Will be show on home page)</label>
|
||||
</div><br>
|
||||
</div>
|
||||
<div class="relative z-0 mb-6 w-full group">
|
||||
<input type="text" name="bot_vanity" id="bot_vanity" class="block py-2.5 px-0 w-full text-sm text-white 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=" " value="<%= bot.vanity %>" />
|
||||
<label for="bot_vanity" class="peer-focus:font-medium absolute text-sm text-white dark:text-white duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:left-0 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6">Fill this in to get a vanity url invite.</label>
|
||||
<span class="text-white text-xs" id="vanity">https://botscord.xyz/i/</span>
|
||||
</div>
|
||||
<script>
|
||||
var vanity = document.getElementById("vanity");
|
||||
vanity.innerHTML = vanity.innerHTML + "<%= bot.vanity %>";
|
||||
var change = document.getElementById("bot_vanity");
|
||||
change.addEventListener("keyup", function() {
|
||||
vanity.innerHTML = "https://botscord.xyz/i/" + change.value;
|
||||
});
|
||||
</script>
|
||||
<br>
|
||||
<h1 class="text-xl text-white">This token can be used to access your bot via our api</h1>
|
||||
<a href="/docs/api" class="text-sm text-white hover:text-blue-600 underline ">
|
||||
<h1 class="text-sm text-white hover:text-blue-600">Access api docs</h1>
|
||||
|
||||
<h1 class="text-sm text-white hover:text-blue-600">Access api docs</h1>
|
||||
</a>
|
||||
<div class="relative z-0 mb-6 w-full group">
|
||||
<input type="text" id="token" class="block py-2.5 px-0 w-full text-sm text-white 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 value="<%= bot.token %>" onclick="copy()"/>
|
||||
<input type="text" id="token" class="block py-2.5 px-0 w-full text-sm text-white 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 value="<%= bot.token %>" onclick="copy()" />
|
||||
</div>
|
||||
<script>
|
||||
function copy() {
|
||||
|
||||
@@ -2,7 +2,13 @@
|
||||
<br><br><br><br>
|
||||
<div class="flex space-x-4 py-2 lg:h-5/6 sm:min-h-min">
|
||||
<div class="p-10 bg-blue-color w-2/3 text-white h-full m-4 mx-14">
|
||||
<pre><br><%= bot.long_description %></pre>
|
||||
<article class="prose prose-xl text-white">
|
||||
<br><%- description %>
|
||||
|
||||
</article>
|
||||
<div class="prose">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-blue-color w-1/4 p-10 text-white h-full m-4 ">
|
||||
<!-- bot avatar image -->
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<%- include('../includes/header.ejs', {title: 'Join' + bot.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 <%= bot.name %></h1>
|
||||
<p>You will be redirected after 3 seconds </p>
|
||||
<div class="flex justify-center">
|
||||
<image src="/gif/loading.gif">
|
||||
<span class="sr-only">Loading...</span>
|
||||
</div>
|
||||
Press <a href="<%- invite %>">here</a> if you are not redirected.
|
||||
</div>
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
window.location.href = '<%- invite %>';
|
||||
}, 3000);
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<%- include('../includes/footer.ejs') %>
|
||||
Reference in new issue
Block a user