Skip to content

Commit 00948fe

Browse files
author
tchapi
committed
Add project github page link
1 parent 55190d8 commit 00948fe

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

public/css/style.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,15 @@ body {
6060
.popover .popover-body {
6161
user-select: text;
6262
}
63+
64+
/* Github link icon */
65+
.github-link {
66+
background-image: url("/images/github-mark.png");
67+
background-repeat: no-repeat;
68+
background-size: 23px;
69+
height: 23px;
70+
width: 23px;
71+
}
72+
[data-bs-theme=dark] .github-link {
73+
background-image: url("/images/github-mark-white.png");
74+
}

templates/dashboard.html.twig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838
<h3 class="mb-3 mt-4 environment">{{ "dashboard.env"|trans }}</h3>
3939

4040
<ul class="list-group">
41-
<li class="list-group-item list-group-item-primary">{{ "dashboard.version"|trans }} : <code>{{ version }}</code> (SabreDAV <code>{{ sabredav_version }}</code>)</li>
41+
<li class="list-group-item list-group-item-primary d-flex justify-content-between">
42+
<span>{{ "dashboard.version"|trans }} : <code>{{ version }}</code> (SabreDAV <code>{{ sabredav_version }}</code>)</span>
43+
<a class="github-link" href="https://github.com/tchapi/davis" data-bs-toggle="popover" data-bs-trigger="hover" data-bs-content="Project Github page" data-bs-placement="bottom"></a>
44+
</li>
4245
<li class="list-group-item list-group-item-secondary">{{ "dashboard.auth"|trans }} : <code>{{ authMethod }}</code> ({{ "dashboard.auth_realm"|trans }}: <code>{{ authRealm }}</code>)</li>
4346
<li class="list-group-item list-group-item-secondary">{{ "dashboard.invite_from_address"|trans }} : <code>{{ invite_from_address|default('Not set') }}</code></li>
4447
<li class="list-group-item list-group-item-secondary d-flex justify-content-between align-items-center ">

0 commit comments

Comments
 (0)