1{# Copyright 2014-2017 Siemens AG 2 3 Copying and distribution of this file, with or without modification, 4 are permitted in any medium without royalty provided the copyright notice and this notice are preserved. 5 This file is offered as-is, without any warranty. 6#} 7{% extends "include/base.html.twig" %} 8 9{% block content %} 10 {% include 'change_license_modal.html.twig' %} 11 {% include 'ui-clearing-view_bulk.html.twig' %} 12 <div class="modal" id="bulkHistoryModal" hidden> 13 {% include 'bulk-history.html.twig' %} 14 </div> 15 16 <table border="0" style="padding:2px; width:100%"> 17 <tr> 18 <td style="vertical-align:top; height:100%; width:25%"> 19 20 {% if not(agentMap is empty) %} 21 <table border="0" class="semibordered" id="lichistogram"></table> 22 <br/><br/> 23 {{ "Hint"|trans }}: 24 {{ 'Click on the license name to search for where the license is found in the file listing.'|trans}} 25 <br/><br/> 26 {% include 'browse_license-summary.html.twig' %} 27 {% endif %} 28 {% include 'browse_license-agent_selector.html.twig' %} 29 30 <button onclick="loadBulkHistoryModal();">{{ "Show bulk history"|trans }}</button> 31 <br/> 32 <span id="bulkIdResult" hidden></span> 33 </td> 34 <td style="padding-left:18px; vertical-align:top; height:100%; width:75%"> 35 <table border="0" id="dirlist" class="semibordered"> 36 <thead> 37 <tr> 38 <th></th> 39 <th> 40 <select id="scanFilter" class="ui-render-select2"> 41 <option value="0">-- {{'filter for scan results'|trans}} --</option> 42 {% for shortname,row in scannerLicenses %} 43 <option value="{{row.rf_pk}}">{{ shortname }}</option> 44 {% endfor %} 45 </select> 46 </th> 47 <th> 48 <select id="conFilter" class="ui-render-select2"> 49 <option value="0">-- {{'filter for edited results'|trans}} --</option> 50 {% for shortname,row in editedLicenses %} 51 <option value="{{row.rf_pk}}">{{ shortname }}</option> 52 {% endfor %} 53 </select> 54 </th> 55 <th><input type="checkbox" id="openCBoxFilter"/>{{ 'open'|trans }}</th> 56 <th></th> 57 <th><button type="button" id="markIrrelevant" >MarkAsIrrelevant</button></th> 58 </tr> 59 <tr><th></th><th></th><th></th><th></th><th></th><th></th></tr> 60 </thead> 61 <tbody></tbody> 62 <tfoot></tfoot> 63 </table> 64 65 {{ parent() }} 66 </td> 67 </tr> 68 </table> 69{% endblock %} 70 71{% block foot %} 72 {{ parent() }} 73 <script src="scripts/jquery.dataTables.min.js" type="text/javascript"></script> 74 <script src="scripts/jquery.dataTables.select.js" type="text/javascript"></script> 75 <script src="scripts/jquery.plainmodal.min.js" type="text/javascript"></script> 76 <script src="scripts/job-queue-poll.js" type="text/javascript"></script> 77 <script src="scripts/change-license-common.js" type="text/javascript"></script> 78 <script src="scripts/change-license-browse.js" type="text/javascript"></script> 79 <script src="scripts/license.js" type="text/javascript"></script> 80 <script src="scripts/tools.js" type="text/javascript"></script> 81 <script src="scripts/ui-clearing-view_bulk.js" type="text/javascript"></script> 82 <script type="text/javascript"> 83 {% set bulkHistoryOptions = '&all=1' %} 84 {% include 'bulk-history.js.twig' %} 85 </script> 86 <script type="text/javascript"> 87 {% include 'browse_license-lic_hist.js.twig' %} 88 </script> 89 <script type="text/javascript"> 90 {% include 'browse_file.js.twig' %} 91 </script> 92{% endblock %} 93