Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: show the name of the db file on side barl by default expand list of tables #44 #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions views/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,14 @@ <h1 class="font-bold text-gray-200 text-[15px] ml-3">{{.Title}}</h1>
</div>
<div
class="p-2.5 mt-3 flex items-center rounded-md px-4 duration-300 cursor-pointer hover:bg-blue-600 text-white"
onclick="dropdown()"
>
<i class="bi bi-chat-left-text-fill"></i>
<div class="flex justify-between w-full items-center">
<span class="text-[15px] ml-4 text-gray-200 font-bold">Tables</span>
<span class="text-sm rotate-180" id="arrow">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>
</span>
</div>
</div>
<div
class="text-left text-sm mt-2 w-4/5 mx-auto text-gray-200 font-bold"
id="submenu"
>
{{range .tables}}
<a href="/{{.}}/data" class="block cursor-pointer p-2 hover:bg-blue-600 rounded-md mt-1">
Expand Down