mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-14 00:44:23 -05:00
Set active tab to Uniqueitems. header.php, set uniqueitems to first tab active.
ajax/uniqueitems.php, add save/delete functionality app.js, handle save/delete calls src/tabs/optionsubmit.php, add delete button tabs/UniqueItems.php remove form action Ajax save, and delete working.
This commit is contained in:
@@ -107,13 +107,13 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<form action="/saveD2ModderEditorData.php" method="post">
|
||||
<form class="uniqueform" action="" method="post">
|
||||
<div class="form-group row">
|
||||
|
||||
<div class="col-2" style="background: #fec;">
|
||||
<p>Index</p>
|
||||
<div class="input-group">
|
||||
<input name="index" type="text" aria-describedby="indexHelpBlock" required="required" class="form-control">
|
||||
<input name="index" type="text" aria-describedby="indexHelpBlock" required="required" class="form-control input-uindex">
|
||||
</div><span class="help"><i class="fa fa-question-circle" aria-hidden="true"></i>
|
||||
</span>
|
||||
<span class="form-text">Index: the ID pointer that is referenced by the game in TreasureClassEx.txt and CubeMain.txt, this column also contains the string-key used in the TBL files.</span>
|
||||
|
@@ -1,6 +1,15 @@
|
||||
<div class="row options" style="background: none;">
|
||||
<div class="offset-10 col-2" style="background: none;">
|
||||
<button style="" name="submit" type="submit" class="btn btn-success">SAVE</button>
|
||||
<button name="submit" type="reset" class="btn btn-danger">CLEAR</button>
|
||||
<button name="submit" type="submit" class="btn btn-success btn-save">SAVE</button>
|
||||
<button name="submit" type="reset" class="btn btn-warning btn-clear">CLEAR</button>
|
||||
<button name="submit" type="submit" class="btn btn-danger btn-delete">DELETE</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--<div class="row options" style="background: none;">
|
||||
<div class="offset-10 col-2" style="background: none;">
|
||||
<a href="" name="submit" type="submit" class="btn btn-success btn-save">SAVE</a>
|
||||
<button name="submit" type="reset" class="btn btn-warning btn-clear">CLEAR</button>
|
||||
<a href="" name="submit" class="btn btn-danger btn-delete">DELETE</a>
|
||||
</div>
|
||||
</div>-->
|
Reference in New Issue
Block a user