summaryrefslogtreecommitdiffstats
path: root/apps/gallery/templates
diff options
context:
space:
mode:
authorBartek Przybylski <bart.p.pl@gmail.com>2012-01-30 19:36:33 +0100
committerBartek Przybylski <bart.p.pl@gmail.com>2012-01-30 19:36:33 +0100
commit5574b87e9bbafd10b60dea1696cac31978a24c87 (patch)
tree1fb505e8a985b9f3461f6972ca8f87ba70237a86 /apps/gallery/templates
parent039bbfde2d2e1efc90fa9828811566ea1f328722 (diff)
downloadnextcloud-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.php20
-rw-r--r--apps/gallery/templates/view_album.php13
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>