content/sidebar: add sign-in button
This commit is contained in:
parent
2094c6464d
commit
c1b43dde56
6 changed files with 48 additions and 11 deletions
32
basewiki/bootstrap.local.css
vendored
32
basewiki/bootstrap.local.css
vendored
|
@ -143,6 +143,14 @@ code {
|
||||||
padding: 15px 15px;
|
padding: 15px 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar .in {
|
||||||
|
padding-top: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar .collapsing {
|
||||||
|
padding-top: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
/* some hacking at typefaces to get some fresh zest in here
|
/* some hacking at typefaces to get some fresh zest in here
|
||||||
* fallbacks from:
|
* fallbacks from:
|
||||||
* https://en.wikipedia.org/wiki/List_of_typefaces_included_with_Microsoft_Windows
|
* https://en.wikipedia.org/wiki/List_of_typefaces_included_with_Microsoft_Windows
|
||||||
|
@ -440,11 +448,14 @@ header h1::before {
|
||||||
|
|
||||||
/* Language switchers */
|
/* Language switchers */
|
||||||
|
|
||||||
|
|
||||||
.language-switcher {
|
.language-switcher {
|
||||||
|
display: block;
|
||||||
background: #f8f8f8;
|
background: #f8f8f8;
|
||||||
color: #333;
|
color: #333;
|
||||||
border-color: #ccc;
|
border-color: #ccc;
|
||||||
|
margin-bottom: -4px;
|
||||||
|
margin-left: -3px;
|
||||||
|
margin-top: 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.language-switcher:hover {
|
.language-switcher:hover {
|
||||||
|
@ -453,11 +464,18 @@ header h1::before {
|
||||||
border-color: #ccc;
|
border-color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.language-switcher-top {
|
/* Sign-in buttons */
|
||||||
display: block;
|
|
||||||
padding-top: 9px;
|
.sign-in {
|
||||||
width: 120px; /* Force size to prevent overflowing breadcrumbs */
|
background: #f8f8f8;
|
||||||
height: 35px;
|
color: #333;
|
||||||
z-index: 5;
|
border-color: #ccc;
|
||||||
|
margin-top: 9px;
|
||||||
|
margin-left: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sign-in:hover {
|
||||||
|
background: #e6e6e6;
|
||||||
|
color: #333;
|
||||||
|
border-color: #ccc;
|
||||||
|
}
|
||||||
|
|
Binary file not shown.
|
@ -7,8 +7,8 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: ilot.io\n"
|
"Project-Id-Version: ilot.io\n"
|
||||||
"POT-Creation-Date: 2024-06-20 21:11-0400\n"
|
"POT-Creation-Date: 2024-07-01 23:50-0400\n"
|
||||||
"PO-Revision-Date: 2024-06-20 21:15-0400\n"
|
"PO-Revision-Date: 2024-07-01 23:53-0400\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: dev@ayakael.net\n"
|
"Language-Team: dev@ayakael.net\n"
|
||||||
"Language: fr\n"
|
"Language: fr\n"
|
||||||
|
@ -36,3 +36,11 @@ msgstr "[[Aide|https://support.ilot.io/fr/hc/706927618]]"
|
||||||
#. type: Content of: <ul><li>
|
#. type: Content of: <ul><li>
|
||||||
msgid "[[Join]]"
|
msgid "[[Join]]"
|
||||||
msgstr "[[Se joindre|join]]"
|
msgstr "[[Se joindre|join]]"
|
||||||
|
|
||||||
|
#. type: Content of: <ul><li>
|
||||||
|
msgid ""
|
||||||
|
"<button class=\"btn sign-in\" onclick=\"window.location.href='https://auth."
|
||||||
|
"ilot.io';\"> Sign-in </button>"
|
||||||
|
msgstr ""
|
||||||
|
"<button class=\"btn sign-in\" onclick=\"window.location.href='https://auth."
|
||||||
|
"ilot.io';\"> S'authentifier </button>"
|
||||||
|
|
|
@ -5,4 +5,9 @@
|
||||||
<li>[[Archives|https://notif.ilot.io/archive]]</li>
|
<li>[[Archives|https://notif.ilot.io/archive]]</li>
|
||||||
<li>[[Support|https://support.ilot.io/en/hc/706927618]]</li>
|
<li>[[Support|https://support.ilot.io/en/hc/706927618]]</li>
|
||||||
<li>[[Join]]</li>
|
<li>[[Join]]</li>
|
||||||
|
<li>
|
||||||
|
<button class="btn sign-in" onclick="window.location.href='https://auth.ilot.io';">
|
||||||
|
Sign-in
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2024-06-20 23:55-0400\n"
|
"POT-Creation-Date: 2024-07-02 00:09-0400\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -35,3 +35,9 @@ msgstr ""
|
||||||
#. type: Content of: <ul><li>
|
#. type: Content of: <ul><li>
|
||||||
msgid "[[Join]]"
|
msgid "[[Join]]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. type: Content of: <ul><li>
|
||||||
|
msgid ""
|
||||||
|
"<button class=\"btn sign-in\" "
|
||||||
|
"onclick=\"window.location.href='https://auth.ilot.io';\"> Sign-in </button>"
|
||||||
|
msgstr ""
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
<div id="navbar" class="collapse navbar-collapse">
|
||||||
|
|
||||||
<TMPL_IF OTHERLANGUAGES>
|
<TMPL_IF OTHERLANGUAGES>
|
||||||
<div class="dropdown language-switcher-top navbar-left">
|
<div class="dropdown navbar-left">
|
||||||
<button class="btn language-switcher dropdown-toggle" type="button" id="language-menu-top" data-toggle=
|
<button class="btn language-switcher dropdown-toggle" type="button" id="language-menu-top" data-toggle=
|
||||||
"dropdown" aria-haspopup="true" aria-expanded="true">
|
"dropdown" aria-haspopup="true" aria-expanded="true">
|
||||||
<TMPL_VAR LANG_NAME>
|
<TMPL_VAR LANG_NAME>
|
||||||
|
|
Loading…
Add table
Reference in a new issue