mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-20 08:47:43 +02:00
79 lines
4.0 KiB
HTML
79 lines
4.0 KiB
HTML
{% extends 'base/base.html' %}
|
|
{% load static %}
|
|
|
|
{% block title %}
|
|
Start Scaning Organization
|
|
{% endblock title %}
|
|
|
|
|
|
{% block custom_js_css_link %}>
|
|
<link href="{% static 'assets/css/components/custom-list-group.css' %}" rel="stylesheet" type="text/css">
|
|
<link rel="stylesheet" type="text/css" href="{% static 'assets/css/elements/alert.css' %}">
|
|
<link href="{% static 'assets/css/components/tabs/custom-accordions.css' %}" rel="stylesheet" type="text/css" />
|
|
<link rel="stylesheet" type="text/css" href="{% static 'assets/css/custom.css' %}">
|
|
{% endblock custom_js_css_link %}
|
|
|
|
{% block breadcrumb_title %}
|
|
<li class="breadcrumb-item"><a href="{% url 'list_organization' %}">Organization</a></li>
|
|
<li class="breadcrumb-item active">Initiate Scan</li>
|
|
<li class="breadcrumb-item active" aria-current="page">{{organization.name}}</li>
|
|
{% endblock breadcrumb_title %}
|
|
|
|
{% block main_content %}
|
|
<div class="statbox widget box box-shadow">
|
|
<div class="widget-header">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<h4 class="">Initiating Scan for organization <b>{{organization.name}}</b></h4>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="widget-content widget-content-area">
|
|
<h6><span class="badge outline-badge-dark">{{ domain_list|length }}</span> Domains/Targets associated with organization <b>{{organization.name}}:</b></h6>
|
|
{% for domain in domain_list %}
|
|
<span class="badge badge-info m-1">{{domain.name}}</span>
|
|
{% endfor %}
|
|
<div class="mb-4">
|
|
</div>
|
|
<form method="POST">
|
|
{% csrf_token %}
|
|
<div class="form-row">
|
|
<div class="col-md-12 mb-4">
|
|
<h6>Select the scan type</h6>
|
|
{% if custom_engine_count == 0 %}
|
|
<div class="alert custom-alert-1 mb-4" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" data-dismiss="alert" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x close"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></button>
|
|
<div class="media">
|
|
<div class="alert-icon">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg>
|
|
</div>
|
|
<div class="media-body">
|
|
<div class="alert-text">
|
|
<span><b>Tips! </b>You don't have any custom engines! Did you know you can create your own scan engine?</span>
|
|
</div>
|
|
<div class="alert-btn">
|
|
<a href="{% url 'add_engine' %}" class="btn btn-default btn-dismiss">Create Engine</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% include "startScan/_items/scanEngine_select.html" %}
|
|
<div style=" position: fixed; bottom: 40px; right: 40px; z-index:1000;">
|
|
<button class="btn btn-primary submit-fn mt-2 float-right" style="z-index:1000; " type="submit"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather table-scan feather-zap" id="myInput" value="helloworld">
|
|
<polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon>
|
|
</svg> Start Scan</button>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" name="list_of_domain_id" value="{{domain_ids}}">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock main_content %}
|
|
|
|
|
|
{% block page_level_script %}
|
|
<script src="{% static 'assets/js/scrollspyNav.js' %}"></script>
|
|
{% endblock page_level_script %}
|