You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nodebb/public/templates/accountedit.tpl

148 lines
5.4 KiB
Smarty

<div class="well account">
<div id="change-picture-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="[[user:change_picture]]" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">[[user:change_picture]]</h3>
</div>
<div class="modal-body">
<div id="gravatar-box">
<img id="user-gravatar-picture" src="" class="img-thumbnail user-profile-picture">
<span class="user-picture-label">[[user:gravatar]]</span>
<i class='fa fa-check fa-2x'></i>
</div>
<br/>
<div id="uploaded-box">
<img id="user-uploaded-picture" src="" class="img-thumbnail user-profile-picture">
<span class="user-picture-label">[[user:uploaded_picture]]</span>
<i class='fa fa-check fa-2x'></i>
</div>
12 years ago
<a id="uploadPictureBtn" href="#">[[user:upload_new_picture]]</a>
</div>
<div class="modal-footer">
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
<button id="savePictureChangesBtn" class="btn btn-primary">Save changes</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
12 years ago
<div class="account-username-box" data-userslug="{userslug}">
12 years ago
<span class="account-username">
<a href="/user/{userslug}">{username}</a> <i class="fa fa-chevron-right"></i>
<a href="/user/{userslug}/edit">[[user:edit]]</a>
12 years ago
</span>
</div>
12 years ago
<div class="row">
<div class="col-md-2" style="text-align: center; margin-bottom:20px;">
12 years ago
<div class="account-picture-block text-center">
<img id="user-current-picture" class="user-profile-picture img-thumbnail" src="{picture}" /><br /><br />
<a id="changePictureBtn" href="#" class="btn btn-primary">[[user:change_picture]]</a>
12 years ago
</div>
12 years ago
</div>
<div class="col-md-5">
<div>
<form class='form-horizontal'>
12 years ago
<div class="control-group">
<label class="control-label" for="inputEmail">[[user:email]]</label>
12 years ago
<div class="controls">
<input class="form-control" type="text" id="inputEmail" placeholder="Email" value="{email}">
12 years ago
</div>
</div>
12 years ago
<div class="control-group">
<label class="control-label" for="inputFullname">[[user:fullname]]</label>
12 years ago
<div class="controls">
<input class="form-control" type="text" id="inputFullname" placeholder="Full Name" value="{fullname}">
12 years ago
</div>
</div>
12 years ago
<div class="control-group">
<label class="control-label" for="inputWebsite">[[user:website]]</label>
12 years ago
<div class="controls">
<input class="form-control" type="text" id="inputWebsite" placeholder="http://website.com" value="{website}">
12 years ago
</div>
</div>
12 years ago
<div class="control-group">
<label class="control-label" for="inputLocation">[[user:location]]</label>
12 years ago
<div class="controls">
<input class="form-control" type="text" id="inputLocation" placeholder="Location" value="{location}">
12 years ago
</div>
</div>
12 years ago
<div class="control-group">
<label class="control-label" for="inputBirthday">[[user:birthday]]</label>
12 years ago
<div class="controls">
<input class="form-control" type="date" id="inputBirthday" placeholder="mm/dd/yyyy" value="{birthday}">
12 years ago
</div>
</div>
12 years ago
12 years ago
<div class="control-group">
<label class="control-label" for="inputSignature">[[user:signature]]</label>
12 years ago
<div class="controls">
<textarea class="form-control" id="inputSignature" placeholder="max 150 chars" rows="5">{signature}</textarea>
12 years ago
</div>
</div>
<input type="hidden" id="inputUID" value="{uid}"><br />
12 years ago
<div class="form-actions">
<a id="submitBtn" href="#" class="btn btn-primary">[[global:save_changes]]</a>
</div>
</form>
</div>
<hr/>
</div>
<div class="col-md-5">
<div style="vertical-align:top;">
<form class='form-horizontal'>
<div class="control-group">
<label class="control-label" for="inputCurrentPassword">Current Password</label>
<div class="controls">
<input class="form-control" type="password" id="inputCurrentPassword" placeholder="Current Password" value="">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputNewPassword">[[user:password]]</label>
11 years ago
<div class="input-group">
12 years ago
<input class="form-control" type="password" id="inputNewPassword" placeholder="New Password" value="">
11 years ago
<span class="input-group-addon">
<span id="password-notify"><i class="fa fa-circle-o"></i></span>
</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputNewPasswordAgain">[[user:confirm_password]]</label>
11 years ago
<div class="input-group">
12 years ago
<input class="form-control" type="password" id="inputNewPasswordAgain" placeholder="Confirm Password" value="">
11 years ago
<span class="input-group-addon">
<span id="password-confirm-notify"><i class="fa fa-circle-o"></i></span>
</span>
</div>
</div>
12 years ago
<br/>
<div class="form-actions">
<a id="changePasswordBtn" href="#" class="btn btn-primary">[[user:change_password]]</a>
12 years ago
</div>
</form>
12 years ago
</div>
</div>
</div>
</div>
<input type="hidden" template-variable="gravatarpicture" value="{gravatarpicture}" />
<input type="hidden" template-variable="uploadedpicture" value="{uploadedpicture}" />