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,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>