Skip to content
This repository was archived by the owner on Nov 13, 2020. It is now read-only.

Commit 980e644

Browse files
committed
Adding navbar.
This almost looks like a real thing, now.
1 parent 7c5f424 commit 980e644

File tree

2 files changed

+31
-8
lines changed

2 files changed

+31
-8
lines changed

css/style.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
/* Put your CSS here */
2-
.ember-application {
3-
margin: 20px;
4-
}
1+
/* Move down content because we have a fixed navbar that is 50px tall */
2+
body {
3+
padding-top: 50px;
4+
padding-bottom: 20px;
5+
}

index.html

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,37 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5-
<title>JSON API Browser</title>
6-
<link rel="stylesheet" href="css/normalize.css">
75
<link rel="stylesheet" href="css/bootstrap-3.0.2.min.css">
86
<link rel="stylesheet" href="css/style.css">
97
</head>
108
</head>
119
<body>
12-
<script type="text/x-handlebars">
13-
<h2>JSON API Browser</h2>
10+
<script type="text/x-handlebars">
11+
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
12+
<!-- Brand and toggle get grouped for better mobile display -->
13+
<div class="navbar-header">
14+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
15+
<span class="sr-only">Toggle navigation</span>
16+
<span class="icon-bar"></span>
17+
<span class="icon-bar"></span>
18+
<span class="icon-bar"></span>
19+
</button>
20+
<a class="navbar-brand" href="#">JSON API Browser</a>
21+
</div>
22+
23+
<!-- Collect the nav links, forms, and other content for toggling -->
24+
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
25+
<form class="navbar-form navbar-left">
26+
<div class="form-group">
27+
<input type="text" class="form-control" placeholder="URL">
28+
</div>
29+
<button type="submit" class="btn btn-default">Browse</button>
30+
</form>
31+
</div><!-- /.navbar-collapse -->
32+
</nav>
33+
<div class="container">
34+
<p>This is a work in progress.</p>
35+
</div><!-- /.container -->
1436
</script>
1537

1638
<script src="js/libs/jquery-1.10.2.js"></script>

0 commit comments

Comments
 (0)