2 Commits 8f5a43a978 ... 694f1790ff

Author SHA1 Message Date
  Makhanov 694f1790ff Merge branch 'makhanov' of https://git.kansk-tc.ru/aloparev/digital_college into makhanov 3 years ago
  Makhanov 4e75dad807 добавил новые файлы 3 years ago

+ 121 - 0
html/course_electro.html

@@ -0,0 +1,121 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
+    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
+    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
+    <title>Электротехник</title>
+    <link rel="stylesheet" href="icons/font-awesome-4.7.0/css/font-awesome.css">
+    <link rel="stylesheet" href="css/course.css">
+    <script src="scripts/menu.js"></script>
+</head>
+<body>
+    <div class="wrapper">
+        <header>
+            <div class="header">
+                <div class="logo_name">
+                    <img src="images/logo/Logo1.png" alt="Логотип">
+                    <p>Министерство образования Красноярского края</p>
+                </div>
+                <div class="header_buttons">
+                    <div class="top_header">
+                        <h1>Сибирский цифровой колледж</h1>
+                    </div><br>
+                    <div class="top_buttons">
+                        <button>Вход</button>
+                        <button>Регистрация</button>
+                    </div>
+                </div>
+            </div>
+            <hr>
+            <div class="quick_links_search">
+                <div class="link_buttons">
+                    <button id="top_btn_2">О нас</button>
+                </div>
+                <div class="hide_second_top_menu">
+                    <ul>
+                        <li><a href="">Новости</a></li>
+                        <li><a href="">Расписание занятий</a></li>
+                        <li><a href="">Учебные заведения</a></li>
+                        <li><a href="">Карта расположения колледжа</a></li>
+                        <li><a href="">Документы</a></li>
+                        <li><a href="">Контакты</a></li>
+                        <li><a href="">Преподаватели</a></li>
+                    </ul>
+                </div>
+                <hr id="hr_between">
+                <div class="search_field">
+                    <form action="" method="POST">
+                        <input type="search" id="search_input_top" name="search_input">
+                        <button type="submit" id="send_btn_1" name="send"><i class="fa fa-search fa-2x"></i></button>
+                        <button type="submit" id="send_btn_2" name="send"><i class="fa fa-search fa-1x"></i></button>
+                    </form>
+                </div>
+            </div>
+            <hr>
+        </header>
+
+        <div class="page_header">
+            <h1>Курс электротехника</h1>
+        </div>
+
+        <main>
+            <div class="this_course">
+                <div class="course_name">
+                    <p><strong>Название курса:</strong> Монтаж, накладка и эксплуатация электрооборудования промышленных и гражданских зданий</p>
+                </div><br>
+                <div class="course_program">
+                    <p><strong>Рабочая программа курса:</strong> организация монтажа, наладки, ремонта и эксплуатации силового и осветительного электрооборудования электрических сетей промышленных и гражданских зданий.</p>
+                </div><br>
+                <div class="free_places">
+                    <p><strong>Свободно мест:</strong> 142</p>
+                </div><br>
+                <div class="hours">
+                    <p><strong>Количество часов:</strong> 80</p>
+                </div><br>
+                <div class="document">
+                    <p><strong>Выдаваемый документ:</strong> cертификат об обучении.
+                    </p>
+                </div><br>
+                <div class="ed_place">
+                    <p><strong>Учебное заведение:</strong> Канский технологический колледж</p>
+                </div><br>
+                <div class="ed_contacts">
+                    <p><strong>Контакты учебного заведения:</strong> kansk-ktt@mail.ru</p>
+                </div><br>
+                <div class="teachers">
+                    <p><strong>Перечень преподавателей с фотографиями:</strong></p><br>
+                    <div class="teacher_first">
+                        <p>Иванова Татьяна Петровна</p>
+                        <img src="images/teachers/first.jpg" alt="Фото" height="300">
+                    </div><br>
+                    <div class="teacher_first">
+                        <p>Бубунова Мария Михалавна</p>
+                        <img src="images/teachers/2.jpeg" alt="Фото" height="300" id="img2" >
+                    </div>
+                </div><br>
+                <div class="contacts">
+                    <p><strong>Контакты ответсвенных за курс:</strong> Иванова Татьяна Петровна</p>
+                </div><br>
+                <button id="btn_order">Подать заявку</button>
+            </div>
+            <a href="index.html" id="btn_back"><button><i class="fa fa-arrow-left fa-2x"></i></button></a>
+        </main>
+        
+        <footer>
+            <div id="left">
+                <img src="images/logo/logo_ktk.png">
+                <p>Разработано<br>«Канским технологическим колледжом»</p>
+                <br>
+            </div>
+            <div id="right">
+                <p><i class="fa fa-map fa-2x"></i>&nbsp;&nbsp;&nbsp;ул. Кайтымская, 56, г.Канск, 663600</p><br>
+                <p><i class="fa fa-phone fa-2x"></i>&nbsp;&nbsp;&nbsp;(39161) 2-39-52</p><br>
+            </div>
+        </footer>
+    </div>
+</body>
+</html>

