templates/alerts/list.html.twig line 1

Open in your IDE?
  1. {% extends 'layouts/report.html.twig' %}
  2. {% block title %}Alerts{% 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-12 js_message_alert_report text-center" >
  13.                 {% for msg in app.session.flashbag.get('notification-success') %}
  14.                     <div class="alert alert-success col-md-12" role="alert">
  15.                         {{ msg }}
  16.                     </div>
  17.                 {% endfor %}
  18.             </div>
  19.         </div>
  20.             
  21.         <div class="row mb-2">
  22.             <div class="col-lg-3 col-md-2 col-sm-2 col-12 pt-1">
  23.             </div>
  24.             <div class="col-lg-2 col-md-2 col-sm-3 col-12">
  25.                 <div class="row mb-2 float-right">
  26.                     <span class="status-filter-button-header mt-1 mr-2" >Show All: </span>
  27.                     <label class="switch">
  28.                         <input class="js_alerts_report_show_all" type="checkbox">
  29.                         <span class="slider round"></span>
  30.                     </label>
  31.                 </div>
  32.             </div>
  33.             <div class="col-lg-2 col-md-4 col-sm-5 col-12">
  34.                 <select id="js_traffic_type_filter" multiple data-actions-box="true" class="w-100 border" >
  35.                     {% for trafficId, trafficName in trafficType %}
  36.                     <option value="{{trafficId}}">{{trafficName}}</option>
  37.                     {% endfor %}
  38.                 </select>
  39.             </div>
  40.             <div class="col-2">
  41.                 <select id="js-tags_filter" multiple data-actions-box="true" class="w-100 border" title="Choose a tag filter...">
  42.                     {% for tagVal, tagLabel in tagTypes %}
  43.                         <option value="{{tagVal}}">{{tagLabel}}</option>
  44.                     {% endfor %}
  45.                 </select>
  46.             </div>
  47.             <div class="col-lg-3 col-md-4 col-sm-5 col-12 height-40" >
  48.                 <div id="js_last_scan_date_filter" class="h-100 border px-1 py-2 cursor-pointer text-nowrap overflow-hidden" >
  49.                     <i class="fa fa-calendar"></i>&nbsp;
  50.                 <span></span> <i class="fa fa-caret-down float-right"></i>
  51.                 </div>
  52.             </div>
  53.         </div>
  54.     <table class="table table-striped display dt-responsive overflow-auto" id="reportTable" width="100%" data-opsui-base-url="{{ opsui_base_url }}">
  55.         <thead>
  56.             <tr>
  57.                 <th scope="col">Target</th>
  58.                 <th scope="col">Affiliate Name</th>
  59.                 <th scope="col">Affiliate Id</th>
  60.                 <th scope="col">Campaign Name</th>
  61.                 <th scope="col">Campaign</th>
  62.                 <th scope="col"> 
  63.                     <span data-toggle="tooltip" data-placement="top" title="Campaign Status">Status</span>
  64.                 </th>
  65.                 <th scope="col">Domain</th>
  66.                 <th scope="col">Landing Domain</th>
  67.                 <th scope="col">Redirect Path</th>
  68.                 <th scope="col">Screenshot</th>
  69.                 <th scope="col">Captured</th>
  70.                 <th scope="col">Device</th>
  71.                 <th scope="col">Country</th>
  72.                 <th scope="col">PLP Link</th>
  73.                 <th scope="col">Resolution</th>
  74.                 <th scope="col">Tags</th>
  75.             </tr>
  76.         </thead>
  77.         <tbody>
  78.         </tbody>
  79.     </table>
  80.     <div class="modal fade bd-example-modal-lg js-modal-redirect-path" tabindex="-1" role="dialog" aria-hidden="true">
  81.         <div class="modal-dialog modal-lg">
  82.             <div class="modal-content">
  83.                 <div class="modal-header">
  84.                     <h5 class="modal-title" id="exampleModalLongTitle">Redirect Path</h5>
  85.                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  86.                     <span aria-hidden="true">&times;</span>
  87.                     </button>
  88.                 </div>
  89.                 <div class="modal-body js-modal-body-redirect-path">
  90.                    
  91.                 </div>
  92.                 <div class="modal-footer">
  93.                     <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
  94.                 </div>
  95.             </div>
  96.         </div>
  97.     </div>
  98.     {{ encore_entry_script_tags('alert-report')}}
  99. {% endblock %}