mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 16:34:23 -05:00
Latest working copy. GUI cleanup. Need to do inputs, outputs, in cube, type codes and etc. need rendering
This commit is contained in:
@@ -49,7 +49,8 @@
|
||||
?>
|
||||
|
||||
<body>
|
||||
<div class="container container-top bg_grad">
|
||||
<div class="container container-top bg_grad">
|
||||
<div style="">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
|
||||
@@ -62,10 +63,10 @@
|
||||
<li class="nav-item" role="presentation">
|
||||
<a class="nav-link active" id="Unique-tab" data-toggle="tab" href="#Unique" role="tab" aria-controls="Unique" aria-selected="true">Unique Items</a>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
<!-- <li class="nav-item" role="presentation">
|
||||
<a class="nav-link" id="Set-tab" data-toggle="tab" href="#Set" role="tab" aria-controls="Set" aria-selected="false">Set Items</a>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
</li>-->
|
||||
<!-- <li class="nav-item" role="presentation">
|
||||
<a class="nav-link" id="Gem-tab" data-toggle="tab" href="#Gem" role="tab" aria-controls="Set" aria-selected="false">Gems</a>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
@@ -73,7 +74,13 @@
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
<a class="nav-link" id="Cube-tab" data-toggle="tab" href="#Cube" role="tab" aria-controls="Set" aria-selected="false">Cube</a>
|
||||
</li>
|
||||
</li>
|
||||
-->
|
||||
|
||||
<li class="nav-item" role="presentation">
|
||||
<a class="nav-link" id="Doc-tab" data-toggle="tab" href="#Doc" role="tab" aria-controls="Doc" aria-selected="false">Documentation Generator</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item" role="presentation">
|
||||
<a class="nav-link" id="Debug-tab" data-toggle="tab" href="#Debug" role="tab" aria-controls="Set" aria-selected="false">Debug</a>
|
||||
</li>
|
||||
@@ -87,17 +94,23 @@
|
||||
<div class="tab-pane fade" id="Set" role="tabpanel" aria-labelledby="Set-tab">
|
||||
<?php require_once 'tabs/SetItems.php'; ?>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="Gem" role="tabpanel" aria-labelledby="Gem-tab">
|
||||
<?php require_once 'tabs/Gems.php'; ?>
|
||||
<!-- <div class="tab-pane fade" id="Gem" role="tabpanel" aria-labelledby="Gem-tab">
|
||||
<?php //require_once 'tabs/Gems.php'; ?>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="Runewords" role="tabpanel" aria-labelledby="Runewords-tab">
|
||||
<?php require_once 'tabs/Runewords.php'; ?>
|
||||
<?php //require_once 'tabs/Runewords.php'; ?>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="Cube" role="tabpanel" aria-labelledby="Cube-tab">
|
||||
<?php require_once 'tabs/Cube.php'; ?>
|
||||
</div>
|
||||
<?php //require_once 'tabs/Cube.php'; ?>
|
||||
</div>-->
|
||||
|
||||
<div class="tab-pane fade" id="Doc" role="tabpanel" aria-labelledby="Doc-tab">
|
||||
<?php require_once 'tabs/Doc.php'; ?>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="Debug" role="tabpanel" aria-labelledby="Debug-tab">
|
||||
<?php require_once 'tabs/Debug.php'; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
@@ -41,13 +41,15 @@
|
||||
|
||||
*/
|
||||
?>
|
||||
<div style="text-align: center; margin-top: 40px;">
|
||||
<h1>The Horadric Processor</h1>
|
||||
<div style="text-align: center; margin-top: 20px;">
|
||||
<h1>Cube Recipe Browser</h1>
|
||||
<div class="container">
|
||||
<div class="form-group row">
|
||||
<div class="" style="text-align: center; margin: 0 auto;">
|
||||
<a style="padding: 20px; margin-top: 60px; text-align: center;" target="_blank" href="/genDocs.php?cmd=genDocCube" class=""><img class="" src="/img/horadric_cube.png"></a>
|
||||
<a style="padding: 20px; margin-top: 60px; text-align: center;" target="_blank" href="/genDocs.php?cmd=genDocCube" class="">
|
||||
<img style="height: 100px;" class="img-fluid" src="/img/horadric_cube.png"></a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn btn-warning" target="_blank" href="/genDocs.php?cmd=genDocCube">Generate</a>
|
||||
</div>
|
||||
</div>
|
27
src/tabs/Doc.php
Normal file
27
src/tabs/Doc.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<div class="Doc-container">
|
||||
|
||||
<div style="text-align: center; padding: 10px; margin-top: 20px;" class="Doc-UniqueItems">
|
||||
<h1>Unique Item Browser</h1>
|
||||
<div class="container">
|
||||
<div class="form-group row">
|
||||
<div class="" style="text-align: center; margin: 0 auto;">
|
||||
<a style="margin-top: 20px; text-align: center;" target="_blank" href="/genDocs.php?cmd=genDocUniqueItems" class="">
|
||||
<img style="height: 100px;" class="img-fluid" src="/img/weapon.png">
|
||||
<img style="height: 100px;" class="img-fluid" src="/img/armor.png">
|
||||
<img style="height: 100px;" class="img-fluid" src="/img/shield.png">
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn btn-warning" target="_blank" href="/genDocs.php?cmd=genDocUniqueItems">Generate</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="Doc-Gems"><?php require_once "Gems.php"; ?></div>
|
||||
<div class="Doc-Cube"><?php require_once "Cube.php"; ?></div>
|
||||
<div class="Doc-Runes"><?php require_once "Runewords.php"; ?></div>
|
||||
|
||||
|
||||
|
||||
</div>
|
@@ -41,15 +41,16 @@
|
||||
|
||||
*/
|
||||
?>
|
||||
<div style="text-align: center; margin: 40px; ">
|
||||
<h1>Gem Viewer</h1>
|
||||
<div style="text-align: center; margin: 20px; ">
|
||||
<h1>Gem & Runes Browser</h1>
|
||||
<div class="container">
|
||||
<div class="form-group row">
|
||||
<div class="col center">
|
||||
<a target="_blank" href="/genDocs.php?cmd=genDocGems">
|
||||
<img src="/img/gems.png">
|
||||
<img style="width: 420px;" class="img-fluid" src="/img/gems.png">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn btn-warning" target="_blank" href="/genDocs.php?cmd=genDocGems">Generate</a>
|
||||
</div>
|
||||
</div>
|
@@ -41,15 +41,16 @@
|
||||
|
||||
*/
|
||||
?>
|
||||
<div style="text-align: center; margin: 40px; ">
|
||||
<div style="text-align: center; margin: 20px; ">
|
||||
<h1>Runeword Browser</h1>
|
||||
<div class="container">
|
||||
<div class="form-group row">
|
||||
<div class="col center">
|
||||
<a target="_blank" href="/genDocs.php?cmd=genDocRunewords">
|
||||
<img src="https://assets.maxroll.gg/wordpress/d2r-runes.jpg">
|
||||
<img class="img-fluid" src="/img/runewords.png" style="height: 100px; ">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn btn-warning" target="_blank" href="/genDocs.php?cmd=genDocRunewords">Generate</a>
|
||||
</div>
|
||||
</div>
|
@@ -85,8 +85,8 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<button style="margin: 20px;" class="btn btn-warning btnDebug">Debug Info</button>
|
||||
<button style="margin: 20px;" class="btn btn-info btnDocs">Generate Docs Info</button>
|
||||
<button style="margin: 20px;" class="btn btn-danger btnDebug">Debug Info</button>
|
||||
<!-- <button style="margin: 20px;" class="btn btn-info btnDocs">Generate Docs Info</button>-->
|
||||
<pre class="debug_preview" style="display:none; background: #eee; height: 420px;width: 1123px;"></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user