Merge branch 'master' into profile-redesign

Conflicts:
	less/account.less
main
psychobunny 9 years ago
commit 205ed79f82

@ -224,3 +224,16 @@
}
}
<<<<<<< HEAD
=======
.picture-switcher {
img, .user-icon {
.user-icon-style(46px, 2.4rem, 50%);
}
h4 {
line-height: 46px;
margin: 0;
}
}
>>>>>>> master

@ -1,6 +1,6 @@
{
"name": "nodebb-theme-persona",
"version": "4.0.19",
"version": "4.0.20",
"nbbpm": {
"compatibility": "^0.8.2"
},

@ -1,36 +1,38 @@
<div id="change-picture-modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="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="change-picture">[[user:change_picture]]</h3>
</div>
<div class="modal-body">
<div id="default-box">
<div class="user-icon user-profile-picture"></div>
<span class="user-picture-label">[[user:default_picture]]</span>
<i class='fa fa-check fa-2x'></i>
</div>
<br/>
<div class="list-group media">
<button type="button" class="list-group-item" data-type="default">
<div class="media-left">
<div class="user-icon media-object"></div>
</div>
<div class="media-body">
<h4 class="media-heading">[[user:default_picture]]</h4>
</div>
</button>
<!-- BEGIN pictures -->
<button type="button" class="list-group-item" data-type="{pictures.type}">
<div class="media-left">
<img class="media-object" src="{pictures.url}" title="{pictures.text}" />
</div>
<div class="media-body">
<h4 class="media-heading">{pictures.text}</h4>
</div>
</button>
<!-- END pictures -->
</div>
<div class="btn-group btn-group-justified" role="group">
<!-- IF config.allowProfileImageUploads -->
<div id="uploaded-box">
<img id="user-uploaded-picture" src="" class="user-profile-picture">
<span class="user-picture-label">[[user:uploaded_picture]]</span>
<i class='fa fa-check fa-2x'></i>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" data-action="upload">[[user:upload_new_picture]]</button>
</div>
<a id="uploadPictureBtn" href="#">[[user:upload_new_picture]]</a> <br/>
<!-- IF config.hasImageUploadPlugin -->
<a id="uploadFromUrlBtn" href="#">[[user:upload_new_picture_from_url]]</a> <br/>
<!-- ENDIF config.hasImageUploadPlugin -->
<a id="removeUploadedPictureBtn" href="#" class="<!-- IF !uploadedpicture -->hide<!-- ENDIF !uploadedpicture -->">[[user:remove_uploaded_picture]]</a>
<!-- ENDIF config.allowProfileImageUploads -->
<!-- IF config.hasImageUploadPlugin -->
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" data-action="upload-url">[[user:upload_new_picture_from_url]]</button>
</div>
<div class="modal-footer">
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">[[global:close]]</button>
<button id="savePictureChangesBtn" class="btn btn-primary">[[global:save_changes]]</button>
</div>
</div>
</div>
<!-- ENDIF config.hasImageUploadPlugin -->
<!-- IF uploaded -->
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" data-action="remove-uploaded">[[user:remove_uploaded_picture]]</button>
</div>
<!-- ENDIF uploaded -->
</div>

Loading…
Cancel
Save