aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/css/mod_cloud.css5
-rw-r--r--view/tpl/cloud_header.tpl10
2 files changed, 15 insertions, 0 deletions
diff --git a/view/css/mod_cloud.css b/view/css/mod_cloud.css
new file mode 100644
index 000000000..cc5fe890f
--- /dev/null
+++ b/view/css/mod_cloud.css
@@ -0,0 +1,5 @@
+#files-mkdir-tools,
+#files-upload-tools {
+ display: none;
+}
+
diff --git a/view/tpl/cloud_header.tpl b/view/tpl/cloud_header.tpl
new file mode 100644
index 000000000..562ae0d02
--- /dev/null
+++ b/view/tpl/cloud_header.tpl
@@ -0,0 +1,10 @@
+<div class="section-title-wrapper">
+ <div class="pull-right">
+ <button id="files-create-btn"class="btn btn-xs btn-primary" title="{{if $quota.limit || $quota.used}}{{$quota.desc}}{{/if}}" onclick="openClose('files-mkdir-tools'); closeMenu('files-upload-tools');"><i class="icon-folder-close-alt"></i>&nbsp;Create</button>
+ <button id="files-upload-btn" class="btn btn-xs btn-success" title="{{if $quota.limit || $quota.used}}{{$quota.desc}}{{/if}}" onclick="openClose('files-upload-tools'); closeMenu('files-mkdir-tools');"><i class="icon-upload"></i>&nbsp;Upload</button>
+ </div>
+ <h2>{{$header}}</h2>
+ <div class="clear"></div>
+</div>
+{{$actionspanel}}
+