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.

123 lines
4.8 KiB
Smarty

10 years ago
<div class="account">
<!-- IMPORT partials/account/header.tpl -->
<!-- IF sso.length --><div><!-- ENDIF sso.length -->
<div class="row">
<div class="col-md-2 col-sm-4">
<div class="account-picture-block text-center">
<div class="row">
<div class="col-xs-12 hidden-xs">
<!-- IF picture -->
<img id="user-current-picture" class="avatar avatar-lg avatar-rounded" src="{picture}" />
<!-- ELSE -->
<div class="avatar avatar-lg avatar-rounded" style="background-color: {icon:bgColor};">{icon:text}</div>
<!-- ENDIF picture -->
</div>
</div>
<ul class="list-group">
<a id="changePictureBtn" href="#" class="list-group-item">[[user:change_picture]]</a>
<!-- IF !username:disableEdit -->
<a href="{config.relative_path}/user/{userslug}/edit/username" class="list-group-item">[[user:change_username]]</a>
<!-- ENDIF !username:disableEdit -->
<!-- IF !email:disableEdit -->
<a href="{config.relative_path}/user/{userslug}/edit/email" class="list-group-item">[[user:change_email]]</a>
<!-- ENDIF !email:disableEdit -->
<!-- IF canChangePassword -->
<a href="{config.relative_path}/user/{userslug}/edit/password" class="list-group-item">[[user:change_password]]</a>
<!-- ENDIF canChangePassword -->
</ul>
<!-- IF config.requireEmailConfirmation -->
<!-- IF email -->
<!-- IF isSelf -->
<a id="confirm-email" href="#" class="btn btn-warning <!-- IF email:confirmed -->hide<!-- ENDIF email:confirmed -->">[[user:confirm_email]]</a><br/><br/>
<!-- ENDIF isSelf -->
<!-- ENDIF email -->
<!-- ENDIF config.requireEmailConfirmation -->
<!-- IF allowAccountDelete -->
<!-- IF isSelf -->
<a id="deleteAccountBtn" href="#" class="btn btn-danger">[[user:delete_account]]</a><br/><br/>
<!-- ENDIF isSelf -->
<!-- ENDIF allowAccountDelete -->
</div>
10 years ago
</div>
<div class="<!-- IF !sso.length -->col-md-9 col-sm-8<!-- ELSE -->col-md-5 col-sm-4<!-- ENDIF !sso.length -->">
<div>
<form class='form-horizontal'>
10 years ago
<div class="control-group">
<label class="control-label" for="inputFullname">[[user:fullname]]</label>
<div class="controls">
<input class="form-control" type="text" id="inputFullname" placeholder="[[user:fullname]]" value="{fullname}">
</div>
10 years ago
</div>
<div class="control-group">
<label class="control-label" for="inputWebsite">[[user:website]]</label>
<div class="controls">
<input class="form-control" type="text" id="inputWebsite" placeholder="http://..." value="{website}">
</div>
10 years ago
</div>
<div class="control-group">
<label class="control-label" for="inputLocation">[[user:location]]</label>
<div class="controls">
<input class="form-control" type="text" id="inputLocation" placeholder="[[user:location]]" value="{location}">
</div>
10 years ago
</div>
<div class="control-group">
<label class="control-label" for="inputBirthday">[[user:birthday]]</label>
<div class="controls">
<input class="form-control" id="inputBirthday" value="{birthday}" placeholder="mm/dd/yyyy">
</div>
10 years ago
</div>
<div class="control-group">
<label class="control-label" for="inputAboutMe">[[user:aboutme]]</label> <small><label id="aboutMeCharCountLeft"></label></small>
<div class="controls">
<textarea class="form-control" id="inputAboutMe" rows="5">{aboutme}</textarea>
</div>
10 years ago
</div>
<!-- IF !disableSignatures -->
<div class="control-group">
<label class="control-label" for="inputSignature">[[user:signature]]</label> <small><label id="signatureCharCountLeft"></label></small>
<div class="controls">
<textarea class="form-control" id="inputSignature" rows="5">{signature}</textarea>
</div>
10 years ago
</div>
<!-- ENDIF !disableSignatures -->
10 years ago
<input type="hidden" id="inputUID" value="{uid}"><br />
10 years ago
<div class="form-actions">
<a id="submitBtn" href="#" class="btn btn-primary">[[global:save_changes]]</a>
</div>
10 years ago
</form>
</div>
10 years ago
<hr class="visible-xs visible-sm"/>
</div>
10 years ago
<!-- IF sso.length -->
<div class="col-md-5 col-sm-4">
<label class="control-label">[[user:sso.title]]</label>
<div class="list-group">
<!-- BEGIN sso -->
<a class="list-group-item" href="{../url}" target="<!-- IF ../associated -->_blank<!-- ELSE -->_top<!-- ENDIF ../associated -->">
<!-- IF ../icon --><i class="fa {../icon}"></i><!-- ENDIF ../icon -->
<!-- IF ../associated -->[[user:sso.associated]]<!-- ELSE -->[[user:sso.not-associated]]<!-- ENDIF ../associated -->
{../name}
</a>
<!-- END sso -->
</div>
</div>
<!-- ENDIF sso.length -->
10 years ago
</div>
<!-- IF sso.length --></div><!-- ENDIF sso.length -->
10 years ago
</div>