Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Add web-sided interface #9

Open
wants to merge 107 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
c613a56
Lots of work on HTTP stuff (login, profile, tradeboard, profiles)
Selim042 Aug 28, 2019
fc9d221
More fixes
Selim042 Aug 28, 2019
edeab38
Add html files
Selim042 Sep 3, 2019
b6936f1
Fix updateOwners
Selim042 Sep 3, 2019
f51b903
Fix some misc things
Selim042 Sep 3, 2019
e6f40dc
Version bump
Selim042 Sep 3, 2019
44dd98a
Fix dev point bot and disable Pokedex bot
Selim042 Sep 5, 2019
634faf4
Remove Pokedex bot
Selim042 Sep 5, 2019
0446c87
Code cleaning & misc fixes
Selim042 Sep 7, 2019
40fc11c
Move http assets
Selim042 Sep 9, 2019
a5be0a9
Fix join event stuff and remove profiles when a user leaves a server
Selim042 Sep 10, 2019
323eb4f
No longer send changelog when in dev mode
Selim042 Sep 10, 2019
3ebb423
Add some comments, re-implement the "Starota is typing" status
Selim042 Sep 10, 2019
8349a72
Fix characters in Pokedex and events
Selim042 Sep 10, 2019
9ab2e4f
Fix a typo that's been around forever
Selim042 Sep 10, 2019
4d296ce
Fix battleReady
Selim042 Sep 10, 2019
8e8a7fc
Fix Deoxys form raids
Selim042 Sep 10, 2019
b52556b
More website work
Selim042 Sep 10, 2019
05242b0
Version bump
Selim042 Sep 10, 2019
6b865e0
Misc fixes (register team and level params can be swapped)
Selim042 Sep 11, 2019
c40617c
Add team emoji and enhanced the titles of raid embeds
Selim042 Sep 13, 2019
de558a7
Misc bug fixes
Selim042 Sep 13, 2019
1f5b8ce
Fix server settings, other small fixes and changes
Selim042 Sep 23, 2019
04abbd6
Add reaction button to profiles to get PM with QR of trainer code
Selim042 Sep 23, 2019
ee72fca
Add weather forecasts
Selim042 Sep 23, 2019
d8ec5f2
Add two more emoij servers
Selim042 Sep 23, 2019
a0a62ac
Add legacy and exclusive move boolean in details section of dex embed
Selim042 Sep 23, 2019
37a66fe
Websit work
Selim042 Sep 23, 2019
12c5b61
Small weather command fix
Selim042 Sep 23, 2019
a710657
Fix going left on paged embeds not wrapping around
Selim042 Sep 23, 2019
2bdef18
Better fixes for form stuff
Selim042 Sep 23, 2019
8404ab2
Small tweak to the weather command
Selim042 Sep 23, 2019
854e6de
Fix some Silph card stuff, and add better error handling, other small…
Selim042 Sep 28, 2019
a5bea53
Version bump
Selim042 Sep 28, 2019
45ddc2e
Add new gen5 item evolutions
Selim042 Oct 1, 2019
2e70ce7
Modified event sorting, long term are at the end, started events are …
Selim042 Oct 3, 2019
66708cf
Fix event embed updating twice
Selim042 Oct 3, 2019
84f57b8
Condense the lambada
Selim042 Oct 3, 2019
a28e790
Make more emoji servers....yay!!!
Selim042 Oct 3, 2019
4eae16c
Rework of the internals of the egg hatch command, displays regional h…
Selim042 Oct 11, 2019
729c749
Some fixes in profiles commands and get user trades
Selim042 Oct 13, 2019
a6d7fc8
Add Hotjar and permissions page work
Selim042 Oct 13, 2019
f062c54
Move battle commands into different package
Selim042 Oct 13, 2019
6fc626a
Remove some bots that have been forgotten from the bots command
Selim042 Oct 13, 2019
53de2bb
Add permissions stuff (still WIP) and gut channel whitelist stuff
Selim042 Oct 13, 2019
cf8eae0
Redirect to login when accessing pages, and direct to a server select…
Selim042 Oct 13, 2019
0799714
Skip any msgs that start with "..", or less than 2 chars long
Selim042 Oct 14, 2019
8e1a757
Add some ".block()"s that I forgot about
Selim042 Oct 16, 2019
0ed2137
Fix settings command issue
Selim042 Oct 16, 2019
ecb0944
Add Shellos family as regionals
Selim042 Oct 16, 2019
9157981
Minor tweaks and fixes
Selim042 Oct 16, 2019
776eb4b
Fix Yamask name typo
Selim042 Oct 18, 2019
5bb46f9
Change weather icons and add night weather icon support
Selim042 Oct 18, 2019
8dade27
Completely rework Starota's Pokemon database
Selim042 Oct 25, 2019
2c7e857
Code cleanup, add new "Catcher Cup" feature, similar to Harry Potter'…
Selim042 Oct 25, 2019
fd01c91
Move some classes around
Selim042 Oct 25, 2019
d5caace
Change weather data output to be a bit more userfriendly
Selim042 Oct 25, 2019
80165e3
Notify me when userrs vote for Starota on top.gg
Selim042 Oct 25, 2019
7b3a774
Fix alt input in updateProfile
Selim042 Nov 3, 2019
486008f
Fix a few things in eggHatches
Selim042 Nov 3, 2019
9c549bd
Complete rework of the credits command
Selim042 Nov 3, 2019
5c99b97
Add small command for Selim only that outputs all community coords fo…
Selim042 Nov 3, 2019
00a968c
Allow creating short links
Selim042 Nov 3, 2019
26da2d0
More credits stuff
Selim042 Nov 3, 2019
fd3f9f6
New cpTable command
Selim042 Nov 3, 2019
8122d65
Pokebattler API (WIP)
Selim042 Nov 3, 2019
3725c5f
Better support permission overrides
Selim042 Nov 3, 2019
fbd6063
Change weather emoji, add weather to website, overhaul how Pokemon da…
Selim042 Nov 8, 2019
e8ef39a
New commands, credits overhaul, misc bug fixes
Selim042 Nov 8, 2019
80fa07b
Script to find typoed Pokemon names, and fix some more names
Selim042 Nov 8, 2019
abb391a
Disable Catcher Cup easy point entry temporarily
Selim042 Nov 8, 2019
8a69e7f
Temp disable new permission system and re-add the old channel whiteli…
Selim042 Nov 8, 2019
00b511e
Rework of http file structure and fix up some old page stuff
Selim042 Nov 8, 2019
0900cfe
Add Google verification meta tag
Selim042 Nov 8, 2019
76716bd
Version bump
Selim042 Nov 8, 2019
c2d32d0
Fix issue raid embeds when displaying weather forecasts
Selim042 Dec 3, 2019
93f6553
Version bump
Selim042 Dec 12, 2019
4b5c31d
Fix raid name and Pokemon selection
Selim042 Dec 12, 2019
e55453a
Always register primitives on EBS load
Selim042 Dec 12, 2019
85a5039
Version bump
Selim042 Dec 12, 2019
fc9e104
Add gen8 Pokemon and new regionals
Selim042 Jan 12, 2020
cc2f74b
Fix a bug clearing info when a user leaves a server
Selim042 Jan 12, 2020
b32d65d
Clean up debug in StatusUpdater a hair
Selim042 Jan 12, 2020
170a113
Fix distance in regional egg disclaimer
Selim042 Jan 12, 2020
db977e3
Fully disable those two bots
Selim042 Jan 12, 2020
199ca65
Update Discord4J version
Selim042 Jan 12, 2020
6ea4999
Fix small error in StarotaEvent
Selim042 Jan 12, 2020
1a675ee
Version bump
Selim042 Jan 12, 2020
b1189d8
Thank voters in the support server
Selim042 Jan 13, 2020
415b14f
Change StatusUpdater to be able to use
Selim042 Jan 21, 2020
de7bb3d
Add command to check emoji server status
Selim042 Jan 21, 2020
5336f81
Implement info channels and move Catcher's Cup commands and add new c…
Selim042 Jan 21, 2020
9275121
Add regional command and display where regional Pokemon can be found …
Selim042 Jan 21, 2020
8332a66
Display Silph arena stats in Silph card display
Selim042 Jan 21, 2020
982fe13
More work on the settings web page and Discord notifications when use…
Selim042 Jan 21, 2020
1250618
Add raid train command
Selim042 Jan 21, 2020
7612013
Add Silph cup counters command
Selim042 Jan 21, 2020
97cde46
Add weather display channel
Selim042 Jan 21, 2020
b29115b
Forgot this for CC display channel
Selim042 Jan 21, 2020
ce4c34a
Add basic raid usage tracking and clean some emoji stuff up, and crea…
Selim042 Jan 21, 2020
b8c9a2e
Go Hub cleanup and fixes
Selim042 Jan 21, 2020
7dbb018
Hopefully fix Twitter changelog
Selim042 Jan 21, 2020
3ad1c0b
Version bump
Selim042 Jan 21, 2020
fb25b0e
Fix an issue with info channels
Selim042 Jan 21, 2020
fd98923
Forgot info channel perms!
Selim042 Jan 21, 2020
ba88581
Enable the cup command...
Selim042 Jan 21, 2020
74d2c35
Fix if info channel was deleted
Selim042 Jan 21, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dependency>
<groupId>com.github.Discord4J</groupId>
<artifactId>Discord4J</artifactId>
<version>3.0.6</version>
<version>3.0.12</version>
</dependency>

