summaryrefslogtreecommitdiffstats
path: root/apps/files/js/templates
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-10-01 10:43:17 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-01 17:15:07 +0200
commit335efcc43b2ac731794cf0bea92c249d8b2a5cd5 (patch)
tree24048cb326ab02faa1e5108dcdf8012c4e4ed171 /apps/files/js/templates
parentc4ea7b1e8f3fc05bee6c52859231ad9df51f01b4 (diff)
downloadnextcloud-server-335efcc43b2ac731794cf0bea92c249d8b2a5cd5.tar.gz
nextcloud-server-335efcc43b2ac731794cf0bea92c249d8b2a5cd5.zip
Move to 1 template file for files
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files/js/templates')
-rw-r--r--apps/files/js/templates/detailsview.handlebars.js28
-rw-r--r--apps/files/js/templates/filesummary.handlebars7
2 files changed, 7 insertions, 28 deletions
diff --git a/apps/files/js/templates/detailsview.handlebars.js b/apps/files/js/templates/detailsview.handlebars.js
deleted file mode 100644
index c109da77a63..00000000000
--- a/apps/files/js/templates/detailsview.handlebars.js
+++ /dev/null
@@ -1,28 +0,0 @@
-(function() {
- var template = Handlebars.template, templates = OCA.Files.Templates = OCA.Files.Templates || {};
-templates['detailsview'] = template({"1":function(container,depth0,helpers,partials,data) {
- var stack1;
-
- return "<ul class=\"tabHeaders\">\n"
- + ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.tabHeaders : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
- + "</ul>\n";
-},"2":function(container,depth0,helpers,partials,data) {
- var helper, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
-
- return " <li class=\"tabHeader\" data-tabid=\""
- + alias4(((helper = (helper = helpers.tabId || (depth0 != null ? depth0.tabId : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"tabId","hash":{},"data":data}) : helper)))
- + "\" data-tabindex=\""
- + alias4(((helper = (helper = helpers.tabIndex || (depth0 != null ? depth0.tabIndex : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"tabIndex","hash":{},"data":data}) : helper)))
- + "\">\n <a href=\"#\">"
- + alias4(((helper = (helper = helpers.label || (depth0 != null ? depth0.label : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"label","hash":{},"data":data}) : helper)))
- + "</a>\n </li>\n";
-},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- var stack1, helper, alias1=depth0 != null ? depth0 : {};
-
- return "<div class=\"detailFileInfoContainer\"></div>\n"
- + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.tabHeaders : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
- + "<div class=\"tabsContainer\">\n</div>\n<a class=\"close icon-close\" href=\"#\" alt=\""
- + container.escapeExpression(((helper = (helper = helpers.closeLabel || (depth0 != null ? depth0.closeLabel : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"closeLabel","hash":{},"data":data}) : helper)))
- + "\"></a>\n";
-},"useData":true});
-})();
diff --git a/apps/files/js/templates/filesummary.handlebars b/apps/files/js/templates/filesummary.handlebars
new file mode 100644
index 00000000000..f975a2a7737
--- /dev/null
+++ b/apps/files/js/templates/filesummary.handlebars
@@ -0,0 +1,7 @@
+<span class="info">
+ <span class="dirinfo"></span>
+ <span class="connector">{{connectorLabel}}</span>
+ <span class="fileinfo"></span>
+ <span class="hiddeninfo"></span>
+ <span class="filter"></span>
+</span>