summaryrefslogtreecommitdiff
path: root/skins/ardoise/header.txt
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-09-04 09:05:24 +0200
committercashmere <cashmere@autistici.org>2026-09-04 09:05:24 +0200
commit4f49b16079b27d7ce633619e4cddfdf2bffbc952 (patch)
treec296c1e7f3c3e2f6859c6d3a1b1b208779b89679 /skins/ardoise/header.txt
downloadrelic-master.tar.gz
initial commitHEADmaster
Diffstat (limited to 'skins/ardoise/header.txt')
-rw-r--r--skins/ardoise/header.txt51
1 files changed, 51 insertions, 0 deletions
diff --git a/skins/ardoise/header.txt b/skins/ardoise/header.txt
new file mode 100644
index 0000000..1c9257d
--- /dev/null
+++ b/skins/ardoise/header.txt
@@ -0,0 +1,51 @@
+<header>
+ <div class="container">
+ <div class="login pull-right">
+ <th1>
+ if {[info exists login]} {
+ html "<b>$login</b> — <a class='button' href='$home/login'>Logout</a>\n"
+ } else {
+ html "<a class='button' href='$home/login'>Login</a>\n"
+ }
+ </th1>
+ </div>
+ <div class='title'>
+ <h1>$<project_name>
+ <th1>
+ if {[anycap jor]} {
+ html "<a class='rss' href='$home/timeline.rss'></a>"
+ }
+ </th1>
+ <small> &nbsp;$<title></small></h1>
+ </div>
+
+ <!-- Main Menu -->
+ <nav class="mainmenu" title="Main Menu">
+ <ul>
+ <th1>
+ html "<li><a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a></li>\n"
+ builtin_request_js hbmenu.js
+ set once 1
+ foreach {name url expr class} $mainmenu {
+ if {![capexpr $expr]} continue
+ if {$once && [string match $url\[/?#\]* /$current_page/]} {
+ set class "$class active"
+ set once 0
+ }
+ html "<li class='$class'>"
+ if {[string match /* $url]} {set url $home$url}
+ html "<a href='$url'>$name</a></li>\n"
+ }
+ </th1>
+ </ul>
+ </nav>
+ <nav id="hbdrop" class='hbdrop' title="sitemap"></nav>
+ </div> <!-- end div container -->
+</header>
+<div class="middle max-full-width">
+ <div class="container">
+ <th1>
+ if {[string first artifact $current_page] == 0 || [string first hexdump $current_page] == 0} {
+ html "<div class=\"artifact_content\">"
+ }
+ </th1>