2020-03-23 18:00:09 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
2020-03-24 17:15:43 +01:00
|
|
|
<title>AIL - Add Cookies</title>
|
2020-03-23 18:00:09 +01:00
|
|
|
<link rel="icon" href="{{ url_for('static', filename='image/ail-icon.png')}}">
|
|
|
|
<!-- Core CSS -->
|
|
|
|
<link href="{{ url_for('static', filename='css/bootstrap4.min.css') }}" rel="stylesheet">
|
|
|
|
<link href="{{ url_for('static', filename='css/font-awesome.min.css') }}" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- JS -->
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.js')}}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/popper.min.js')}}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/bootstrap4.min.js')}}"></script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
{% include 'nav_bar.html' %}
|
|
|
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
{% include 'crawler/menu_sidebar.html' %}
|
|
|
|
|
|
|
|
<div class="col-12 col-lg-10" id="core_content">
|
|
|
|
|
|
|
|
<div class="card mb-3 mt-1">
|
|
|
|
<div class="card-header text-white bg-dark">
|
2020-04-06 16:34:39 +02:00
|
|
|
<h5 class="card-title"><i class="fas fa-box"></i> Create Cookiejar <i class="fas fa-cookie"></i></h5>
|
2020-03-23 18:00:09 +01:00
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
|
2020-03-27 17:06:26 +01:00
|
|
|
<form action="{{ url_for('crawler_splash.crawler_cookiejar_add_post') }}" method="post" enctype="multipart/form-data">
|
2020-03-23 18:00:09 +01:00
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-md-9">
|
|
|
|
<div class="input-group mb-2 mr-sm-2">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<div class="input-group-text"><i class="fas fa-tag"></i></div>
|
|
|
|
</div>
|
|
|
|
<input id="description" name="description" class="form-control" placeholder="cookies description - (optional)" type="text">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-12 col-md-3">
|
2024-08-28 14:32:26 +02:00
|
|
|
|
|
|
|
<label class="mt-3" for="level_selector">View Level</label>
|
|
|
|
<select class="custom-select" id="level_selector" name="level">
|
|
|
|
<option value="1" selected>Global</option>
|
|
|
|
<option value="2">My Organisation</option>
|
|
|
|
<option value="0">My User</option>
|
|
|
|
</select>
|
|
|
|
|
2020-03-23 18:00:09 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
2020-04-01 09:58:47 +02:00
|
|
|
{% include 'crawler/crawler_splash/add_cookies_block.html' %}
|
|
|
|
|
2020-03-23 18:00:09 +01:00
|
|
|
<div class="form-group">
|
2020-04-01 09:58:47 +02:00
|
|
|
<button class="btn btn-info" type="submit" value=Upload><i class="fas fa-cookie-bite"></i> Create Cookiejar</button>
|
2020-03-23 18:00:09 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
var chart = {};
|
|
|
|
$(document).ready(function(){
|
|
|
|
$("#page-crawler").addClass("active");
|
2020-03-27 17:06:26 +01:00
|
|
|
$("#nav_cookiejar_add").addClass("active");
|
|
|
|
$("#nav_title_cookiejar").removeClass("text-muted");
|
2020-03-23 18:00:09 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
function toggle_sidebar(){
|
|
|
|
if($('#nav_menu').is(':visible')){
|
|
|
|
$('#nav_menu').hide();
|
|
|
|
$('#side_menu').removeClass('border-right')
|
|
|
|
$('#side_menu').removeClass('col-lg-2')
|
|
|
|
$('#core_content').removeClass('col-lg-10')
|
|
|
|
}else{
|
|
|
|
$('#nav_menu').show();
|
|
|
|
$('#side_menu').addClass('border-right')
|
|
|
|
$('#side_menu').addClass('col-lg-2')
|
|
|
|
$('#core_content').addClass('col-lg-10')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|