diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-02-13 12:24:47 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-02-13 12:24:47 +0300 |
commit | 244c99dcbaafc1be7a6c73fe5cb4c30dbbbd7b4a (patch) | |
tree | a3da62ecc1a06bb35389cbcb08eef35314aa8f4a /js | |
parent | 6ccdf464a81c4cb08fb3678994b806fbbaf59b65 (diff) |
Remove unused handlebar templates
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'js')
-rw-r--r-- | js/templates.js | 37 | ||||
-rw-r--r-- | js/templates/revHistoryContainer.handlebars | 11 | ||||
-rw-r--r-- | js/templates/revHistoryItem.handlebars | 7 |
3 files changed, 0 insertions, 55 deletions
diff --git a/js/templates.js b/js/templates.js deleted file mode 100644 index e95cb3c0..00000000 --- a/js/templates.js +++ /dev/null @@ -1,37 +0,0 @@ -(function() { - var template = Handlebars.template, templates = OCA.RichDocuments.Templates = OCA.RichDocuments.Templates || {}; -templates['revHistoryContainer'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { - var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; - - return "<div id=\"revPanelContainer\" class=\"loleaflet-font\">\n <div id=\"revPanelHeader\">\n <h2>" - + alias4(((helper = (helper = helpers.revisionHistoryLabel || (depth0 != null ? depth0.revisionHistoryLabel : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"revisionHistoryLabel","hash":{},"data":data}) : helper))) - + "</h2>\n <span>" - + alias4(((helper = (helper = helpers.filename || (depth0 != null ? depth0.filename : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"filename","hash":{},"data":data}) : helper))) - + "</span>\n <a class=\"closeButton\"><img src=" - + alias4(((helper = (helper = helpers.closeButtonUrl || (depth0 != null ? depth0.closeButtonUrl : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"closeButtonUrl","hash":{},"data":data}) : helper))) - + " width=\"22px\" height=\"22px\"></a>\n </div>\n <div id=\"revisionsContainer\" class=\"loleaflet-font\">\n <ul></ul>\n </div>\n <input type=\"button\" id=\"show-more-versions\" class=\"loleaflet-font\" value=\"" - + alias4(((helper = (helper = helpers.moreVersionsLabel || (depth0 != null ? depth0.moreVersionsLabel : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"moreVersionsLabel","hash":{},"data":data}) : helper))) - + "\" />\n</div>\n"; -},"useData":true}); -templates['revHistoryItem'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { - var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; - - return "<li>\n <a href=\"" - + alias4(((helper = (helper = helpers.downloadUrl || (depth0 != null ? depth0.downloadUrl : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"downloadUrl","hash":{},"data":data}) : helper))) - + "\" class=\"downloadVersion has-tooltip\" title=\"" - + alias4(((helper = (helper = helpers.downloadTXT || (depth0 != null ? depth0.downloadTXT : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"downloadTXT","hash":{},"data":data}) : helper))) - + "\">\n <img src=\"" - + alias4(((helper = (helper = helpers.downloadIconUrl || (depth0 != null ? depth0.downloadIconUrl : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"downloadIconUrl","hash":{},"data":data}) : helper))) - + "\" />\n <a class=\"versionPreview\"><span class=\"versiondate has-tooltip\" title=\"" - + alias4(((helper = (helper = helpers.formattedTimestamp || (depth0 != null ? depth0.formattedTimestamp : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"formattedTimestamp","hash":{},"data":data}) : helper))) - + "\">" - + alias4(((helper = (helper = helpers.relativeTimestamp || (depth0 != null ? depth0.relativeTimestamp : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"relativeTimestamp","hash":{},"data":data}) : helper))) - + "</span></a>\n <a href=\"" - + alias4(((helper = (helper = helpers.restoreUrl || (depth0 != null ? depth0.restoreUrl : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"restoreUrl","hash":{},"data":data}) : helper))) - + "\" class=\"restoreVersion has-tooltip\" title=\"" - + alias4(((helper = (helper = helpers.restoreTXT || (depth0 != null ? depth0.restoreTXT : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"restoreTXT","hash":{},"data":data}) : helper))) - + "\"><img src=\"" - + alias4(((helper = (helper = helpers.restoreIconUrl || (depth0 != null ? depth0.restoreIconUrl : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"restoreIconUrl","hash":{},"data":data}) : helper))) - + "\" />\n </a>\n</li>\n"; -},"useData":true}); -})();
\ No newline at end of file diff --git a/js/templates/revHistoryContainer.handlebars b/js/templates/revHistoryContainer.handlebars deleted file mode 100644 index e304fe68..00000000 --- a/js/templates/revHistoryContainer.handlebars +++ /dev/null @@ -1,11 +0,0 @@ -<div id="revPanelContainer" class="loleaflet-font"> - <div id="revPanelHeader"> - <h2>{{revisionHistoryLabel}}</h2> - <span>{{filename}}</span> - <a class="closeButton"><img src={{closeButtonUrl}} width="22px" height="22px"></a> - </div> - <div id="revisionsContainer" class="loleaflet-font"> - <ul></ul> - </div> - <input type="button" id="show-more-versions" class="loleaflet-font" value="{{moreVersionsLabel}}" /> -</div> diff --git a/js/templates/revHistoryItem.handlebars b/js/templates/revHistoryItem.handlebars deleted file mode 100644 index 6c5cde31..00000000 --- a/js/templates/revHistoryItem.handlebars +++ /dev/null @@ -1,7 +0,0 @@ -<li> - <a href="{{downloadUrl}}" class="downloadVersion has-tooltip" title="{{downloadTXT}}"> - <img src="{{downloadIconUrl}}" /> - <a class="versionPreview"><span class="versiondate has-tooltip" title="{{formattedTimestamp}}">{{relativeTimestamp}}</span></a> - <a href="{{restoreUrl}}" class="restoreVersion has-tooltip" title="{{restoreTXT}}"><img src="{{restoreIconUrl}}" /> - </a> -</li> |