Julian Lam 8 years ago
parent 2ad402bb73
commit 6eeabc09bf

@ -332,6 +332,12 @@
.user-icon-style(46px, 2.4rem, 50%); .user-icon-style(46px, 2.4rem, 50%);
} }
@media (max-width: @screen-sm) {
img, .user-icon {
display: none;
}
}
h4 { h4 {
line-height: 46px; line-height: 46px;
margin: 0; margin: 0;

@ -1,63 +1,62 @@
<div class="list-group media"> <div class="row">
<button type="button" class="list-group-item" data-type="default"> <div class="col-xs-6 col-sm-8 col-md-6">
<div class="media-left"> <div class="list-group media">
<div class="user-icon media-object"></div> <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>
<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 allowProfileImageUploads -->
<div class="btn-group" role="group">
<button type="button" class="btn btn-default" data-action="upload">
<span class="hidden-xs hidden-sm">
[[user:upload_new_picture]]
</span>
<span class="visible-xs-inline visible-sm-inline">
<i class="fa fa-plus"></i>
<i class="fa fa-upload"></i>
</span>
</button>
</div> </div>
<!-- ENDIF allowProfileImageUploads --> <div class="col-xs-6 col-sm-4 col-md-6">
<!-- IF config.hasImageUploadPlugin --> <div class="btn-group-vertical btn-block" role="group">
<div class="btn-group" role="group"> <!-- IF allowProfileImageUploads -->
<button type="button" class="btn btn-default" data-action="upload-url"> <button type="button" class="btn btn-default" data-action="upload">
<span class="hidden-xs hidden-sm"> <span class="hidden-xs hidden-sm">
[[user:upload_new_picture_from_url]] [[user:upload_new_picture]]
</span> </span>
<span class="visible-xs-inline visible-sm-inline"> <span class="visible-xs-inline visible-sm-inline">
<i class="fa fa-plus"></i> <i class="fa fa-plus"></i>
<i class="fa fa-link"></i> <i class="fa fa-upload"></i>
</span> </span>
</button> </button>
</div> <!-- ENDIF allowProfileImageUploads -->
<!-- ENDIF config.hasImageUploadPlugin --> <!-- IF config.hasImageUploadPlugin -->
<!-- IF uploaded --> <button type="button" class="btn btn-default" data-action="upload-url">
<div class="btn-group" role="group"> <span class="hidden-xs hidden-sm">
<button type="button" class="btn btn-default" data-action="remove-uploaded"> [[user:upload_new_picture_from_url]]
<span class="hidden-xs hidden-sm"> </span>
[[user:remove_uploaded_picture]] <span class="visible-xs-inline visible-sm-inline">
</span> <i class="fa fa-plus"></i>
<span class="visible-xs-inline visible-sm-inline"> <i class="fa fa-link"></i>
<i class="fa fa-picture-o"></i> </span>
<i class="fa fa-long-arrow-right"></i> </button>
<i class="fa fa-trash-o"></i> <!-- ENDIF config.hasImageUploadPlugin -->
</span> <!-- IF uploaded -->
</button> <button type="button" class="btn btn-default" data-action="remove-uploaded">
<span class="hidden-xs hidden-sm">
[[user:remove_uploaded_picture]]
</span>
<span class="visible-xs-inline visible-sm-inline">
<i class="fa fa-picture-o"></i>
<i class="fa fa-long-arrow-right"></i>
<i class="fa fa-trash-o"></i>
</span>
</button>
<!-- ENDIF uploaded -->
</div>
</div> </div>
<!-- ENDIF uploaded --> </div>
</div>
Loading…
Cancel
Save