Merge pull request #954

Cleanup repo
This commit is contained in:
luigi1111 2020-04-28 21:44:05 -05:00 committed by GitHub
commit 87d12d6d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 0 additions and 187 deletions

View File

@ -1,77 +0,0 @@
<?php
// try figure out the OS from the useragent so we can serve the right default download
function detect_os($useragent){
$uas_os = array();
if (preg_match('#(Windows|Win) ([a-zA-Z0-9.\ ]+)#i', $useragent, $regmatch)){
$uas_os['name'] = "Windows";
$uas_os['code'] = "win";
if(preg_match('/x86_64/i', $useragent) || preg_match('/x86-64/i', $useragent) || preg_match('/Win64/i', $useragent) || preg_match('/x64;/i', $useragent) || preg_match('/amd64/i', $useragent) || preg_match('/WOW64/i', $useragent) || preg_match('/x64_64/i', $useragent)){
$uas_os['bits'] = "64";
}
else
{
$uas_os['bits'] = "32";
}
$uas_os['ext'] = "zip";
}elseif (preg_match('/Mac/i', $useragent)){
$uas_os['name'] = "OS X";
$uas_os['code'] = "mac";
$uas_os['bits'] = "64";
}elseif (preg_match('/Linux/i', $useragent)){
$uas_os['name'] = "Linux";
$uas_os['code'] = "linux";
$uas_os['bits'] = "64";
}elseif (preg_match('/FreeBSD/i', $useragent)){
$uas_os['name'] = "FreeBSD";
$uas_os['code'] = "freebsd";
$uas_os['bits'] = "64";
/* }elseif (preg_match('/CrOS/', $useragent)){
$uas_os['name'] = "Chrome OS";
$uas_os['code'] = "chrome";
}elseif (preg_match('/FreeBSD/i', $useragent)){
$uas_os['name'] = "FreeBSD";
$uas_os['code'] = "freebsd";
}elseif (preg_match('/OpenBSD/i', $useragent)){
$uas_os['name'] = "OpenBSD";
$uas_os['code'] = "openbsd";
}elseif (preg_match('/Solaris/i', $useragent)){
$uas_os['name'] = "Solaris";
$uas_os['code'] = "solaris";
}elseif (preg_match('/Nintendo Wii/i', $useragent)){
$uas_os['name'] = "Nintendo Wii";
$uas_os['code'] = "wii";
}elseif(preg_match('/Nintendo DSi/i', $useragent)){
$uas_os['namee'] = "Nintendo DSi";
$uas_os['code'] = "ndsi";
}elseif (preg_match('#SymbianOS/([.0-9a-zA-Z]+)#i', $useragent, $regmatch)){
$uas_os['name'] = "SymbianOS";
$uas_os['code'] = "symbian";*/
}else{
$uas_os['name'] = "Windows";
$uas_os['code'] = "win";
$uas_os['bits'] = "32";
}
return $uas_os;
}
$os_array = detect_os($_SERVER['HTTP_USER_AGENT']);
?>
<p class="download-links">
{% t index.monero_for %} <?php echo $os_array['name']; ?>
<span>
<a href="//downloads.getmonero.org/<?php echo $os_array['code']; ?><?php echo $os_array['bits']; ?>" class="btn btn-grey pull-right">
<i class="fa fa-plus-circle icon_download" style="color: white; font-size: 20px;"></i> {% t index.c_download %}
</a>
</span>
</p>
<p class="download-links">
{% t index.latest_blockchain %}
<span>
<a href="//downloads.getmonero.org/blockchain.raw" class="btn btn-grey pull-right">
<i class="fa fa-plus-circle icon_download" style="color: white; font-size: 20px;"></i> {% t index.c_download %}
</a>
</span>
</p>

View File

@ -1,7 +0,0 @@
---
layout: base
---
<div class="site-wrap">
{{content}}
</div>

View File

@ -1,17 +0,0 @@
---
layout: base
---
<div class="site-wrap">
<!-- FULL WIDTH BLOCK -->
<section class="container full">
<div class="info-block">
<div class="row center-xs">
<div class="col"><h2>Title Goes Here</h2></div>
</div>
<div>
{{content}}
</div>
</div>
</section>
<!-- END FULL WIDTH BLOCK -->
</div>

View File

@ -1,14 +0,0 @@
---
layout: default
---
<div class="site-wrap">
<!-- FULL WIDTH BLOCK -->
<section class="container full">
<div class="info-block text-adapt">
<div>
{{content}}
</div>
</div>
</section>
<!-- END FULL WIDTH BLOCK -->
</div>

View File

@ -1,10 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<body>
{{ content }}
</body>
</html>

View File

@ -1,5 +0,0 @@
---
layout: base
---
<h1 class="text-center">{{page.title}}</h1>
{{content}}

View File

@ -1,23 +0,0 @@
{% include language_cookie.php %}
<!DOCTYPE html>
<html>
{% include head.html %}
<body>
<div id="wrap">
{% include header.html %}
<div class="container main-content">
{{ content }}
</div>
{% include footer.html %}
</div>
</body>
</html>

View File

@ -1,15 +0,0 @@
---
layout: base
---
<h1 class="text-center">{% t page.title %}</h1>
<div class="site-wrap">
<!-- FULL WIDTH BLOCK -->
<section class="container full">
<div class="info-block text-adapt">
<div>
{{content}}
</div>
</div>
</section>
<!-- END FULL WIDTH BLOCK -->
</div>

View File

@ -1,18 +0,0 @@
---
layout: user-guide
title: "Design and Development Goals"
title-pre-kick: "Design and Development "
title-kick: "Goals"
title-post-kick: ""
kick-class: "red-kicks"
---
### Development Goals
{:.goal-images}
![Development Goals](//static.getmonero.org/images/goals/development.jpg)
### Research Goals
{:.goal-images}
![Research Goals](//static.getmonero.org/images/goals/research.jpg)

1
js/qrcode.min.js vendored

File diff suppressed because one or more lines are too long