<dependency>
Expand Down
100 changes: 100 additions & 0 deletions src/main/resources/http/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>{ERROR} - Starota</title>
<meta name="google-site-verification" content="T8zXdRmzTn5Zs3pFeMHsWZ_yr0Q37yglqkZs1eCy2zQ">
<link rel="icon" type="image/png" sizes="64x64" href="/assets/img/starota.png">
<link rel="icon" type="image/png" sizes="64x64" href="/assets/img/starota.png">
<link rel="icon" type="image/png" sizes="512x512" href="/assets/img/starota_med.png">
<link rel="icon" type="image/png" sizes="512x512" href="/assets/img/starota_med.png">
<link rel="icon" type="image/png" sizes="512x512" href="/assets/img/starota_med.png">
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.min.css">
<link rel="stylesheet" href="/assets/css/permissions.css">
<link rel="stylesheet" href="/assets/css/stuff.css">
<!-- Hotjar Tracking Code for http://starota.myles-selim.us -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:1506050,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>
</head>

<body id="page-top">
<div id="wrapper">
<nav class="navbar navbar-dark navbar-expand-md align-items-start sidebar sidebar-dark accordion bg-gradient-primary p-0">
<div class="container-fluid d-flex flex-column p-0">
<a class="navbar-brand d-flex justify-content-center align-items-center sidebar-brand m-0" href="/">
<div class="sidebar-brand-icon rotate-n-15"></div>
<div class="sidebar-brand-text mx-3"><span>Starota</span></div><img class="rounded-circle" src="/assets/img/starota.png" style="width: 50px;"></a>
<hr class="sidebar-divider my-0">
<ul class="nav navbar-nav text-light" id="accordionSidebar">
<li class="nav-item" role="presentation"><a class="nav-link" href="/"><i class="fas fa-tachometer-alt"></i><span>Dashboard</span></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="/profiles"><i class="fas fa-user-friends"></i><span>Profiles</span></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="/tradeboard"><i class="icon-refresh"></i><span>Tradeboard</span></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="/leaderboards"><i class="far fa-chart-bar"></i><span>Leaderboards</span></a></li>
</ul>
<div class="text-center d-none d-md-inline"><button class="btn rounded-circle border-0" id="sidebarToggle" type="button"></button></div>
</div>
</nav>
<div class="d-flex flex-column" id="content-wrapper">
<div id="content">
<nav class="navbar navbar-light navbar-expand bg-white shadow mb-4 topbar static-top">
<div class="container-fluid"><button class="btn btn-link d-md-none rounded-circle mr-3" id="sidebarToggleTop" type="button"><i class="fas fa-bars"></i></button><img class="{WEATHER_VISIBILITY}" style="width: 32px;height: 32px;" src="{WEATHER_ICON}">
<h3 class="d-none">{SERVER_NAME}</h3>
<ul class="nav navbar-nav flex-nowrap ml-auto">
<li class="nav-item" role="presentation"></li>
<li class="nav-item dropdown no-arrow" role="presentation" id="profile_display">
<div class="nav-item dropdown no-arrow"><a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false" href="#"><span class="d-lg-inline mr-2 text-gray-600 small" id="profile_name">Login</span><img class="border rounded-circle invisible img-profile" id="profile_avatar" src="/assets/img/default_server.png" style="width: 32px;height: 32px;margin-right: 8px;"></a>
<div
class="dropdown-menu shadow dropdown-menu-right animated--grow-in" role="menu"><a class="dropdown-item" role="presentation" href="/profile"><i class="fas fa-user fa-sm fa-fw mr-2 text-gray-400"></i>&nbsp;Profile</a><a class="dropdown-item disabled" role="presentation" href="#"><i class="fas fa-cogs fa-sm fa-fw mr-2 text-gray-400"></i>&nbsp;Settings</a>
<div
class="dropdown-divider"></div><a class="dropdown-item" role="presentation" id="logout_dropdown_option" href="#"><i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i>&nbsp;Logout</a></div>
</div>
</li>
</ul>
<div class="dropdown d-flex d-lg-flex justify-content-lg-end align-items-lg-center no-arrow" id="server_select"><a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false" href="#"><span id="server_count" class="badge badge-servers badge-counter" style="margin-top: 0px;margin-right: -6px;">0</span><img class="rounded-circle" id="current_server" style="width: 32px;height: 32px;" src="/assets/img/default_server.png"></a>
<div
class="dropdown-menu dropdown-menu-right dropdown-list dropdown-menu-right animated--grow-in" role="menu" id="server_list">
<h6 class="dropdown-header">Server Selector</h6>
</div>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="text-center mt-5">
<div class="error mx-auto" data-text="404" style="padding-bottom: 16px;">
<p class="m-0">404</p>
</div>
<p class="text-dark mb-5 lead">{ERROR}</p>
<p class="text-black-50 mb-0">It looks like you found a glitch in the matrix...</p><a href="/">← Back to Dashboard</a></div>
</div>
</div>
<footer class="bg-white sticky-footer">
<div class="container my-auto">
<div class="text-center my-auto copyright"><a href="/credits">Credits</a><span>&nbsp;|&nbsp;</span><span>Copyright&nbsp;©&nbsp;Starota 2019</span></div>
</div>
</footer>
</div><a class="border rounded d-inline scroll-to-top" href="#page-top"><i class="fas fa-angle-up"></i></a></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.min.js"></script>
<script src="/assets/js/bs-charts.js"></script>
<script src="/assets/js/discord.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.js"></script>
<script src="/assets/js/permissions.js"></script>
<script src="/assets/js/smart_navbar.js"></script>
<script src="/assets/js/theme.js"></script>
</body>

