init commit

This commit is contained in:
zino
2021-02-16 23:07:41 +01:00
parent ec3fc78e0f
commit 12b4ef5db4
5000 changed files with 2596132 additions and 0 deletions

View File

@@ -0,0 +1,326 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Chat Alerts</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Alerts</li>
<li class="active">Chat</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Follower Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="followHandlerToggle" data-alert-toggle="./handlers/followHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="followHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Follower Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Welcome and also reward users who follow your channel.</p>
</div>
</form>
</div>
</div>
<!-- Subscriber Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="subscribeHandlerToggle" data-alert-toggle="./handlers/subscribeHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="subscribeHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Subscriber Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Welcome and also reward users who subscribe to your channel.</p>
</div>
</form>
</div>
</div>
<!-- Host Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="hostHandlerToggle" data-alert-toggle="./handlers/hostHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="hostHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Host Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Welcome and also reward users who host your channel.</p>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<!-- Bits Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="bitsHandlerToggle" data-alert-toggle="./handlers/bitsHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="bitsHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Bits Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Welcome and also reward users who cheer in your channel.</p>
</div>
</form>
</div>
</div>
<!-- Clips Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="clipHandlerToggle" data-alert-toggle="./handlers/clipHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="clipHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Clip Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let the bot post clips that viewers make into your chat.</p>
</div>
</form>
</div>
</div>
<!-- Raid Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="raidHandlerToggle" data-alert-toggle="./handlers/raidHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="raidHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Raid Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Welcome users who raid your channel or raid them yourself.</p>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<!-- Greeting Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="greetingSystemToggle" data-alert-toggle="./systems/greetingSystem.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="greetingSystemSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Greeting Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let users set a custom message to be said in the chat when they join.</p>
</div>
</form>
</div>
</div>
<!-- StreamLabs Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="donationHandlerToggle" data-alert-toggle="./handlers/donationHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="donationHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">StreamLabs Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Thank and also reward users who send you a tip with StreamLabs.</p>
</div>
</form>
</div>
</div>
<!-- TipeeeStream Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="tipeeeStreamHandlerToggle" data-alert-toggle="./handlers/tipeeeStreamHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="tipeeeStreamHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">TipeeeStream Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Thank and also reward users who send you a tip with TipeeeStream.</p>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<!-- StreamElements Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="streamElementsHandlerToggle" data-alert-toggle="./handlers/streamElementsHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="streamElementsHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">StreamElements Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Thank and also reward users who send you a tip with StreamElements.</p>
</div>
</form>
</div>
</div>
<!-- Twitter Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="twitterHandlerToggle" data-alert-toggle="./handlers/twitterHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="twitterHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Twitter Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Keep your chat updated with your Tweets and let the bot Tweet when you go live.</p>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- alerts -->
<script src="/panel/js/pages/alerts/alerts.js"></script>
</main>

View File

@@ -0,0 +1,87 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Stream Alerts</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Alerts</li>
<li class="active">Stream</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#stream_alerts_general" data-toggle="tab">Main Settings</a></li>
<li><a href="#stream_alerts_follow" data-toggle="tab">Follows</a></li>
<li><a href="#stream_alerts_subs" data-toggle="tab">Subscriptions</a></li>
<li><a href="#stream_alerts_hosts" data-toggle="tab">Hosts</a></li>
<li><a href="#stream_alerts_raids" data-toggle="tab">Raids</a></li>
<li><a href="#stream_alerts_bits" data-toggle="tab">Bits</a></li>
<li><a href="#stream_alerts_clips" data-toggle="tab">Cips</a></li>
<li><a href="#stream_alerts_twitter" data-toggle="tab">Twitter</a></li>
</ul>
<div class="tab-content">
<!-- Main settings tab. -->
<div class="tab-pane active" id="stream_alerts_general">
</div>
<!-- Followers settings tab. -->
<div class="tab-pane" id="stream_alerts_follow">
</div>
<!-- Subscribers settings tab. -->
<div class="tab-pane" id="stream_alerts_subs">
</div>
<!-- Hosts settings tab. -->
<div class="tab-pane" id="stream_alerts_hosts">
</div>
<!-- Raids settings tab. -->
<div class="tab-pane" id="stream_alerts_raids">
</div>
<!-- Bits settings tab. -->
<div class="tab-pane" id="stream_alerts_bits">
</div>
<!-- Clips settings tab. -->
<div class="tab-pane" id="stream_alerts_clips">
</div>
<!-- Twitter settings tab. -->
<div class="tab-pane" id="stream_alerts_twitter">
</div>
</div>
</div>
</section>
<!-- alerts -->
<script src="/panel/js/pages/alerts/stream.js"></script>
</main>

View File

@@ -0,0 +1,72 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<!-- Page title and switch toggle. -->
<h1>Audio Hooks
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="audioHookModuleToggle" checked>
<span class="slider round"></span>
</label>
</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Audio</li>
<li class="active">Audio Hooks</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#audiohooks" id="audiohooks_t" data-toggle="tab">Audio Hooks</a></li>
<li><a href="#audiocommands" id="audiocommands_t" data-toggle="tab">Audio Commands</a></li>
</ul>
<div class="tab-content" id="audioHookModule">
<!-- Audio hook list -->
<div class="tab-pane active" id="audiohooks">
<div class="btn-toolbar pull-right">
<button class="btn btn-primary btn-sm" type="button" id="reload-audio-hooks" data-toggle="tooltip"
title="In case that you added an audio hook and didn't restart the bot, this will reload all audio hooks and add the new one(s).">
<i class="fa fa-refresh"></i>&nbsp; Refresh List
</button>
<button class="btn btn-success btn-sm" type="button" id="audio-hooks-settings"><i class="fa fa-external-link"></i>&nbsp; Browser Source</button>
</div>
<table id="audioHooksTable" class="table table-bordered table-hover"></table>
</div>
<!-- Audio commands -->
<div class="tab-pane" id="audiocommands">
<div class="btn-toolbar pull-right">
<button class="btn btn-primary btn-sm" type="button" id="audio-hooks-cmd-add"><i class="fa fa-plus"></i>&nbsp; Add Command</button>
<!-- Comming soon tm. -->
<!-- <button class="btn btn-default btn-sm" type="button" id="audio-hooks-cmd-settings"><i class="fa fa-cog"></i>&nbsp; Settings</button> -->
</div>
<table id="audioHookCommandsTable" class="table table-bordered table-hover"></table>
</div>
</div>
</div>
</section>
<!-- audioHooks -->
<script src="/panel/js/pages/audio/audioHooks.js"></script>
</main>

View File

@@ -0,0 +1,56 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Commands</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Commands</li>
<li class="active">Aliases</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="aliasesModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Command Aliases</h3>
</div>
<form role="form" id="aliasesModule">
<!-- Box content -->
<div class="box-body">
<button class="btn btn-primary btn-sm pull-right" type="button" id="aliascom-button"><i class="fa fa-plus"></i>&nbsp; Add Alias</button>
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="aliasesTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- aliases -->
<script src="/panel/js/pages/commands/aliases.js"></script>
</main>

View File

@@ -0,0 +1,61 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Commands</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Commands</li>
<li class="active">Custom</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="customCommandsModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Custom Commands</h3>
</div>
<form role="form" id="customCommandsModule">
<!-- Box content -->
<div class="box-body">
<div class="btn-toolbar pull-right">
<button class="btn btn-primary btn-sm" type="button" id="addcom-button"><i class="fa fa-plus"></i>&nbsp; Add Command</button>
<button class="btn btn-default btn-sm" type="button" onclick="window.open('https://phantombot.github.io/PhantomBot/guides/#guide=content/commands/command-variables');">
<i class="fa fa-info"></i>&nbsp; Variables
</button>
</div>
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="customCommandsTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- custom commands -->
<script src="/panel/js/pages/commands/custom.js"></script>
</main>

View File

@@ -0,0 +1,57 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Overwrite styles -->
<style>
.dataTables_filter {
float: right;
text-align: right;
}
</style>
<!-- Header -->
<section class="content-header">
<h1>Commands</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Commands</li>
<li class="active">Default</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Default Commands</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="defaultCommandsTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- default commands -->
<script src="/panel/js/pages/commands/default.js"></script>
</main>

View File

