mirror of
https://github.com/Llloooggg/Jarvis.git
synced 2026-03-06 03:56:23 +03:00
Добавил всплывашку для регистрации, создал поле для удаления событий
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
<title>Jarvis</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename = './css/main.css') }}">
|
||||
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='./img/favicon.ico') }}">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='./css/plugins/jquery.fancybox.css') }}">
|
||||
<script src="{{ url_for('static', filename = './js/main.js') }}"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -76,7 +78,7 @@
|
||||
<div class="form__controls">
|
||||
<div class="form__controls-btns clearfix">
|
||||
<div class="form__controls-right">
|
||||
<button type="submit" value="Отправить" class="form__submit" name="RegButton" >Регистрация</button>
|
||||
<button type="submit" value="Отправить" class="form__submit" name="RegButton">Регистрация</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -129,5 +131,14 @@
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- <a href="#" data-fancybox data-src="#test-popup">открыть всплывашку</a> -->
|
||||
<div class="popup" id="test-popup">
|
||||
<h1>Пользователь уже существует</h1>
|
||||
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Eum, totam aperiam. Fugit modi exercitationem eos itaque sequi molestiae, voluptates magnam?</p>
|
||||
<a href="#" class="close welcome__btn ">Закрыть</a>
|
||||
</div>
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
||||
<script src="{{ url_for('static', filename = './js/plugins/jquery.fancybox.min.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -106,10 +106,13 @@
|
||||
<ul class="events_list">
|
||||
{% if user_scripts_list %}
|
||||
{% for user_script in user_scripts_list%}
|
||||
<form action="/workshop" name="" method="POST">
|
||||
<li class="events_item">
|
||||
<p>{{ user_script.name }}</p>
|
||||
<div class="cl-btn-7" ></div>
|
||||
<p style="display: none;" ></p>
|
||||
<a class="cl-btn-7" ></a>
|
||||
</li>
|
||||
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<p>У вас пока отсутствуют сценарии</p>
|
||||
@@ -143,6 +146,32 @@
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="form">
|
||||
<div class="form__title">
|
||||
Удалить событие
|
||||
</div>
|
||||
<form action="/workshop" name="" method="POST">
|
||||
<label class="form__log">
|
||||
<div class="form__field-title" >
|
||||
Выберите событие
|
||||
</div>
|
||||
<select class="form__input-text" name = "">
|
||||
{% for trigger in triggers_list %}
|
||||
<option>{{ trigger.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
<div class="form__btns">
|
||||
<div class="form__controls">
|
||||
<div class="form__controls-btns clearfix">
|
||||
<div class="form__controls-right">
|
||||
<button type="submit" value="Удалить" class="form__submit" name="" >Удалить</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user