Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 2b0a4af

Browse files
committed
refactor(security): Improve security link HTML structure
1 parent e694734 commit 2b0a4af

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

assets/styles/app.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,21 @@ ul.credit {
8787
list-style: none;
8888
margin-bottom: 0;
8989
padding-left: 0;
90+
91+
&__links {
92+
display: inline;
93+
list-style: none;
94+
padding: 0;
95+
margin: 0;
96+
97+
li {
98+
display: inline;
99+
}
100+
101+
li:not(:last-child)::after {
102+
content: "";
103+
}
104+
}
90105
}
91106

92107
// overrides

templates/security/login.html.twig

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,18 @@
5858

5959
<ul class="app-login__form__login-form__operation__credit credit">
6060
<li>
61-
<a href="https://github.com/database-playground/app-sf" target="_blank">GitHub</a
62-
>|<a href="https://uptime.dbplay.pan93.com">服務狀態</a>|<a href="{{ url('app_feedback', {url: app.request.uri}) }}" target="_blank">
63-
意見回饋
64-
</a></li>
61+
<ul class="credit__links">
62+
<li>
63+
<a href="https://github.com/database-playground/app-sf" target="_blank">GitHub</a>
64+
</li>
65+
<li>
66+
<a href="https://uptime.dbplay.pan93.com">服務狀態</a>
67+
</li>
68+
<li>
69+
<a href="{{ url('app_feedback', {url: app.request.uri}) }}" target="_blank">意見回饋</a>
70+
</li>
71+
</ul>
72+
</li>
6573
<li>Designed by <a href="https://eclab.nkust.edu.tw/" target="_blank">傅家子弟電商實驗室</a></li>
6674
</ul>
6775
</div>

0 commit comments

Comments
 (0)