</html>
103 changes: 103 additions & 0 deletions src/main/resources/http/404_server.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>{ERROR} - Starota</title>
<meta name="google-site-verification" content="T8zXdRmzTn5Zs3pFeMHsWZ_yr0Q37yglqkZs1eCy2zQ">
<link rel="icon" type="image/png" sizes="64x64" href="/assets/img/starota.png">
<link rel="icon" type="image/png" sizes="64x64" href="/assets/img/starota.png">
<link rel="icon" type="image/png" sizes="512x512" href="/assets/img/starota_med.png">
<link rel="icon" type="image/png" sizes="512x512" href="/assets/img/starota_med.png">
<link rel="icon" type="image/png" sizes="512x512" href="/assets/img/starota_med.png">
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.min.css">
<link rel="stylesheet" href="/assets/css/permissions.css">
<link rel="stylesheet" href="/assets/css/stuff.css">
<!-- Hotjar Tracking Code for http://starota.myles-selim.us -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:1506050,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>
</head>

<body id="page-top">
<div id="wrapper">
<nav class="navbar navbar-dark navbar-expand-md align-items-start sidebar sidebar-dark accordion bg-gradient-primary p-0">
<div class="container-fluid d-flex flex-column p-0">
<a class="navbar-brand d-flex justify-content-center align-items-center sidebar-brand m-0" href="/">
<div class="sidebar-brand-icon rotate-n-15"></div>
<div class="sidebar-brand-text mx-3"><span>Starota</span></div><img class="rounded-circle" src="/assets/img/starota.png" style="width: 50px;"></a>
<hr class="sidebar-divider my-0">
<ul class="nav navbar-nav text-light" id="accordionSidebar">
<li class="nav-item" role="presentation"><a class="nav-link" href="/"><i class="fas fa-tachometer-alt"></i><span>Dashboard</span></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="/profiles"><i class="fas fa-user-friends"></i><span>Profiles</span></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="/tradeboard"><i class="icon-refresh"></i><span>Tradeboard</span></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="/leaderboards"><i class="far fa-chart-bar"></i><span>Leaderboards</span></a></li>
</ul>
<div class="text-center d-none d-md-inline"><button class="btn rounded-circle border-0" id="sidebarToggle" type="button"></button></div>
</div>
</nav>
<div class="d-flex flex-column" id="content-wrapper">
<div id="content">
<nav class="navbar navbar-light navbar-expand bg-white shadow mb-4 topbar static-top">
<div class="container-fluid"><button class="btn btn-link d-md-none rounded-circle mr-3" id="sidebarToggleTop" type="button"><i class="fas fa-bars"></i></button><img class="{WEATHER_VISIBILITY}" style="width: 32px;height: 32px;" src="{WEATHER_ICON}">
<h3 class="d-none">{SERVER_NAME}</h3>
<ul class="nav navbar-nav flex-nowrap ml-auto">
<li class="nav-item" role="presentation"></li>
<li class="nav-item dropdown no-arrow" role="presentation" id="profile_display">
<div class="nav-item dropdown no-arrow"><a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false" href="#"><span class="d-lg-inline mr-2 text-gray-600 small" id="profile_name">Login</span><img class="border rounded-circle invisible img-profile" id="profile_avatar" src="/assets/img/default_server.png" style="width: 32px;height: 32px;margin-right: 8px;"></a>
<div
class="dropdown-menu shadow dropdown-menu-right animated--grow-in" role="menu"><a class="dropdown-item" role="presentation" href="/profile"><i class="fas fa-user fa-sm fa-fw mr-2 text-gray-400"></i>&nbsp;Profile</a><a class="dropdown-item disabled" role="presentation" href="#"><i class="fas fa-cogs fa-sm fa-fw mr-2 text-gray-400"></i>&nbsp;Settings</a>
<div
class="dropdown-divider"></div><a class="dropdown-item" role="presentation" id="logout_dropdown_option" href="#"><i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i>&nbsp;Logout</a></div>
</div>
</li>
</ul>
<div class="dropdown d-flex d-lg-flex justify-content-lg-end align-items-lg-center no-arrow" id="server_select"><a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false" href="#"><span id="server_count" class="badge badge-servers badge-counter" style="margin-top: 0px;margin-right: -6px;">0</span><img class="rounded-circle" id="current_server" style="width: 32px;height: 32px;" src="/assets/img/default_server.png"></a>
<div
class="dropdown-menu dropdown-menu-right dropdown-list dropdown-menu-right animated--grow-in" role="menu" id="server_list">
<h6 class="dropdown-header">Server Selector</h6>
</div>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="text-center mt-5">
<div class="error mx-auto" data-text="404">
<p class="m-0" style="padding-bottom: 16px;">404</p>
</div>
<p class="text-dark mb-5 lead">{ERROR}</p>
<p class="text-black-50 mb-0">It looks like you found a glitch in the matrix...</p><a href="/">← Back to Dashboard</a></div>
<div class="row">
<div class="col" id="other_server_select"></div>
</div>
</div>
</div>
<footer class="bg-white sticky-footer">
<div class="container my-auto">
<div class="text-center my-auto copyright"><a href="/credits">Credits</a><span>&nbsp;|&nbsp;</span><span>Copyright&nbsp;©&nbsp;Starota 2019</span></div>
</div>
</footer>
</div><a class="border rounded d-inline scroll-to-top" href="#page-top"><i class="fas fa-angle-up"></i></a></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.min.js"></script>
<script src="/assets/js/bs-charts.js"></script>
<script src="/assets/js/discord.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.js"></script>
<script src="/assets/js/permissions.js"></script>
<script src="/assets/js/smart_navbar.js"></script>
<script src="/assets/js/theme.js"></script>
</body>