@@ -0,0 +1,226 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Dashboard</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Dashboard</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<!-- Information Boxes Top -->
<div class="row">
<!-- Uptime Box -->
<div class="col-lg-3 col-xs-6">
<div class="small-box bg-red" id="bg-uptime" data-toggle="tooltip" title="How long the current broadcast has been live for.">
<div class="inner">
<h3 id="dashboard-uptime">Offline</h3>
<p>Uptime</p>
</div>
<div class="icon">
<i class="fa fa-clock-o"></i>
</div>
</div>
</div>
<!-- Views Box -->
<div class="col-lg-3 col-xs-6">
<div class="small-box bg-teal" data-toggle="tooltip" title="The number of people who have viewed your channel. Click the number to hide.">
<div class="inner">
<h3 id="dashboard-views" style="cursor: pointer;">0</h3>
<p>Views</p>
</div>
<div class="icon">
<i class="fa fa-eye"></i>
</div>
</div>
</div>
<!-- Followers Box -->
<div class="col-lg-3 col-xs-6">
<div class="small-box bg-purple" data-toggle="tooltip" title="The number of followers the channel currently has. Click the number to hide.">
<div class="inner">
<h3 id="dashboard-followers" style="cursor: pointer;">0</h3>
<p>Followers</p>
</div>
<div class="icon">
<i class="fa fa-heart"></i>
</div>
</div>
</div>
<!-- Viewers Box -->
<div class="col-lg-3 col-xs-6">
<div class="small-box bg-yellow" data-toggle="tooltip" title="The number of people currently watching the broadcast. Click the number to hide.">
<div class="inner">
<h3 id="dashboard-viewers" style="cursor: pointer;">0</h3>
<p>Viewers</p>
</div>
<div class="icon icon-override">
<i class="fa fa-users"></i>
</div>
</div>
</div>
</div>
<div class="row">
<!-- Left section -->
<section class="col-lg-7">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Recent Events</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<div class="event-log">
</div>
</div>
</form>
</div>
<!-- Split the section in half. -->
<div class="row">
<!-- Left section -->
<div class="col-md-6" id="twitch-chat-box">
<div class="box box-solid">
<div id="twitch-chat-iframe"></div>
</div>
</div>
<!-- Right section -->
<div class="col-md-6" id="twitch-player-box">
<div class="box box-solid">
<div id="twitch-player-iframe"></div>
</div>
</div>
</div>
</section>
<!-- Right section -->
<section class="col-lg-5">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Stream Information</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<!-- Stream Title Input -->
<div class="form-group">
<label>Title</label>
<input type="text" class="form-control" id="stream-title" placeholder="Title This Broadcast" data-str="text" data-toggle="tooltip" title="The current stream title">
</div>
<!-- Stream Game Input -->
<div class="form-group">
<label>Game</label>
<input type="text" class="form-control" id="stream-game" placeholder="Search for a Game or Category" data-str="text" data-toggle="tooltip" title="The current stream game">
</div>
</div>
<!-- Footer of the box -->
<div class="box-footer">
<button type="button" class="btn btn-primary pull-right" id="dashboard-btn-update" data-candisable="true">Update</button>
</div>
</form>
</div>
<!-- Quick action box -->
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Quick Actions</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<!-- Permit user -->
<div class="form-group">
<label>User Action</label>
<div class="input-group input-group-md">
<input type="text" class="form-control" id="user-action-user" placeholder="Username" data-toggle="tooltip" title="Enter a username.">
<div class="input-group-btn">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Actions
<span class="fa fa-caret-down"></span>
</button>
<ul class="dropdown-menu pull-right">
<li class="user-action"><a href="#">Permit</a></li>
<li class="user-action"><a href="#">Shoutout</a></li>
<li class="user-action"><a href="#">Raid</a></li>
<li class="user-action"><a href="#">Host</a></li>
</ul>
</div>
</div>
</div>
<!-- Run command -->
<div class="form-group">
<label for="custom-command-run">Run Command</label>
<select class="form-control select2 select2-hidden-accessible" id="custom-command-run" style="width: 100%;" aria-hidden="true">
<option></option>
</select>
</div>
<!-- Run commercial -->
<div class="form-group" id="grp-instant-commercial">
<label>Run Commercial</label>
<div class="input-group input-group-md">
<select class="form-control select2 select2-hidden-accessible" id="instant-commercial-length" data-toggle="tooltip" title="Commercial length, in seconds." aria-hidden="true">
<option></option>
<option>30</option>
<option>60</option>
<option>90</option>
<option>120</option>
<option>150</option>
<option>180</option>
</select>
<span class="input-group-addon" style="border: 0;">
<span class="pretty p-icon">
<input id="instant-commercial-silent" type="checkbox" data-toggle="tooltip" title="If checked, the bot won't announce the commercial in chat.">
<span class="state p-default">
<i class="icon fa fa-check"></i>
<label>Silent</label>
</span>
</span>
</span>
<span class="input-group-btn">
<button type="button" class="btn btn-primary pull-right" id="dashboard-btn-instant-commercial" data-candisable="true">Run</button>
</span>
</div>
</div>
<!-- Send as bot -->
<div class="form-group">
<label>Send Message as Bot</label>
<div class="input-group input-group-md">
<input type="text" class="form-control" id="msg-bot" placeholder="Message" data-toggle="tooltip" title="Enter a message.">
<span class="input-group-btn">
<button type="button" class="btn btn-primary pull-right" id="dashboard-btn-msg-bot" data-candisable="true">Send</button>
</span>
</div>
</div>
</div>
</form>
</div>
</section>
</div>
</section>
<!-- dashboard -->
<script src="/panel/js/pages/dashboard/dashboard.js"></script>
</main>

View File

@@ -0,0 +1,326 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Discord Alerts</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Discord</li>
<li class="active">Alerts</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Follower Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="followHandlerToggle" data-alert-toggle="./discord/handlers/followHandler.js" checked >
<span class="slider round"></span>
</label>
<button type="button" id="discordFollowHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Follower Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Display new followers from Twitch into a Discord channel.</p>
</div>
</form>
</div>
</div>
<!-- Subscriber Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="subscribeHandlerToggle" data-alert-toggle="./discord/handlers/subscribeHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discordSubscribeHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Subscriber Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Display new subscribers from Twitch into a Discord channel.</p>
</div>
</form>
</div>
</div>
<!-- Host Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="hostHandlerToggle" data-alert-toggle="./discord/handlers/hostHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discordHostHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Host Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Display hosts from Twitch into a Discord channel.</p>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<!-- Bits Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="bitsHandlerToggle" data-alert-toggle="./discord/handlers/bitsHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discordBitsHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Bits Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Display cheers from Twitch into a Discord channel.</p>
</div>
</form>
</div>
</div>
<!-- Clips Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="clipHandlerToggle" data-alert-toggle="./discord/handlers/clipHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discordClipHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Clip Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Display new clips from Twitch into a Discord channel.</p>
</div>
</form>
</div>
</div>
<!-- Twitch Stream Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="streamHandlerToggle" data-alert-toggle="./discord/handlers/streamHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discordStreamHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Stream Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Post in a Discord channel when you go live on Twitch.</p>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<!-- Greeting Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="greetingsSystemToggle" data-alert-toggle="./discord/systems/greetingsSystem.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discordGreetingsSystemSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Greeting Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Welcome new users who join your Discord server and give them a role.</p>
</div>
</form>
</div>
</div>
<!-- StreamLabs Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="streamlabsHandlerToggle" data-alert-toggle="./discord/handlers/streamlabsHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discordStreamlabsHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">StreamLabs Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Display StreamLabs tips into a Discord channel.</p>
</div>
</form>
</div>
</div>
<!-- TipeeeStream Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="tipeeeStreamHandlerToggle" data-alert-toggle="./discord/handlers/tipeeeStreamHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discordTipeeeStreamHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">TipeeeStream Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Display TipeeeStream tips into a Discord channel.</p>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<!-- StreamElements Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="streamElementsHandlerToggle" data-alert-toggle="./discord/handlers/streamElementsHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discordStreamElementsHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">StreamElements Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Display StreamElements tips into a Discord channel.</p>
</div>
</form>
</div>
</div>
<!-- Twitter Alerts -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="twitterHandlerToggle" data-alert-toggle="./discord/handlers/twitterHandler.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discordTwitterHandlerSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Twitter Alerts</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Display your Tweets into a Discord channel.</p>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- discordAlerts -->
<script src="/panel/js/pages/discord/discordAlerts.js"></script>
</main>

View File

@@ -0,0 +1,56 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Discord Commands</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Discord</li>
<li>Commands</li>
<li class="active">Custom</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="discordCustomCommandsModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Custom Discord Commands</h3>
</div>
<form role="form" id="discordCustomCommandsModule">
<!-- Box content -->
<div class="box-body">
<div class="btn-toolbar pull-right">
<button class="btn btn-primary btn-sm" type="button" id="discord-addcom-button"><i class="fa fa-plus"></i>&nbsp; Add Command</button>
<button class="btn btn-default btn-sm" type="button" onclick="window.open('https://phantombot.github.io/PhantomBot/guides/#guide=content/commands/discord-command-variables');">
<i class="fa fa-info"></i>&nbsp; Variables</button>
</div>
<table id="discordCustomCommandsTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- custom commands -->
<script src="/panel/js/pages/discord/discordCustomCommands.js"></script>
</main>

View File

@@ -0,0 +1,53 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Overwrite styles -->
<style>
.dataTables_filter {
float: right;
text-align: right;
}
</style>
<!-- Header -->
<section class="content-header">
<h1>Discord Commands</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Discord</li>
<li>Commands</li>
<li class="active">Default</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Default Discord Commands</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<table id="discordDefaultCommandsTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- default commands -->
<script src="/panel/js/pages/discord/discordDefaultCommands.js"></script>
</main>

View File

@@ -0,0 +1,225 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Discord Games</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Discord</li>
<li class="active">Games</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Dice Roll game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="discord_rollToggle" data-game-toggle="./discord/games/roll.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discord_rollSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Dice Roll</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let your viewers role the dices and see if they get lucky.</p>
</div>
</form>
</div>
</div>
<!-- Gambling game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="discord_gamblingToggle" data-game-toggle="./discord/games/gambling.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discord_gamblingSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Gambling</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let your viewers gamble all of their points or get lucky and win big.</p>
</div>
</form>
</div>
</div>
<!-- Slot Machine game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="discord_slotMachineToggle" data-game-toggle="./discord/games/slotMachine.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="discord_slotMachineSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Slot Machine</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let your viewers pull the lever and see if they get matching emotes.</p>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<!-- Kill game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="discord_killCommandToggle" data-game-toggle="./discord/games/kill.js" checked>
<span class="slider round"></span>
</label>
<button type="button" class="btn btn-md btn-box-tool disabled" data-toggle="tooltip" title="This module doesn't have any settings."
style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg disabled"></i>
</button>
</div>
<h3 class="box-title">Kill Game</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let your viewers try to "kill" each other in chat without getting caught by the cops.</p>
</div>
</form>
</div>
</div>
<!-- 8ball game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="discord_8ballToggle" data-game-toggle="./discord/games/8ball.js" checked>
<span class="slider round"></span>
</label>
<button type="button" class="btn btn-md btn-box-tool disabled" data-toggle="tooltip" title="This module doesn't have any settings."
style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg disabled"></i>
</button>
</div>
<h3 class="box-title">Magic 8-ball</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Have any questions? Ask the Magic 8-ball anything and it will guide you.</p>
</div>
</form>
</div>
</div>
<!-- Roulette game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="discord_rouletteToggle" data-game-toggle="./discord/games/roulette.js" checked>
<span class="slider round"></span>
</label>
<button type="button" class="btn btn-md btn-box-tool disabled" data-toggle="tooltip" title="This module doesn't have any settings."
style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg disabled"></i>
</button>
</div>
<h3 class="box-title">Russian Roulette</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let your viewers play Russian roulette to test their luck.</p>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<!-- Random game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="discord_randomToggle" data-game-toggle="./discord/games/random.js" checked>
<span class="slider round"></span>
</label>
<button type="button" class="btn btn-md btn-box-tool disabled" data-toggle="tooltip" title="This module doesn't have any settings."
style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg disabled"></i>
</button>
</div>
<h3 class="box-title">Random Command</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let Discord get weird real fast with random responses from the bot.</p>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- games -->
<script src="/panel/js/pages/discord/discordGames.js"></script>
</main>

