Added per-channel toke management pane in channel settings page.
This commit is contained in:
parent
a1fbbea7b7
commit
169b863965
3 changed files with 108 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.-->
|
|||
<%- include('partial/channelSettings/banList.ejs'); %>
|
||||
<%- include('partial/channelSettings/settings.ejs'); %>
|
||||
<%- include('partial/channelSettings/permList.ejs'); %>
|
||||
<%- include('partial/channelSettings/tokeCommandList.ejs'); %>
|
||||
</div>
|
||||
<button href="javascript:" class="danger-button" id="chan-delete">Delete Channel</button>
|
||||
<footer>
|
||||
|
|
|
|||
24
src/views/partial/channelSettings/tokeCommandList.ejs
Normal file
24
src/views/partial/channelSettings/tokeCommandList.ejs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<!--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/>.-->
|
||||
<div id="toke-command-list-div" class="admin-list-div">
|
||||
<h3>Toke Command List:</h3>
|
||||
<div class="control-prompt">
|
||||
<input placeholder="Add Command..." id="new-toke-command-input" class="control-prompt">
|
||||
<button id="new-toke-command-button" class="positive-button">Add</button>
|
||||
</div>
|
||||
<div class="dynamic-container toke-command-list">
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue