Blame _layouts/page-download-mirror.html
|
|
401d07 |
|
|
|
401d07 |
<html lang="{{ page.lang | default: 'en' }}">
|
|
|
401d07 |
|
|
|
401d07 |
{% include head.html %}
|
|
|
401d07 |
|
|
|
401d07 |
<body style="font-family: Montserrat, sans-serif;">
|
|
|
401d07 |
|
|
|
401d07 |
{% include header.html -%}
|
|
|
401d07 |
|
|
|
401d07 |
|
|
|
401d07 |
{{ content }}
|
|
|
401d07 |
|
|
|
401d07 |
|
|
|
401d07 |
|
|
|
401d07 |
{% include footer.html -%}
|
|
|
401d07 |
|
|
|
401d07 |
<script src="/assets/js/jquery.min.js"></script>
|
|
|
401d07 |
<script src="/assets/bootstrap/js/bootstrap.min.js"></script>
|
|
|
401d07 |
<script type="text/javascript" src="/assets/js/jquery.csv.min.js"></script>
|
|
|
401d07 |
<script type="text/javascript" src="/assets/js/jquery.dataTables.min.js"></script>
|
|
|
401d07 |
<script type="text/javascript" src="/assets/js/dataTables.bootstrap.js"></script>
|
|
|
401d07 |
<script type="text/javascript" src="/assets/js/csv_to_html_table.js"></script>
|
|
|
401d07 |
|
|
|
401d07 |
<script type="text/javascript">
|
|
|
401d07 |
function format_link(link){
|
|
|
401d07 |
if (link)
|
|
|
401d07 |
return "" + link + "";
|
|
|
401d07 |
else
|
|
|
401d07 |
return "";
|
|
|
401d07 |
}
|
|
|
401d07 |
|
|
|
401d07 |
CsvToHtmlTable.init({
|
|
|
401d07 |
csv_path: '/download/full-mirrorlist.csv',
|
|
|
401d07 |
element: 'table-container',
|
|
|
401d07 |
allow_download: false,
|
|
|
401d07 |
csv_options: {separator: ',', delimiter: '"'},
|
|
|
401d07 |
datatables_options: {"paging": false},
|
|
|
401d07 |
custom_formatting: [[3, format_link], [4, format_link], [6, format_link],],
|
|
|
401d07 |
});
|
|
|
401d07 |
</script>
|
|
|
401d07 |
</body>
|
|
|
401d07 |
|
|
|
401d07 |
</html>
|