Fossil SCM

fossil-scm / skins / ardoise / header.txt
Blame History Raw 52 lines
1
<header>
2
<div class="container">
3
<div class="login pull-right">
4
<th1>
5
if {[info exists login]} {
6
html "<b>$login</b> — <a class='button' href='$home/login'>Logout</a>\n"
7
} else {
8
html "<a class='button' href='$home/login'>Login</a>\n"
9
}
10
</th1>
11
</div>
12
<div class='title'>
13
<h1>$<project_name>
14
<th1>
15
if {[anycap jor]} {
16
html "<a class='rss' href='$home/timeline.rss'></a>"
17
}
18
</th1>
19
<small> &nbsp;$<title></small></h1>
20
</div>
21
22
<!-- Main Menu -->
23
<nav class="mainmenu" title="Main Menu">
24
<ul>
25
<th1>
26
html "<li><a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a></li>\n"
27
builtin_request_js hbmenu.js
28
set once 1
29
foreach {name url expr class} $mainmenu {
30
if {![capexpr $expr]} continue
31
if {$once && [string match $url\[/?#\]* /$current_page/]} {
32
set class "$class active"
33
set once 0
34
}
35
html "<li class='$class'>"
36
if {[string match /* $url]} {set url $home$url}
37
html "<a href='$url'>$name</a></li>\n"
38
}
39
</th1>
40
</ul>
41
</nav>
42
<nav id="hbdrop" class='hbdrop' title="sitemap"></nav>
43
</div> <!-- end div container -->
44
</header>
45
<div class="middle max-full-width">
46
<div class="container">
47
<th1>
48
if {[string first artifact $current_page] == 0 || [string first hexdump $current_page] == 0} {
49
html "<div class=\"artifact_content\">"
50
}
51
</th1>
52

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button