Skip to content

Commit

Permalink
#43 サイドバーのボタン位置調整.
Browse files Browse the repository at this point in the history
  • Loading branch information
yoneyan committed Sep 8, 2024
1 parent 0975a7f commit b7ac2b4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
27 changes: 13 additions & 14 deletions dsbd/templates/navbar2.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,14 @@
</a>
</li>
<li class="nav-item">
<a href="{% url 'custom_auth_group:index' %}"
class="nav-link text-white" aria-current="page">
<a href="{% url 'custom_auth_group:index' %}" class="nav-link text-white">
<svg class="bi me-2" width="16" height="16">
<use xlink:href="#group"></use>
</svg>
Groups
</a>
</li>
<li>
<li class="nav-item">
<a href="{% url 'service:index' %}" class="nav-link text-white">
<svg class="bi me-2" width="16" height="16">
<use xlink:href="#grid"></use>
Expand All @@ -111,7 +110,7 @@
{# Customers#}
{# </a>#}
{# </li>#}
<li>
<li class="nav-item">
<a href="{% url 'ticket:index' %}" class="nav-link text-white"
aria-current="page">
<svg class="bi me-2" width="16" height="16">
Expand All @@ -120,8 +119,8 @@
Ticket
</a>
</li>
<li class="mb-1">
<button class="btn text-white align-items-center rounded collapsed"
<li class="nav-item">
<button class="btn text-white nav-link rounded collapsed"
data-bs-toggle="collapse"
data-bs-target="#dashboard1-collapse" aria-expanded="false">
<svg class="bi me-2" width="16" height="16">
Expand All @@ -135,7 +134,7 @@
<a href="#" class="nav-link text-white">
<svg class="bi me-2 submenu-logo" width="14"
height="14">
<use xlink:href="#email"/>
<use xlink:href="#email"></use>
</svg>
Overview
</a>
Expand All @@ -144,7 +143,7 @@
<a href="#" class="nav-link text-white">
<svg class="bi me-2 submenu-logo" width="14"
height="14">
<use xlink:href="#people-circle"/>
<use xlink:href="#people-circle"></use>
</svg>
Overview2
</a>
Expand All @@ -153,7 +152,7 @@
<a href="#" class="nav-link text-white">
<svg class="bi me-2 submenu-logo" width="14"
height="14">
<use xlink:href="#people-circle"/>
<use xlink:href="#people-circle"></use>
</svg>
Overview3
</a>
Expand All @@ -162,7 +161,7 @@
<a href="#" class="nav-link text-white">
<svg class="bi me-2 submenu-logo" width="14"
height="14">
<use xlink:href="#people-circle"/>
<use xlink:href="#people-circle"></use>
</svg>
Overview4
</a>
Expand All @@ -177,7 +176,7 @@
data-bs-toggle="collapse"
data-bs-target="#admin-collapse" aria-expanded="false">
<svg class="bi me-2" width="16" height="16">
<use xlink:href="#administrator"/>
<use xlink:href="#administrator"></use>
</svg>
Admin Page
</button>
Expand All @@ -187,7 +186,7 @@
<a href="{% url 'custom_admin:index' %}"
class="nav-link text-white">
<svg class="bi me-2" width="16" height="16">
<use xlink:href="#setting"/>
<use xlink:href="#setting"></use>
</svg>
CustomPage
</a>
Expand All @@ -196,7 +195,7 @@
<a href="{% url 'admin:index' %}"
class="nav-link text-white">
<svg class="bi me-2" width="16" height="16">
<use xlink:href="#database"/>
<use xlink:href="#database"></use>
</svg>
Admin(DB)
</a>
Expand All @@ -209,7 +208,7 @@
<a href="{% url 'feedback' %}" class="btn text-white"
aria-expanded="false">
<svg class="bi me-2" width="16" height="16">
<use xlink:href="#bug"/>
<use xlink:href="#bug"></use>
</svg>
Feedback
</a>
Expand Down
4 changes: 0 additions & 4 deletions dsbd/templates/service/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
white-space: pre-wrap;
/ / color: #000000;
}

button {
margin-left: 10px;
}
</style>
{% endblock %}

Expand Down

0 comments on commit b7ac2b4

Please sign in to comment.