68 lines
2.5 KiB
HTML
68 lines
2.5 KiB
HTML
|
<!--
|
||
|
/**
|
||
|
* /tester.html
|
||
|
* @version 1.2
|
||
|
* @desc The actual test solver
|
||
|
* @note Not a standalone, runnable file.
|
||
|
* @author Fándly Gergő Zoltán (gergo@systemtest.tk, systemtest.tk)
|
||
|
* @copy 2017 Fándly Gergő Zoltán
|
||
|
* License:
|
||
|
sQuiz for creating small jQuery based quizs in an implementable way
|
||
|
Copyright (C) 2017 Fándly Gergő Zoltán
|
||
|
|
||
|
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 <https://www.gnu.org/licenses/>.
|
||
|
**/
|
||
|
-->
|
||
|
|
||
|
<button id="back" type="button" onclick="window.history.back()"><i class="fa fa-arrow-left" aria-hidden="true"></i> {{back}}</button>
|
||
|
<button type="button" onclick="screenfull.toggle()"><i class="fa fa-expand"></i></button>
|
||
|
<br>
|
||
|
<br>
|
||
|
<div id="menuwrapper">
|
||
|
<hr class="placeholder" style="height: 20vh">
|
||
|
<div id="menu" class="menu">
|
||
|
<button type="button" class="big" onclick="loadFromList()">{{fromlist}}</button>
|
||
|
<button type="button" class="big" onclick="loadFromFile()">{{uploadtest}}</button>
|
||
|
<button type="button" class="big" onclick="loadFromURL()">{{fromurl}}</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="list" class="container center" style="text-align: left; display: none">
|
||
|
<table class="center">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>{{id}}</th>
|
||
|
<th>{{name}}</th>
|
||
|
<th>{{desc}}</th>
|
||
|
<th>{{solve}}</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody id="listcontent">
|
||
|
<!-- list content -->
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div id="fromfile" class="container center" style="display: none">
|
||
|
<input type="file" name="testfile" accept="text/json">
|
||
|
<br>
|
||
|
<button type="button" onclick="openQuizFromFile()">{{solve}}</button>
|
||
|
</div>
|
||
|
<div id="fromurl" class="container center" style="display: none">
|
||
|
<input type="text" name="testurl">
|
||
|
<br>
|
||
|
<button type="button" onclick="openQuizFromURL()">{{solve}}</button>
|
||
|
</div>
|
||
|
<div id="sQuiz" style="display: none">
|
||
|
<!-- Quiz goes here -->
|
||
|
</div>
|