Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>Bootstrap Example</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
- <style>
- /* Remove the navbar's default margin-bottom and rounded borders */
- .navbar {
- margin-bottom: 0;
- border-radius: 0;
- }
- /* Set height of the grid so .sidenav can be 100% (adjust as needed) */
- .row.content {height: 450px}
- /* Set gray background color and 100% height */
- .sidenav {
- padding-top: 20px;
- background-color: #f1f1f1;
- height: 100%;
- }
- /* Set black background color, white text and some padding */
- footer {
- background-color: #555;
- color: white;
- padding: 15px;
- }
- /* On small screens, set height to 'auto' for sidenav and grid */
- @media screen and (max-width: 767px) {
- .sidenav {
- height: auto;
- padding: 15px;
- }
- .row.content {height:auto;}
- }
- </style>
- </head>
- <body>
- <nav class="navbar navbar-inverse">
- <div class="container-fluid">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="#">Logo</a>
- </div>
- <div class="collapse navbar-collapse" id="myNavbar">
- <ul class="nav navbar-nav">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Tentang</a></li>
- <li><a href="#">Projek</a></li>
- <li><a href="#">Hubungi kami</a></li>
- </ul>
- <ul class="nav navbar-nav navbar-right">
- <li><a href="#"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
- </ul>
- </div>
- </div>
- </nav>
- <div id="myCarousel" class="carousel slide" data-ride="carousel">
- <!-- Indicators -->
- <ol class="carousel-indicators">
- <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
- <li data-target="#myCarousel" data-slide-to="1"></li>
- <li data-target="#myCarousel" data-slide-to="2"></li>
- </ol>
- <!-- Wrapper for slides -->
- <div class="carousel-inner">
- <div class="item active">
- <img src="la.jpg" alt="Los Angeles">
- </div>
- <div class="item">
- <img src="chicago.jpg" alt="Chicago">
- </div>
- <div class="item">
- <img src="ny.jpg" alt="New York">
- </div>
- </div>
- <!-- Left and right controls -->
- <a class="left carousel-control" href="#myCarousel" data-slide="prev">
- <span class="glyphicon glyphicon-chevron-left"></span>
- <span class="sr-only">Previous</span>
- </a>
- <a class="right carousel-control" href="#myCarousel" data-slide="next">
- <span class="glyphicon glyphicon-chevron-right"></span>
- <span class="sr-only">Next</span>
- </a>
- </div>
- <div class="container-fluid text-center">
- <div class="row">
- <div class="row content">
- <div class="col-sm-2 sidenav">
- <p><a href="#" class="btn btn-primary btn-block">
- Home
- <span class="glyphicon glyphicon-home"></span>
- </a></p>
- <p><a href="http://kerul.net" class="btn btn-primary btn-block">
- Kerul.net
- <span class="glyphicon glyphicon-globe"></span></a>
- </p>
- <p><a href="http://fb.com/kuis.fstm" class="btn btn-primary btn-block">
- FSTM KUIS fb
- <span class="glyphicon glyphicon-share"></span>
- </a></p>
- <p><a href="#" class="btn btn-primary btn-warning btn-block">
- Delete</a></p>
- </div>
- <div class="col-sm-9 text-left">
- <h1>Welcome</h1>
- <p>Welcome to FSTM website.</p>
- <hr>
- <h3>Please register here</h3>
- <form method="get"action="">
- Username <br>
- <input type="text" placeholder="Username"
- class="form-control">
- Password <br>
- <input type="password" placeholder="Password"
- class="form-control">
- Fullname <br>
- <input type="text" placeholder="Fullname"
- class="form-control">
- <button type="submit" class="btn btn-primary">
- Register</button>
- <button type="reset" class="btn btn-warning">
- Reset</button>
- </form>
- </div>
- </div>
- </div>
- <footer class="container-fluid text-center">
- <p>Footer Text</p>
- </footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment