aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cover_photo.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-02-24 08:42:25 +0100
committerMario Vavti <mario@mariovavti.com>2018-02-24 08:42:25 +0100
commitf6d024cb3f2663cd1d61e5fc18546adb93b9a7db (patch)
treed4067d517bfa67c20e9bae0a41d3a882f419735d /view/tpl/cover_photo.tpl
parent1c750dac4187c3872e29c79f0c0856ec8a29331e (diff)
parente6f9f284bf04f0dc0471fa08d7dac118effe4ccb (diff)
downloadvolse-hubzilla-f6d024cb3f2663cd1d61e5fc18546adb93b9a7db.tar.gz
volse-hubzilla-f6d024cb3f2663cd1d61e5fc18546adb93b9a7db.tar.bz2
volse-hubzilla-f6d024cb3f2663cd1d61e5fc18546adb93b9a7db.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'view/tpl/cover_photo.tpl')
-rwxr-xr-xview/tpl/cover_photo.tpl25
1 files changed, 23 insertions, 2 deletions
diff --git a/view/tpl/cover_photo.tpl b/view/tpl/cover_photo.tpl
index 4352501ae..7ad4482e4 100755
--- a/view/tpl/cover_photo.tpl
+++ b/view/tpl/cover_photo.tpl
@@ -21,9 +21,30 @@
</form>
<br />
- <br />
<div id="profile-photo-link-select-wrapper">
- {{$select}}
+ <button id="embed-photo-wrapper" class="btn btn-default btn-primary" title="{{$embedPhotos}}" onclick="initializeEmbedPhotoDialog();return false;">
+ <i id="embed-photo" class="fa fa-file-image-o"></i> {{$select}}
+ </button>
</div>
</div>
</div>
+<div class="modal" id="embedPhotoModal" tabindex="-1" role="dialog" aria-labelledby="embedPhotoLabel" aria-hidden="true">
+ <div class="modal-dialog">
+ <div class="modal-content">
+ <div class="modal-header">
+ <h4 class="modal-title" id="embedPhotoModalLabel">{{$embedPhotosModalTitle}}</h4>
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
+ </div>
+ <div class="modal-body" id="embedPhotoModalBody" >
+ <div id="embedPhotoModalBodyAlbumListDialog" class="d-none">
+ <div id="embedPhotoModalBodyAlbumList"></div>
+ </div>
+ <div id="embedPhotoModalBodyAlbumDialog" class="d-none"></div>
+ </div>
+ <div class="modal-footer">
+ <button type="button" class="btn btn-outline-secondary" data-dismiss="modal">{{$embedPhotosModalCancel}}</button>
+ <button id="embed-photo-OKButton" type="button" class="btn btn-primary">{{$embedPhotosModalOK}}</button>
+ </div>
+ </div><!-- /.modal-content -->
+ </div><!-- /.modal-dialog -->
+</div><!-- /.modal -->