-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added Navbar - Edited body styles
- Loading branch information
Patrick Ritchie
authored and
Patrick Ritchie
committed
Jun 8, 2016
1 parent
705407b
commit e441c84
Showing
4 changed files
with
106 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
window.onload = function() { | ||
|
||
document.getElementById('fromText').value = getParameterByName("from"); | ||
document.getElementById('countText').value = getParameterByName("count"); | ||
|
||
}; | ||
|
||
function getSample () { | ||
|
||
var f = document.getElementById('fromText').value | ||
var c = document.getElementById('countText').value | ||
|
||
window.location = '../sample?from=' + f + '&count=' + c; | ||
|
||
} | ||
|
||
function getParameterByName(name) { | ||
|
||
var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search); | ||
|
||
return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet xmlns:xsl="http:https://www.w3.org/1999/XSL/Transform" | ||
version="1.0"> | ||
<xsl:template name="headers"> | ||
<!-- Latest compiled and minified JavaScript --> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" | ||
integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" | ||
crossorigin="anonymous"></script> | ||
</xsl:template> | ||
</xsl:stylesheet> |
Large diffs are not rendered by default.
Oops, something went wrong.