building the layout [wip]

This commit is contained in:
surtur 2020-04-15 22:18:42 +02:00
parent 92ef166c49
commit 9f7da0854e
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 113 additions and 37 deletions

@ -28,4 +28,19 @@ h1,h2,h3,h4,h5 {
.mydiv { .mydiv {
margin: 1em; margin: 1em;
}
.arr-right .breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.5rem;color:#6c757d;content:">"}
nav > .breadcrumb {
background-color: white;
}
.arr-right > .breadcrumb-item:last-of-type {
color: black;
}
.row {
padding: 1em;
}
nav {
border-radius: 7px;
} }

@ -1,49 +1,103 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head>
<!-- Required meta tags --> <head>
<meta charset="utf-8"> <!-- Required meta tags -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta charset="utf-8">
<link rel="stylesheet" href="./css/main.css"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="./css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> <link rel="stylesheet" href="./css/bootstrap.min.css"
<title>tew-0x01</title> integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head> <link rel="stylesheet" href="./css/main.css">
<body> <title>tew-0x01</title>
<div id="divsection"> </head>
<h1 class="title">tew-0x01</h1>
<body>
<div class="container">
<nav class="navbar navbar-expand-md navbar-light bg-light"> <nav class="navbar navbar-expand-md navbar-light bg-light">
<a class="navbar-brand" href="#">Navbar</a> <a class="btn btn-toolbar" href="#">ADMIN IS</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
<div class="collapse navbar-collapse" id="navbarSupportedContent"> <div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto"> <ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a> <a class="nav-link dropdown-toggle" href="#" id="navbarObchod" role="button" data-toggle="dropdown"
<div class="dropdown-menu" aria-labelledby="navbarDropdown"> aria-haspopup="true" aria-expanded="false">Obchod</a>
<a class="dropdown-item" href="#">Action</a> <div class="dropdown-menu" aria-labelledby="navbarObchod">
<a class="dropdown-item" href="#">Another action</a> <a class="dropdown-item" href="#">a</a>
<a class="dropdown-item" href="#">b</a>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Something else here</a> <a class="dropdown-item" href="#">c</a>
</div> </div>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a> <a class="nav-link" href="#">Zakázky</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Plán výroby</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarNastavenia" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">Nastavení</a>
<div class="dropdown-menu" aria-labelledby="navbarNastavenia">
<a class="dropdown-item" href="#">e</a>
<a class="dropdown-item" href="#">t</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">c</a>
</div>
</li> </li>
</ul> </ul>
<form class="form-inline my-2 my-lg-0"> <ul class="navbar-nav ml-auto">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search"> <li class="nav-item dropdown">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button> <a class="nav-link dropdown-toggle" href="#" id="navbarusr" role="button" data-toggle="dropdown"
</form> aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-user"></span>usr</a>
<div class="dropdown-menu" aria-labelledby="navbarusr">
<a class="dropdown-item" href="#">a</a>
<a class="dropdown-item" href="#">b</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">c</a>
</div>
</li>
</div> </div>
</nav> </nav>
<div class="row">
<div class="col-sm-4">
<nav aria-label="breadcrumb">
<ol class="breadcrumb arr-right" >
<li class="breadcrumb-item"><a href="#">ADMIN IS</a></li>
<li class="breadcrumb-item"><a href="#">Nabídky</a></li>
<li class="breadcrumb-item active" aria-current="page">Nová nabídka</li>
</ol>
</nav>
</div>
<div class="col">
<div class="alert alert-success" role="alert">
Nabídka byla uložená.
</div>
</div>
</div>
<div class="row bg-light">
<div class="col">
<a class="col-lg-4 btn btn-block btn-primary" href="#">Ulozit</a>
</div>
<div class="col ml-auto">
<a class="col-lg-4 btn btn-block btn-warning ml-auto" href="#" role="button">Zpet na nabidky</a>
</div>
</div>
<div class="row bg-white">
<div class="col btn btn-block">
<a class="col-lg-4 btn btn-block btn-primary" href="#">Ulozit</a>
</div>
</div>
<div class="mydiv"> <div class="mydiv">
<button type="button" class="btn btn-primary">Primary</button> <button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button> <button type="button" class="btn btn-secondary">Secondary</button>
@ -57,10 +111,17 @@
</div> </div>
</div> </div>
<!-- Optional JavaScript --> <!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS --> <!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="./scripts/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> <script src="./scripts/jquery-3.3.1.slim.min.js"
<script src="./scripts/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script> integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
<script src="./scripts/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> crossorigin="anonymous"></script>
</body> <script src="./scripts/popper.min.js"
</html> integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="./scripts/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
</body>
</html>