<commit_before>{% extends base.html %}

{% block title %}Target Panel{% end %}

{% block includes %}
<!-- DataTable Requirements -->
<script type="text/javascript" charset="utf-8" src="/static/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/static/js/dataTables.bootstrap.js"></script>
<link href="/static/css/dataTables.bootstrap.css" rel="stylesheet">
<!-- End DataTable requirements -->

<!-- Ckeditor requirements -->
<script type="text/javascript" charset="utf-8" src="/static/js/ckeditor/ckeditor.js"></script>
<script type="text/javascript" charset="utf-8" src="/static/js/ckeditor/adapters/jquery.js"></script>
<!-- End CKeditor requirements -->
{% end %}

{% block content %}
<!-- Target INFO display, populated using JS and OWTF Sweet API -->
<div class="page-header">
    <div class="row">
        <div class="col-md-8">
            <h2 id="TargetInfo"></h2>
        </div>
        <div class="col-md-4">
            <h3 id="rankingTargetInfo"></h3>
        </div>
    </div>
</div>
<!-- End Target INFO -->

<!-- Buttons for few actions and logs -->
<div class="row">
    <div class="pull-right">
        <div class="btn-group">
            <!-- Modal content is present in plugin report -->
            <button class="btn btn-primary" data-toggle="modal" data-target="#pluginOutputFilterModal"><i class="fa fa-filter"></i> Filter </button>
            <button class="btn btn-default" onclick="updatePluginReport();" href="#"><i class="fa fa-refresh"></i> Refresh </button>
            <button class="btn btn-danger" data-toggle="modal" data-target="#pluginLaunchModal"><i class="fa fa-flash"></i> Run Plugins </button>
            <button class="btn btn-default" onclick="loadSessionManager();" href="#"><i class="fa fa-flag"></i> Launch Sessions Manager </button>
            <div class="btn-group">
                <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown">
                    Logs
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu">
                    <li><a href="#" onclick="window.open(mySpace.transaction_log_url);"><i class="fa fa-list-alt"></i> Transaction Log </a></li><commit_msg>Renamed the sessions button to 'User Sessions' to keep it short<commit_after>{% extends base.html %}

{% block title %}Target Panel{% end %}

{% block includes %}
<!-- DataTable Requirements -->
<script type="text/javascript" charset="utf-8" src="/static/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/static/js/dataTables.bootstrap.js"></script>
<link href="/static/css/dataTables.bootstrap.css" rel="stylesheet">
<!-- End DataTable requirements -->

<!-- Ckeditor requirements -->
<script type="text/javascript" charset="utf-8" src="/static/js/ckeditor/ckeditor.js"></script>
<script type="text/javascript" charset="utf-8" src="/static/js/ckeditor/adapters/jquery.js"></script>
<!-- End CKeditor requirements -->
{% end %}

{% block content %}
<!-- Target INFO display, populated using JS and OWTF Sweet API -->
<div class="page-header">
    <div class="row">
        <div class="col-md-8">
            <h2 id="TargetInfo"></h2>
        </div>
        <div class="col-md-4">
            <h3 id="rankingTargetInfo"></h3>
        </div>
    </div>
</div>
<!-- End Target INFO -->

<!-- Buttons for few actions and logs -->
<div class="row">
    <div class="pull-right">
        <div class="btn-group">
            <!-- Modal content is present in plugin report -->
            <button class="btn btn-primary" data-toggle="modal" data-target="#pluginOutputFilterModal"><i class="fa fa-filter"></i> Filter </button>
            <button class="btn btn-default" onclick="updatePluginReport();" href="#"><i class="fa fa-refresh"></i> Refresh </button>
            <button class="btn btn-danger" data-toggle="modal" data-target="#pluginLaunchModal"><i class="fa fa-flash"></i> Run Plugins </button>
            <button class="btn btn-default" onclick="loadSessionManager();" href="#"><i class="fa fa-flag"></i> User Sessions</button>
            <div class="btn-group">
                <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown">
                    Logs
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu">
                    <li><a href="#" onclick="window.open(mySpace.transaction_log_url);"><i class="fa fa-list-alt"></i> Transaction Log </a></li>
{'fraction_non_alphanumeric': 0.19081116728951417, 'fraction_numerical': 0.004396570674873599, 'mean_word_length': 3.066130473637176, 'pattern_counts': {'":': 0, '<': 123, '<?xml version=': 0, '>': 123, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5438492', 'n_tokens_mistral': 1347, 'n_tokens_neox': 1283, 'n_words': 309}