Skip to content

Commit 3e828be

Browse files
committed
add bootstrap UI
1 parent b78c7ab commit 3e828be

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

index.html

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,38 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<title>Gist HTML Preview</title>
55
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
66
<meta http-equiv='Content-Type' content='text/html; charset=utf8'/>
77
<meta name='apple-mobile-web-app-capable' content='yes'/>
88
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'/>
9+
10+
<!-- Bootstrap -->
11+
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
12+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
13+
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
14+
15+
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
16+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
17+
<!--[if lt IE 9]>
18+
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
19+
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
20+
<![endif]-->
921
</head>
1022
<body>
1123
<div class="container">
1224
<h2>Gist HTML Preview</h2>
13-
<span>https://gistpreview.github.io/?</span>
14-
<input type="text" class="form-control input-sm" id="gist_id" placeholder="Gist ID">
15-
<span>/</span>
16-
<input type="text" class="form-control input-sm" id="file_name" placeholder="File Name">
17-
<button id="submit" class="btn btn-primary">Submit</button>
25+
<div class="form-inline" role="form">
26+
<div class="form-group">
27+
<label for="gist_id">https://gistpreview.github.io/?</label>
28+
<input type="text" class="form-control input-sm" id="gist_id" placeholder="Gist ID">
29+
</div>
30+
<div class="form-group">
31+
<label for="file_name">/</label>
32+
<input type="text" class="form-control input-sm" id="file_name" placeholder="File Name">
33+
</div>
34+
<button id="submit" class="btn btn-primary">Submit</button>
35+
</div>
1836
</div>
1937

2038
<script src="https://cdn.rawgit.com/github/fetch/master/fetch.js"></script>

0 commit comments

Comments
 (0)