View File

@@ -0,0 +1,51 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Discord Keywords</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Discord</li>
<li class="active">Keywords</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="discordKeywordsModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Discord Keywords</h3>
</div>
<form role="form" id="discordKeywordsModule">
<!-- Box content -->
<div class="box-body">
<button class="btn btn-primary btn-sm pull-right" type="button" id="discord-addkey-button"><i class="fa fa-plus"></i>&nbsp; Add Keyword</button>
<table id="discordKeywordTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- default keywords -->
<script src="/panel/js/pages/discord/discordKeywords.js"></script>
</main>

View File

@@ -0,0 +1,88 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<!-- Page title.-->
<h1>Discord Logging</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Discord</li>
<li class="active">Logging</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#discord_logs_pubsub" data-toggle="tab">Twitch Moderation</a></li>
<li><a href="#discord_logs_cmds" data-toggle="tab">Twitch Commands</a></li>
</ul>
<div class="tab-content">
<!-- Twitch Moderation -->
<div class="tab-pane active" id="discord_logs_pubsub">
<div class="form-group">
<label>Enable Twitch Moderation Logs</label>
<div class="dropdown">
<select class="form-control" id="twitch-mod-log" data-toggle="tooltip"
title="Enables the moderation logs for the bot. A restart is required after enabling." style="cursor: pointer;">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
<div class="form-group">
<label>Logging Channel</label>
<input type="text" class="form-control" id="twitch-mod-channel" placeholder="#logs" data-toggle="tooltip"
title="Which channel to post the moderation logs to."/>
</div>
</div>
<!-- Twitch Commands -->
<div class="tab-pane" id="discord_logs_cmds">
<div class="form-group">
<label>Enable Twitch Command Logs</label>
<div class="dropdown">
<select class="form-control" id="twitch-command-log" data-toggle="tooltip"
title="Enables the logging for command edit, removing, and adding for Twitch." style="cursor: pointer;">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
<div class="form-group">
<label>Logging Channel</label>
<input type="text" class="form-control" id="twitch-command-channel" placeholder="#logs" data-toggle="tooltip"
title="Which channel to post the command logs to. Currently the same as the moderation log one." disabled />
</div>
</div>
<!-- Box footer -->
<div class="box-footer" style="padding-right: 0; padding-bottom: 0;">
<button type="button" class="btn btn-primary pull-right" id="discord-logging-save"> Save</button>
</div>
</div>
</div>
</section>
<!-- discordLogs -->
<script src="/panel/js/pages/discord/discordLogs.js"></script>
</main>

View File

@@ -0,0 +1,85 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Chart location and size -->
<style>
canvas {
padding: 0;
margin: auto;
display: block;
width: 450px;
}
</style>
<!-- Header -->
<section class="content-header">
<h1>Betting
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="bettingSystemModuleToggle" checked>
<span class="slider round"></span>
</label>
</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Extra</li>
<li class="active">Betting</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Poll menu -->
<div class="col-md-8">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Bet</h3>
<span class="pull-right">
<a href="javascript:void(0)" class="text-muted" data-toggle="tooltip" title="Betting settings" id="settings-betting">
<i class="fa fa-gears"></i>
</a>
</span>
</div>
<form role="form" id="bettingSystemModule">
<!-- Box content -->
<div class="box-body">
<div class="btn-toolbar pull-right">
<button class="btn btn-success" type="button" id="open-betting"><i class="fa fa-unlock-alt"></i>&nbsp; Open</button>
<button class="btn btn-warning" type="button" id="close-betting"><i class="fa fa-lock"></i>&nbsp; Close</button>
<button class="btn btn-danger" type="button" id="reset-betting"><i class="fa fa-trash"></i>&nbsp; Reset</button>
</div>
<canvas width="450" height="450" id="betting-chart" style="margin-top: 50px !important;"></canvas>
</div>
</form>
</div>
</div>
<!-- Twitch chat. -->
<div class="col-md-4">
<div id="twitch-chat-betting"></div>
</div>
</div>
</section>
<!-- betting -->
<script src="/panel/js/pages/extra/betting.js"></script>
<!-- chartjs -->
<script src="/panel/vendors/chart.js/Chart.bundle.min.js"></script>
</main>

View File

@@ -0,0 +1,80 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Automatic Commercials</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Extra</li>
<li class="active">Automatic Commercials</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="commercialsModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Automatic Commercials</h3>
</div>
<form role="form" id="commercialsModule">
<!-- Box content -->
<div class="box-body">
<!-- Commercial Interval -->
<div class="form-group">
<label>Interval Between Automatic Commercials, in Minutes</label>
<input type="number" class="form-control" id="commercial-interval" value="8" min="8" data-toggle="tooltip" title="Interval between commercials, minimum 8."/>
</div>
<!-- Commercial Length -->
<div class="form-group">
<label for="commercial-length">Commercial Length, in Seconds</label>
<select class="form-control" id="commercial-length">
<option selected="selected">30</option>
<option>60</option>
<option>90</option>
<option>120</option>
<option>150</option>
<option>180</option>
</select>
</div>
<!-- Optional Commercial Message -->
<div class="form-group">
<label>Optional Message Posted to Chat</label>
<input type="text" class="form-control" id="commercial-message" placeholder="Optional message posted to chat"
data-toggle="tooltip" title="Optional message posted to chat."/>
</div>
</div>
<!-- Footer with buttons -->
<div class="box-footer">
<div class="btn-toolbar pull-right">
<button class="btn btn-success" type="button" id="commercials-autotimer-on"><i class="fa fa-check"></i>&nbsp; Set Autotimer</button>
<button class="btn btn-danger hidden" type="button" id="commercials-autotimer-off"><i class="fa fa-trash"></i>&nbsp; Disable Autotimer</button>
</div>
</div>
</form>
</div>
</section>
<!-- commercials -->
<script src="/panel/js/pages/extra/commercials.js"></script>
</main>

View File

@@ -0,0 +1,84 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Custom styles for this page -->
<style>
.center {
display: flex;
align-items: center;
justify-content: center;
}
.bottom {
top: 100%;
}
.death-total {
margin-bottom: 20px;
margin-top: 50px;
font-size: 45px;
/*background-color: #000;*/
}
</style>
<!-- Header -->
<section class="content-header">
<h1>Death Counter</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Extra</li>
<li class="active">Death Counter</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="deathCounterModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Death Counter</h3>
</div>
<form role="form" id="deathCounterModule">
<!-- Box content -->
<div class="box-body">
<button class="btn btn-primary pull-right" type="button" id="settings-deaths-button"><i class="fa fa-cog"></i>&nbsp; Settings</button>
<div class="death-total center">
<span>Deaths:&nbsp;</span>
<span id="death-number">0</span>
</div>
<div class="btn-toolbar center">
<button class="btn btn-success" type="button" id="incr-deaths-button"
data-toggle="tooltip" title="Increases the death for this game by one."><i class="fa fa-plus"></i>&nbsp; Increase</button>
<button class="btn btn-warning" type="button" id="decr-deaths-button"
data-toggle="tooltip" title="Decreases the death for this game by one."><i class="fa fa-minus"></i>&nbsp; Decrease</button>
<button class="btn btn-danger" type="button" id="reset-deaths-button"
data-toggle="tooltip" title="Resets the deaths for this game back to 0."><i class="fa fa-eraser"></i>&nbsp; Reset</button>
</div>
</div>
</form>
</div>
</section>
<!-- deathcounter -->
<script src="/panel/js/pages/extra/deathcounter.js"></script>
</main>

View File

@@ -0,0 +1,62 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Dual Stream</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Extra</li>
<li class="active">Dual Stream</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="dualStreamModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Dual Stream</h3>
</div>
<form role="form" id="dualStreamModule">
<!-- Box content -->
<div class="box-body">
<button class="btn btn-primary btn-sm pull-right" type="button" id="dualstream-settings-button"><i class="fa fa-cog"></i>&nbsp; Settings</button>
<div class="form-group" style="margin-top: 30px;">
<label>Dual Stream URL</label>
<div class="input-group">
<span class="input-group-addon" id="multi-main">https://multistre.am/</span>
<input type="text" class="form-control" id="multi-channels" placeholder="PhantomBot"
data-toggle="tooltip" title="Channels to be in the multi Twitch URL. Separate each channel with a /" onkeypress="return event.which !== 13;">
<span class="input-group-btn">
<button type="button" class="btn btn-primary btn-flat" id="dualstream-copy-btn"
data-toggle="tooltip" title="Copy the current multi stream link.">Copy</button>
</span>
</div>
</div>
</div>
</form>
</div>
</section>
<!-- dualstream -->
<script src="/panel/js/pages/extra/dualstream.js"></script>
</main>

View File

@@ -0,0 +1,54 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Highlights</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Extra</li>
<li class="active">Highlights</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="highlightsModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Stream Highlights</h3>
</div>
<form role="form" id="highlightsModule">
<!-- Box content -->
<div class="box-body">
<div class="btn-toolbar pull-right">
<button class="btn btn-primary btn-sm" type="button" id="add-highlight-button"><i class="fa fa-plus"></i>&nbsp; Create Highlight</button>
<button class="btn btn-danger btn-sm" type="button" id="delete-highlights-button"><i class="fa fa-trash"></i>&nbsp; Delete All</button>
</div>
<table id="highlightsTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- highlights -->
<script src="/panel/js/pages/extra/highlights.js"></script>
</main>

View File

