yifengyou / centos / centos.org

Forked from centos/centos.org 3 years ago
Clone

Blame _layouts/page-download-cloud.html

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