diff --git a/static/admin/config.yml b/static/admin/config.yml new file mode 100644 index 0000000..8968119 --- /dev/null +++ b/static/admin/config.yml @@ -0,0 +1,33 @@ +backend: + name: gitea + repo: foobar/guide.web.vimaire.machine.dufour.io + base_url: http://teabag.vimaire.machine.dufour.io + api_root: http://git.vimaire.machine.dufour.io/api/v1 + branch: main + +media_folder: 'static/img/' +site_url: http://guide.web.vimaire.machine.dufour.io +display_url: http://guide.web.vimaire.machine.dufour.io +locale: 'en' + +collections: + - name: 'wiki' + label: 'Wiki' + folder: 'content' + editor: + preview: false + create: true + nested: + depth: 10 + summary: '{{ title }}' + fields: + - label: Title + name: title + widget: string + - label: Weight + name: weight + widget: number + - label: Body + name: body + widget: markdown + meta: { path: { widget: string, label: 'Path', index_file: '_index' } } diff --git a/static/admin/index.html b/static/admin/index.html new file mode 100644 index 0000000..b914f88 --- /dev/null +++ b/static/admin/index.html @@ -0,0 +1,14 @@ + + +
+ + +{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},3843:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,i="[object Function]";e.exports=function(e){var o=this;if("function"!=typeof o||r.call(o)!==i)throw new TypeError(t+o);for(var a,s=n.call(arguments,1),l=Math.max(0,o.length-s.length),c=[],u=0;u>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&E(e,t)?x.merge([e],n):n}function _e(e,t){for(var n=0,r=e.length;n","