summaryrefslogtreecommitdiffstats
path: root/tpl/header.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/header.tpl')
-rw-r--r--tpl/header.tpl50
1 files changed, 50 insertions, 0 deletions
diff --git a/tpl/header.tpl b/tpl/header.tpl
new file mode 100644
index 0000000..fdfdb67
--- /dev/null
+++ b/tpl/header.tpl
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Alpine aports fileindex</title>
+ <!-- Bootstrap -->
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
+ <link rel="stylesheet" href="/assets/style.css">
+ <link rel="shortcut icon" href="/assets/favicon.ico" />
+
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
+ <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
+
+ <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+ <![endif]-->
+ </head>
+ <body>
+ <header>
+ <a href="/"><img id="logo" src="/assets/alpinelinux-logo.svg" alt="Alpine Linux logo" /></a>
+ <div id="pagenav">
+ <nav>
+ {{#packages}}
+ <a href="/packages" class="active">Packages</a>
+ {{/packages}}
+ {{^packages}}
+ <a href="/packages">Packages</a>
+ {{/packages}}
+ {{#contents}}
+ <a href="/contents" class="active" class="">Contents</a>
+ {{/contents}}
+ {{^contents}}
+ <a href="/contents" class="">Contents</a>
+ {{/contents}}
+ </nav>
+ </div>
+ <div id="sitenav">
+ <nav>
+ <a href="http://wiki.alpinelinux.org">wiki</a>
+ <a href="http://git.alpinelinux.org">git</a>
+ <a href="http://bugs.alpinelinux.org/projects/alpine/issues">bugs</a>
+ <a href="http://forum.alpinelinux.org/forum">forums</a>
+ </nav>
+ </div>
+ </header>