+ 11 - 0
html/courses.json

@@ -0,0 +1,11 @@
+[
+    {
+        "name": "Монтаж, накладка и эксплуатация электрооборудования промышленных и гражданских зданий",
+        "program": "организация монтажа, наладки, ремонта и эксплуатации силового и осветительного электрооборудования электрических сетей промышленных и гражданских зданий.",
+        "places": "142",
+        "hours": "80",
+        "document": "сертификат об обучении",
+        "ed_places": "Канский технологический колледж",
+        
+    }
+]

+ 665 - 0
html/css/course.css

@@ -0,0 +1,665 @@
+* {
+    padding: 0;
+    margin: 0;
+}
+
+input[type=text]::-ms-clear {  display: none; width : 0; height: 0; }
+input[type=text]::-ms-reveal {  display: none; width : 0; height: 0; }
+
+input::-webkit-search-decoration,
+input::-webkit-search-cancel-button,
+input::-webkit-search-results-button,
+input::-webkit-search-results-decoration { display: none; }
+
+hr {
+    border: none;
+    background-color: #707070;
+    height: 1px;
+    width: auto;
+    margin: 0 auto;
+}
+
+@font-face {
+    font-family: 'monsterrat_regular';
+    src: url('fonts/monsterrat/Montserrat-Regular.ttf');
+}
+
+@font-face {
+    font-family: 'monsterrat_bold';
+    src: url('fonts/monsterrat/Montserrat-Bold.ttf');
+}
+
+.wrapper {
+    max-width: 1200px;
+    margin: 0 auto;
+    background: linear-gradient(#ffffff, #d1e3ff, #a5c8ff);
+    box-shadow: 0 0 60px #b5d2ff;
+    padding: 0 20px;
+}
+
+.header {
+    display: flex;
+    max-width: 1042px;
+    justify-content: space-between;
+    margin-bottom: 29px !important;
+    margin: 0 auto;
+    padding: 20px 0 0 0;
+}
+
+.logo_name {
+    display: flex;
+    width: 340px;
+    justify-content: space-between;
+    align-items: center;
+}
+
+.logo_name > p {
+    width: 218px;
+    font-size: 20px;
+    font-family: 'monsterrat_regular';
+}
+
+.header_buttons {
+    width: 630px;
+    margin-top: 20px;
+    position: relative;
+}
+
+.top_header {
+    width: 630px;
+}
+
+.top_header > h1 {
+    font-family: 'monsterrat_bold';
+    text-shadow: 0 5px 6px #00000063;
+    font-size: 35px;
+    text-align: center;
+}
+
+.top_buttons {
+    width: 330px;
+    display: flex;
+    justify-content: space-between;
+    position: absolute;
+    right: 20px;
+}
+
+.top_buttons > button {
+    font-family: 'monsterrat_regular';
+    background-color: #ffffff;
+    border: 1px solid #707070;
+    box-shadow: 0 3px 6px #00000063;
+    padding: 5px 25px;
+    border-radius: 17px;
+    font-size: 20px;
+    height: 45px;
+}
+
+.top_buttons > button:hover {
+    cursor: pointer;
+}
+
+#hr_between {
+    margin: 0 20px;
+}
+
+.quick_links_search {
+    display: flex;
+    max-width: 1200px;
+    height: 100px;
+    margin: 0 auto;
+    position: relative;
+}
+
+.quick_links_search > .link_buttons {
+    width: 390px !important;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    margin-right: 0px;
+}
+
+.hide_first_top_menu {
+    position: absolute;
+    top: 118.5px;
+    width: 360px;
+    height: 150px;
+    background-color: #ffffff;
+    border: 1px solid #707070;
+    border-radius: 35px;
+    box-shadow: 0 3px 6px #707070;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    display: none;
+}
+
+.hide_first_top_menu > ul {
+    padding: 0;
+    list-style-type: none;
+    text-align: center;
+    line-height: 2.5;
+    font-family: 'monsterrat_regular';
+    font-size: 20px;
+}
+
+.hide_first_top_menu > ul > li > a {
+    text-decoration: none;
+    color: #000000;
+}
+
+.hide_second_top_menu {
+    position: absolute;
+    top: 118.5px;
+    width: 360px;
+    height: 350px;
+    background-color: #ffffff;
+    border: 1px solid #707070;
+    border-radius: 35px;
+    box-shadow: 0 3px 6px #707070;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    display: none;
+    z-index: 9 !important;
+}
+
+.hide_second_top_menu > ul {
+    padding: 0;
+    list-style-type: none;
+    text-align: center;
+    line-height: 2.5;
+    font-family: 'monsterrat_regular';
+    font-size: 20px;
+}
+
+.hide_second_top_menu > ul > li > a {
+    text-decoration: none;
+    color: #000000;
+}
+
+.link_buttons > button {
+    font-family: 'monsterrat_regular';
+    background-color: #ffffff;
+    border: 1px solid #707070;
+    box-shadow: 0 3px 6px #00000063;
+    padding: 5px 25px;
+    border-radius: 17px;
+    font-size: 20px;
+    height: 45px;
+}
+
+.link_buttons > button:hover {
+    cursor: pointer;
+}
+
+.link_buttons > button[id='top_btn_2'] {
+    padding: 5px 27px;
+    width: 200px;
+}
+
+.quick_links_search > hr {
+    border: none;
+    width: 1px;
+    background-color: #707070;
+    height: 100px;
+    margin: 0;
+}
+
+.quick_links_search > .search_field {
+    width: 780px;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+}
+
+.search_field > form {
+    width: 727px;
+    height: 45px;
+    display: flex;
+    position: relative;
+    border-radius: 17px;
+}
+
+.search_field > form > input[id="search_input_top"] {
+    width: 727px;
+    border-radius: 17px;
+    border: 1px solid #707070;
+    text-align: center;
+    font-size: 20px;
+    font-family: 'monsterrat_regular';
+}
+
+.search_field > form > button[id="send_btn_1"] {
+    position: absolute;
+    right: 0;
+    border: none;
+    background: none;
+    height: 45px;
+    width: 45px;
+}
+
+.search_field > form > button[id="send_btn_1"]:hover {
+    cursor: pointer;
+}
+
+.search_field > form > button[id="send_btn_2"] {
+    position: absolute;
+    right: 0;
+    border: none;
+    background: none;
+    height: 45px;
+    width: 45px;
+    display: none;
+}
+
+.search_field > form > button[id="send_btn_2"]:hover {
+    cursor: pointer;
+}
+
+.page_header {
+    max-width: 1200px;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    margin-top: 20px;
+    font-family: 'monsterrat_regular';
+}
+
+.page_header h1 {
+    text-align: center;
+}
+
+main {
+    height: 1200px;
+    max-width: 1000px;
+    margin: 0 auto;
+    margin-top: 20px;
+    display: flex;
+    flex-wrap: wrap;
+    padding-top: 30px;
+    background-color: #ffffff;
+    border-radius: 10px;
+    flex-direction: column;
+    position: relative;
+}
+
+main .this_course {
+    display: flex;
+    justify-content: space-evenly;
+    max-width: 900px;
+    margin: 0 auto;
+    height: 980px;
+    flex-direction: column;
+    font-family: 'monsterrat_regular';
+}
+
+.teacher_first {
+    display: flex;
+    flex-direction: row !important;
+    align-items: center;
+    justify-content: space-evenly;
+}
+
+main .this_course #btn_order {
+    width: 210px;
+    height: 40px;
+    background-color: #ffffff;
+    border: 2px solid #707070;
+    border-radius: 17px;
+    font-family: 'monsterrat_regular';
+    font-size: 16px;
+}
+
+main #btn_back {
+    width: 50px;
+    height: 50px;
+    margin-left: 100px;
+}
+
+#img2 {
+    transform: scale(0.7);
+    margin-left: 20px;
+}
+
+main #btn_back, #btn_back button {
+    width: 70px;
+    height: 50px;
+    border-radius: 17px;
+    position: absolute;
+    bottom: 30px;
+}
+
+#btn_back button {
+    background-color: #a5c8ff;
+}
+
+#btn_back button:hover {
+    cursor: pointer;
+}
+
+main .this_course p strong {
+    font-weight: bold;
+    font-size: 18px;
+}
+
+#left{
+	float: left;
+}
+
+#right{
+    margin-top: 20px;
+	float: right;
+}
+
+footer {
+	max-width: 1121px !important;
+	margin: 0 auto;
+    display: flex;
+    justify-content: space-between;
+    margin-top: 20px;
+    flex-wrap: wrap;
+    border-top: 1px solid #707070;
+    padding: 20px 0;
+}
+
+#right > p, #left > p {
+    font-family: 'monsterrat_regular';
+    display: flex;
+    align-items: center;
+}
+
+#left {
+    display: inline-flex;
+    justify-content: space-between;
+    align-items: center;
+    width: 460px;
+}
+
+#left img {
+    float: left;
+}
+
+.fa-map {
+    color: #00923e;
+}
+
+.fa-phone {
+    color: #00923e;
+}
+
+@media (max-width: 1121px) {
+    .wrapper {
+        max-width: 1000px;
+    }
+    .top_header > h1 {
+        font-size: 30px;
+        text-align: center;
+    }
+    .top_buttons > button {
+        height: 35px;
+    }
+    .quick_links_search {
+        max-width: 1000px;
+        height: 75px;
+    }
+    #hr_between {
+        height: 75px;
+    }
+    .link_buttons > button {
+        font-size: 16px;
+        height: 35px;
+    }
+    .search_field {
+        width: 500px;
+    }
+    .search_field > form {
+        width: 650px;
+        height: 35px;
+    }
+    #send_btn_1 {
+        height: 35px;
+        width: 35px;
+        margin-right: 10px;
+    }
+    .hide_first_top_menu {
+        top: 90px;
+        width: 330px;
+        height: 120px;
+    }
+    .hide_first_top_menu > ul {
+        font-size: 16px;
+    }
+    .hide_second_top_menu {
+        top: 90px;
+        width: 330px;
+        height: 280px;
+    }
+    .hide_second_top_menu > ul {
+        font-size: 16px;
+    }
+}
+
+@media (max-width: 1000px) {
+    .wrapper {
+        max-width: 850px;
+    }
+    .logo_name > p {
+        font-size: 16px;
+        width: 180px;
+    }
+    .top_header {
+        width: 500px;
+    }
+    .top_header > h1 {
+        font-size: 25px;
+    }
+    .top_buttons {
+        width: 270px;
+    }
+    .top_buttons > button {
+        height: 28px;
+        font-size: 16px;
+    }
+    .quick_links_search {
+        max-width: 850px;
+        height: 75px;
+    }
+    #hr_between {
+        height: 75px;
+    }
+    .link_buttons {
+        width: 260px !important;
+    }
+    .link_buttons > button {
+        font-size: 16px;
+        height: 28px;
+        font-size: 14px;
+    }
+    .search_field {
+        width: 530px !important;
+    }
+    .search_field > form {
+        width: 530px;
+        height: 28px;
+    }
+    #send_btn_1 {
+        display: none;
+    }
+    #send_btn_2 {
+        display: block;
+        width: 28px;
+        height: 28px;
+    }
+    .link_buttons > button[id='top_btn_2'] {
+        padding: 5px 20px;
+    }
+    .search_field > form > input[id="search_input_top"] {
+        font-size: 16px;
+    }
+    .hide_first_top_menu {
+        top: 90px;
+        width: 280px;
+        height: 105px;
+    }
+    .hide_first_top_menu > ul {
+        font-size: 14px;
+    }
+    .hide_second_top_menu {
+        top: 90px;
+        width: 280px;
+        height: 245px;
+    }
+    .hide_second_top_menu > ul {
+        font-size: 14px;
+    }
+}
+
+@media (max-width: 850px) {
+    .wrapper {
+        max-width: 650px;
+    }
+    .logo_name > img {
+        transform: scale(0.8);
+    }
+    .header {
+        max-width: 650px !important;
+        margin-bottom: 10px !important;
+    }
+    .logo_name > p {
+        font-size: 14px;
+        width: 150px;
+    }
+    .header_buttons {
+        width: 500px;
+    }
+    .header_buttons > .top_header {
+        width: 400px;
+    }
+    .top_header > h1 {
+        font-size: 22px;
+    }
+    .search_field {
+        width: 350px !important;
+    }
+    .search_field > form {
+        width: 350px;
+    }
+    main {
+        margin-top: 10px;
+        justify-content: space-between;
+    }
+    .this_course {
+        padding: 0 10px;
+    }
+    #btn_back {
+        margin-bottom: 0px;
+        margin-left: 20px !important;
+    }
+    #right {
+        margin-top: 20px;
+        margin: 0 auto;
+    }
+}
+
+@media (max-width: 690px) {
+    .header {
+        flex-wrap: wrap;
+        justify-content: center;
+        margin-bottom: 15px !important;
+    }
+    .top_buttons {
+        position: static;
+        margin: 0 auto;
+    }
+    .logo_name {
+        width: 270px;
+    }
+    .logo_name > p {
+        font-size: 21px;
+        width: 170px;
+    }
+    .header_buttons {
+        margin-top: 10px !important;
+    }
+    .top_header {
+        margin: 0 auto;
+    }
+    .quick_links_search {
+        flex-wrap: wrap;
+        max-width: 500px;
+        justify-content: center;
+        padding: 15px 0;
+    }
+    #hr_between {
+        display: none;
+    }
+    .search_field {
+        margin-top: 10px;
+    }
+    .hide_first_top_menu, .hide_second_top_menu {
+        top: 60px;
+        z-index: 1;
+        width: 350px;
+        border-radius: 10px;
+    }
+    #left {
+        margin-left: 20px;
+    }
+}
+
+@media (max-width: 520px) {
+    .this_course {
+        height: 1400px !important;
+    }
+    main {
+        height: 1600px !important;
+    }
+}
+
+@media (max-width: 490px) {
+    #left > p {
+        width: 150px;
+    }
+    #left {
+        width: 300px;
+        justify-content: space-around;
+        margin: 0 auto;
+    }
+    #right {
+        margin-top: 20px;
+    }
+    .teacher_first {
+        flex-wrap: wrap-reverse;
+    }
+}
+
+@media (max-width: 420px) {
+    .top_header {
+        width: 250px !important;
+    }
+    .top_header > h1 {
+        font-size: 23px;
+    }
+    .search_field, form {
+        width: 250px !important;
+    }
+    .hide_first_top_menu, .hide_second_top_menu {
+        width: 250px;
+    }
+}
+
+@media (max-width: 400px) {
+    .this_course {
+        max-width: 300px !important;
+    }
+}
+
+@media (max-width: 350px) {
+    #right {
+        width: 250px !important;
+    }
+    .fa-map {
+        margin-right: 10px;
+    }
+}

