diff options
author | friendica <info@friendica.com> | 2014-10-30 19:29:28 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-10-30 19:29:28 -0700 |
commit | 4e454656fea569d5302cbe6d846bd648cb46a1b1 (patch) | |
tree | da80d6dc28f24e43743bb74dd9632ff523b52c70 /view/tpl | |
parent | 28a35261dbc8c21e27ca4a449ff5cd6cb0501c8a (diff) | |
parent | fbd027709aba1fc3de3bbeede32c65fb26a00b21 (diff) | |
download | volse-hubzilla-4e454656fea569d5302cbe6d846bd648cb46a1b1.tar.gz volse-hubzilla-4e454656fea569d5302cbe6d846bd648cb46a1b1.tar.bz2 volse-hubzilla-4e454656fea569d5302cbe6d846bd648cb46a1b1.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/album_edit.tpl | 9 | ||||
-rwxr-xr-x | view/tpl/photos_upload.tpl | 76 |
2 files changed, 49 insertions, 36 deletions
diff --git a/view/tpl/album_edit.tpl b/view/tpl/album_edit.tpl index 84a47378b..a65887d3c 100755 --- a/view/tpl/album_edit.tpl +++ b/view/tpl/album_edit.tpl @@ -3,7 +3,14 @@ <label id="photo-album-edit-name-label" for="photo-album-edit-name" >{{$nametext}}</label> -<input type="text" name="albumname" value="{{$album}}" > +<input type="text" name="albumname" value="{{$album}}" list="dl-album-edit" /> + <datalist id="dl-album-edit"> + {{foreach $albums as $al}} + {{if $al.text}} + <option value="{{$al.text}}"> + {{/if}} + {{/foreach}} + </datalist> <div id="photo-album-edit-name-end"></div> diff --git a/view/tpl/photos_upload.tpl b/view/tpl/photos_upload.tpl index 81d7b6dc0..3db292f02 100755 --- a/view/tpl/photos_upload.tpl +++ b/view/tpl/photos_upload.tpl @@ -1,44 +1,50 @@ -<div class="section-title-wrapper"> - <div id="photos-usage-message" class="pull-right">{{$usage}}</div> - <h2>{{$pagename}}</h2> - <div class="clear"></div> -</div> - -<div class="generic-content-wrapper-styled"> -<form action="photos/{{$nickname}}" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form"> - <input type="hidden" id="photos-upload-source" name="source" value="photos" /> - <div id="photos-upload-new-wrapper" > - <div id="photos-upload-newalbum-div"> - <label id="photos-upload-newalbum-text" for="photos-upload-newalbum" >{{$newalbum}}</label> - </div> - <input id="photos-upload-newalbum" type="text" name="newalbum" /> - </div> - <div id="photos-upload-new-end"></div> - <div id="photos-upload-exist-wrapper"> - <div id="photos-upload-existing-album-text">{{$existalbumtext}}</div> - {{$albumselect}} +<div class="generic-content-wrapper"> + <div class="section-title-wrapper"> + <div id="photos-usage-message" class="pull-right">{{$usage}}</div> + <h2>{{$pagename}}</h2> + <div class="clear"></div> </div> - <div id="photos-upload-exist-end"></div> - <div id="photos-upload-noshare-div" class="photos-upload-noshare-div" > - <input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" /> - <label id="photos-upload-noshare-text" for="photos-upload-noshare" >{{$nosharetext}}</label> - </div> + <div class="section-content-wrapper"> + <form action="photos/{{$nickname}}" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form"> + <input type="hidden" id="photos-upload-source" name="source" value="photos" /> + <div id="photos-album-name-label" > + <label id="photos-upload-newalbum-text" for="photos-upload-newalbum">{{$newalbum}}</label> + </div> + <div id="photos-album-name-input"> + <input id="photos-upload-newalbum" type="text" value="{{$selname}}" name="newalbum" list="dl-photo-upload" /> + <datalist id="dl-photo-upload"> + {{foreach $albums as $al}} + {{if $al.text}} + <option value="{{$al.text}}"> + {{/if}} + {{/foreach}} + </datalist> + </div> + <div id="photos-upload-new-end"></div> - <div id="photos-upload-perms" class="photos-upload-perms" > - <span id="jot-perms-icon" class="icon-{{$lockstate}}" ></span> - <button class="btn btn-default btn-xs" data-toggle="modal" data-target="#aclModal" onclick="return false;">{{$permissions}}</button> - </div> - {{$aclselect}} - <div id="photos-upload-perms-end"></div> + <div id="photos-upload-noshare-div" class="photos-upload-noshare-div" > + <input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" /> + <label id="photos-upload-noshare-text" for="photos-upload-noshare" >{{$nosharetext}}</label> + </div> - <div id="photos-upload-spacer"></div> + <div id="photos-upload-perms" class="photos-upload-perms" > + <span id="jot-perms-icon" class="icon-{{$lockstate}}" ></span> + <button class="btn btn-default btn-xs" data-toggle="modal" data-target="#aclModal" onclick="return false;">{{$permissions}}</button> + </div> - {{$uploader}} + {{$aclselect}} - {{$default}} + <div id="photos-upload-perms-end"></div> - <div class="photos-upload-end" ></div> -</form> + <div id="photos-upload-spacer"></div> + + {{$uploader}} + + {{$default}} + + <div class="photos-upload-end" ></div> + </form> + </div> </div> |