This repository was archived by the owner on Dec 13, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathadd.pug
More file actions
60 lines (56 loc) · 3.14 KB
/
add.pug
File metadata and controls
60 lines (56 loc) · 3.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
extends ../layout
block content
section.section
.container
- if(joi_error)
.card.is-box-shadow
.card-content
p#error
p Validation Error: #{details}
- else
- if(!error && bot)
include ../Includes/forms/addBot
- else
.hero
.hero-body.hero-slim
.has-text-centered
h1.title.is-size-4 Add a New Bot
h5.title.is-size-5 Add a new bot to all lists that support BotBlock
h6.title.is-size-6 Submit a bot to all lists that accept BotBlock with standard information for all listings.
- if(after)
.columns
.column.is-half-desktop.is-full-mobile
.card.is-box-shadow
.has-text-centered
.card-content
p.has-text-white
| Submission Status
br
for result in results
if !result.error
p.has-text-success #{result.name}
else
p.has-text-danger #{result.name}
if result.message
p Message: #{result.message}
else
p Message: No message
hr
- else
.columns
.column.is-half-desktop.is-full-mobile
form#add(method="POST")
.card.is-box-shadow
.card-content
p#error
- if(error)
p This bot was not found on Discord
.field
label.label(for='botid') Bot Client ID to add to bot lists
.control
input.input#botid(name='botid' type='text')
h1.is-brand Please make sure to join the bot list servers before adding your bot as many require bot owners to be in the server.
input.button.is-brand(type='submit' value='Begin adding your bot')
block footer
script(defer src='/assets/js/checkboxes/interactive.js')
script(src='/assets/js/bot/add.js')