+ 16 - 7
html/css/index.css

@@ -43,6 +43,7 @@ hr {
     justify-content: space-between;
     margin-bottom: 29px !important;
     margin: 0 auto;
+    padding: 20px 0 0 0;
 }
 
 .logo_name {
@@ -60,7 +61,8 @@ hr {
 
 .header_buttons {
     width: 630px;
-    margin-top: 38px;
+    margin-top: 20px;
+    position: relative;
 }
 
 .top_header {
@@ -78,7 +80,8 @@ hr {
     width: 330px;
     display: flex;
     justify-content: space-between;
-    margin: 0 auto;
+    position: absolute;
+    right: 20px;
 }
 
 .top_buttons > button {
@@ -102,14 +105,14 @@ hr {
 
 .quick_links_search {
     display: flex;
-    max-width: 1121px;
+    max-width: 1200px;
     height: 100px;
     margin: 0 auto;
     position: relative;
 }
 
 .quick_links_search > .link_buttons {
-    width: 360px !important;
+    width: 390px !important;
     display: flex;
     align-items: center;
     justify-content: center;
@@ -192,6 +195,7 @@ hr {
 
 .link_buttons > button[id='top_btn_2'] {
     padding: 5px 27px;
+    width: 200px;
 }
 
 .quick_links_search > hr {
@@ -203,7 +207,7 @@ hr {
 }
 
 .quick_links_search > .search_field {
-    width: 727px;
+    width: 780px;
     display: flex;
     align-items: center;
     justify-content: center;
@@ -263,8 +267,8 @@ hr {
 }
 
 main {
-    height: 1000px;
-    max-width: 1000px;
+    height: 800px;
+    max-width: 1200px;
     margin: 0 auto;
     margin-top: 20px;
     display: flex;
@@ -622,6 +626,11 @@ footer {
     .header {
         flex-wrap: wrap;
         justify-content: center;
+        margin-bottom: 15px !important;
+    }
+    .top_buttons {
+        position: static;
+        margin: 0 auto;
     }
     .logo_name {
         width: 270px;

BIN
html/images/teachers/1.jpeg


BIN
html/images/teachers/1479536080180281174.jpeg


BIN
html/images/teachers/2.jpeg


BIN
html/images/teachers/first.jpg


BIN
html/images/teachers/Без названия.jpeg


+ 1 - 14
html/index.html

@@ -68,7 +68,7 @@
                 <div class="course_img">
                     <img src="/images/courses/electro/electro.jpg" alt="" id="course_img_1">
                 </div>
-                <a href="#">
+                <a href="course_electro.html">
                 <div class="course_name">
                     <h2>Электротехник</h2>
                 </div>
@@ -167,19 +167,6 @@
                     <p><strong>Период:</strong> 1 месяца <br><strong>Цена:</strong> 15.000</p>
                 </div></a>
             </div>
-
-            <div class="course">
-                <div class="course_img">
-                    <img src="/images/courses/energo/Image 9.jpg" alt="" id="course_img_9">
-                </div>
-                <a href="#">
-                <div class="course_name">
-                    <h2>Электроснабжение</h2>
-                </div>
-                <div class="course_description">
-                    <p><strong>Период:</strong> 4 месяца <br><strong>Цена:</strong> 20.000</p>
-                </div></a>
-            </div>
         </main>
         
         <footer>

+ 0 - 1
html/scripts/menu.js

@@ -1,6 +1,5 @@
 $(document).ready(function(){
     $('#top_btn_2').click(function(){
-        $('.hide_first_top_menu').hide();
         $('.hide_second_top_menu').toggle();
     });
 });