@@ -0,0 +1,81 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Chart location and size -->
<style>
canvas {
padding: 0;
margin: auto;
display: block;
width: 450px;
}
</style>
<!-- Header -->
<section class="content-header">
<h1>Polls
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="pollSystemModuleToggle" checked>
<span class="slider round"></span>
</label>
</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Extra</li>
<li class="active">Polls</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Poll menu -->
<div class="col-md-8">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Poll</h3>
</div>
<form role="form" id="pollSystemModule">
<!-- Box content -->
<div class="box-body">
<div class="btn-toolbar pull-right">
<button class="btn btn-success" type="button" id="open-poll"><i class="fa fa-unlock-alt"></i>&nbsp; Open</button>
<button class="btn btn-warning" type="button" id="close-poll"><i class="fa fa-lock"></i>&nbsp; Close</button>
<button class="btn btn-danger" type="button" id="reset-poll"><i class="fa fa-trash"></i>&nbsp; Reset</button>
</div>
<canvas width="450" height="450" id="poll-chart" style="margin-top: 50px !important;"></canvas>
</div>
</form>
</div>
</div>
<!-- Twitch chat. -->
<div class="col-md-4">
<div id="twitch-chat-poll"></div>
</div>
</div>
</section>
<!-- polls -->
<script src="/panel/js/pages/extra/polls.js"></script>
<!-- chartjs -->
<script src="/panel/vendors/chart.js/Chart.bundle.min.js"></script>
</main>

View File

@@ -0,0 +1,133 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<style>
.table>tbody>tr>th {
border: none !important;
}
</style>
<!-- Header -->
<section class="content-header">
<!-- Page title and switch toggle. -->
<h1>Queue
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="queueModuleToggle" checked>
<span class="slider round"></span>
</label>
</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Extra</li>
<li class="active">Queue</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Left section -->
<div class="col-md-3" id="queueTable">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Queue List</h3>
</div>
<form role="form" id="queueListModule">
<!-- Box content -->
<div class="box-body no-padding" style="height: 491px; overflow-x: auto; overflow-y: auto;">
<div id="queue-list">
<table class="table table-hover table-custom" id="queue-table" style="width: 100%;">
<tr>
<th style="width: 5%;">#</th>
<th style="width: 42.5%;">Username</th>
<th style="width: 42.5%;">Gamertag</th>
<th style="width: 10%; text-align: right; padding-right: 16px;">Action</th>
</tr>
</table>
</div>
</div>
</form>
</div>
</div>
<!-- Middle section -->
<div class="col-md-6">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Queue Options</h3>
</div>
<form role="form" id="queueModule">
<!-- Box content -->
<div class="box-body" style="padding-bottom: 150px;">
<!-- Queue title -->
<div class="form-group">
<label for="queue-title">Title</label>
<input type="text" class="form-control" id="queue-title" placeholder="Title of the queue"
data-toggle="tooltip" title="Title of the queue."/>
</div>
<!-- Queue cost -->
<div class="form-group">
<label for="queue-cost">Cost</label>
<input type="number" class="form-control" id="queue-cost" value="0" data-toggle="tooltip" title="Cost to join the queue."/>
</div>
<!-- Queue max size -->
<div class="form-group">
<label for="queue-size">Max Size</label>
<input type="number" class="form-control" id="queue-size" value="0" data-toggle="tooltip" title="Max size of the queue. 0 is unlimited."/>
</div>
<!-- Queue permission -->
<div class="form-group">
<label for="queue-permission">User Level</label>
<select class="form-control" id="queue-permission">
<option selected="selected" hidden="hidden">Viewers</option>
<option>Caster</option>
<option>Administrators</option>
<option>Moderators</option>
<option>Subscribers</option>
<option>Donators</option>
<option>Regulars</option>
<option>Viewers</option>
</select>
</div>
</div>
<!-- Footer with buttons -->
<div class="box-footer">
<div class="btn-toolbar pull-right">
<button class="btn btn-success" type="button" id="open-or-close-queue"><i class="fa fa-unlock-alt"></i>&nbsp; Open</button>
<button class="btn btn-primary" type="button" id="draw-queue"><i class="fa fa-trophy"></i>&nbsp; Draw</button>
<button class="btn btn-danger" type="button" id="reset-queue"><i class="fa fa-trash"></i>&nbsp; Reset</button>
</div>
</div>
</form>
</div>
</div>
<!-- Right section -->
<div class="col-md-3" style="height: 532px;">
<div id="queue-chat"></div>
</div>
</div>
</section>
<!-- queue -->
<script src="/panel/js/pages/extra/queue.js"></script>
</main>

View File

@@ -0,0 +1,245 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Games</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Games</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Adventure game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="adventureSystemToggle" data-game-toggle="./games/adventureSystem.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="adventureSystemSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Adventures</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let your viewers go on adventures and have the survivors win points.</p>
</div>
</form>
</div>
</div>
<!-- Roulette game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="rouletteToggle" data-game-toggle="./games/roulette.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="rouletteSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Russian Roulette</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let your viewers play Russian roulette to test their luck.</p>
</div>
</form>
</div>
</div>
<!-- Slot Machine game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="slotMachineToggle" data-game-toggle="./games/slotMachine.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="slotMachineSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Slot Machine</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let your viewers pull the lever and see if they get matching emotes.</p>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<!-- Dice Roll game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="rollToggle" data-game-toggle="./games/roll.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="rollSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Dice Roll</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let your viewers role the dices and see if they get lucky.</p>
</div>
</form>
</div>
</div>
<!-- Gambling game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="gamblingToggle" data-game-toggle="./games/gambling.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="gamblingSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Gambling</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let your viewers gamble all of their points or get lucky and win big.</p>
</div>
</form>
</div>
</div>
<!-- Kill game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="killCommandToggle" data-game-toggle="./games/killCommand.js" checked>
<span class="slider round"></span>
</label>
<button type="button" id="killCommandSettings" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Kill Game</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let your viewers try to "kill" each other in chat without getting caught by the cops.</p>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<!-- 8ball game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="8ballToggle" data-game-toggle="./games/8ball.js" checked>
<span class="slider round"></span>
</label>
<button type="button" class="btn btn-md btn-box-tool disabled" data-toggle="tooltip" title="This module doesn't have any settings." style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg disabled"></i>
</button>
</div>
<h3 class="box-title">Magic 8-ball</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Have any questions? Ask the Magic 8-ball anything and it will guide you.</p>
</div>
</form>
</div>
</div>
<!-- Random game -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Module toggle.">
<input type="checkbox" id="randomToggle" data-game-toggle="./games/random.js" checked>
<span class="slider round"></span>
</label>
<button type="button" class="btn btn-md btn-box-tool" id="randomSettings" data-toggle="tooltip" style="margin-bottom: 7px;">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Random Command</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Let chat get weird real fast with random responses from the bot.</p>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- games -->
<script src="/panel/js/pages/games/games.js"></script>
</main>

View File

@@ -0,0 +1,104 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Auctions
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="auctionSystemModuleToggle" checked>
<span class="slider round"></span>
</label>
</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Giveaways</li>
<li class="active">Auction</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Poll menu -->
<div class="col-md-8">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Auction</h3>
</div>
<form role="form" id="auctionOptions">
<!-- Box content -->
<div class="box-body">
<!-- Minimum bet -->
<div class="form-group">
<label for="auction-bet">Minimum Bets</label>
<input type="number" min="1" class="form-control" id="auction-bet" value="1"
data-toggle="tooltip" title="Minimum bets people can place."/>
</div>
<!-- Increments -->
<div class="form-group">
<label for="auction-inc">Increments</label>
<input type="number" min="1" class="form-control" id="auction-inc" value="1"
data-toggle="tooltip" title="The increments people would use. 5 would allow bets like; 5, 10, 15, 20, 25."/>
</div>
<!-- Eligibility -->
<div class="form-group">
<label for="auction-perm">Eligibility</label>
<select class="form-control" id="auction-perm">
<option value="subscribers">Subscribers</option>
<option value="regulars">Regulars</option>
<option selected="selected" value="viewers">Everyone</option>
</select>
</div>
<!-- Timer -->
<div class="form-group">
<label for="auction-timer">Timer (Seconds)</label>
<input type="number" min="0" class="form-control" id="auction-timer" value="0"
data-toggle="tooltip" title="How long the auction should be opened for. 0 is until manually closed."/>
</div>
<!-- Show results -->
<div class="form-group" style="padding-top: 50px; text-align: center;">
<p style="font-size: 25px;"><b>Top Bidder:</b> <span style="font-size: 20px;" id="auction-top-bidder">PhantomBot</span>
<b><span style="margin-left: 10%;">Points:</span></b> <span style="font-size: 20px;" id="auction-points">0</span></p>
</div>
</div>
<!-- Footer with buttons -->
<div class="box-footer">
<div class="btn-toolbar pull-right">
<button class="btn btn-success" type="button" id="open-or-close-auction"><i class="fa fa-unlock-alt"></i>&nbsp; Open</button>
<button class="btn btn-danger" type="button" id="reset-auction"><i class="fa fa-trash"></i>&nbsp; Reset</button>
</div>
</div>
</form>
</div>
</div>
<!-- Twitch chat. -->
<div class="col-md-4">
<div id="twitch-chat-auction"></div>
</div>
</div>
</section>
<!-- auctions -->
<script src="/panel/js/pages/giveaways/auction.js"></script>
</main>

View File

