Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/templates/layouts/partials/menu/admin.jet.html
kilo 4cb5c9cf23 Styling fixes & improvements for cookie warning, addition of cookie warning text & close button (#1519)
* Styling fixes for new nav, improvements for cookie warning, styling for close button on cookie warning

* Fix wrong css rule name on tomorrow

* add cookie warning text

* Update CHANGELOG.md

* tomorrow colors for cookie warning

* Color improvements for cookie-warning & close button styling

* Addition of close button for cookie warning

* JS to hide cookie warning when clicking the cross

* Add warning that message will be hidden at next page load

* middle alignement for japanese text in refine

* Remove NyaaPantsu link from admin nav

* Allow HTML in cookie warning translation string

* Remove [0] that was not needed and broke the script from JS

* Bold font & slightly taller cookie warning

* Add message when ad is blocked

* styling for blocked message

* fix wrong id

* Prevent JS error

* remove ad-blocked message

* remove ad-blocked styling

* Update main.css

* Update base.jet.html
2017-09-06 10:51:25 +02:00

10 lignes
1,1 Kio
HTML

<div id="admin-header">
<a href="{{URL.Parse("/mod/")}}" class="nav-btn{{if URL.String() == "/mod/"}} active{{end}}">{{ T("moderation")}}</a>
<a href="{{URL.Parse("/mod/torrents")}}" class="nav-btn{{if URL.String() == "/mod/torrents"}} active{{end}}">{{ T("torrents")}}</a>
<a href="{{URL.Parse("/mod/users")}}" class="nav-btn{{if URL.String() == "/mod/users"}} active{{end}}">{{ T("users")}}</a>
<a href="{{URL.Parse("/mod/comments")}}" class="nav-btn{{if URL.String() == "/mod/comments"}} active{{end}}">{{ T("comments")}}</a>
<a href="{{URL.Parse("/mod/oauth_client")}}" class="nav-btn{{if URL.String() == "/mod/oauth_client"}} active{{end}}">{{ T("oauth_clients_list")}}</a>
<a href="{{URL.Parse("/mod/announcement")}}" class="nav-btn{{if URL.String() == "/mod/announcement"}} active{{end}}">{{ T("announcements")}}</a>
<a href="{{URL.Parse("/mod/reports")}}" class="nav-btn{{if URL.String() == "/mod/reports"}} active{{end}}">{{ T("torrent_reports")}}</a>
<a href="{{URL.Parse("/mod/reassign")}}" class="nav-btn{{if URL.String() == "/mod/reassign"}} active{{end}}">{{ T("torrent_reassign")}}</a>
</div>