mirror of
https://github.com/reactos/web.git
synced 2024-11-23 03:39:49 +00:00
[GETBUILDS] Follow-up to 91725a7
:
* Move the GitHub button next to the "Browse all created Builds" button. Both belong to the same group of buttons and this is consistent with Testman. * Change both to <a> tags that open the destination URL in a new window. * Define a constant for the GitHub URL.
This commit is contained in:
parent
fd9e140770
commit
8abeebf92b
@ -3,7 +3,7 @@
|
||||
* PROJECT: ReactOS Website
|
||||
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
||||
* PURPOSE: Easily download prebuilt ReactOS Revisions
|
||||
* COPYRIGHT: Copyright 2007-2017 Colin Finck (colin@reactos.org)
|
||||
* COPYRIGHT: Copyright 2007-2018 Colin Finck (colin@reactos.org)
|
||||
*/
|
||||
|
||||
define("ROOT_PATH", "../");
|
||||
@ -11,6 +11,7 @@
|
||||
// Configuration
|
||||
$AJAX_GETFILES_PROVIDER_URL = "https://iso.reactos.org/scripts/ajax-getfiles-provider.php";
|
||||
$BUILDBOT_URL = "https://build.reactos.org/";
|
||||
$GITHUB_URL = "https://github.com/reactos/reactos";
|
||||
$ISO_DOWNLOAD_URL = "https://iso.reactos.org/";
|
||||
|
||||
$PREFIXES = array(
|
||||
|
@ -5,9 +5,6 @@
|
||||
COPYRIGHT: Copyright 2016 Colin Finck <colin@reactos.org>
|
||||
*/
|
||||
|
||||
.btn-github {
|
||||
margin-left: 56px;
|
||||
}
|
||||
#filecount {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
* PROJECT: ReactOS Website
|
||||
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
||||
* PURPOSE: Easily download prebuilt ReactOS Revisions
|
||||
* COPYRIGHT: Copyright 2007-2017 Colin Finck (colin@reactos.org)
|
||||
* COPYRIGHT: Copyright 2007-2018 Colin Finck (colin@reactos.org)
|
||||
*/
|
||||
|
||||
var data = new Array();
|
||||
@ -331,8 +331,3 @@ function LastPage_OnClick()
|
||||
var options = document.getElementById("pagesel").getElementsByTagName("option");
|
||||
PageSwitch(options[options.length - 1]);
|
||||
}
|
||||
|
||||
function BrowseBuilds_OnClick()
|
||||
{
|
||||
window.open(ISO_DOWNLOAD_URL);
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
* PROJECT: ReactOS Website
|
||||
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
||||
* PURPOSE: Easily download prebuilt ReactOS Revisions
|
||||
* COPYRIGHT: Copyright 2007-2017 Colin Finck (colin@reactos.org)
|
||||
* COPYRIGHT: Copyright 2007-2018 Colin Finck (colin@reactos.org)
|
||||
* Copyright 2012-2013 Aleksey Bragin (aleksey@reactos.org)
|
||||
*/
|
||||
|
||||
@ -117,8 +117,8 @@
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<button class="btn btn-default" onclick="BrowseBuilds_OnClick()"><?php echo $getbuilds_langres["browsebuilds"]; ?></button>
|
||||
<a class="btn btn-default btn-github" href="https://github.com/reactos/reactos"><?php echo $getbuilds_langres["browsegithub"]; ?></a>
|
||||
<a class="btn btn-default" href="<?php echo $ISO_DOWNLOAD_URL; ?>" target="_blank"><?php echo $getbuilds_langres["browsebuilds"]; ?></a>
|
||||
<a class="btn btn-default" href="<?php echo $GITHUB_URL; ?>" target="_blank"><?php echo $getbuilds_langres["browsegithub"]; ?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user