Skip to content

Commit a8b2de6

Browse files
author
Nick Bargnesi
committed
initial commit
0 parents  commit a8b2de6

7 files changed

+204
-0
lines changed

css/bootstrap.min.css

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="description" content="">
8+
<meta name="author" content="">
9+
10+
<title>formwork.io</title>
11+
12+
<!-- Bootstrap core CSS -->
13+
<link href="css/bootstrap.min.css" rel="stylesheet">
14+
15+
<!-- Custom styles for this template -->
16+
<link href="jumbotron.css" rel="stylesheet">
17+
18+
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
19+
<!--[if lt IE 9]><script src="js/ie8-responsive-file-warning.js"></script><![endif]-->
20+
<script src="js/ie-emulation-modes-warning.js"></script>
21+
22+
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
23+
<script src="js/ie10-viewport-bug-workaround.js"></script>
24+
25+
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
26+
<!--[if lt IE 9]>
27+
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
28+
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
29+
<![endif]-->
30+
</head>
31+
32+
<body>
33+
34+
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
35+
<div class="container">
36+
<div class="navbar-header">
37+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
38+
<span class="sr-only">Toggle navigation</span>
39+
<span class="icon-bar"></span>
40+
<span class="icon-bar"></span>
41+
<span class="icon-bar"></span>
42+
</button>
43+
<a class="navbar-brand" href="http://formwork-io.github.io">formwork.io</a>
44+
</div>
45+
<div class="collapse navbar-collapse">
46+
<ul class="nav navbar-nav">
47+
<li><a href="https://github.com/formwork-io">GitHub Organization</a></li>
48+
</ul>
49+
</div>
50+
</div>
51+
</div>
52+
53+
<!-- Main jumbotron for a primary marketing message or call to action -->
54+
<div class="jumbotron">
55+
<div class="container">
56+
<h1>formwork.io on GitHub</h1>
57+
<p>
58+
This is the <a href="https://github.com/formwork-io/formwork-io.github.io">formwork.io GitHub site</a>.
59+
</p>
60+
<p>
61+
<a href="https://github.com/formwork-io"
62+
class="btn btn-primary btn-lg" role="button">Repositories &raquo;</a>
63+
</p>
64+
</div>
65+
</div>
66+
67+
<div class="container">
68+
<!-- Example row of columns -->
69+
<div class="row">
70+
<div class="col-md-4">
71+
<h2>gosh</h2>
72+
<p>
73+
the go shell
74+
</p>
75+
<p><a class="btn btn-default" href="https://github.com/formwork-io/gosh" role="button">Visit project &raquo;</a></p>
76+
</div>
77+
<div class="col-md-4">
78+
<h2>greenline</h2>
79+
<p>
80+
Greenline is an agnostic relay for interconnecting disparate components.
81+
</p>
82+
<p><a class="btn btn-default" href="https://github.com/formwork-io/greenline" role="button">Visit project &raquo;</a></p>
83+
</div>
84+
</div>
85+
86+
<hr>
87+
88+
<footer>
89+
<p><a href="https://github.com/formwork-io">
90+
formwork-io</a> on GitHub
91+
</p>
92+
</footer>
93+
</div> <!-- /container -->
94+
95+
96+
<!-- Bootstrap core JavaScript
97+
================================================== -->
98+
<!-- Placed at the end of the document so the pages load faster -->
99+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
100+
<script src="js/bootstrap.min.js"></script>
101+
</body>
102+
</html>

js/bootstrap.min.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/ie-emulation-modes-warning.js

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
2+
// IT'S JUST JUNK FOR OUR DOCS!
3+
// ++++++++++++++++++++++++++++++++++++++++++
4+
/*!
5+
* Copyright 2014 Twitter, Inc.
6+
*
7+
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
8+
* details, see http://creativecommons.org/licenses/by/3.0/.
9+
*/
10+
// Intended to prevent false-positive bug reports about Bootstrap not working properly in old versions of IE due to folks testing using IE's unreliable emulation modes.
11+
(function () {
12+
'use strict';
13+
14+
function emulatedIEMajorVersion() {
15+
var groups = /MSIE ([0-9.]+)/.exec(window.navigator.userAgent)
16+
if (groups === null) {
17+
return null
18+
}
19+
var ieVersionNum = parseInt(groups[1], 10)
20+
var ieMajorVersion = Math.floor(ieVersionNum)
21+
return ieMajorVersion
22+
}
23+
24+
function actualNonEmulatedIEMajorVersion() {
25+
// Detects the actual version of IE in use, even if it's in an older-IE emulation mode.
26+
// IE JavaScript conditional compilation docs: http://msdn.microsoft.com/en-us/library/ie/121hztk3(v=vs.94).aspx
27+
// @cc_on docs: http://msdn.microsoft.com/en-us/library/ie/8ka90k2e(v=vs.94).aspx
28+
var jscriptVersion = new Function('/*@cc_on return @_jscript_version; @*/')() // jshint ignore:line
29+
if (jscriptVersion === undefined) {
30+
return 11 // IE11+ not in emulation mode
31+
}
32+
if (jscriptVersion < 9) {
33+
return 8 // IE8 (or lower; haven't tested on IE<8)
34+
}
35+
return jscriptVersion // IE9 or IE10 in any mode, or IE11 in non-IE11 mode
36+
}
37+
38+
var ua = window.navigator.userAgent
39+
if (ua.indexOf('Opera') > -1 || ua.indexOf('Presto') > -1) {
40+
return // Opera, which might pretend to be IE
41+
}
42+
var emulated = emulatedIEMajorVersion()
43+
if (emulated === null) {
44+
return // Not IE
45+
}
46+
var nonEmulated = actualNonEmulatedIEMajorVersion()
47+
48+
if (emulated !== nonEmulated) {
49+
window.alert('WARNING: You appear to be using IE' + nonEmulated + ' in IE' + emulated + ' emulation mode.\nIE emulation modes can behave significantly differently from ACTUAL older versions of IE.\nPLEASE DON\'T FILE BOOTSTRAP BUGS based on testing in IE emulation modes!')
50+
}
51+
})();

js/ie10-viewport-bug-workaround.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*!
2+
* IE10 viewport hack for Surface/desktop Windows 8 bug
3+
* Copyright 2014 Twitter, Inc.
4+
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
5+
* details, see http://creativecommons.org/licenses/by/3.0/.
6+
*/
7+
8+
// See the Getting Started docs for more information:
9+
// http://getbootstrap.com/getting-started/#support-ie10-width
10+
11+
(function () {
12+
'use strict';
13+
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
14+
var msViewportStyle = document.createElement('style')
15+
msViewportStyle.appendChild(
16+
document.createTextNode(
17+
'@-ms-viewport{width:auto!important}'
18+
)
19+
)
20+
document.querySelector('head').appendChild(msViewportStyle)
21+
}
22+
})();

js/ie8-responsive-file-warning.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
2+
// IT'S JUST JUNK FOR OUR DOCS!
3+
// ++++++++++++++++++++++++++++++++++++++++++
4+
/*!
5+
* Copyright 2011-2014 Twitter, Inc.
6+
*
7+
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
8+
* details, see http://creativecommons.org/licenses/by/3.0/.
9+
*/
10+
// Intended to prevent false-positive bug reports about responsive styling supposedly not working in IE8.
11+
if (window.location.protocol == 'file:') {
12+
window.alert('ERROR: Bootstrap\'s responsive CSS is disabled!\nSee getbootstrap.com/getting-started/#respond-file-proto for details.')
13+
}

jumbotron.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
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+
}

0 commit comments

Comments
 (0)