ip_ip.twig (1289B)
1 <div class="table-responsive"> 2 <table class="table table-bordered table-hover"> 3 <thead> 4 <tr> 5 <td class="text-left">{{ column_ip }}</td> 6 <td class="text-right">{{ column_total }}</td> 7 <td class="text-left">{{ column_date_added }}</td> 8 <td class="text-right">{{ column_action }}</td> 9 </tr> 10 </thead> 11 <tbody> 12 {% if ips %} 13 {% for ip in ips %} 14 <tr> 15 <td class="text-left"><a href="http://www.geoiptool.com/en/?IP={{ ip.ip }}" target="_blank">{{ ip.ip }}</a></td> 16 <td class="text-right"><a href="{{ ip.filter_ip }}" target="_blank">{{ ip.total }}</a></td> 17 <td class="text-left">{{ ip.date_added }}</td> 18 <td class="text-right"><button type="button" value="{{ ip.ip }}" data-toggle="tooltip" title="{{ button_remove }}" data-loading-text="{{ text_loading }}" class="btn btn-danger"><i class="fa fa-minus-circle"></i></button></td> 19 </tr> 20 {% endfor %} 21 {% else %} 22 <tr> 23 <td class="text-center" colspan="4">{{ text_no_results }}</td> 24 </tr> 25 {% endif %} 26 </tbody> 27 </table> 28 </div> 29 <div class="row"> 30 <div class="col-sm-6 text-left">{{ pagination }}</div> 31 <div class="col-sm-6 text-right">{{ results }}</div> 32 </div>