WIP button functionality (download, delete)

This commit is contained in:
FinnHornhoover
2023-09-19 00:49:31 +03:00
parent ec0fc87dcd
commit 01e329e621
7 changed files with 36039 additions and 26 deletions

View File

@@ -108,6 +108,18 @@
</button>
</div>
<div class="col-4 d-inline-flex justify-content-end">
<button
class="btn btn-primary mr-1"
data-toggle="modal"
data-bs-tooltip=""
data-placement="bottom"
id="of-editcache-button"
type="button"
title="Edit Cache Storage"
data-target="#of-editcacheconfigmodal"
>
<i class="fas fa-cog"></i>
</button>
<button
class="btn btn-primary disabled"
id="of-connect-button"
@@ -443,6 +455,45 @@
</div>
</div>
</div>
<div
class="modal fade"
role="dialog"
id="of-editcacheconfigmodal"
>
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Edit Cache Config</h4>
<button
type="button"
class="close"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div
class="table-responsive text-center border rounded border-primary"
id="cache-table"
>
<table class="table table-striped table-hover mb-0">
<thead>
<tr>
<th>Game Version</th>
<th>Game Cache</th>
<th>Offline Cache</th>
</tr>
</thead>
<tbody id="cache-tablebody">
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div id="of-versionnumberdiv">
<a
id="of-versionnumber"