62 lines
2.6 KiB
HTML
62 lines
2.6 KiB
HTML
<!--
|
|
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> 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> 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>
|