@@ -0,0 +1,159 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<style>
.table>tbody>tr>th {
border: none !important;
}
</style>
<!-- Header -->
<section class="content-header">
<!-- Page title and switch toggle. -->
<h1>Raffle
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="raffleModuleToggle" checked>
<span class="slider round"></span>
</label>
</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Giveaways</li>
<li class="active">Raffle</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Left section -->
<div class="col-md-3" id="raffleTable">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Raffle List</h3>
</div>
<form role="form" id="raffleListModule">
<!-- Box content -->
<div class="box-body no-padding" style="height: 569px; overflow-x: auto; overflow-y: auto;">
<div id="raffle-list">
<table class="table table-hover table-custom" id="raffle-table" style="width: 100%;">
<tr>
<th style="width: 100%;">Username</th>
</tr>
</table>
</div>
</div>
</form>
</div>
</div>
<!-- Left section -->
<div class="col-md-6">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Raffle Options</h3>
<span class="pull-right">
<a href="javascript:void(0)" class="text-muted" data-toggle="tooltip" title="Raffle settings" id="raffle-settings">
<i class="fa fa-gears"></i>
</a>
</span>
</div>
<form role="form" id="raffleModal">
<!-- Box content -->
<div class="box-body" style="padding-bottom: 90px;">
<!-- Keyword -->
<div class="form-group">
<label for="raffle-keyword">Keyword</label>
<input type="text" class="form-control" id="raffle-keyword" placeholder="!enter"
data-toggle="tooltip" title="Keyword used to enter the raffle. This is not case sensitive."/>
</div>
<!-- Cost -->
<div class="row">
<div class="col-md-8">
<div class="form-group">
<label for="raffle-cost" id="raffle-cost-title">Cost</label>
<input type="text" class="form-control" id="raffle-cost" value="0"
data-toggle="tooltip" title="Cost required to enter the raffle. When using time, it will not be deducted from the user."/>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="raffle-req">Requirement</label>
<select class="form-control" id="raffle-req" data-toggle="tooltip" title="If the raffle system should use points or time.">
<option selected="selected" value="-usepoints">Points</option>
<option value="-usetime">Time</option>
</select>
</div>
</div>
</div>
<!-- Eligibility -->
<div class="form-group">
<label for="raffle-perm">Eligibility</label>
<select class="form-control" id="raffle-perm">
<option value="-subscribers">Subscribers</option>
<option value="-followers">Followers</option>
<option selected="selected" value="">Everyone</option>
</select>
</div>
<!-- Timer -->
<div class="form-group">
<label for="raffle-timer">Timer (Minutes)</label>
<input type="number" min="0" class="form-control" id="raffle-timer" value="0"
data-toggle="tooltip" title="How long the raffle should be opened for. 0 is until manually closed."/>
</div>
<!-- Regular luck -->
<div class="form-group">
<label for="raffle-reg">Regular Luck</label>
<input type="number" min="1" max="10" class="form-control" id="raffle-reg" value="1"
data-toggle="tooltip" title="How many more times a regular is likely to win."/>
</div>
<!-- Subscriber luck -->
<div class="form-group">
<label for="raffle-sub">Subscriber Luck</label>
<input type="number" min="1" max="10" class="form-control" id="raffle-sub" value="1"
data-toggle="tooltip" title="How many more times a subscriber is likely to win."/>
</div>
</div>
<!-- Footer with buttons -->
<div class="box-footer">
<div class="btn-toolbar pull-right">
<button class="btn btn-success" type="button" id="open-or-close-raffle"><i class="fa fa-unlock-alt"></i>&nbsp; Open</button>
<button class="btn btn-primary" type="button" id="draw-raffle"><i class="fa fa-trophy"></i>&nbsp; Draw</button>
<button class="btn btn-danger" type="button" id="reset-raffle"><i class="fa fa-trash"></i>&nbsp; Reset</button>
</div>
</div>
</form>
</div>
</div>
<!-- Right section -->
<div class="col-md-3" style="height: 610px;">
<div id="raffle-chat"></div>
</div>
</div>
</section>
<!-- raffle -->
<script src="/panel/js/pages/giveaways/raffle.js"></script>
</main>

View File

@@ -0,0 +1,146 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<style>
.table>tbody>tr>th {
border: none !important;
}
</style>
<!-- Header -->
<section class="content-header">
<!-- Page title and switch toggle. -->
<h1>Ticket Raffle
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="ticketRaffleModuleToggle" checked>
<span class="slider round"></span>
</label>
</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Giveaways</li>
<li class="active">Ticket Raffle</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Left section -->
<div class="col-md-3" id="ticketRaffleTable">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Ticket Raffle List</h3>
</div>
<form role="form" id="ticketRaffleListModule">
<!-- Box content -->
<div class="box-body no-padding" style="height: 569px; overflow-x: auto; overflow-y: auto;">
<div id="raffle-list">
<table class="table table-hover table-custom" id="ticket-raffle-table" style="width: 100%;">
<tr>
<th style="width: 80%;">Username</th>
<th style="width: 20%;">Tickets</th>
</tr>
</table>
</div>
</div>
</form>
</div>
</div>
<!-- Left section -->
<div class="col-md-6">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Ticket Raffle Options</h3>
<span class="pull-right">
<a href="javascript:void(0)" class="text-muted" data-toggle="tooltip" title="Ticket Raffle settings" id="ticket-raffle-settings">
<i class="fa fa-gears"></i>
</a>
</span>
</div>
<form role="form" id="ticketRaffleModal">
<!-- Box content -->
<div class="box-body" style="padding-bottom: 90px;">
<!-- Command -->
<div class="form-group">
<label for="ticket-raffle-cmd">Command</label>
<input id="ticket-raffle-cmd" type="text" class="form-control" value="!tickets"
data-toggle="tooltip" title="Command used to buy tickets. This cannot be changed." disabled/>
</div>
<!-- Eligibility -->
<div class="form-group">
<label for="ticket-raffle-perm">Eligibility</label>
<select class="form-control" id="ticket-raffle-perm">
<option value="-followers">Followers</option>
<option selected="selected" value="">Everyone</option>
</select>
</div>
<!-- Ticket cost -->
<div class="form-group">
<label for="ticket-raffle-cost">Ticket Cost</label>
<input type="text" class="form-control" id="ticket-raffle-cost" value="1"
data-toggle="tooltip" title="How much each ticket cost."/>
</div>
<!-- Maximum tickets -->
<div class="form-group">
<label for="ticket-raffle-max">Maximum Allowed Tickets</label>
<input type="text" class="form-control" id="ticket-raffle-max" value="100"
data-toggle="tooltip" title="How many tickets users are allowed to buy."/>
</div>
<!-- Regular luck -->
<div class="form-group">
<label for="ticket-raffle-reg">Regulars Ticket Multiplier</label>
<input type="number" min="1" max="10" class="form-control" id="ticket-raffle-reg" value="1"
data-toggle="tooltip" title="Ticket multiplier for regulars. Multiplies the number of tickets the users buys with this number."/>
</div>
<!-- Subscriber luck -->
<div class="form-group">
<label for="ticket-raffle-sub">Subscribers Ticket Multiplier</label>
<input type="number" min="1" max="10" class="form-control" id="ticket-raffle-sub" value="1"
data-toggle="tooltip" title="Ticket multiplier for susbcribers. Multiplies the number of tickets the users buys with this number."/>
</div>
</div>
<!-- Footer with buttons -->
<div class="box-footer">
<div class="btn-toolbar pull-right">
<button class="btn btn-success" type="button" id="ticket-open-or-close-raffle"><i class="fa fa-unlock-alt"></i>&nbsp; Open</button>
<button class="btn btn-primary" type="button" id="ticket-draw-raffle"><i class="fa fa-trophy"></i>&nbsp; Draw</button>
<button class="btn btn-danger" type="button" id="ticket-reset-raffle"><i class="fa fa-trash"></i>&nbsp; Reset</button>
</div>
</div>
</form>
</div>
</div>
<!-- Right section -->
<div class="col-md-3" style="height: 610px;">
<div id="ticket-raffle-chat"></div>
</div>
</div>
</section>
<!-- raffle -->
<script src="/panel/js/pages/giveaways/ticketRaffle.js"></script>
</main>

View File

@@ -0,0 +1,73 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Help</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Help</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-6">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">PhantomBot Information</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p><b>PhantomBot Version: </b><span id="panel-bot-version">Error</span></p>
<p><b>Operating System: </b><span id="panel-os-version">Error</span></p>
<p><b>Java Version: </b><span id="panel-java-version">Error</span></p>
<p><b>PhantomBot License: </b><a href="https://github.com/PhantomBot/PhantomBot/blob/master/LICENSE" target="_blank">GNU General Public License v3.0</a></p>
</div>
</form>
</div>
</div>
<div class="col-md-6">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Control Panel Information</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<!-- This is the version we give the panel -->
<p><b>Panel Version:</b> <span id="panel-version-number">Error</span></p>
<!-- This is the template name, this is static -->
<p><b>Panel Template: </b><a href="https://adminlte.io" target="_blank">AdminLTE</a></p>
<!-- We never update the template, so this is a static version -->
<p><b>Template Version: </b>2.4.0</p>
<!-- AdminLTE's license. -->
<p><b>AdminLTE License: </b><a href="https://github.com/almasaeed2010/AdminLTE/blob/master/LICENSE" target="_blank">MIT License</a></p>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- help.js -->
<script src="/panel/js/pages/help/help.js"></script>
</main>

View File

@@ -0,0 +1,57 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Overwrite styles -->
<style>
.dataTables_filter {
float: right;
text-align: right;
}
</style>
<!-- Header -->
<section class="content-header">
<h1>History</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>History</li>
<li class="active">Hosts</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Host History</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="hostHistoryTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- hostHistory -->
<script src="/panel/js/pages/history/hostHistory.js"></script>
</main>

View File

@@ -0,0 +1,71 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Overwrite styles -->
<style>
.dataTables_filter {
float: right;
text-align: right;
}
</style>
<!-- Header -->
<section class="content-header">
<h1>History</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>History</li>
<li class="active">Raids</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#incommingRaids" id="incommingRaids_t" data-toggle="tab">Incoming Raids</a></li>
<li><a href="#outgoingRaids" id="outgoingRaids_t" data-toggle="tab">Outgoing Raids</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="incommingRaids">
<form role="form">
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="raidHistoryTable" class="table table-bordered table-hover"></table>
</form>
</div>
<div class="tab-pane" id="outgoingRaids">
<form role="form">
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="outRaidHistoryTable" class="table table-bordered table-hover"></table>
</form>
</div>
</div>
</div>
</section>
<!-- raidHistory -->
<script src="/panel/js/pages/history/raidHistory.js"></script>
</main>

View File

@@ -0,0 +1,57 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Overwrite styles -->
<style>
.dataTables_filter {
float: right;
text-align: right;
}
</style>
<!-- Header -->
<section class="content-header">
<h1>History</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>History</li>
<li class="active">Tips</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Tips History</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="tipsHistoryTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- tipsHistory -->
<script src="/panel/js/pages/history/tipsHistory.js"></script>
</main>

View File

@@ -0,0 +1,55 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Keywords</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Keywords</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="keywordModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Keywords</h3>
</div>
<form role="form" id="keywordModule">
<!-- Box content -->
<div class="box-body">
<button class="btn btn-primary btn-sm pull-right" type="button" id="keywordadd-button"><i class="fa fa-plus"></i>&nbsp; Add Keyword</button>
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="keywordsTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- keywords -->
<script src="/panel/js/pages/keywords/keywords.js"></script>
</main>

View File

