forked from warewulf/warewulf.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
105 lines (84 loc) · 3.19 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link rel="icon" href="http://warewulf.github.io/favicon.ico" sizes="16x16 32x32 48x48 64x64" type="image/vnd.microsoft.icon">
<title>Warewulf</title>
<script type="text/javascript" src="jquery-1.12.4.min.js"></script>
<link rel="stylesheet" href="stylesheets/bootstrap.css">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript">
//var current_popup;
function open_popup(content) {
$("#" + content).fadeIn(350);
//current_popup = content;
}
function close_popup() {
//$("#" + current_popup).fadeOut(350);
$(".popup-background").fadeOut(350);
}
function load_content(page) {
location.hash = page;
$("#container").load("content/" + page + ".html", "",
function (responseText, textStatus, req) {
if ( textStatus == "error" ) {
$("#container").html("<h2>ERROR</h2>Unable to load content: " + page);
}
});
}
function load_page() {
var page = location.hash.substring(1);
if ( page == '' ) {
load_content("home");
} else {
load_content(page);
}
}
window.onpopstate = function(event) {
load_page();
}
$(document).ready(function() {
load_page();
});
</script>
</head>
<body>
<header>
<div class="name"><span class="ware">Ware</span><span class="wulf">Wulf</span></div>
<div class="wrapper">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle Navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="javascript:load_content('home')">Home</a></li>
<li><a href="javascript:load_content('status')">Status</a></li>
<li><a href="javascript:load_content('Lorem')">Lorem</a></li>
<li><a href="javascript:load_content('Ipsum')">Ipsum</a></li>
</ul>
</div>
</div>
</div>
</header>
<!---
<img id="logo" src="images/warewulf_logo_300x300.png"/>
-->
<div id="container">
Loading ...
</div>
<div class="footer">
Project lead: <a target="_blank" href="https://gmkurtzer.github.io">Gregory M. Kurtzer</a><br/>
Sponsored by: <a target="_blank" href="http://scs.lbl.gov/">HPC @ LBNL</a><br/>
Hosted on: <a target="_blank" href="https://github.com/warewulf">GitHub</a><br/>
</div>
</body>
</html>