mirror of
https://github.com/Luzifer/cloudkeys-go.git
synced 2024-11-09 22:50:05 +00:00
141 lines
6.6 KiB
HTML
141 lines
6.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>cloudkeys</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
|
<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
|
<link href="../../assets/style.css" rel="stylesheet" media="screen">
|
|
</head>
|
|
<body>
|
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbarcollapse">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="../../u/{{ current_user_index }}/overview">cloud<strong>keys</strong></a>
|
|
</div>
|
|
<div class="collapse navbar-collapse" id="navbarcollapse">
|
|
<ul class="nav navbar-nav hide">
|
|
<li class="active"><a href="../../u/{{ current_user_index }}/overview">Home</a></li>
|
|
<li><a id="newEntityLink">New</a></li>
|
|
<li><a id="importLink">Import</a></li>
|
|
</ul>
|
|
<ul class="nav navbar-nav pull-right">
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Switch Account <b class="caret"></b></a>
|
|
<ul class="dropdown-menu">
|
|
{% for user in authorized_accounts %}
|
|
{% if forloop.Counter0 == current_user_index %}
|
|
<li><a href="../../u/{{ forloop.Counter0 }}/overview" class="active_account">{{ user }}</a></li>
|
|
{% else %}
|
|
<li><a href="../../u/{{ forloop.Counter0 }}/overview">{{ user }}</a></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
<li class="divider"></li>
|
|
<li><a href="../../login">Add Account</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="../../logout">Logout</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="loader" class="container hide">
|
|
<div class="row">
|
|
<img src="../../assets/ajax-loader.gif" />
|
|
</div>
|
|
</div>
|
|
<div id="passwordRequest" class="container">
|
|
<div class="row">
|
|
<div id="searchbox" class="col-md-8 col-md-push-2">
|
|
<input type="password" id="pw" placeholder="Password">
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-8 col-md-push-2">
|
|
<small><strong>Hint:</strong> If you are here for the first time, this password will be set as your encryption password for your storage. We don't send it to our server, but only your encrypted storage. We're never able to read your password storage.<br>After that you can import and create passwords.</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="container hide">
|
|
<div class="row" id="importContainer">
|
|
<div id="importer" class="col-md-8 col-md-push-2">
|
|
<textarea id="import"></textarea>
|
|
</div>
|
|
<div class="col-md-8 col-md-push-2">
|
|
<button class="btn btn-primary">Import</button>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div id="searchbox" class="col-md-8 col-md-push-2">
|
|
<input type="text" id="search" placeholder="Search">
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div id="content" class="col-md-12" role="main">
|
|
<div id="resultdescription" class="col-md-12">Search results: <span>0</span> items</div>
|
|
<ul id="items">
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div id="editDialog" class="modal fade">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
<h4 class="modal-title">Edit</h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<form role="form">
|
|
<input type="hidden" name="num" value="">
|
|
<div class="form-group">
|
|
<label class="control-label" for="title">Title</label>
|
|
<input type="text" class="form-control" id="title" placeholder="Enter Title">
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="username">Username</label>
|
|
<input type="text" class="form-control" id="username" placeholder="Enter Username">
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="password">Password</label>
|
|
<input type="password" class="form-control" id="password" placeholder="Enter Password">
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="repeat_password">Repeat Password</label>
|
|
<input type="password" class="form-control" id="repeat_password" placeholder="Repeat Password">
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="url">URL</label>
|
|
<input type="url" class="form-control" id="url" placeholder="Enter URL">
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="Comment">Comment</label>
|
|
<textarea type="text" class="form-control" id="comment" placeholder="Enter Comment"></textarea>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="tags">Tags</label>
|
|
<input type="text" class="form-control" id="tags" placeholder="Enter Tags">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-danger">Delete</button>
|
|
<button id="formClose" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
<button type="button" class="btn btn-primary">Save changes</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/aes.js"></script>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/sha1.js"></script>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
|
<script src="../../assets/script.js"></script>
|
|
</body>
|
|
</html>
|