@@ -0,0 +1,409 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Currency
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="pointsModuleToggle" checked>
<span class="slider round"></span>
</label>
</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Loyalty</li>
<li class="active">Currency</li>
</ol>
</section>
<!-- Main content -->
<section class="content" id="pointsModule">
<div class="row">
<!-- Left section -->
<section class="col-lg-6">
<div class="row">
<!-- Currency settings -->
<div class="col-md-12">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active" id="main-settings"><a href="#loyalty_settings" data-toggle="tab" aria-expanded="true">Settings</a></li>
<li><a href="#loyalty_settings_adv" data-toggle="tab" aria-expanded="false">Advanced Settings</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="loyalty_settings">
<div class="row">
<!-- Points message -->
<div class="col-md-12">
<div class="form-group">
<label for="points-message">Currency Message</label>
<input type="text" class="form-control" id="points-message" data-toggle="tooltip"
title="Message said in chat when someone uses the !points command. Tags: (userprefix), (user), (points),
(pointsname), (pointsstring), (time), and (rank)"/>
</div>
</div>
</div>
<div class="row">
<!-- Points name single -->
<div class="col-md-6">
<div class="form-group">
<label for="points-name-single">Currency Name (Single)</label>
<input type="text" class="form-control" id="points-name-single" placeholder="Point" data-toggle="tooltip"
title="Name of your currency for single."/>
</div>
</div>
<!-- Points name multiple -->
<div class="col-md-6">
<div class="form-group">
<label for="points-name-multiple">Currency Name (Multiple)</label>
<input type="text" class="form-control" id="points-name-multiple" placeholder="Points" data-toggle="tooltip"
title="Name of your currency for multiple."/>
</div>
</div>
</div>
<div class="row">
<!-- online interval -->
<div class="col-md-6">
<div class="form-group">
<label for="points-interval-online">Payout Interval (Online)</label>
<input type="number" class="form-control" id="points-interval-online" placeholder="15" data-toggle="tooltip"
title="Online payout interval in minutes."/>
</div>
</div>
<!-- offline interval -->
<div class="col-md-6">
<div class="form-group">
<label for="points-interval-offline">Payout Interval (Offline)</label>
<input type="number" class="form-control" id="points-interval-offline" placeholder="10" data-toggle="tooltip"
title="Offline payout interval in minutes."/>
</div>
</div>
</div>
<div class="row">
<!-- online payout -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-online">Payout Amount (Online)</label>
<input type="number" class="form-control" id="points-payout-online" placeholder="10" data-toggle="tooltip" title="Online payout amount."/>
</div>
</div>
<!-- offline payout -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-offline">Payout Amount (Offline)</label>
<input type="number" class="form-control" id="points-payout-offline" placeholder="15" data-toggle="tooltip" title="Offline payout amount."/>
</div>
</div>
</div>
<div class="row">
<!-- Active bonus -->
<div class="col-md-6">
<div class="form-group">
<label for="points-active">Active Bonus</label>
<input type="number" class="form-control" id="points-active" placeholder="1" data-toggle="tooltip"
title="Amount of extra points active users get at each payout."/>
</div>
</div>
<!-- Top list amount -->
<div class="col-md-6">
<div class="form-group">
<label for="points-top">Top List Amount</label>
<input type="number" class="form-control" id="points-top" max="15" placeholder="5" data-toggle="tooltip"
title="Amount of users who show up in the top list. Max is 15."/>
</div>
</div>
</div>
</div>
<div class="tab-pane" id="loyalty_settings_adv">
<div class="row">
<!-- Caster payout online -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-caster-on">Caster Payout (Online)</label>
<input type="number" class="form-control" id="points-payout-caster-on" placeholder="1" data-toggle="tooltip"
title="Payout of for the caster group while online. -1 is default payout."/>
</div>
</div>
<!-- Caster payout offline -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-caster-off">Caster Payout (Offline)</label>
<input type="number" class="form-control" id="points-payout-caster-off" placeholder="5" data-toggle="tooltip"
title="Payout of for the caster group while offline. -1 is default payout."/>
</div>
</div>
</div>
<div class="row">
<!-- Caster payout online -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-administrator-on">Administrator Payout (Online)</label>
<input type="number" class="form-control" id="points-payout-administrator-on" placeholder="1" data-toggle="tooltip"
title="Payout of for the administrator group while online. -1 is default payout."/>
</div>
</div>
<!-- Caster payout offline -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-administrator-off">Administrator Payout (Offline)</label>
<input type="number" class="form-control" id="points-payout-administrator-off" placeholder="5" data-toggle="tooltip"
title="Payout of for the administrator group while offline. -1 is default payout."/>
</div>
</div>
</div>
<div class="row">
<!-- Caster payout online -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-moderator-on">Moderator Payout (Online)</label>
<input type="number" class="form-control" id="points-payout-moderator-on" placeholder="1" data-toggle="tooltip"
title="Payout of for the moderator group while online. -1 is default payout."/>
</div>
</div>
<!-- Caster payout offline -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-moderator-off">Moderator Payout (Offline)</label>
<input type="number" class="form-control" id="points-payout-moderator-off" placeholder="5" data-toggle="tooltip"
title="Payout of for the moderator group while offline. -1 is default payout."/>
</div>
</div>
</div>
<div class="row">
<!-- Caster payout online -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-subscriber-on">Subscriber Payout (Online)</label>
<input type="number" class="form-control" id="points-payout-subscriber-on" placeholder="1" data-toggle="tooltip"
title="Payout of for the subscriber group while online. -1 is default payout."/>
</div>
</div>
<!-- Caster payout offline -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-subscriber-off">Subscriber Payout (Offline)</label>
<input type="number" class="form-control" id="points-payout-subscriber-off" placeholder="5" data-toggle="tooltip"
title="Payout of for the subscriber group while offline. -1 is default payout."/>
</div>
</div>
</div>
<div class="row">
<!-- Caster payout online -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-donator-on">Donator Payout (Online)</label>
<input type="number" class="form-control" id="points-payout-donator-on" placeholder="1" data-toggle="tooltip"
title="Payout of for the donator group while online. -1 is default payout."/>
</div>
</div>
<!-- Caster payout offline -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-donator-off">Donator Payout (Offline)</label>
<input type="number" class="form-control" id="points-payout-donator-off" placeholder="5" data-toggle="tooltip"
title="Payout of for the donator group while offline. -1 is default payout."/>
</div>
</div>
</div>
<div class="row">
<!-- Caster payout online -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-regular-on">Regular Payout (Online)</label>
<input type="number" class="form-control" id="points-payout-regular-on" placeholder="1" data-toggle="tooltip"
title="Payout of for the regular group while online. -1 is default payout."/>
</div>
</div>
<!-- Caster payout offline -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-regular-off">Regular Payout (Offline)</label>
<input type="number" class="form-control" id="points-payout-regular-off" placeholder="5" data-toggle="tooltip"
title="Payout of for the regular group while offline. -1 is default payout."/>
</div>
</div>
</div>
<div class="row">
<!-- Caster payout online -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-viewer-on">Viewer Payout (Online)</label>
<input type="number" class="form-control" id="points-payout-viewer-on" placeholder="1" data-toggle="tooltip"
title="Payout of for the viewer group while online. -1 is default payout."/>
</div>
</div>
<!-- Caster payout offline -->
<div class="col-md-6">
<div class="form-group">
<label for="points-payout-viewer-off">Viewer Payout (Offline)</label>
<input type="number" class="form-control" id="points-payout-viewer-off" placeholder="5" data-toggle="tooltip"
title="Payout of for the viewer group while offline. -1 is default payout."/>
</div>
</div>
</div>
</div>
<!-- Box footer -->
<div class="box-footer" style="padding-right: 0; padding-bottom: 0;">
<button type="button" class="btn btn-primary pull-right" id="points-save-all"> Save</button>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Currency Penalty</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<!-- Username -->
<div class="form-group">
<label for="points-panalty-user">Username</label>
<input type="text" class="form-control" id="points-panalty-user" placeholder="PhantomBot" data-toggle="tooltip"
title="Username that won't gain points for the time given.">
</div>
<!-- Bonus Time -->
<div class="form-group">
<label for="points-panalty-time">Penalty Time (Minutes)</label>
<input type="number" class="form-control" id="points-panalty-time" placeholder="1" data-toggle="tooltip"
title="Minutes that the given user won't gain points for.">
</div>
</div>
<!-- Box footer -->
<div class="box-footer">
<button type="button" class="btn btn-primary pull-right" id="points-panalty-btn"> Submit</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Right section -->
<section class="col-lg-6">
<div class="row">
<div class="col-md-12">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Currency Manager</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<!-- Username -->
<div class="form-group">
<label for="points-username">Username</label>
<input type="text" class="form-control" id="points-username" placeholder="PhantomBot" data-toggle="tooltip" title="Username to edit the points for.">
</div>
<!-- Number of points -->
<div class="form-group">
<label for="points-username-points">Currency</label>
<div class="input-group input-group-md">
<input type="number" class="form-control" id="points-username-points" placeholder="0" data-toggle="tooltip" title="Amount of points the user will have.">
<span class="input-group-btn">
<button type="button" class="btn btn-success btn-flat" id="points-get-user" data-toggle="tooltip"
title="Get the user's points if they have any.">Get</button>
</span>
</div>
</div>
</div>
<!-- Box footer -->
<div class="box-footer">
<button type="button" class="btn btn-primary pull-right" id="points-save-user" data-toggle="tooltip" title="Save the user's points."> Save</button>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Currency Bonus</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<!-- Amount -->
<div class="form-group">
<label for="points-bonus-amount">Amount</label>
<input type="number" class="form-control" id="points-bonus-amount" placeholder="10">
</div>
<!-- Bonus Time -->
<div class="form-group">
<label for="points-bonus-time">Bonus Time (Minutes)</label>
<input type="number" class="form-control" id="points-bonus-time" placeholder="1" data-toggle="tooltip" title="Time that the bonus will last.">
</div>
</div>
<!-- Box footer -->
<div class="box-footer">
<div class="btn-toolbar pull-right">
<button type="button" class="btn btn-default" id="points-bonus-btn" data-toggle="tooltip"
title="Bonus amount of points to give at each payout. The bonus time box must have a value."> Bonus</button>
<button type="button" class="btn btn-default" id="points-makeitrain-btn" data-toggle="tooltip"
title="Make it rain a certain amount of points and gets devided with everyone in the channel."> Make it Rain</button>
<button type="button" class="btn btn-default" id="points-giveall-btn" data-toggle="tooltip"
title="Give points to everyone in the channel."> Give to All</button>
<button type="button" class="btn btn-default" id="points-takeall-btn" data-toggle="tooltip"
title="Take points from everyone in the channel."> Take from All</button>
</div>
</div>
</form>
</div>
</div>
</div>
</section>
</div>
</section>
<!-- currency -->
<script src="/panel/js/pages/loyalty/currency.js"></script>
</main>

