mirror of
https://github.com/dmuth/diceware.git
synced 2024-11-24 17:56:35 -05:00
Added the GitHub ribbon
This commit is contained in:
parent
bf9f96b451
commit
59787d895f
2 changed files with 9 additions and 0 deletions
|
@ -26,6 +26,9 @@
|
|||
|
||||
<div class="container">
|
||||
|
||||
<a id="github_ribbon" style="display: none; " href="https://github.com/dmuth/diceware"
|
||||
><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
|
||||
|
||||
<div class="starter-template">
|
||||
<h1>Diceware Password Generator</h1>
|
||||
<p class="lead">
|
||||
|
|
6
main.js
6
main.js
|
@ -246,6 +246,12 @@ jQuery("#roll_dice").on("click", function(e) {
|
|||
|
||||
});
|
||||
|
||||
//
|
||||
// If we're not on a mobile, bring in the GitHub ribbon.
|
||||
//
|
||||
if (!is_mobile()) {
|
||||
jQuery("#github_ribbon").fadeIn(1000);
|
||||
}
|
||||
|
||||
//
|
||||
// Load our wordlist.
|
||||
|
|
Loading…
Reference in a new issue