mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-28 12:44:57 +02:00
Added URL for report settings
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# Generated by Django 3.2.4 on 2021-10-10 08:17
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('scanEngine', '0011_hackerone'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='VulnerabilityReport',
|
||||
fields=[
|
||||
('id', models.AutoField(primary_key=True, serialize=False)),
|
||||
('company_name', models.CharField(blank=True, max_length=100, null=True)),
|
||||
('company_address', models.CharField(blank=True, max_length=200, null=True)),
|
||||
('company_email', models.CharField(blank=True, max_length=100, null=True)),
|
||||
('company_website', models.CharField(blank=True, max_length=100, null=True)),
|
||||
('show_rengine_banner', models.BooleanField(default=True)),
|
||||
('show_executive_summary', models.BooleanField(default=True)),
|
||||
('executive_summary_description', models.TextField(blank=True, null=True)),
|
||||
('show_methodology', models.BooleanField(default=True)),
|
||||
('methodology_description', models.TextField(blank=True, null=True)),
|
||||
('show_footer', models.BooleanField(default=False)),
|
||||
('footer_text', models.CharField(blank=True, max_length=200, null=True)),
|
||||
],
|
||||
),
|
||||
]
|
||||
@@ -1,43 +0,0 @@
|
||||
{# DO NOT AUTO INDENT #}
|
||||
{% extends 'base/base.html' %}
|
||||
{% load static %}
|
||||
{% load custom_tags %}
|
||||
{% block title %}
|
||||
Customize Report
|
||||
{% endblock title %}
|
||||
|
||||
{% block custom_js_css_link %}
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'assets/css/custom.css' %}">
|
||||
<link href="{% static 'assets/css/forms/switches.css' %}" rel="stylesheet" type="text/css" />
|
||||
<link href="{% static 'assets/css/forms/theme-checkbox-radio.css' %}" rel="stylesheet" type="text/css" />
|
||||
<link href="{% static 'assets/css/users/account-setting.css' %}" rel="stylesheet" type="text/css" />
|
||||
{% endblock custom_js_css_link %}
|
||||
|
||||
{% block breadcrumb_title %}
|
||||
<li class="breadcrumb-item active">Customize Report</li>
|
||||
{% endblock breadcrumb_title %}
|
||||
|
||||
{% block main_content %}
|
||||
<div class="statbox widget box box-shadow">
|
||||
<div class="widget-header">
|
||||
<div class="row h-100 justify-content-center align-items-center">
|
||||
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
|
||||
<h4>Customize Report</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget-content widget-content-area">
|
||||
<p>
|
||||
This section can be used to customize the report.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock main_content %}
|
||||
|
||||
|
||||
{% block page_level_script %}
|
||||
<script src="{% static 'plugins/editors/markdown/simplemde.min.js' %}"></script>
|
||||
<script src="{% static 'custom/custom.js' %}"></script>
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
{% endblock page_level_script %}
|
||||
@@ -15,10 +15,6 @@ urlpatterns = [
|
||||
'detail/<int:id>',
|
||||
views.detail_scan,
|
||||
name='detail_scan'),
|
||||
path(
|
||||
'customize_report/<int:id>',
|
||||
views.customize_report,
|
||||
name='customize_report'),
|
||||
path(
|
||||
'create_report/<int:id>',
|
||||
views.create_report,
|
||||
|
||||
@@ -121,6 +121,9 @@
|
||||
<li class="{{ hackerone_settings_li }}">
|
||||
<a href="{% url 'hackerone_settings' %}"> Hackerone Settings </a>
|
||||
</li>
|
||||
<li class="{{ report_settings_li }}">
|
||||
<a href="{% url 'report_settings' %}"> Report Settings </a>
|
||||
</li>
|
||||
<li class="{{ notification_settings_li }}">
|
||||
<a href="{% url 'notification_settings' %}"> Notification Settings </a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user