|
|
|
<!DOCTYPE html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Edit profile</title>
|
|
|
|
<script>
|
|
|
|
var theme = localStorage.getItem('theme');
|
|
|
|
if (theme=='calm') {
|
|
|
|
document.write('<link rel="stylesheet" type="text/css" href="css/style.css">');
|
|
|
|
document.write('<link rel="stylesheet" type="text/css" href="css/profile.css">');
|
|
|
|
document.write('<link rel="stylesheet" type="text/css" href="jquery-emotions/jquery.emotions.calm.css">');
|
|
|
|
|
|
|
|
} else {
|
|
|
|
document.write('<link rel="stylesheet" type="text/css" href="css/orange/style.css">');
|
|
|
|
document.write('<link rel="stylesheet" type="text/css" href="css/orange/profile.css">');
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<script src="js/jquery.min.js"></script>
|
|
|
|
<script type="text/javascript" src="js/qrcode.js"></script>
|
|
|
|
<script src="js/jQueryPlugins.js"></script>
|
|
|
|
<script src="js/jquery.json-2.4.js"></script>
|
|
|
|
<script src="js/jquery.jsonrpcclient.js"></script>
|
|
|
|
<script src="js/jquery.storageapi.js"></script>
|
|
|
|
<script src="js/mobile_abstract.js"></script>
|
|
|
|
<script src="js/twister_io.js"></script>
|
|
|
|
<script src="js/polyglot.min.js"></script>
|
|
|
|
<script src="js/interface_localization.js"></script>
|
|
|
|
<script src="js/twister_user.js"></script>
|
|
|
|
<script src="js/twister_network.js"></script>
|
|
|
|
<script src="js/twister_following.js"></script>
|
|
|
|
<script src="js/twister_newmsgs.js"></script>
|
|
|
|
<script src="js/interface_common.js"></script>
|
|
|
|
<script src="js/interface_profile-edit.js"></script>
|
|
|
|
<script src="js/calm.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-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">
|
|
|
|
<a class="dropdown-menu-item" href="options.html">Options</a>
|
|
|
|
<a class="dropdown-menu-item" href="network.html">Network config</a>
|
|
|
|
<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="login.html">Change user</a>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</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="#" id="showqr">Show QR code</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<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>
|