This repository has been archived by the owner on Apr 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
157 lines (143 loc) · 5.45 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>BootstrapSideNav</title>
<link href="stylesheets/bootstrap.min.css" rel="stylesheet" />
<link href="stylesheets/bootstrap.nav-side.css" rel="stylesheet" />
<style>
body { padding-top: 20px; }
form { margin: 0; }
#nav1 { top: 20px; }
</style>
</head>
<body>
<ul id="nav1" class="nav nav-tabs nav-stacked nav-side">
<li class="nav-header">Page Name</li>
<li>
<a href="./index.html">
<div class="nav-title">Home</div>
<i class="icon-home nav-icon"></i>
</a>
</li>
<li class="active">
<a href="#">
<div class="nav-title">Timetable to see what you could do and to show how a big item looks like</div>
<i class="icon-time nav-icon"></i>
</a>
</li>
<li>
<a href="#">
<div class="nav-title">Events</div>
<i class="icon-calendar nav-icon"></i>
</a>
</li>
<li class="nav-header">Some Other Stuff</li>
<li class="empty">
<div class="nav-title">
<form action="/search" method="get" class="form-search">
<div class="input-append">
<input type="text" name="value" class="input-block-level search-query" placeholder="Search" />
<button type="submit" class="btn"><i class="icon-chevron-right"></i></button>
</div>
</form>
</div>
<div class="nav-icon"><i class="icon-search"></i></div>
</li>
<li class="dropdown">
<a class="dropdown-toggle"
data-toggle="dropdown"
href="#">
<div class="nav-title">Settings <b class="caret"></b></div>
<i class="icon-wrench nav-icon"></i>
</a>
<ul class="dropdown-menu">
<li>
<a href="#">
<div class="nav-title">Edit</div>
<i class="icon-edit nav-icon"></i>
</a>
</li>
<li>
<a href="#">
<div class="nav-title">User Settings</div>
<i class="icon-user nav-icon"></i>
</a>
</li>
<li>
<a href="#">
<div class="nav-title">Warnings</div>
<i class="icon-warning-sign nav-icon"></i>
</a>
</li>
</ul>
</li>
</ul>
<div class="container">
<div class="hero-unit"><h1>BootstrapSideNav</h1></div>
<p class="lead">This navigation for Twitter Bootstrap works as an addition to the existing<br />
<code><ul class="nav nav-tabs nav-stacked"></ul></code> list.
On the left side you can see an example.</p>
<h2>Usage</h2>
<h3>Basic Example</h3>
<pre>
<ul class="nav nav-tabs nav-stacked <strong>nav-side</strong>">
<li>
<a href="/">
<div class="<strong>nav-title</strong>">Home</div>
<i class="icon-user <strong>nav-icon</strong>"></i>
</a>
</li>
</ul></pre>
<p>See the home menu item in the list on the left.</p>
<h3>No Link</h3>
<pre>
<ul class="nav nav-tabs nav-stacked nav-side">
<li class="<strong>empty</strong>">
<div class="<strong>nav-title</strong>">Home</div>
<i class="icon-user <strong>nav-icon</strong>"></i>
</li>
</ul></pre>
<p>See the search menu item in the list on the left.</p>
<h3>Header</h3>
<pre>
<ul class="nav nav-tabs nav-stacked nav-side">
<li class="<strong>nav-header</strong>">Title</li>
</ul></pre>
<p>See the two headers in the list on the left.</p>
<h3>Dropdown Menu</h3>
<pre>
<ul class="nav nav-tabs nav-stacked <strong>nav-side</strong>">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<div class="nav-title">Settings <b class="caret"></b></div>
<i class="icon-wrench nav-icon"></i>
</a>
<ul class="dropdown-menu">
<li>
<a href="#">
<div class="nav-title">Edit</div>
<i class="icon-edit nav-icon"></i>
</a>
</li>
</ul>
</li>
</ul></pre>
<p>See the settings menu item in the list on the left.</p>
<h2>Additional Settings</h2>
<h3>Lighten</h3>
<p>For the menu to be lightend when it's inactive you can just add the class <code>lighten</code> to the list.</p>
<a href="./LightenExample.html">example</a>
<h3>Hidden-Icons</h3>
<p>For the icons to disapper when the menu slides out you can just add the class <code>hidden-icons</code> to the list.</p>
<a href="./HiddenIconsExample.html">example</a>
<h3>Front-Icons</h3>
<p>For the icons to got to the front when the menu slides out you can just add the class <code>front-icons</code> to the list.</p>
<a href="./FrontIconsExample.html">example</a>
<h3>Combinations</h3>
<p>See all combinations in this <a href="./AllExamples.html">example</a>.</p>
<script type="text/javascript" src="javascripts/jquery.min.js"></script>
<script type="text/javascript" src="javascripts/bootstrap.min.js"></script>
</div>
</body>
</html>