Current state
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
			
		||||
<header class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
 | 
			
		||||
	<a class="navbar-brand col-md-3 col-lg-2 me-0 px-3 test-white-50" href="#">AssetFlow</a>
 | 
			
		||||
	<a class="navbar-brand col-md-3 col-lg-2 me-0 px-3 test-white-50" href="https://shattereddisk.github.io/rickroll/rickroll.mp4">AssetFlow</a>
 | 
			
		||||
	<button
 | 
			
		||||
		class="navbar-toggler position-absolute d-md-none collapsed"
 | 
			
		||||
		type="button"
 | 
			
		||||
@@ -78,7 +78,7 @@
 | 
			
		||||
				</ul>
 | 
			
		||||
 | 
			
		||||
				<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
 | 
			
		||||
					<span>Settings</span>
 | 
			
		||||
					<a href="/manage/" class="nav-link">Settings</a>
 | 
			
		||||
				</h6>
 | 
			
		||||
 | 
			
		||||
				<ul class="nav flex-column mb-2">
 | 
			
		||||
@@ -92,7 +92,9 @@
 | 
			
		||||
							data-bs-target="#collapseSettingsStorages"
 | 
			
		||||
							aria-expanded="<%= it.active == 'SETT_STORE' ? 'true' : 'false'%>"
 | 
			
		||||
							aria-controls="collapseSettingsStorages">
 | 
			
		||||
							<i class="bi bi-caret-down-fill"></i>
 | 
			
		||||
							<span class="dropdownIndicator" data-ref-target="#collapseSettingsStorages">
 | 
			
		||||
							<i class="bi bi-caret-left-fill" ></i>
 | 
			
		||||
							</span>
 | 
			
		||||
							<!-- TODO: This little triangle does not care if it is collapsed or not. But it should so -->
 | 
			
		||||
						</span>
 | 
			
		||||
					</a>
 | 
			
		||||
@@ -106,12 +108,25 @@
 | 
			
		||||
						<a class="nav-link <%= it.active == 'SETT_CAT' ? 'active' : ''%>" href="/manage/categories"><i class="bi bi-tag"></i> Manage categories </a>
 | 
			
		||||
					</li>
 | 
			
		||||
 | 
			
		||||
					<li class="nav-item">
 | 
			
		||||
						<a class="nav-link <%= it.active == 'SETT_CSV_IMPORT' ? 'active' : ''%>" href="/manage/import/csv"><i class="bi bi-filetype-csv"></i> CSV Import </a>
 | 
			
		||||
					</li>
 | 
			
		||||
					<li class="nav-item">
 | 
			
		||||
						<a class="nav-link <%= it.active == 'SETT_JSON_IMPORT' ? 'active' : ''%>" href="/manage/import/json"> <i class="bi bi-filetype-json"></i> JSON Import</a>
 | 
			
		||||
					</li>
 | 
			
		||||
					<a class="nav-link">
 | 
			
		||||
						<span
 | 
			
		||||
							class="<%= it.active == 'SETT_IMPORT' ? 'active' : ''%>"
 | 
			
		||||
							type="button"
 | 
			
		||||
							onclick="return false"
 | 
			
		||||
							data-bs-toggle="collapse"
 | 
			
		||||
							data-bs-target="#collapseSettingsImport"
 | 
			
		||||
							aria-expanded="<%= it.active.includes('SETT_IMPORT') ? 'true' : 'false'%>"
 | 
			
		||||
							aria-controls="collapseSettingsImport">
 | 
			
		||||
							<i class="bi bi-box-seam"></i> Import
 | 
			
		||||
							<i class="bi bi-caret-left-fill dropdownIndicator" data-ref-target="#collapseSettingsImport"></i>
 | 
			
		||||
							<!-- TODO: This little triangle does not care if it is collapsed or not. But it should so -->
 | 
			
		||||
						</span>
 | 
			
		||||
					</a>
 | 
			
		||||
 | 
			
		||||
					<div class="collapse <%= it.active.includes('SETT_IMPORT') ? 'show' : ''%>" id="collapseSettingsImport">
 | 
			
		||||
						<a class="nav-link ms-4 <%= it.active == 'SETT_IMPORT_CSV' ? 'active' : ''%>" href="/manage/import/csv"><i class="bi bi-filetype-csv"></i> CSV Import </a>
 | 
			
		||||
						<a class="nav-link ms-4 <%= it.active == 'SETT_IMPORT_JSON' ? 'active' : ''%>" href="/manage/import/json"> <i class="bi bi-filetype-json"></i> JSON Import</a>
 | 
			
		||||
					</div>
 | 
			
		||||
				</ul>
 | 
			
		||||
			</div>
 | 
			
		||||
		</nav>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user