Worked ban frontend and api.
This commit is contained in:
parent
5c936462a6
commit
c848994c1d
18 changed files with 513 additions and 41 deletions
16
src/views/partial/popup/placeholder.ejs
Normal file
16
src/views/partial/popup/placeholder.ejs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<!--Canopy - The next generation of stoner streaming software
|
||||
Copyright (C) 2024 Rainbownapkin and the TTN Community
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.-->
|
||||
<h1>This is a test popup!</h1>
|
||||
33
src/views/partial/popup/userBan.ejs
Normal file
33
src/views/partial/popup/userBan.ejs
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<!--Canopy - The next generation of stoner streaming software
|
||||
Copyright (C) 2024 Rainbownapkin and the TTN Community
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.-->
|
||||
<link rel="stylesheet" type="text/css" href="/css/popup/userBan.css">
|
||||
<h3 class="popup-title">Ban NULL</h3>
|
||||
<form class="ban-popup-content" action="javascript:">
|
||||
<span>
|
||||
<label for="ban-popup-perm">Perma-Ban:</label>
|
||||
<input type="checkbox" name="ban-popup-perm" id="ban-popup-perm">
|
||||
</span>
|
||||
<span>
|
||||
<label id="ban-popup-expiration-prefix" for="ban-popup-expiration">Ban Expires In: </label>
|
||||
<input type="number" name="ban-popup-expiration" id="ban-popup-expiration" value="14">
|
||||
<label fid="ban-popup-expiration-postfix" or="ban-popup-expiration"> Days</label>
|
||||
</span>
|
||||
<span id="ban-popup-button-span">
|
||||
<button id="ban-popup-cancel-button">Cancel</button>
|
||||
<span id="ban-popup-button-span-spacer"></span>
|
||||
<button id="ban-popup-ban-button">Ban</button>
|
||||
</span>
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue