-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (42 loc) · 1.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{% extends "./templates/base.html" %} {% block base %} {%include
"./templates/navbar.html" %}
<div class="heading-div">
<h3 class="heading">Web Phishing Detection</h3>
<p>Is your link safe or malicious?<br />Try our service</p>
{% if not userInfo %}
<button
class="btn btn-primary"
data-toggle="modal"
data-target="#exampleModalCenter"
data-backdrop="static"
data-keyboard="false"
>
Login here
</button>
{% endif %} {% if userInfo %}
<button class="btn btn-primary" onclick="location.href = '/detect';">
Get Started
</button>
{% endif %}
</div>
<div id="magicCarousel" class="carousel slide" data-ride="carousel">
<div class="carousel-inner" role="listbox">
{% for content in carousel_content %}
<div class="carousel-item">
<img src="{{content['carousel-image']}}" class="d-block" />
<div class="carousel-caption">
<h3>{{content['caption-title']}}</h3>
<p>{{content['caption-description']}}</p>
</div>
</div>
{% endfor %}
<ol class="carousel-indicators">
<li data-target="#magicCarousel" data-slide-to="0" class="active"></li>
<li data-target="#magicCarousel" data-slide-to="1"></li>
<li data-target="#magicCarousel" data-slide-to="2"></li>
<li data-target="#magicCarousel" data-slide-to="3"></li>
</ol>
</div>
</div>
<script src="./static/js/index.js"></script>
{% endblock %}