</html>
12 changes: 12 additions & 0 deletions src/main/resources/http/assets/bootstrap/css/bootstrap.min.css

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions src/main/resources/http/assets/css/permissions.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.permission-holder-selected {
margin-bottom: 0px;
background-color: #d3d3d3;
font-weight: bold;
border-radius: .35rem!important;
}

.mirror {
-moz-transform: scale(-1, 1);
-webkit-transform: scale(-1, 1);
-o-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
}

.permission-selected-check {
background-color: #78c850;
border-radius: .35rem!important;
}

.permission-selected-slash {
background-color: #777777;
border-radius: .35rem!important;
}

.permission-selected-times {
background-color: #c03028;
border-radius: .35rem!important;
}

93 changes: 93 additions & 0 deletions src/main/resources/http/assets/css/stuff.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
.badge-servers {
color: #fff;
background-color: #7289da;
}

.border-left-normal {
border-left: .25rem solid #a8a878!important;
}

.border-left-fire {
border-left: .25rem solid #f08030!important;
}

.border-left-fighting {
border-left: .25rem solid #c03028!important;
}

.border-left-water {
border-left: .25rem solid #6890f0!important;
}

.border-left-flying {
border-left: .25rem solid #a890f0!important;
}

.border-left-grass {
border-left: .25rem solid #78c850!important;
}

