-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
1 lines (1 loc) · 1.2 KB
/
index.js
1
(function(){"use strict";function n(s,e,t,f,d,p,_,u){var o=typeof s=="function"?s.options:s;return e&&(o.render=e,o.staticRenderFns=t,o._compiled=!0),{exports:s,options:o}}const l={name:"DeployYourself",props:{message:{type:String},logfiles:{type:Array,default:[]},selectedfilecontent:{type:String},selectedfilename:{type:String}},computed:{logfilesCollection(){const s=[];return this.logfiles.forEach(e=>{s.push({text:e,info:"",link:"deploy-yourself/"+e})}),s}}};var i=function(){var e=this,t=e._self._c;return t("k-inside",[t("k-view",{staticClass:"k-deploy-yourself-view"},[t("k-header",[e._v("Deploy yourself")]),e.message?t("section",{staticClass:"k-section"},[t("k-box",{attrs:{text:e.message}})],1):e._e(),t("section",{staticClass:"k-section"},[t("header",{staticClass:"k-section-header"},[t("k-headline",[e._v("Logfiles ("+e._s(e.logfiles.length)+")")])],1),t("k-collection",{attrs:{items:e.logfilesCollection}})],1),e.selectedfilecontent?t("section",{staticClass:"k-section"},[t("k-text",[e._v(e._s(e.selectedfilename))]),t("k-text",[t("pre",[e._v(e._s(e.selectedfilecontent))])])],1):e._e()],1)],1)},c=[],a=n(l,i,c);const r=a.exports;panel.plugin("leobard/deploy-yourself",{components:{"deploy-yourself":r}})})();