2022-09-05 15:53:48 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<title>Reading Analytics System</title>
|
|
|
|
{% load static %}
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="{% static "css/index.css" %}"/>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
|
|
|
|
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
|
|
|
|
crossorigin=""/>
|
|
|
|
|
2022-09-30 16:30:18 +02:00
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
|
|
|
|
|
|
|
|
<script src="https://kit.fontawesome.com/c4a0df9f18.js" crossorigin="anonymous"></script>
|
|
|
|
|
2022-10-04 16:28:55 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.12.1/css/jquery.dataTables.css">
|
|
|
|
|
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;600;700&display=swap" rel="stylesheet">
|
|
|
|
|
|
|
|
|
2022-09-05 15:53:48 +02:00
|
|
|
<!-- Make sure you put this AFTER Leaflet's CSS -->
|
|
|
|
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"
|
|
|
|
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
|
|
|
|
crossorigin=""></script>
|
2022-09-29 16:18:35 +02:00
|
|
|
<style>
|
|
|
|
html, body{
|
2022-10-11 15:33:16 +02:00
|
|
|
background:#f8f8fa;
|
2022-09-30 16:30:18 +02:00
|
|
|
margin:0;
|
|
|
|
padding:0;
|
2022-10-04 16:28:55 +02:00
|
|
|
font-family: 'Source Sans Pro', sans-serif;
|
2022-09-29 16:18:35 +02:00
|
|
|
}
|
|
|
|
|
2022-10-12 13:56:04 +02:00
|
|
|
h1{
|
|
|
|
font-size: 30px;
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 0 10px 0px 10px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2{
|
|
|
|
padding-left: 10px;
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 18px;
|
|
|
|
color: #a7adbd;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-10-11 15:33:16 +02:00
|
|
|
.content{
|
2022-10-12 13:56:04 +02:00
|
|
|
padding: 50px 50px 50px 110px;
|
2022-10-11 15:33:16 +02:00
|
|
|
}
|
|
|
|
|
2022-09-30 16:30:18 +02:00
|
|
|
.filter{
|
|
|
|
width:100%;
|
|
|
|
background:#1f2940;
|
|
|
|
padding: 20px 0;
|
|
|
|
}
|
|
|
|
|
2022-10-05 16:43:05 +02:00
|
|
|
.books-per-month{
|
|
|
|
height:700px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.books-per-month canvas{
|
|
|
|
height:600px !important;
|
|
|
|
}
|
|
|
|
|
2022-10-27 11:17:03 +02:00
|
|
|
.books-per-month, .genresPercent, .books-per-country, .book{
|
2022-10-11 15:33:16 +02:00
|
|
|
background: #ffffff;
|
2022-10-05 16:43:05 +02:00
|
|
|
padding: 20px;
|
2022-10-11 15:33:16 +02:00
|
|
|
box-shadow: 0 2px 0px 1px rgb(0 0 0 / 3%);
|
|
|
|
margin-bottom: 20px;
|
|
|
|
border-radius: 10px;
|
2022-09-30 16:30:18 +02:00
|
|
|
}
|
|
|
|
|
2022-10-27 11:17:03 +02:00
|
|
|
.book .book-icon{
|
|
|
|
font-size: 60px;
|
|
|
|
float: left;
|
|
|
|
margin-right: 20px;
|
|
|
|
margin-bottom: 40px;
|
|
|
|
color: #808080;
|
|
|
|
}
|
|
|
|
|
|
|
|
.book_rating{
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.book_rating i{
|
|
|
|
font-family: "Font Awesome 5 Free";
|
|
|
|
color: #ffbe0e;
|
|
|
|
}
|
|
|
|
|
|
|
|
.book .book_pages{
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.book .book_title_author{
|
|
|
|
font-size: 16px;
|
|
|
|
color: #808080;
|
|
|
|
}
|
|
|
|
|
2022-10-11 15:33:16 +02:00
|
|
|
.sidebar{
|
|
|
|
background: #363a53;
|
2022-10-12 13:56:04 +02:00
|
|
|
width: 70px;
|
2022-10-11 15:33:16 +02:00
|
|
|
height: 100vh;
|
|
|
|
position: fixed;
|
2022-10-12 13:56:04 +02:00
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar .menu-item{
|
|
|
|
text-align: center;
|
|
|
|
padding: 15px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar .menu-item i{
|
|
|
|
font-size: 25px;
|
|
|
|
color: #727794;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar .menu-item.selected i{
|
|
|
|
color:#fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar svg{
|
|
|
|
color:#ffffff;
|
2022-09-30 16:30:18 +02:00
|
|
|
}
|
2022-10-03 17:03:02 +02:00
|
|
|
|
|
|
|
.books-stats{
|
|
|
|
margin:20px 0;
|
|
|
|
}
|
|
|
|
|
2022-10-12 13:56:04 +02:00
|
|
|
.books-icon{
|
|
|
|
background:#000;
|
|
|
|
padding: 50px;
|
|
|
|
}
|
|
|
|
|
2022-10-27 11:17:03 +02:00
|
|
|
.books-stats .stat-block, .stat-block{
|
2022-10-11 15:33:16 +02:00
|
|
|
background: #ffffff;
|
|
|
|
box-shadow: 0 2px 0px 1px rgb(0 0 0 / 3%);
|
|
|
|
padding: 15px 5px;
|
|
|
|
color: #101010;
|
2022-10-03 17:03:02 +02:00
|
|
|
text-align: center;
|
2022-10-11 15:33:16 +02:00
|
|
|
border-radius: 10px;
|
2022-10-03 17:03:02 +02:00
|
|
|
}
|
|
|
|
|
2022-10-05 16:43:05 +02:00
|
|
|
.books-stats .col-md-2:nth-child(1) i{
|
2022-10-11 15:33:16 +02:00
|
|
|
background: #f8f5fc;
|
|
|
|
color: #8066ee;
|
2022-10-05 16:43:05 +02:00
|
|
|
}
|
|
|
|
.books-stats .col-md-2:nth-child(2) i{
|
2022-10-11 15:33:16 +02:00
|
|
|
background: #f1fcf8;
|
|
|
|
color: #58c8d6;
|
2022-10-05 16:43:05 +02:00
|
|
|
}
|
2022-10-12 13:56:04 +02:00
|
|
|
.books-stats .col-md-2:nth-child(3) i{
|
|
|
|
background: #fff5f6;
|
|
|
|
color: #fe4c62;
|
|
|
|
}
|
2022-10-05 16:43:05 +02:00
|
|
|
.books-stats .col-md-2:nth-child(4) i{
|
2022-10-11 15:33:16 +02:00
|
|
|
background: #f2f9ff;
|
|
|
|
color: #49b8fd;
|
2022-10-05 16:43:05 +02:00
|
|
|
}
|
|
|
|
.books-stats .col-md-2:nth-child(5) i{
|
2022-10-11 15:33:16 +02:00
|
|
|
background: #fffaee;
|
|
|
|
color: #ffbe0e;
|
2022-10-05 16:43:05 +02:00
|
|
|
}
|
|
|
|
.books-stats .col-md-2:nth-child(6) i{
|
2022-10-11 15:33:16 +02:00
|
|
|
background: #f8f5fc;
|
|
|
|
color: #8066ee;
|
2022-10-05 16:43:05 +02:00
|
|
|
}
|
|
|
|
|
2022-10-03 17:03:02 +02:00
|
|
|
.books-stats .stat-block i{
|
|
|
|
font-weight: 900;
|
|
|
|
font-size: 25px;
|
|
|
|
border-radius: 50%;
|
2022-10-11 15:33:16 +02:00
|
|
|
padding: 17px;
|
|
|
|
width: 65px;
|
|
|
|
height: 65px;
|
2022-10-03 17:03:02 +02:00
|
|
|
line-height: 30px;
|
|
|
|
text-align: center;
|
|
|
|
background: #696ffc;
|
2022-10-05 16:43:05 +02:00
|
|
|
/* box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.3); */
|
2022-10-03 17:03:02 +02:00
|
|
|
}
|
|
|
|
|
2022-10-27 11:17:03 +02:00
|
|
|
.books-stats .stat-block .stats-number, .stats-number{
|
2022-10-11 15:33:16 +02:00
|
|
|
font-weight: 600;
|
2022-10-03 17:03:02 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin-left: 10px;
|
2022-10-11 15:33:16 +02:00
|
|
|
font-size: 20px;
|
2022-10-03 17:03:02 +02:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2022-10-27 11:17:03 +02:00
|
|
|
.books-stats .stat-block .stats-label, .stats-label{
|
2022-10-12 13:56:04 +02:00
|
|
|
color: #a7adbd;
|
2022-10-11 15:33:16 +02:00
|
|
|
font-weight: 400;
|
|
|
|
font-size: 20px;
|
2022-10-03 17:03:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.yearselector{
|
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
2022-10-11 15:33:16 +02:00
|
|
|
background: #ffffff;
|
2022-10-03 17:03:02 +02:00
|
|
|
border: none;
|
2022-10-11 15:33:16 +02:00
|
|
|
color: #101010;
|
|
|
|
font-weight: 600;
|
2022-10-03 17:03:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.container-fluid{
|
|
|
|
margin-bottom:20px !important;
|
|
|
|
}
|
|
|
|
|
2022-10-04 16:28:55 +02:00
|
|
|
.table{
|
|
|
|
border-bottom: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table td{
|
2022-10-11 15:33:16 +02:00
|
|
|
color: #101010;
|
2022-10-04 16:28:55 +02:00
|
|
|
border-bottom:none !important;
|
|
|
|
padding: 10px 10px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table td img{
|
|
|
|
margin-right:5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#DataTable thead{
|
|
|
|
display:none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.block_name{
|
2022-10-11 15:33:16 +02:00
|
|
|
color: #101010;
|
2022-10-04 16:28:55 +02:00
|
|
|
font-weight: 600;
|
2022-10-11 15:33:16 +02:00
|
|
|
border-bottom: solid 1px #f5f6fa;
|
2022-10-04 16:28:55 +02:00
|
|
|
width: 100%;
|
|
|
|
display: block;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2022-10-27 11:17:03 +02:00
|
|
|
.progress{
|
|
|
|
background: #f8f8fa;
|
|
|
|
height: 50px;
|
|
|
|
border: solid 2px #efefef;
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 0;
|
|
|
|
margin: 0 15px 15px 15px;
|
|
|
|
position: relative;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress-bar{
|
|
|
|
background-color: #8066ee;
|
|
|
|
position: relative;
|
|
|
|
overflow: visible;
|
|
|
|
border-right: solid 2px #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress-bar-number{
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
background: #333;
|
|
|
|
border-radius: 50%;
|
|
|
|
padding: 10px;
|
|
|
|
top: -20px;
|
|
|
|
right: -20px;
|
|
|
|
}
|
|
|
|
|
2022-09-29 16:18:35 +02:00
|
|
|
</style>
|
2022-09-05 15:53:48 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="main">
|
|
|
|
<div id="app"></div>
|
|
|
|
</div>
|
|
|
|
|
2022-09-30 16:30:18 +02:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script>
|
2022-10-04 16:28:55 +02:00
|
|
|
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.js"></script>
|
2022-09-28 14:29:54 +02:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
2022-10-11 15:33:16 +02:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/masonry-layout@4.2.2/dist/masonry.pkgd.min.js" integrity="sha384-GNFwBvfVxBkLMJpYMOABq3c+d3KnQxudP/mGPkzpZSTYykLBNsZEnG2D9G/X/+7D" crossorigin="anonymous" async></script>
|
2022-09-28 14:29:54 +02:00
|
|
|
<script src="{% static "js/main.js" %}"></script>
|
2022-09-05 15:53:48 +02:00
|
|
|
</body>
|
|
|
|
</html>
|