mirror of
https://github.com/Luzifer/password.git
synced 2024-11-09 01:40:04 +00:00
Knut Ahlers
eed2ae8b08
- Fix broken vendoring for library users (closes #4) - Move command to `cmd/password` subdir - Drop support for Alfred workflow - Add support for Go 1.11+ modules
116 lines
4.5 KiB
HTML
116 lines
4.5 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||
<title>Secure Password</title>
|
||
|
||
<!-- Load app script early to prevent blank HTML without styling -->
|
||
<script src="assets/bundle.js"></script>
|
||
</head>
|
||
<body>
|
||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||
<a class="navbar-brand" href="#">Secure Password</a>
|
||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||
<span class="navbar-toggler-icon"></span>
|
||
</button>
|
||
|
||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||
<ul class="navbar-nav mr-auto">
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="https://github.com/Luzifer/password#via-api">API Documentation</a>
|
||
</li>
|
||
</ul>
|
||
|
||
<ul class="navbar-nav">
|
||
<li class="nav-item">
|
||
<button type="button" class="btn btn-default navbar-btn" data-toggle="modal" data-target="#settingsModal">
|
||
<i class="fas fa-cog" aria-hidden="true"></i> Settings
|
||
</button>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</nav>
|
||
|
||
<div class="container mt-4">
|
||
<div class="row justify-content-md-center">
|
||
<div class="col-xs-12 col-sm-8 col-md-6">
|
||
|
||
<div class="jumbotron">
|
||
<p class="lead center">
|
||
I will generate a new secure password every 30 seconds. Just click the password to keep the current one.
|
||
</p>
|
||
</div>
|
||
|
||
<div class="card mb-3">
|
||
<div class="card-header">
|
||
Your password
|
||
</div>
|
||
<div class="card-body">
|
||
<div class="form-group">
|
||
<input class="form-control center" id="focusedInput" type="text" value="...">
|
||
</div>
|
||
</div>
|
||
<div class="card-footer">
|
||
<div class="progress">
|
||
<div class="progress-bar" style="width: 100%;"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="card">
|
||
<div class="card-header">
|
||
FAQ
|
||
</div>
|
||
<div class="card-body">
|
||
<ul>
|
||
<li><strong>Do you store my password?</strong><br>
|
||
You decide which one to take and we will not store any of the generated passwords. That way you can be sure only you know which password you chose.
|
||
</li>
|
||
<li><strong>How secure are these passwords?</strong><br>
|
||
All passwords are checked against a set of rules to ensure they does not contain patterns which would make it easy for programs to guess the password.
|
||
</li>
|
||
<li><strong>Can I read the source code?</strong><br>
|
||
Of course you can. It's published on <a href="https://github.com/Luzifer/password">GitHub</a> together with a test suite to ensure the passwords are safe.
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="modal" id="settingsModal" role="dialog">
|
||
<div class="modal-dialog" role="document">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h4 class="modal-title">Settings</h4>
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="form-group">
|
||
<label for="passwordLengthOption" class="control-label">Password length:</label>
|
||
<input type="number" class="form-control" value="20" id="passwordLengthOption">
|
||
</div>
|
||
<div class="form-group">
|
||
<label>
|
||
<input type="checkbox" id="useSpecialOption"> Use special characters
|
||
</label>
|
||
</div>
|
||
<div class="form-group">
|
||
<label>
|
||
<input type="checkbox" id="useXKCDOption"> Use <a href="https://xkcd.com/936/" target="_blank">XKCD style passwords</a>
|
||
</label>
|
||
</div>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||
<button type="button" class="btn btn-primary" id="optionSave">Save changes</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</body>
|
||
</html>
|