diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-01-30 19:36:33 +0100 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-01-30 19:36:33 +0100 |
commit | 5574b87e9bbafd10b60dea1696cac31978a24c87 (patch) | |
tree | 1fb505e8a985b9f3461f6972ca8f87ba70237a86 /apps/gallery/templates | |
parent | 039bbfde2d2e1efc90fa9828811566ea1f328722 (diff) | |
download | nextcloud-server-5574b87e9bbafd10b60dea1696cac31978a24c87.tar.gz nextcloud-server-5574b87e9bbafd10b60dea1696cac31978a24c87.zip |
new gallery look and feel
Diffstat (limited to 'apps/gallery/templates')
-rw-r--r-- | apps/gallery/templates/index.php | 20 | ||||
-rw-r--r-- | apps/gallery/templates/view_album.php | 13 |
2 files changed, 31 insertions, 2 deletions
diff --git a/apps/gallery/templates/index.php b/apps/gallery/templates/index.php index eb6ebd1bb7b..4c2fbcfe6c6 100644 --- a/apps/gallery/templates/index.php +++ b/apps/gallery/templates/index.php @@ -7,8 +7,24 @@ $l = new OC_L10N('gallery'); <div id="notification"><div id="gallery_notification_text">Creating thumbnails</div></div> <div id="controls"> - <input type="button" value="<?php echo $l->t('Rescan');?>" onclick="javascript:scanForAlbums();" /> - <br/> + <div id="scan"> + <div id="scanprogressbar"></div> + <input type="button" value="<?php echo $l->t('Rescan');?>" onclick="javascript:scanForAlbums();" /> + </div> </div> <div id="gallery_list"> </div> + +<div id="dialog-confirm" title="<?php echo $l->t('Remove confirmation');?>" style="display: none"> + <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span><?php echo $l->t('Do you want to remove album');?> <span id="albumName"></span>?</p> +</div> + +<div id="dialog-form" title="<?php echo $l->t('Change album name');?>" style="display:none"> + <form> + <fieldset> + <label for="name"><?php echo $l->t('New album name');?></label> + <input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" /> + </fieldset> + </form> +</div> + diff --git a/apps/gallery/templates/view_album.php b/apps/gallery/templates/view_album.php index 55a2ee09e4a..6b513a672d5 100644 --- a/apps/gallery/templates/view_album.php +++ b/apps/gallery/templates/view_album.php @@ -32,3 +32,16 @@ foreach ($_['photos'] as $a) { } ?> </div> + +<div id="dialog-confirm" title="<?php echo $l->t('Remove confirmation');?>" style="display: none"> + <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span><?php echo $l->t('Do you want to remove album');?> <span id="albumName"></span>?</p> +</div> + +<div id="dialog-form" title="<?php echo $l->t('Change album name');?>" style="display:none"> + <form> + <fieldset> + <label for="name"><?php echo $l->t('New album name');?></label> + <input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" /> + </fieldset> + </form> +</div> |