|
|
|
<!DOCTYPE html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Edit profile</title>
|
|
|
|
<link rel="stylesheet" href="css/style.css" type="text/css">
|
|
|
|
<link rel="stylesheet" href="css/profile.css" type="text/css">
|
|
|
|
<script src="jquery.min.js"></script>
|
|
|
|
<script type="text/javascript" src="qrcode.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="polyglot.min.js"></script>
|
|
|
|
<script src="interface_localization.js"></script>
|
|
|
|
<script src="twister_user.js"></script>
|
|
|
|
<script src="twister_network.js"></script>
|
|
|
|
<script src="twister_following.js"></script>
|
|
|
|
<script src="twister_newmsgs.js"></script>
|
|
|
|
<script src="interface_common.js"></script>
|
|
|
|
<script src="interface_profile-edit.js"></script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
$(document).ready(function()
|
|
|
|
{
|
|
|
|
initProfileEdit();
|
|
|
|
});
|
|
|
|
</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="profile-edit.html">Profile</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="direct-messages" href="#">Direct Messages</a> -->
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<!-- <li class="userMenu-connections">
|
|
|
|
<a href="#">
|
|
|
|
<span class="messages-qtd" style="display:none;">12</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="userMenu-messages">
|
|
|
|
posts <a href="#">
|
|
|
|
<span class="messages-qtd" style="display:none;">12</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="userMenu-search">
|
|
|
|
<input type="text" class="userMenu-search-field" placeholder="search">
|
|
|
|
</li> -->
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<!-- MENU SUPERIOR END -->
|
|
|
|
|
|
|
|
|
|
|
|
<div class="wrapper">
|
|
|
|
|
|
|
|
<!-- ÁREA DE PROFILE PHOTO INIT -->
|
|
|
|
<div class="profile-card forEdition">
|
|
|
|
<!-- Coloquei a imagem de fundo do card do usuário como background da div abaixo inline na tag para poder ser alterada dinamicamente -->
|
|
|
|
<div class="profile-card-main">
|
|
|
|
<img class="profile-card-photo forEdition" src="img/genericPerson.png"/>
|
|
|
|
<input type="text" class="input-name" placeholder="Full name here"/>
|
|
|
|
<h2></h2>
|
|
|
|
<input type="text" class="input-description" placeholder="Describe yourself"/>
|
|
|
|
<input type="text" class="input-city" placeholder="Location"/>
|
|
|
|
<input type="text" class="input-website" placeholder="website"/>
|
|
|
|
</div>
|
|
|
|
<div class="profile-edition-buttons">
|
|
|
|
<button class="toggle-priv-key" style="float: left" href="#">Secret Key</button>
|
|
|
|
<button class="cancel-changes" href="#">Cancel</button>
|
|
|
|
<button class="submit-changes" href="#">Save Changes</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="font-size:80%;text-align: center;" class="secret-key-container">
|
|
|
|
<span class="label">Secret key:</span> <div id="skey"><span class="secret-key"></span></div>
|
|
|
|
<button href="#" onclick="showqr()">Show QR code</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
function showqr ()
|
|
|
|
{
|
|
|
|
var skey = document.getElementById('skey').innerText;
|
|
|
|
new QRCode(document.getElementById("qrcode"), skey);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div align="center" id="qrcode"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- ÁREA DE POSTS END -->
|
|
|
|
|
|
|
|
<input type="file" id="avatar-file" name="avatar_files" style="display:none;"/>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|