.border-left-poison {
border-left: .25rem solid #a040a0!important;
}

.border-left-electric {
border-left: .25rem solid #f8d030!important;
}

.border-left-ground {
border-left: .25rem solid #e0c068!important;
}

.border-left-psychic {
border-left: .25rem solid #f85888!important;
}

.border-left-rock {
border-left: .25rem solid #b8a038!important;
}

.border-left-ice {
border-left: .25rem solid #98d8d8!important;
}

.border-left-bug {
border-left: .25rem solid #a8b820!important;
}

.border-left-dragon {
border-left: .25rem solid #7038f8!important;
}

.border-left-ghost {
border-left: .25rem solid #705898!important;
}

.border-left-dark {
border-left: .25rem solid #705848!important;
}

.border-left-steel {
border-left: .25rem solid #b8b8d0!important;
}

.border-left-fairy {
border-left: .25rem solid #ee99ac!important;
}

.border-left-instinct {
border-left: .25rem solid #f1c40f!important;
}

.border-left-mystic {
border-left: .25rem solid #277ecd!important;
}

.border-left-valor {
border-left: .25rem solid #992d22!important;
}

.border-left-no_team {
border-left: .25rem solid #777777!important;
}

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/http/assets/img/starota.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/main/resources/http/assets/js/bs-charts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$(document).ready(function(){

$('[data-bs-chart]').each(function(index, elem) {
this.chart = new Chart($(elem), $(elem).data('bs-chart'));
});

});
Loading