This repository has been archived by the owner on May 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
welcomer.html
93 lines (92 loc) · 4.52 KB
/
welcomer.html
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{% extends 'configure_server.html' %}
{% block rightSidebarContents %}
{% set config = serverConfig.joinLeaveConfig %}
<div class="category-name">
{{ DASHBOARD_WELCOMER }}
</div>
<div style="text-align: center;">
<div style="height: 300px; position: relative; display: inline-block;">
<img src="{{ websiteUrl }}assets/img/lori_welcomer.png?v2" style="border-radius: 7px; height: 300px;">
<div class="message-shake" style="bottom: 90px; left: -25px; position: absolute; background-color: white; padding: 2px; box-shadow: 0px 0px 3px #0000001a;">Welcome, <a target="_blank" href="https://pollux.fun/"><span class="discord-mention">@Pollux</span></a>! <img class="inline-emoji" src="https://cdn.discordapp.com/emojis/417813932380520448.png?v=1"></div>
</div>
<style>
@-webkit-keyframes welcome-pollux {
0% { transform: rotate(-3deg); }
50% { transform: rotate(3deg); }
100% { transform: rotate(-3deg); }
}
.message-shake {
-webkit-animation-name: welcome-pollux;
-webkit-animation-duration: 1.6s;
-webkit-transform-origin:50% 50%;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: ease;
}
</style>
<h2>{{ DASHBOARD_WELCOMER }}</h2>
<p>Anuncie quem está entrando e saindo do seu servidor da maneira que você queria! Envie mensagens para novatos via mensagem direta com informações sobre o seu servidor para não encher o chat com informações repetidas e muito mais!</p>
<div id="requiresPermission" class="entry-error flavourText" style="color: #f04747;"></div>
<hr>
<!-- Loritta Dashboard 1 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-9989170954243288"
data-ad-slot="2080512288"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Loritta Dashboard 2 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-9989170954243288"
data-ad-slot="9739510458"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<hr>
{{ generateCheckbox(1, "isEnabled", DASHBOARD_ACTIVATE_MODULE, "", config.isEnabled, true) }}
<hr>
<div id="hiddenIfDisabled">
{{ generateCheckbox(6, "tellOnJoin", DASHBOARD_ENABLE_JOIN, "", config.tellOnJoin, true) }}
<hr>
{{ generateCheckbox(2, "tellOnLeave", DASHBOARD_ENABLE_LEAVE, "", config.tellOnLeave, true) }}
<hr>
{{ generateCheckbox(3, "tellOnBan", DASHBOARD_ENABLE_BAN, "", config.tellOnBan, true) }}
<hr>
{{ generateCheckbox(5, "tellOnKick", "Mostrar mensagem diferenciada ao ser expulso", "", config.tellOnKick, true) }}
<hr>
{{ generateCheckbox(4, "tellOnPrivate", DASHBOARD_ENABLE_PRIVATE, DASHBOARD_ENABLE_PRIVATE_SUB, config.tellOnPrivate, true) }}
<hr>
<div class="flavourText">{{ DASHBOARD_JOIN_CHANNEL }}</div>
<select data-send-on-save="true" data-internal-name="canalJoinId" id="canalJoinId">
</select>
<hr>
<div class="flavourText">{{ DASHBOARD_LEAVE_CHANNEL }}</div>
<select data-send-on-save="true" data-internal-name="canalLeaveId" id="canalLeaveId">
</select>
<hr>
<div class="flavourText">{{ DASHBOARD_JOIN_MESSAGE }}</div>
<textarea data-send-on-save="true" data-internal-name="joinMessage" id="joinMessage" name="joinMessage">{{ serverConfig.joinLeaveConfig.joinMessage }}</textarea>
<hr>
<div class="flavourText">{{ DASHBOARD_LEAVE_MESSAGE }}</div>
<textarea data-send-on-save="true" data-internal-name="leaveMessage" id="leaveMessage" name="leaveMessage">{{ serverConfig.joinLeaveConfig.leaveMessage }}</textarea>
<hr>
<div class="flavourText">{{ DASHBOARD_PRIVATE_MESSAGE }}</div>
<textarea data-send-on-save="true" data-internal-name="joinPrivateMessage" id="joinPrivateMessage" name="privateMessage">{{ serverConfig.joinLeaveConfig.joinPrivateMessage }}</textarea>
<hr>
<div class="flavourText">{{ DASHBOARD_LEAVE_BAN_MESSAGE }}</div>
<textarea data-send-on-save="true" data-internal-name="banMessage" id="banMessage" name="banMessage">{{ serverConfig.joinLeaveConfig.banMessage }}</textarea>
<hr>
<div class="flavourText">Mensagem quando alguém for expulso</div>
<textarea data-send-on-save="true" data-internal-name="kickMessage" id="kickMessage" name="kickMessage">{{ serverConfig.joinLeaveConfig.kickMessage }}</textarea>
</div>
<hr>
<button onclick="LoriDashboard.ConfigureWelcomerView.prepareSave()" style="float: right;" class="button-discord button-discord-success pure-button">{{ DASHBOARD_SAVE }}</button>
<br style="clear: both" /> <!-- So dirty! -->
<script>
LoriDashboard.ConfigureWelcomerView.start();
</script>
{% endblock %}