Updated styles and Added storageManager.
- Dark/White-mode support - Collapsible navs - Renamed items template. - StorageBuilding's are now StorageUnit's - Formatting, general cleanup, some bug fixing.
This commit is contained in:
		
							
								
								
									
										75
									
								
								src/frontend/manage/storageManager.eta.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										75
									
								
								src/frontend/manage/storageManager.eta.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,75 @@
 | 
			
		||||
<%~ E.includeFile("../partials/head.eta.html", {"title": "Settings - Storage Manager"}) %> <%~ E.includeFile("../partials/controls.eta.html", {"active": "SETT_STORE"}) %>
 | 
			
		||||
 | 
			
		||||
<h1>Storages</h1>
 | 
			
		||||
<ul class="nav nav-underline" id="storageTabList" role="tablist">
 | 
			
		||||
	<li class="nav-item" role="presentation">
 | 
			
		||||
		<button
 | 
			
		||||
			class="nav-link active"
 | 
			
		||||
			id="storage-loc-tab"
 | 
			
		||||
			data-bs-toggle="tab"
 | 
			
		||||
			data-bs-target="#storage-loc-tab-pane"
 | 
			
		||||
			type="button"
 | 
			
		||||
			role="tab"
 | 
			
		||||
			aria-controls="storage-loc-tab-pane"
 | 
			
		||||
			aria-selected="true">
 | 
			
		||||
			<i class="bi bi-bookshelf"></i> Storage Location
 | 
			
		||||
		</button>
 | 
			
		||||
	</li>
 | 
			
		||||
	<li class="nav-item" role="presentation">
 | 
			
		||||
		<button
 | 
			
		||||
			class="nav-link"
 | 
			
		||||
			id="storage-unit-tab"
 | 
			
		||||
			data-bs-toggle="tab"
 | 
			
		||||
			data-bs-target="#storage-unit-tab-pane"
 | 
			
		||||
			type="button"
 | 
			
		||||
			role="tab"
 | 
			
		||||
			aria-controls="storage-unit-tab-pane"
 | 
			
		||||
			aria-selected="false">
 | 
			
		||||
			<i class="bi bi-buildings"></i> Storage Unit
 | 
			
		||||
		</button>
 | 
			
		||||
	</li>
 | 
			
		||||
</ul>
 | 
			
		||||
<div class="tab-content" id="storageTabListContent">
 | 
			
		||||
	<div class="tab-pane fade show active" id="storage-loc-tab-pane" role="tabpanel" aria-labelledby="storage-loc-tab-pane" tabindex="0">
 | 
			
		||||
		<br>
 | 
			
		||||
		<div class="row">
 | 
			
		||||
			<div class="col-12">
 | 
			
		||||
				<a href="/settings/category/new" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#createNewStorageLocationModal"><i class="bi bi-plus-lg"></i> Create new Location</a>
 | 
			
		||||
			</div>
 | 
			
		||||
		</div>
 | 
			
		||||
		<table class="table">
 | 
			
		||||
		<thead>
 | 
			
		||||
			<tr>
 | 
			
		||||
				<th scope="col">LocId</th>
 | 
			
		||||
				<th scope="col">Name</th>
 | 
			
		||||
				<th scope="col">Storage Unit</th>
 | 
			
		||||
				<th scope="col">Actions</th>
 | 
			
		||||
			</tr>
 | 
			
		||||
		</thead>
 | 
			
		||||
		<tbody>
 | 
			
		||||
 | 
			
		||||
		</tbody>
 | 
			
		||||
	</table>
 | 
			
		||||
	</div>
 | 
			
		||||
	<div class="tab-pane fade" id="storage-unit-tab-pane" role="tabpanel" aria-labelledby="storage-unit-tab-pane" tabindex="0">
 | 
			
		||||
		<br>
 | 
			
		||||
		<div class="row">
 | 
			
		||||
			<div class="col-12">
 | 
			
		||||
				<a href="/settings/category/new" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#createNewStorageUnitModal"><i class="bi bi-building-add"></i> Create new unit</a>
 | 
			
		||||
			</div>
 | 
			
		||||
		</div>
 | 
			
		||||
		<table class="table">
 | 
			
		||||
			<thead>
 | 
			
		||||
				<tr>
 | 
			
		||||
					<th scope="col">#</th>
 | 
			
		||||
					<th scope="col">Name</th>
 | 
			
		||||
					<th scope="col">Address</th>
 | 
			
		||||
					<th scope="col">Actions</th>
 | 
			
		||||
				</tr>
 | 
			
		||||
			</thead>
 | 
			
		||||
			<tbody>
 | 
			
		||||
	</div>
 | 
			
		||||
</div>
 | 
			
		||||
<script src="/js/editStorages.js"></script>
 | 
			
		||||
 | 
			
		||||
<%~ E.includeFile("../partials/controlsFoot.eta.html") %> <%~ E.includeFile("../partials/foot.eta.html") %>
 | 
			
		||||
		Reference in New Issue
	
	Block a user