chrome-pwgen/popup.html

42 lines
1.6 KiB
HTML

<!doctype html>
<html>
<head>
<title>Password Generator</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/material.min.css">
<script src="js/material.min.js"></script>
<script src="js/popup.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
</head>
<body>
<div class="mdl-card">
<div class="mdl-card__supporting-text">
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" spellcheck="false" id="password">
</div>
<div class="fab">
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-js-ripple-effect mdl-button--colored" id="regen">
<i class="material-icons">refresh</i>
</button>
</div>
<label for="len">
<span>Length: <span id="lentxt">--</span></span>
<input class="mdl-slider mdl-js-slider" type="range" min="4" max="26" value="12" tabindex="0" id="len">
</label>
<label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect" for="num">
<input type="checkbox" id="num" class="mdl-checkbox__input" checked>
<span class="mdl-checkbox__label">Numbers</span>
</label>
<label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect" for="sym">
<input type="checkbox" id="sym" class="mdl-checkbox__input" checked>
<span class="mdl-checkbox__label">Symbols</span>
</label>
<p id="clipboard">Password is copied into your clipboard.</p>
</div>
</div>
</body>
</html>