- Statuses can now be bulk-imported/updated via CSV (Name, Color columns; matches and updates existing statuses by name). New internal/statuses/csv.go, tested. - Icon fields (folder create/rename, item type form) are now a searchable dropdown of the 50 most common Bootstrap Icons instead of a free-text box, via a small reusable .icon-picker widget in app.js/app.css. - CSV asset import is now folder-scoped when triggered from the tree: right-click a folder (or its background) > Import CSV... imports every row directly into that folder, so the CSV needs no Folder column at all, and the option no longer appears at the top level. The original global, Folder-path-aware import (with auto-create-missing-folders) moved to a new admin-only Settings > Import / Export page, alongside the new Statuses import and format examples for both. assets.Import gained ImportOptions.TargetFolderID to drive the folder-scoped mode. - Site Name (Settings > General) now actually renders in the navbar brand and <title>, via a per-App "siteName" template func bound in loadTemplates. The brand is plain text now, not a link to /inventory.
20 lines
903 B
HTML
20 lines
903 B
HTML
{{define "settings_nav"}}
|
|
<div class="list-group settings-nav">
|
|
<a href="/settings" class="list-group-item list-group-item-action{{if eq . "general"}} active{{end}}">
|
|
<i class="bi bi-sliders me-2"></i>General
|
|
</a>
|
|
<a href="/settings/statuses" class="list-group-item list-group-item-action{{if eq . "statuses"}} active{{end}}">
|
|
<i class="bi bi-tag me-2"></i>Statuses
|
|
</a>
|
|
<a href="/settings/item-types" class="list-group-item list-group-item-action{{if eq . "itemtypes"}} active{{end}}">
|
|
<i class="bi bi-tags me-2"></i>Item Types
|
|
</a>
|
|
<a href="/settings/users" class="list-group-item list-group-item-action{{if eq . "users"}} active{{end}}">
|
|
<i class="bi bi-people me-2"></i>Users
|
|
</a>
|
|
<a href="/settings/import" class="list-group-item list-group-item-action{{if eq . "import"}} active{{end}}">
|
|
<i class="bi bi-upload me-2"></i>Import / Export
|
|
</a>
|
|
</div>
|
|
{{end}}
|