add a link for a new device, and snapshot

This commit is contained in:
Cayo Puigdefabregas 2022-01-18 13:47:17 +01:00
parent 5566e7adb7
commit c300e44eab
1 changed files with 23 additions and 2 deletions

View File

@ -162,7 +162,7 @@
<i class="bi bi-reply"></i> <i class="bi bi-reply"></i>
Exports Exports
</button> </button>
<ul class="dropdown-menu" aria-labelledby="btnLots""> <ul class="dropdown-menu" aria-labelledby="btnExport">
<li> <li>
<a href="javascript:openAdd()" class="dropdown-item"> <a href="javascript:openAdd()" class="dropdown-item">
<i class="bi bi-plus"></i> <i class="bi bi-plus"></i>
@ -183,7 +183,7 @@
<i class="bi bi-tag"></i> <i class="bi bi-tag"></i>
Tags Tags
</button> </button>
<ul class="dropdown-menu" aria-labelledby="btnLots""> <ul class="dropdown-menu" aria-labelledby="btnTags">
<li> <li>
<a href="javascript:openAdd()" class="dropdown-item"> <a href="javascript:openAdd()" class="dropdown-item">
<i class="bi bi-plus"></i> <i class="bi bi-plus"></i>
@ -199,6 +199,27 @@
</ul> </ul>
</div> </div>
<div class="btn-group dropdown ml-1" uib-dropdown="">
<button id="btnSnapshot" type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-tag"></i>
New Device
</button>
<ul class="dropdown-menu" aria-labelledby="btnSnapshot">
<li>
<a href="{{ url_for('inventory.devices.upload_snapshot') }}" class="dropdown-item">
<i class="bi bi-plus"></i>
Upload a new Snapshot
</a>
</li>
<li>
<a href="javascript:void()" class="dropdown-item">
<i class="bi bi-plus"></i>
Create a new Device
</a>
</li>
</ul>
</div>
<div class="tab-content pt-2"> <div class="tab-content pt-2">
<div class="tab-pane fade show active profile-overview" id="profile-overview"> <div class="tab-pane fade show active profile-overview" id="profile-overview">