fix views
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<div class="relative flex h-16 items-center justify-between">
|
||||
<div class="flex flex-1 items-center">
|
||||
<div class="flex shrink-0">
|
||||
<img class="h-8 w-auto" src="https://tailwindui.com/plus/img/logos/mark.svg?color=indigo&shade=500" alt="Your Company">
|
||||
<img class="h-8 w-auto" src="static/img/circlea.png" alt="Your Company">
|
||||
</div>
|
||||
<!--
|
||||
{{ if .loggedIn }}
|
||||
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
{{ if .loggedIn }}
|
||||
<div class="absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0 px-4 sm:px-8">
|
||||
<a href="settings" class="rounded-md bg-gray-900 m-2 px-3 py-2 text-sm font-medium text-gray-300 hover:bg-gray-700 hover:text-white">Settings</a>
|
||||
<a href="additem" class="rounded-md bg-gray-900 m-2 px-3 py-2 text-sm font-medium text-gray-300 hover:bg-gray-700 hover:text-white">Add Item</a>
|
||||
<a href="logout" class="rounded-md bg-gray-900 m-2 px-3 py-2 text-sm font-medium text-red-300 hover:bg-gray-700 hover:text-white">Logout</a>
|
||||
</div>
|
||||
{{ else }}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{{ template "header.html" . }}
|
||||
|
||||
{{ template "shopitems.html" . }}
|
||||
|
||||
{{ template "footer.html" . }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{ template "header.html" }}
|
||||
{{ template "header.html" . }}
|
||||
|
||||
<div class="flex min-h-full flex-col justify-center px-6 py-12 lg:px-8">
|
||||
<div class="sm:mx-auto sm:w-full sm:max-w-sm">
|
||||
@@ -25,4 +25,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ template "footer.html" }}
|
||||
{{ template "footer.html" . }}
|
||||
|
||||
Reference in New Issue
Block a user