View File

@@ -0,0 +1,70 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Leaderboard</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Loyalty</li>
<li class="active">Leaderboard</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Points leader board -->
<div class="col-md-6">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title" id="currency-top-title">Top Currency</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<button class="btn btn-primary btn-sm pull-right" type="button" id="currency-load-more"><i class="fa fa-undo"></i>&nbsp; Load More</button>
<table id="leaderboard-points" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</div>
<!-- Time leader board -->
<div class="col-md-6">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title" id="loyalty-top-title">Top Loyalty</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<button class="btn btn-primary btn-sm pull-right" type="button" id="loyalty-load-more"><i class="fa fa-undo"></i>&nbsp; Load More</button>
<table id="leaderboard-time" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- highlights -->
<script src="/panel/js/pages/loyalty/leaderboard.js"></script>
</main>

View File

@@ -0,0 +1,163 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Loyalty</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Loyalty</li>
<li class="active">Loyalty</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Left section -->
<section class="col-lg-6">
<div class="row">
<!-- Loyalty Settings -->
<div class="col-md-12">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Loyalty Settings</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<div class="form-group">
<label>Configure Time Zone (<a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones" target="_blank">list</a>)</label>
<input type="text" class="form-control" id="loyalty-timezone" data-toggle="tooltip"
title="Timezone the bot should use when calculating time."/>
</div>
<!-- Add offline time to user -->
<div class="form-group">
<label for="time-offline">Accumulate User Time Offline</label>
<div class="dropdown">
<select class="form-control" id="time-offline" style="cursor: pointer;">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
<div class="row">
<!-- Auto add users to regulars -->
<div class="col-md-6">
<div class="form-group">
<label for="time-promote">Auto Promote Users to Regulars</label>
<div class="dropdown">
<select class="form-control" id="time-promote" style="cursor: pointer;">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
</div>
<!-- Say something in chat when auto promoted. -->
<div class="col-md-6">
<div class="form-group">
<label for="time-promote-notice">Announce in Chat When Auto Promotion</label>
<div class="dropdown">
<select class="form-control" id="time-promote-notice" style="cursor: pointer;">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<!-- Regular promotion hours -->
<div class="col-md-6">
<div class="form-group">
<label>Regular Promotion (Hours)</label>
<input type="number" class="form-control" id="loyalty-promotion" placeholder="15" data-toggle="tooltip"
title="How many hours it takes before a user gets promoted to a regular."/>
</div>
</div>
<!-- Top list.-->
<div class="col-md-6">
<div class="form-group">
<label>Top Time List Amount</label>
<input type="number" class="form-control" id="loyalty-top" max="15" data-toggle="tooltip"
title="How many users will show up in the !toptime command. Max is 15 users."/>
</div>
</div>
</div>
</div>
<!-- Box footer -->
<div class="box-footer">
<button type="button" class="btn btn-primary pull-right" id="loyalty-save-all"> Save</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Right section -->
<section class="col-lg-6">
<div class="row">
<div class="col-md-12">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Loyalty Manager</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<!-- Username -->
<div class="form-group">
<label>Username</label>
<input type="text" class="form-control" id="time-username" placeholder="PhantomBot" data-toggle="tooltip" title="Username to edit the time for.">
</div>
<!-- Number of points -->
<div class="form-group">
<label>Time (Seconds)</label>
<div class="input-group input-group-md">
<input type="number" class="form-control" id="time-username-time" placeholder="0" data-toggle="tooltip" title="Amount of time the user will have.">
<span class="input-group-btn">
<button type="button" class="btn btn-success btn-flat" id="time-get-user" data-toggle="tooltip"
title="Get the user's time if they have any.">Get</button>
</span>
</div>
</div>
</div>
<!-- Box footer -->
<div class="box-footer">
<button type="button" class="btn btn-primary pull-right" id="time-save-user" data-toggle="tooltip" title="Save the user's time."> Save</button>
</div>
</form>
</div>
</div>
</div>
</section>
</div>
</section>
<!-- loyalty -->
<script src="/panel/js/pages/loyalty/loyalty.js"></script>
</main>

View File

@@ -0,0 +1,51 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Blacklist</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Moderation</li>
<li class="active">Blacklist</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Blacklist</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<button class="btn btn-primary btn-sm pull-right" type="button" id="add-blacklist-button"><i class="fa fa-plus"></i>&nbsp; Add Blacklist</button>
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="blacklistTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- blacklist -->
<script src="/panel/js/pages/moderation/blacklist.js"></script>
</main>

View File

@@ -0,0 +1,272 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Moderation</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Moderation</li>
<li class="active">Filters</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<!-- Links filder -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Filter toggle.">
<input type="checkbox" id="filter-links" data-filter="linksToggle">
<span class="slider round"></span>
</label>
<button type="button" id="filter-links-btn" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;" data-toggle="tooltip" title="Filter settings.">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Links Filter</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Removes messages that contains links that aren't whitelisted.</p>
</div>
</form>
</div>
</div>
<!-- Caps filter -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Filter toggle.">
<input type="checkbox" id="filter-caps" data-filter="capsToggle">
<span class="slider round"></span>
</label>
<button type="button" id="filter-caps-btn" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;" data-toggle="tooltip" title="Filter settings.">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Caps Filter</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Removes messages that are mostly all capital letters.</p>
</div>
</form>
</div>
</div>
<!-- Symbols filter -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Filter toggle.">
<input type="checkbox" id="filter-symbols" data-filter="symbolsToggle">
<span class="slider round"></span>
</label>
<button type="button" id="filter-symbols-btn" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;" data-toggle="tooltip" title="Filter settings.">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Symbols Filter</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Removes messages that have too many symbols.</p>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<!-- Spam filter -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Filter toggle.">
<input type="checkbox" id="filter-spam" data-filter="spamToggle">
<span class="slider round"></span>
</label>
<button type="button" id="filter-spam-btn" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;" data-toggle="tooltip" title="Filter settings.">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Spam Filter</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Removes messages that have a lot of repeating charaters.</p>
</div>
</form>
</div>
</div>
<!-- Emotes filter -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Filter toggle.">
<input type="checkbox" id="filter-emotes" data-filter="emotesToggle">
<span class="slider round"></span>
</label>
<button type="button" id="filter-emotes-btn" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;" data-toggle="tooltip" title="Filter settings.">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Emotes Filter</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Removes messages that are mostly all emotes.</p>
</div>
</form>
</div>
</div>
<!-- Me filter -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Filter toggle.">
<input type="checkbox" id="filter-me" data-filter="colorsToggle">
<span class="slider round"></span>
</label>
<button type="button" id="filter-me-btn" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;" data-toggle="tooltip" title="Filter settings.">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Me Filter</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Removes messages that are colored with the <code>/me</code> command.</p>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<!-- Message Length filter -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Filter toggle.">
<input type="checkbox" id="filter-messages" data-filter="longMessageToggle">
<span class="slider round"></span>
</label>
<button type="button" id="filter-msglen-btn" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;" data-toggle="tooltip" title="Filter settings.">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Paragraph Filter</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Removes messages that are too long.</p>
</div>
</form>
</div>
</div>
<!-- Fake Purge filter -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Filter toggle.">
<input type="checkbox" id="filter-purges" data-filter="fakePurgeToggle">
<span class="slider round"></span>
</label>
<button type="button" id="filter-purges-btn" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;" data-toggle="tooltip" title="Filter settings.">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">Fake Purge Filter</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Removes messages that are a fake purge (<code>&lt;message deleted&gt;</code> variations).</p>
</div>
</form>
</div>
</div>
<!-- Spam Tracker filter -->
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header with-border">
<div class="box-tools pull-right">
<label class="switch" data-toggle="tooltip" title="Filter toggle.">
<input type="checkbox" id="filter-tracker" data-filter="spamTrackerToggle">
<span class="slider round"></span>
</label>
<button type="button" id="filter-tracker-btn" class="btn btn-md btn-box-tool" style="margin-bottom: 7px;" data-toggle="tooltip" title="Filter settings.">
<i class="fa fa-cog fa-lg"></i>
</button>
</div>
<h3 class="box-title">User Moderation</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<p class="auto-cut">Manage how many messages a user can send in a time frame.</p>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- filters -->
<script src="/panel/js/pages/moderation/filters.js"></script>
</main>

View File

@@ -0,0 +1,51 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Moderation</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Moderation</li>
<li class="active">Whitelist</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Whitelist</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<button class="btn btn-primary btn-sm pull-right" type="button" id="add-whitelist-button"><i class="fa fa-plus"></i>&nbsp; Add Whitelist</button>
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="whitelistTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- whitelist -->
<script src="/panel/js/pages/moderation/whitelist.js"></script>
</main>

View File

@@ -0,0 +1,50 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Permissions</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Permissions</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">User Permissions</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<button class="btn btn-primary btn-sm pull-right" type="button" id="add-permissions-button"><i class="fa fa-user"></i>&nbsp; Set User Permission</button>
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading, this could take time...</p>
</div>
<table id="permissionsTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- permissions -->
<script src="/panel/js/pages/permissions/permissions.js"></script>
</main>

View File

@@ -0,0 +1,63 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Quotes</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Quotes</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="quotesModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Quotes</h3>
</div>
<form role="form" id="quotesModule">
<!-- Box content -->
<div class="box-body">
<div class="btn-toolbar pull-right">
<button class="btn btn-primary btn-sm" type="button" id="add-quote-button"><i class="fa fa-plus"></i>&nbsp; Add Quote</button>
<button class="btn btn-primary btn-sm" type="button" id="quote-settings-button"><i class="fa fa-cog"></i>&nbsp; Settings</button>
</div>
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="quotesTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- quotes -->
<script src="/panel/js/pages/quotes/quotes.js"></script>
</main>

View File

@@ -0,0 +1,63 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Custom Ranks</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Ranking</li>
<li class="active">Custom Ranks</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="ranksCustomModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Custom User Ranks</h3>
</div>
<form role="form" id="ranksCustomModule">
<!-- Box content -->
<div class="box-body">
<div class="btn-toolbar pull-right">
<button class="btn btn-primary btn-sm" type="button" id="rank-user-button"><i class="fa fa-user"></i>&nbsp; Set User Rank</button>
<button class="btn btn-primary btn-sm" type="button" id="rank-settings-button"><i class="fa fa-cog"></i>&nbsp; Settings</button>
</div>
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="ranksCustomTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- ranking -->
<script src="/panel/js/pages/ranking/customRanks.js"></script>
</main>

View File

@@ -0,0 +1,60 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Global Ranks</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Ranking</li>
<li class="active">Global Ranks</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="ranksModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Global Ranks</h3>
</div>
<form role="form" id="ranksModule">
<!-- Box content -->
<div class="box-body">
<button class="btn btn-primary btn-sm pull-right" type="button" id="add-rank-button"><i class="fa fa-plus"></i>&nbsp; Add Rank</button>
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="ranksTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- ranking -->
<script src="/panel/js/pages/ranking/globalRanks.js"></script>
</main>

View File

@@ -0,0 +1,130 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<!-- Page title.-->
<h1>Bot Settings</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Settings</li>
<li class="active">Bot</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#bot_logging" data-toggle="tab">Logging</a></li>
<li><a href="#bot_out" data-toggle="tab">Message Output</a></li>
</ul>
<div class="tab-content">
<!-- Logging settings -->
<div class="tab-pane active" id="bot_logging">
<div class="form-group">
<!-- Log events toggle. -->
<label for="logging-events">Log Events</label>
<div class="dropdown">
<select class="form-control" id="logging-events" style="cursor: pointer;">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
<!-- Log errors toggle. -->
<div class="form-group">
<label for="logging-errors">Log Errors</label>
<div class="dropdown">
<select class="form-control" id="logging-errors" style="cursor: pointer;">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
<!-- Log chat toggle. -->
<div class="form-group">
<label for="logging-chat">Log Chat</label>
<div class="dropdown">
<select class="form-control" id="logging-chat" style="cursor: pointer;">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
<!-- Logs keep days. -->
<div class="form-group">
<label>Days to Keep Logs</label>
<input type="number" class="form-control" id="log-days" placeholder="15" data-toggle="tooltip"
title="How long in days to keep logs for. 0 means never delete logs."/>
</div>
</div>
<!-- Output mode -->
<div class="tab-pane" id="bot_out">
<!-- Whisper mode. -->
<div class="form-group">
<label>Enable Whisper Mode</label>
<div class="dropdown">
<select class="form-control" id="bot-whisper-mode" style="cursor: pointer;" data-toggle="tooltip"
title="Send all responses in whispers except for custom commands.">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
<!-- Action mode. -->
<div class="form-group">
<label>Enable Action Mode</label>
<div class="dropdown">
<select class="form-control" id="bot-action-mode" style="cursor: pointer;" data-toggle="tooltip"
title="Send all bot messages using colored text with /me.">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
<!-- Mute mode. -->
<div class="form-group">
<label>Mute Bot Replies</label>
<div class="dropdown">
<select class="form-control" id="bot-mute-mode" style="cursor: pointer;" data-toggle="tooltip"
title="Mute all bot replies except for timeouts.">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
</div>
<!-- Box footer -->
<div class="box-footer" style="padding-right: 0; padding-bottom: 0;">
<button type="button" class="btn btn-primary pull-right" id="bot-logging-save"> Save</button>
</div>
</div>
</div>
</section>
<!-- botSettings -->
<script src="/panel/js/pages/settings/botSettings.js"></script>
</main>

View File

@@ -0,0 +1,125 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<!-- Page title.-->
<h1>Command Settings</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Settings</li>
<li class="active">Commands</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#cmd_settings_messages" data-toggle="tab">Warning Messages</a></li>
<li><a href="#cmd_settings_mods" data-toggle="tab">Moderator Exceptions</a></li>
<li><a href="#cmd_settings_cooldown" data-toggle="tab">Cooldown</a></li>
</ul>
<div class="tab-content">
<!-- Command Messages -->
<div class="tab-pane active" id="cmd_settings_messages">
<div class="form-group">
<!-- Pricecom toggle. -->
<label for="cmd-cost-messages">Enable Cost Messages</label>
<div class="dropdown">
<select class="form-control" id="cmd-cost-messages" style="cursor: pointer;" data-toggle="tooltip"
title="If a message should be said in a chat when a user tries to use a command that they don't have points for.">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
<div class="form-group">
<!-- Permcom toggle. -->
<label for="cmd-perm-messages">Enable Permission Messages</label>
<div class="dropdown">
<select class="form-control" id="cmd-perm-messages" style="cursor: pointer;" data-toggle="tooltip"
title="If a message should be said in a chat when a user tries to use a command that they don't have permission for.">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
<div class="form-group">
<!-- Permcom toggle. -->
<label for="cmd-cooldown-messages">Enable Cooldown Messages</label>
<div class="dropdown">
<select class="form-control" id="cmd-cooldown-messages" style="cursor: pointer;" data-toggle="tooltip"
title="If a message should be said in a chat when a user tries to use a command that's still on cooldown.">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
</div>
<!-- Command Moderators Exeptions. -->
<div class="tab-pane" id="cmd_settings_mods">
<div class="form-group">
<!-- Pricecom mods toggle. -->
<label for="pricecom-mods">Exempt Moderators From Command Costs</label>
<div class="dropdown">
<select class="form-control" id="pricecom-mods" style="cursor: pointer;" data-toggle="tooltip"
title="If moderators should also pay for commands with a cost. Bot administrators are always ignored.">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
<div class="form-group">
<!-- Cooldown for mods. -->
<label for="cooldown-mods">Exempt Moderators From Command Cooldowns</label>
<div class="dropdown">
<select class="form-control" id="cooldown-mods" style="cursor: pointer;" data-toggle="tooltip"
title="If moderators should also have command cooldowns.">
<option>Yes</option>
<option>No</option>
</select>
</div>
</div>
</div>
<!-- Command Cooldown -->
<div class="tab-pane" id="cmd_settings_cooldown">
<!-- Logs keep days. -->
<div class="form-group">
<label for="global-cooldown">Global Cooldown (Seconds)</label>
<input type="number" class="form-control" id="global-cooldown" data-toggle="tooltip"
title="Cooldown given to commands that don't have a custom cooldown. Minimum is 5 seconds."/>
</div>
</div>
<!-- Box footer -->
<div class="box-footer" style="padding-right: 0; padding-bottom: 0;">
<button type="button" class="btn btn-primary pull-right" id="cmd-save-btn"> Save</button>
</div>
</div>
</div>
</section>
<!-- moduleList -->
<script src="/panel/js/pages/settings/commandSettings.js"></script>
</main>

View File

@@ -0,0 +1,52 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Settings</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Localization</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">Localization</h3>
</div>
<form role="form">
<!-- Box content -->
<div class="box-body">
<div class="btn-toolbar pull-right">
<button class="btn btn-success btn-sm" type="button" id="save-button" data-toggle="tooltip"
title="Save this current lang file." disabled><i class="fa fa-save"></i>&nbsp; Save</button>
<button class="btn btn-warning btn-sm" type="button" id="add-line-button"
data-toggle="tooltip" title="Add a new lang entry to this file." disabled><i class="fa fa-plus"></i>&nbsp; Add Line</button>
<button class="btn btn-primary btn-sm" type="button" id="load-file-button" data-toggle="tooltip"
title="Load a lang file to edit."><i class="fa fa-edit"></i>&nbsp; Edit File</button>
</div>
<table id="langTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- localization -->
<script src="/panel/js/pages/settings/localization.js"></script>
</main>

View File

@@ -0,0 +1,61 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Overwrite styles -->
<style>
.dataTables_filter {
float: right;
text-align: right;
}
</style>
<!-- Header -->
<section class="content-header">
<!-- Page title.-->
<h1>Bot Modules</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li>Settings</li>
<li class="active">Modules</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#twitch_modules" data-toggle="tab">Twitch</a></li>
<li><a href="#discord_modules" id="discord_modules_t" data-toggle="tab">Discord</a></li>
</ul>
<div class="tab-content">
<!-- Twitch Modules -->
<div class="tab-pane active" id="twitch_modules">
<table id="twitchModuleTable" class="table table-bordered table-hover"></table>
</div>
<!-- Discord Modules -->
<div class="tab-pane" id="discord_modules">
<table id="discordModuleTable" class="table table-bordered table-hover"></table>
</div>
</div>
</div>
</section>
<!-- moduleList -->
<script src="/panel/js/pages/settings/moduleList.js"></script>
</main>

View File

@@ -0,0 +1,58 @@
<!--
Copyright (C) 2016-2020 phantombot.github.io/PhantomBot
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<main>
<!-- Header -->
<section class="content-header">
<h1>Timers</h1>
<ol class="breadcrumb">
<li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Timers</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<label class="switch" data-toggle="tooltip" title="Module toggle">
<input type="checkbox" id="noticesModuleToggle" checked>
<span class="slider round"></span>
</label>
<h3 class="box-title">Timers</h3>
</div>
<form role="form" id="noticesModule">
<!-- Box content -->
<div class="box-body">
<div class="btn-toolbar pull-right">
<button class="btn btn-primary btn-sm" type="button" id="add-timer-button"><i class="fa fa-plus"></i>&nbsp; Add Timer</button>
<button class="btn btn-primary btn-sm" type="button" id="timer-settings-button"><i class="fa fa-cog"></i>&nbsp; Settings</button>
</div>
<div class="load-ajax">
<div class="spinner"></div>
<p class="load-ajax-text">Loading...</p>
</div>
<table id="timersTable" class="table table-bordered table-hover"></table>
</div>
</form>
</div>
</section>
<!-- timers -->
<script src="/panel/js/pages/timers/timers.js"></script>
</main>