index.html 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <!DOCTYPE html>
  2. <html lang='en'>
  3. <head>
  4. <meta charset='UTF-8' />
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <!--Bootstrap css-->
  7. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
  8. <link rel='stylesheet' href='style.css'>
  9. <title> Pizza Delivery</title>
  10. </head>
  11. <body>
  12. <header>
  13. <div class="container-fluid">
  14. <div class="row ">
  15. <nav class="navbar navbar-light">
  16. <a class="navbar-brand" href="#"><img src="img/pizza-logo.png" alt="logo" style="width: 100px;"></a>
  17. <form class="form-search my-2 my-lg-0 mr-0">
  18. <input class="form-control mr-sm-0" type="search" id="search" placeholder="Поиск" aria-label="Search">
  19. </form>
  20. <a href="cart.html" type="button" class="btn-cart px-5">
  21. <svg class="icon icon-basket" width="3em" height="3em" viewBox="0 0 16 16" class="bi bi-cart4" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
  22. <path fill="#fff" d="M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5zM3.14 5l.5 2H5V5H3.14zM6 5v2h2V5H6zm3 0v2h2V5H9zm3 0v2h1.36l.5-2H12zm1.11 3H12v2h.61l.5-2zM11 8H9v2h2V8zM8 8H6v2h2V8zM5 8H3.89l.5 2H5V8zm0 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0z"/>
  23. </svg>
  24. <span class="btn-cart-info"></span>
  25. </a>
  26. </nav>
  27. </div>
  28. </div>
  29. </header>
  30. <main>
  31. <div class="container-fluid">
  32. <div class="row">
  33. <div class="col-xs-12 col-md-4 col-lg-2 order-1 bg-light py-4">
  34. <h3>Выбрать</h3>
  35. <form id="filter">
  36. <div class="row">
  37. <div class="choice-price col-6 col-md-12 py-3">
  38. Цена: <br>
  39. <div class="price-choice d-flex mb-2">
  40. <input type="number" id="smallPrice" class="form-control mr-1" placeholder="от">
  41. <input type="number" id="bigPrice" class="form-control" placeholder="до">
  42. </div>
  43. <button type="button" id="btn-price" class="btn btn-outline-warning rounded-pill">Ok</button>
  44. </div>
  45. <div class="choice-caloricity col-6 col-md-12 py-3">
  46. Каллории: <br>
  47. <div class="price-choice d-flex mb-2">
  48. <input type="number" id="smallCaloricity" class="form-control mr-1" placeholder="от">
  49. <input type="number" id="bigCaloricity" class="form-control" placeholder="до">
  50. </div>
  51. <button type="button" id="btn-caloricity" class="btn btn-outline-warning rounded-pill">Ok</button>
  52. </div>
  53. </div>
  54. <button type="reset" id="cancel" class="btn btn-warning btn-lg my-2">Отменить выбор</button>
  55. <button type="button" class="btn btn-outline-warning btn-modal-open btn-lg my-3" data-toggle="modal" data-target="#staticBackdroppizza">Создать свою пиццу</button>
  56. <button type="button" class="btn btn-outline-danger btn-lg my-3">Понравившиеся пиццы</button>
  57. </form>
  58. </div>
  59. <div class="col-xs-12 col-md-8 col-lg-10 order-2 py-4">
  60. <div class="row"> <!--сортировка списка-->
  61. <form class="d-flex align-items-center">
  62. <div class="form-group">
  63. <select class="form-control mx-3 bg-light" id="sort">
  64. <option value="default">новинки</option>
  65. <option value="more">по возрастанию цены</option>
  66. <option value="less">по убыванию цены</option>
  67. </select>
  68. </div>
  69. </form>
  70. </div>
  71. <div class="card-list row py-3 d-flex flex-wrap text-center"> <!--список пицц-->
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. <div class="modal fade" id="staticBackdrop" data-backdrop="static" data-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
  77. <div id="modal" class="modal-dialog modal-dialog-centered">
  78. <div class="modal-content">
  79. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  80. <span aria-hidden="true" class="modal-close">&times;</span>
  81. </button>
  82. <div class="modal-body">
  83. </div>
  84. <button type="button" class="btn btn-warning" data-dismiss="modal">Закрыть</button>
  85. </div>
  86. </div>
  87. </div>
  88. <div class="modal fade" id="staticBackdroppizza" data-backdrop="static" data-keyboard="false" tabindex="-1" aria-labelledby="staticBackdroppizzaLabel" aria-hidden="true">
  89. <div id="modal-create-pizza" class="modal-dialog modal-dialog-centered">
  90. <div class="modal-content">
  91. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  92. <span aria-hidden="true" class="modal-close">&times;</span>
  93. </button>
  94. <div class="modal-body-create">
  95. <form class="form-create-pizza"></form>
  96. </div>
  97. <button type="button" class="btn btn-warning" data-dismiss="modal">Close</button>
  98. </div>
  99. </div>
  100. </div>
  101. </main>
  102. <footer>
  103. <div class="container-fluid">
  104. <div class="row">
  105. <div class="col py-3"><a href="tel:+380501234567"><p class="text-center my-auto">+38 050 123 45 67</p></a></div>
  106. </div>
  107. </div>
  108. </footer>
  109. <script src='https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.2/axios.js'></script>
  110. <!-- jQuery, Popper.js, and Bootstrap JS -->
  111. <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
  112. <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
  113. <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s" crossorigin="anonymous"></script>
  114. <!-- Custom script -->
  115. <script type='module' src='scripts/index.js'></script>
  116. </body>
  117. </html>