bex / centos / centos.org

Forked from centos/centos.org 4 years ago
Clone

Blame content/download/altarch-mirrors.erb

56b932
---
56b932
title: AltArch Mirror List
56b932
is_hidden: false
56b932
---
56b932

List of CentOS Mirrors providing AltArch

56b932

56b932
CentOS welcomes new mirror sites. If you are considering setting up a
56b932
public mirror site for CentOS, please follow the mirror guidelines to make
56b932
sure that your mirror is consistent with the other mirror sites.
56b932

56b932
56b932
56b932
<script type="text/javascript" src="/assets/js/jquery.csvToTable2.js"></script>
56b932
<script type="text/javascript" src="/assets/js/jquery.tablesorter.min.js"></script>
56b932
<link rel="stylesheet" type="text/css" href="/assets/csvtable-look.css">
56b932
56b932
<script>
56b932
$('#CSVTable').CSVToTable('/download/full-altarchlist.csv', 
56b932
    { 
56b932
       startLine: 1,
56b932
       //['Location', 'Region', 'Sponsor', 'HomePage', 'HTTP location', 'FTP Location', 'Rsync Location']
56b932
       headers: [
56b932
       'Location', 
56b932
       'Region', 
56b932
       {label:'Sponsor' , items:[2 , 3]}, 
56b932
       {label:'HomePage' , hidden:true}, 
56b932
       'HTTP location', 
56b932
       'FTP Location', 
56b932
       'Rsync Location'
56b932
       ],
56b932
       itemMerger: function(header , items) {
56b932
          var outItem = [];
56b932
          console.log(items);
56b932
          for(var i in header.items){
56b932
            var item = header.items[i];
56b932
            outItem.push(items[item]);
56b932
          }
56b932
          if(header.label = 'Sponsor'){
56b932
             console.log(outItem);
56b932
             return '' + outItem[0] + '';
56b932
          }else return outItem.join(' ');
56b932
      },
56b932
      preRenderItem: function(headerLabel , item) {
56b932
        if(item == '') return '';
56b932
        switch (headerLabel) {
56b932
          case 'HTTP location':
56b932
          case 'FTP Location':
56b932
          case 'Rsync Location':
56b932
              item = item.replace(/"/gi , '');
56b932
              return '' + item + ''; 
56b932
          default:
56b932
              return item;
56b932
        }
56b932
      }
56b932
    }
56b932
).bind("loadComplete",function() { 
56b932
  $('#CSVTable').find('TABLE').tablesorter({
56b932
    widgets: ['zebra', 'filter'],
56b932
    widgetOptions: {
56b932
      uitheme: "bootstrap"
56b932
    },
56b932
    textExtraction: function(node) {  
56b932
        // extract data from markup and return it  
56b932
        return $(node).text();
56b932
    } 
56b932
  });
56b932
56b932
});;
56b932
</script>
56b932
56b932
56b932