Skip to content

Instantly share code, notes, and snippets.

@beeva-manueldepaz
Last active April 27, 2020 15:20
Show Gist options
  • Save beeva-manueldepaz/86f07fab23501c2aa984f27f739adca5 to your computer and use it in GitHub Desktop.
Save beeva-manueldepaz/86f07fab23501c2aa984f27f739adca5 to your computer and use it in GitHub Desktop.
Template Responsive Under Construction / Maintenance - index.html (Bootstrap & JQuery by CDN)
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>We're under construction / Maintenance </title>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
background-color: #f5f5f5;
}
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
.container {
width: auto;
max-width: 680px;
padding: 0 15px;
}
.container .text-muted {
margin: 20px 0;
}
</style>
</head>
<body>
<div class="container" style="margin-top:20px">
<div class="jumbotron">
<h1>Under Construction</h1>
<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
<p>Please come back later, we're still under development.</p>
</div>
<p>Last Updated: August 2016</p>
</div>
<footer class="footer">
<div class="container">
<p class="text-muted">&copy; Your Company 2016</p>
</div>
</footer>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script>
jQuery(document).ready(function () {
console.log('ready to go!');
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment