You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
171 lines
5.9 KiB
171 lines
5.9 KiB
11 years ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8"/>
|
||
|
<title>twister login</title>
|
||
|
<link rel="stylesheet" href="css/style.css" type="text/css"/>
|
||
|
<script src="jquery.min.js"></script>
|
||
|
<script src="jQueryPlugins.js"></script>
|
||
|
<script src="jquery.json-2.4.js"></script>
|
||
|
<script src="jquery.jsonrpcclient.js"></script>
|
||
|
<script src="jquery.storageapi.js"></script>
|
||
|
<script src="mobile_abstract.js"></script>
|
||
|
<script src="twister_io.js"></script>
|
||
|
<script src="twister_network.js"></script>
|
||
|
<script src="twister_user.js"></script>
|
||
|
<script src="interface_common.js"></script>
|
||
|
<script src="interface_login.js"></script>
|
||
|
<script src="polyglot.min.js"></script>
|
||
|
<script src="interface_localization.js"></script>
|
||
|
|
||
|
<script>
|
||
|
$(document).ready(function()
|
||
|
{
|
||
|
initInterfaceLogin();
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
<link rel="icon" type="image/png" href="img/twister_mini.png" />
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<!-- MENU SUPERIOR INIT -->
|
||
|
<nav class="userMenu">
|
||
|
<ul>
|
||
|
<li class="userMenu-home"><a href="home.html"></a></li>
|
||
|
<!-- <li class="userMenu-network"><a href="network.html">Network</a></li> -->
|
||
|
<li class="userMenu-profile current"><a href="login.html">Login</a></li>
|
||
|
<li class="userMenu-config">
|
||
|
<a class="userMenu-config-dropdown" href="#">
|
||
|
<div class="config-menu dialog-modal">
|
||
|
<!-- <div class="mini-profile-info">
|
||
|
<div class="mini-profile-photo"><img src="img/grayed_avatar_placeholder_24.png" alt="user-photo"/></div>
|
||
|
<a href="#" class="mini-profile-name">Fulano da Silva</a>
|
||
|
<span class="mini-profile-view">View</span>
|
||
|
</div> -->
|
||
|
<a class="dropdown-menu-item" href="profile-edit.html">Setup account</a>
|
||
|
<a class="dropdown-menu-item" href="following.html">Following users</a>
|
||
|
<a class="dropdown-menu-item" href="network.html">Network config</a>
|
||
|
<a class="dropdown-menu-item" href="login.html">Change user</a>
|
||
|
<!-- <a class="dropdown-menu-item promoted-posts-only" href="#">Switch to Promoted posts</a>
|
||
|
<a class="direct-messages dropdown-menu-item" href="#">Direct Messages</a> -->
|
||
|
</div>
|
||
|
</a>
|
||
|
</li>
|
||
|
|
||
|
|
||
|
|
||
|
</ul>
|
||
|
</nav>
|
||
|
<!-- MENU SUPERIOR END -->
|
||
|
|
||
|
|
||
|
<div class="wrapper">
|
||
|
|
||
|
<!-- LADO ESQUERDO DE MÓDULOS INIT -->
|
||
|
<div class="login">
|
||
|
<!-- <h2> twister login </h2> -->
|
||
|
|
||
|
<div class="module">
|
||
|
<p> Existing local users </p>
|
||
|
<div>
|
||
|
<select class="local-usernames login-user">
|
||
|
</select>
|
||
|
<button class="login-local-username">Login</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<!-- <span> Or... </span> -->
|
||
|
|
||
|
<div class="module">
|
||
|
<p> Create a new user </p>
|
||
|
<div>
|
||
|
<input class="new-username" type="textbox" placeholder="Type nickname here" cols="16" rows="1"></input>
|
||
|
<button class="check-availability">Check availability</button>
|
||
|
<span class="availability"></span>
|
||
|
</div>
|
||
|
<div>
|
||
|
<button class="create-user disabled" disable="true">Create this nickname</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<!-- <span> Or... </span> -->
|
||
|
|
||
|
<div class="module">
|
||
|
<div>
|
||
|
<p> Import secret key </p>
|
||
|
<input class="secret-key-import" type="textbox" placeholder="52-characters secret" size="52" rows="1"></input>
|
||
|
</div>
|
||
|
<div>
|
||
|
<p class="with-nickname"> With nickname </p>
|
||
|
<input class="username-import" type="textbox" placeholder="Type nickname here" size="16" rows="1"></input>
|
||
|
</div>
|
||
|
<div>
|
||
|
<button class="import-secret-key disabled" disable="true">Import key</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<!-- LADO ESQUERDO DE MÓDULOS END -->
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<!-- TEMPLATES INIT -->
|
||
|
<div id="templates" style="display:none;">
|
||
|
|
||
|
|
||
|
<!-- TEMPLATE DO MODAL GENÉRICO INIT -->
|
||
|
<div class="modal-blackout">
|
||
|
<div class="modal-wrapper">
|
||
|
<div class="modal-header">
|
||
|
<h3></h3>
|
||
|
<span id="closeModal" class="modal-close cancel">×</span>
|
||
|
</div>
|
||
|
<div class="modal-content"></div>
|
||
|
<div class="modal-buttons">
|
||
|
<button class="modal-cancel cancel">Cancel</button>
|
||
|
<button class="modal-propagate">Retransmit</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- TEMPLATE DO MODAL GENÉRICO END -->
|
||
|
|
||
|
<!-- MODAL DE NEW USER INIT -->
|
||
|
<div id="new-user-modal-template">
|
||
|
<div class="warning">
|
||
|
<div class="text">
|
||
|
A new user was created and it is being propagated to the network.
|
||
|
Please do not close this window, this might take a few minutes.
|
||
|
</div>
|
||
|
<div class="text emphasis">
|
||
|
Your secret key is: <span class="secret-key"></span>
|
||
|
</div>
|
||
|
<div class="text">
|
||
|
It is highly recommended that you take this time to save your secret key.
|
||
|
Print it, do a screenshot, use the camera in your phone or write it down
|
||
|
to a piece of paper.
|
||
|
</div>
|
||
|
<div class="text">
|
||
|
The secret key will be needed to use this account from different computers.
|
||
|
If you ever lose your secret key (remember: this is alpha software and it may
|
||
|
crash, causing loss of data) your nickname will be locked forever.
|
||
|
There is no way to recover a lost key for twister accounts.
|
||
|
</div>
|
||
|
<div class="text"></div>
|
||
|
<div class="text">
|
||
|
Please wait. The 'OK' button will be shown when process completes.
|
||
|
</div>
|
||
|
<div class="text">
|
||
|
<button class="login-created-user" style="display:none;">OK</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
<!-- TEMPLATES END -->
|
||
|
|
||
|
</body>
|
||
|
</html>
|