mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 07:04:52 +09:00
Add web_root option to the master server and use it create URLs for resources hosted by it. This permits hosting the master server web interface behind reverse proxy under a dedicated path.
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
<!doctype HTML>
|
|
<head>
|
|
<%- include("head") %>
|
|
<script defer src="<%= locals.root %>subspace_storage/storage.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<%- include("nav") %>
|
|
<div id="body" class="container">
|
|
<div id="storage">
|
|
<div class="page-header mt-2 row" id="banner">
|
|
<div class="row">
|
|
<div class="col-lg-8 col-md-7 col-sm-6">
|
|
<h2>Storage</h2>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group mt-3 mb-3 row">
|
|
<input type="text" class="form-control" id="search" placeholder="search">
|
|
</div>
|
|
<div id="contents" class="row w-100">
|
|
<table class="table table-striped table-hover">
|
|
<thead class="thead-dark">
|
|
<tr>
|
|
<th scope="col">Icon</th>
|
|
<th scope="col">Item ID</th>
|
|
<th scope="col">Quantity</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><!-- populated by js --></tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
|
|
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
|
|
crossorigin="anonymous"></script>
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
|
|
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
|
|
crossorigin="anonymous"></script>
|
|
</body>
|