2018-09-27 15:07:48 +03:00
|
|
|
(function() {
|
|
|
|
var template = Handlebars.template, templates = OC.Settings.Templates = OC.Settings.Templates || {};
|
|
|
|
templates['authtoken'] = template({"1":function(container,depth0,helpers,partials,data) {
|
2018-11-01 14:59:03 +03:00
|
|
|
var helper;
|
|
|
|
|
|
|
|
return "<a class=\"icon icon-more has-tooltip\" tabindex=\"0\" title=\""
|
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.settingsTitle || (depth0 != null ? depth0.settingsTitle : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"settingsTitle","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\"/>";
|
2018-09-27 15:07:48 +03:00
|
|
|
},"3":function(container,depth0,helpers,partials,data) {
|
2018-09-28 22:15:30 +03:00
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-09-27 15:07:48 +03:00
|
|
|
|
|
|
|
return " <li><span class=\"menuitem\">\n <input class=\"filesystem checkbox\" type=\"checkbox\" id=\""
|
2018-09-28 22:15:30 +03:00
|
|
|
+ alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper)))
|
2018-09-27 15:07:48 +03:00
|
|
|
+ "_filesystem\" "
|
2018-09-28 22:15:30 +03:00
|
|
|
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.scope : depth0)) != null ? stack1.filesystem : stack1),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
2018-11-01 15:26:06 +03:00
|
|
|
+ " tabindex=\"0\" />\n <label for=\""
|
2018-09-28 22:15:30 +03:00
|
|
|
+ alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper)))
|
2018-10-04 21:07:12 +03:00
|
|
|
+ "_filesystem\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.allowFSAccess || (depth0 != null ? depth0.allowFSAccess : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"allowFSAccess","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</label><br/>\n </span></li>\n";
|
2018-09-27 15:07:48 +03:00
|
|
|
},"4":function(container,depth0,helpers,partials,data) {
|
|
|
|
return "checked";
|
|
|
|
},"6":function(container,depth0,helpers,partials,data) {
|
2018-11-01 14:59:03 +03:00
|
|
|
var helper;
|
2018-10-04 21:07:12 +03:00
|
|
|
|
2018-11-01 15:26:06 +03:00
|
|
|
return " <li>\n <a class=\"icon icon-delete\" tabindex=\"0\">"
|
2018-11-01 14:59:03 +03:00
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.revokeText || (depth0 != null ? depth0.revokeText : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"revokeText","hash":{},"data":data}) : helper)))
|
2018-10-04 21:07:12 +03:00
|
|
|
+ "</a>\n </li>\n";
|
2018-09-27 15:07:48 +03:00
|
|
|
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
|
2018-09-28 22:15:30 +03:00
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-09-27 15:07:48 +03:00
|
|
|
|
|
|
|
return "<tr data-id=\""
|
2018-09-28 22:15:30 +03:00
|
|
|
+ alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper)))
|
2018-09-27 15:07:48 +03:00
|
|
|
+ "\">\n <td class=\"client\">\n <div class=\""
|
2018-09-28 22:15:30 +03:00
|
|
|
+ alias4(((helper = (helper = helpers.icon || (depth0 != null ? depth0.icon : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"icon","hash":{},"data":data}) : helper)))
|
2018-11-01 14:59:03 +03:00
|
|
|
+ "\" />\n </td>\n <td class=\"token-name\">\n "
|
2018-09-28 22:15:30 +03:00
|
|
|
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
|
2018-11-01 14:59:03 +03:00
|
|
|
+ "\n </td>\n <td>\n <span class=\"last-activity has-tooltip\" title=\""
|
2018-09-28 22:15:30 +03:00
|
|
|
+ alias4(((helper = (helper = helpers.lastActivityTime || (depth0 != null ? depth0.lastActivityTime : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"lastActivityTime","hash":{},"data":data}) : helper)))
|
2018-09-27 15:07:48 +03:00
|
|
|
+ "\">"
|
2018-09-28 22:15:30 +03:00
|
|
|
+ alias4(((helper = (helper = helpers.lastActivity || (depth0 != null ? depth0.lastActivity : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"lastActivity","hash":{},"data":data}) : helper)))
|
2018-09-27 15:07:48 +03:00
|
|
|
+ "</span></td>\n <td class=\"more\">\n "
|
2018-09-28 22:15:30 +03:00
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.showMore : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
2018-09-27 15:07:48 +03:00
|
|
|
+ "\n <div class=\"popovermenu menu\">\n"
|
2018-09-28 22:15:30 +03:00
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.canScope : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.canDelete : depth0),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
2018-11-01 14:59:03 +03:00
|
|
|
+ " </div>\n </td>\n</tr>\n";
|
2018-09-27 15:07:48 +03:00
|
|
|
},"useData":true});
|
2018-10-15 11:44:24 +03:00
|
|
|
templates['federationscopemenu'] = template({"1":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
|
|
|
|
|
|
|
|
return " <li>\n <a href=\"#\" class=\"menuitem action action-"
|
|
|
|
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
|
|
|
|
+ " permanent "
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.active : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "\" data-action=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\">\n"
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.iconClass : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.program(6, data, 0),"data":data})) != null ? stack1 : "")
|
|
|
|
+ " <p>\n <strong class=\"menuitem-text\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.displayName || (depth0 != null ? depth0.displayName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"displayName","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</strong><br>\n <span class=\"menuitem-text-detail\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.tooltip || (depth0 != null ? depth0.tooltip : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"tooltip","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>\n </p>\n </a>\n </li>\n";
|
|
|
|
},"2":function(container,depth0,helpers,partials,data) {
|
|
|
|
return "active";
|
|
|
|
},"4":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper;
|
|
|
|
|
|
|
|
return " <span class=\"icon "
|
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"iconClass","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\"></span>\n";
|
|
|
|
},"6":function(container,depth0,helpers,partials,data) {
|
|
|
|
return " <span class=\"no-icon\"></span>\n";
|
|
|
|
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1;
|
|
|
|
|
|
|
|
return "<ul>\n"
|
|
|
|
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.items : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "</ul>\n";
|
|
|
|
},"useData":true});
|
2018-09-27 15:07:48 +03:00
|
|
|
})();
|