templates/targets/list.html.twig line 1

Open in your IDE?
  1. {% extends 'layouts/report.html.twig' %}
  2. {% block title %}Targets{% endblock %}
  3. {% block report_content %}
  4.     <div class="loader" style="display:none" >
  5.         <div class="d-flex justify-content-center loading">
  6.             <div class="spinner-border " role="status">
  7.             <span class="sr-only">Loading...</span>
  8.             </div>
  9.         </div>
  10.     </div>
  11.     <div class="row mb-2">
  12.         <div class="col-2"></div>
  13.         <div class="col-2">
  14.             <select id="js_traffic_type_filter" multiple data-actions-box="true" class="w-100 border" >
  15.                 {% for trafficId,trafficName in trafficType %}
  16.                 <option value="{{trafficId}}">{{trafficName}}</option>
  17.                 {% endfor %}
  18.             </select>
  19.         </div>
  20.         <div class="col-3">
  21.             <select id="js_last_scan_status_filter" multiple data-actions-box="true" class="w-100 border">
  22.                 {% for statusId,statusName in statusLabels %}
  23.                 <option value="{{statusId}}">{{statusName}}</option>
  24.                 {% endfor %}
  25.             </select>
  26.         </div>
  27.         <div class="col-2">
  28.             <select id="js-tags_filter" multiple data-actions-box="true" class="w-100 border" title="Choose a tag filter...">
  29.                 {% for tagVal, tagLabel in tagTypes %}
  30.                     <option value="{{tagVal}}">{{tagLabel}}</option>
  31.                 {% endfor %}
  32.             </select>
  33.         </div>
  34.         <div class="col-3 height-40">
  35.             <div id="js_last_scan_date_filter" class="h-100 border px-1 py-2 cursor-pointer text-nowrap overflow-hidden">
  36.                 <i class="fa fa-calendar"></i>&nbsp;
  37.             <span></span> <i class="fa fa-caret-down float-right"></i>
  38.             </div>
  39.         </div>
  40.     </div>
  41.     <table class="table table-striped display dt-responsive nowrap" id="reportTable" data-opsui-base-url="{{ opsui_base_url }}">
  42.         <thead>
  43.             <tr>
  44.                 <th scope="col">Target ID</th>
  45.                 <th scope="col">Affiliate Name</th>
  46.                 <th scope="col">Campaign Name</th>
  47.                 <th scope="col">Campaign ID</th>
  48.                 <th scope="col">Campaign Status</th>
  49.                 <th scope="col">Domain</th>
  50.                 <th scope="col">Created</th>
  51.                 <th scope="col">Last Scan</th>
  52.                 <th scope="col">Last Scan Status</th>
  53.                 <th scope="col">Tags</th>
  54.                 <th scope="col">PLP Link</th>
  55.             </tr>
  56.         </thead>
  57.         <tbody>
  58.         </tbody>
  59.     </table>
  60.     {{ encore_entry_script_tags('target-report')}}
  61. {% endblock %}