\n
\n {{ if .Error }}Error{{ else }}Success {{ end }}
\n {{ .Message }}
\n \n \n{{end}}\n"),
+ }
+ filet := &embedded.EmbeddedFile{
+ Filename: "index.html",
+ FileModTime: time.Unix(1612250708, 0),
+
+ Content: string("{{define \"content\"}}\n
\n \n
\n{{end}}\n"),
+ }
+ fileu := &embedded.EmbeddedFile{
+ Filename: "login.html",
+ FileModTime: time.Unix(1612070216, 0),
+
+ Content: string("{{define \"content\"}}\n
\n \n
\n Sign in
\n Login to your Spyda account on {{ .InstanceName }}
\n \n
\n
\n \n
\n How to login to your account
\n \n
\n Login to your Spyda account on {{ .InstanceName }} by filling in\n the Username and Password you used when you created your account.\n
\n
\n Check the \"Remember Me\" box if you don't want to have to keep logging in\n every few hours.\n
\n
\n If you have forgotten your password you can request a\n Password Reset as long as you remember\n your username and email address you signed up with and retain access to\n your email (We NEVER store your email address!).\n
\n
\n \n{{end}}\n"),
+ }
+ filev := &embedded.EmbeddedFile{
+ Filename: "page.html",
+ FileModTime: time.Unix(1611986841, 0),
+
+ Content: string("{{define \"content\"}}\n
\n \n {{ .Content }}\n
\n
\n
\n \n{{ end }}\n"),
+ }
+ filew := &embedded.EmbeddedFile{
+ Filename: "search.html",
+ FileModTime: time.Unix(1612563218, 0),
+
+ Content: string("{{define \"content\"}}\n
\n \n
\n{{ template \"pager\" (dict \"Pager\" $.Pager \"SearchQuery\" $.SearchQuery \"SearchTook\" $.SearchTook) }}\n
\n {{ with $.Results }}\n {{ range . }}\n
\n \n {{ .Summary }}{{ else }} class=\"placeholder\">No summary available{{ end }}
\n \n \n {{ else }}\n
No search results
\n {{ end }}\n {{ end }}\n
\n{{ template \"pager\" (dict \"Pager\" $.Pager \"SearchQuery\" $.SearchQuery \"SearchTook\" $.SearchTook) }}\n{{end}}\n"),
+ }
+ filex := &embedded.EmbeddedFile{
+ Filename: "support.html",
+ FileModTime: time.Unix(1609727320, 0),
+
+ Content: string("{{define \"content\"}}\n
\n \n
\n Contact us
\n How can we help you?
\n \n
\n
\n \n \n{{end}}\n"),
+ }
+
+ // define dirs
+ dirm := &embedded.EmbeddedDir{
+ Filename: "",
+ DirModTime: time.Unix(1612563218, 0),
+ ChildFiles: []*embedded.EmbeddedFile{
+ filen, // "404.html"
+ fileo, // "_partials.html"
+ filep, // "add.html"
+ fileq, // "base.html"
+ filer, // "cache.html"
+ files, // "error.html"
+ filet, // "index.html"
+ fileu, // "login.html"
+ filev, // "page.html"
+ filew, // "search.html"
+ filex, // "support.html"
+
+ },
+ }
+
+ // link ChildDirs
+ dirm.ChildDirs = []*embedded.EmbeddedDir{}
+
+ // register embeddedBox
+ embedded.RegisterEmbeddedBox(`templates`, &embedded.EmbeddedBox{
+ Name: `templates`,
+ Time: time.Unix(1612563218, 0),
+ Dirs: map[string]*embedded.EmbeddedDir{
+ "": dirm,
+ },
+ Files: map[string]*embedded.EmbeddedFile{
+ "404.html": filen,
+ "_partials.html": fileo,
+ "add.html": filep,
+ "base.html": fileq,
+ "cache.html": filer,
+ "error.html": files,
+ "index.html": filet,
+ "login.html": fileu,
+ "page.html": filev,
+ "search.html": filew,
+ "support.html": filex,
+ },
+ })
+}
diff --git a/internal/static/js/spyda.min.js b/internal/static/js/spyda.min.js
index 8a244d0..742ba35 100644
--- a/internal/static/js/spyda.min.js
+++ b/internal/static/js/spyda.min.js
@@ -1 +1 @@
-var u=function(a,b){if(!(this instanceof u))return new u(a,b);if(a instanceof u)return a;typeof a=='string'&&(a=this.select(a,b)),a&&a.nodeName&&(a=[a]),this.nodes=this.slice(a)},Twix,dropCookie,cookieDuration,cookieName,cookieValue;u.prototype={get length(){return this.nodes.length}},u.prototype.nodes=[],u.prototype.addClass=function(){return this.eacharg(arguments,function(a,b){a.classList.add(b)})},u.prototype.adjacent=function(b,a,c){return typeof a=='number'&&(a===0?a=[]:a=new Array(a).join().split(',').map(Number.call,Number)),this.each(function(e,f){var d=document.createDocumentFragment();u(a||{}).map(function(c,d){var a=typeof b=='function'?b.call(this,c,d,e,f):b;return typeof a=='string'?this.generate(a):u(a)}).each(function(a){this.isInPage(a)?d.appendChild(u(a).clone().first()):d.appendChild(a)}),c.call(this,e,d)})},u.prototype.after=function(a,b){return this.adjacent(a,b,function(a,b){a.parentNode.insertBefore(b,a.nextSibling)})},u.prototype.append=function(a,b){return this.adjacent(a,b,function(a,b){a.appendChild(b)})},u.prototype.args=function(a,b,c){return typeof a=='function'&&(a=a(b,c)),typeof a!='string'&&(a=this.slice(a).map(this.str(b,c))),a.toString().split(/[\s,]+/).filter(function(a){return a.length})},u.prototype.array=function(a){a=a;var b=this;return this.nodes.reduce(function(e,d,f){var c;return a?(c=a.call(b,d,f),c||(c=!1),typeof c=='string'&&(c=u(c)),c instanceof u&&(c=c.nodes)):c=d.innerHTML,e.concat(c!==!1?c:[])},[])},u.prototype.attr=function(b,c,a){return a=a?'data-':'',this.pairs(b,c,function(b,c){return b.getAttribute(a+c)},function(b,c,d){b.setAttribute(a+c,d)})},u.prototype.before=function(a,b){return this.adjacent(a,b,function(a,b){a.parentNode.insertBefore(b,a)})},u.prototype.children=function(a){return this.map(function(a){return this.slice(a.children)}).filter(a)},u.prototype.clone=function(){return this.map(function(a,d){var b=a.cloneNode(!0),c=this.getAll(b);return this.getAll(a).each(function(b,d){for(var a in this.mirror)this.mirror[a]&&this.mirror[a](b,c.nodes[d])}),b})},u.prototype.getAll=function(a){return u([a].concat(u('*',a).nodes))},u.prototype.mirror={},u.prototype.mirror.events=function(a,c){if(!a._e)return;for(var b in a._e)a._e[b].forEach(function(a){u(c).on(b,a.callback)})},u.prototype.mirror.select=function(a,b){u(a).is('select')&&(b.value=a.value)},u.prototype.mirror.textarea=function(a,b){u(a).is('textarea')&&(b.value=a.value)},u.prototype.closest=function(a){return this.map(function(b){do if(u(b).is(a))return b;while((b=b.parentNode)&&b!==document)})},u.prototype.data=function(a,b){return this.attr(a,b,!0)},u.prototype.each=function(a){return this.nodes.forEach(a.bind(this)),this},u.prototype.eacharg=function(a,b){return this.each(function(c,d){this.args(a,c,d).forEach(function(a){b.call(this,c,a)},this)})},u.prototype.empty=function(){return this.each(function(a){while(a.firstChild)a.removeChild(a.firstChild)})},u.prototype.filter=function(a){var b=function(b){return b.matches=b.matches||b.msMatchesSelector||b.webkitMatchesSelector,b.matches(a||'*')};return typeof a=='function'&&(b=a),a instanceof u&&(b=function(b){return a.nodes.indexOf(b)!==-1}),u(this.nodes.filter(b))},u.prototype.find=function(a){return this.map(function(b){return u(a||'*',b)})},u.prototype.first=function(){return this.nodes[0]||!1},u.prototype.generate=function(a){return/^\s*
]/.test(a)?u(document.createElement('table')).html(a).children().children().nodes:/^\s* ]/.test(a)?u(document.createElement('table')).html(a).children().children().children().nodes:/^\s*0},u.prototype.isInPage=function(a){return!(a===document.body)&&document.body.contains(a)},u.prototype.last=function(){return this.nodes[this.length-1]||!1},u.prototype.map=function(a){return a?u(this.array(a)).unique():this},u.prototype.not=function(a){return this.filter(function(b){return!u(b).is(a||!0)})},u.prototype.off=function(e,a,d){var f=a==null&&d==null,b=null,c=a;return typeof a=='string'&&(b=a,c=d),this.eacharg(e,function(a,d){u(a._e?a._e[d]:[]).each(function(e){(f||e.orig_callback===c&&e.selector===b)&&a.removeEventListener(d,e.callback)})})},u.prototype.on=function(f,a,b){var c=null,d=a,e;return typeof a=='string'&&(c=a,d=b,a=function(a){var e=arguments,d=!1;u(a.currentTarget).find(c).each(function(c){if(c===a.target||c.contains(a.target)){d=!0;try{Object.defineProperty(a,'currentTarget',{get:function(){return c}})}catch(a){}b.apply(c,e)}}),!d&&a.currentTarget===a.target&&b.apply(a.target,e)}),e=function(b){return a.apply(this,[b].concat(b.detail||[]))},this.eacharg(f,function(a,b){a.addEventListener(b,e),a._e=a._e||{},a._e[b]=a._e[b]||[],a._e[b].push({callback:e,orig_callback:d,selector:c})})},u.prototype.pairs=function(a,b,c,d){if(typeof b!='undefined'){var e=a;a={},a[e]=b}return typeof a=='object'?this.each(function(c){for(var b in a)d(c,b,a[b])}):this.length?c(this.first(),a):''},u.prototype.param=function(a){return Object.keys(a).map(function(b){return this.uri(b)+'='+this.uri(a[b])}.bind(this)).join('&')},u.prototype.parent=function(a){return this.map(function(a){return a.parentNode}).filter(a)},u.prototype.prepend=function(a,b){return this.adjacent(a,b,function(a,b){a.insertBefore(b,a.firstChild)})},u.prototype.remove=function(){return this.each(function(a){a.parentNode&&a.parentNode.removeChild(a)})},u.prototype.removeClass=function(){return this.eacharg(arguments,function(a,b){a.classList.remove(b)})},u.prototype.replace=function(b,c){var a=[];return this.adjacent(b,c,function(b,c){a=a.concat(this.slice(c.children)),b.parentNode.replaceChild(c,b)}),u(a)},u.prototype.scroll=function(){return this.first().scrollIntoView({behavior:'smooth'}),this},u.prototype.select=function(a,b){return(a=a.replace(/^\s*/,'').replace(/\s*$/,''),/^0&&(b.timeout=a.timeout,b.ontimeout=function(){a.error('timeout','timeout',b)}),b.open(a.type,a.url,a.async);for(c in a.headers)a.headers.hasOwnProperty(c)&&b.setRequestHeader(c,a.headers[c]);return b.send(a.data),b.onreadystatechange=function(){var b,c;this.readyState==4&&(this.status>=200&&this.status<300||this.status==304)?(b=this.responseText,c=this.getResponseHeader('Content-Type'),c&&c.match(/json/)&&(b=JSON.parse(this.responseText)),a.success(b,this.statusText,this)):this.readyState==4&&a.error(this.status,this.statusText,this)},a.async==!1&&(b.readyState==4&&(b.status>=200&&b.status<300||b.status==304)?a.success(b.responseText,b):b.readyState==4&&a.error(b.status,b.statusText,b)),b};var b=function(d,e,b,c){return typeof b=="function"&&(c=b,b=void 0),a.ajax({url:e,data:b,type:d,success:c})};return a.get=function(a,c,d){return b("GET",a,c,d)},a.head=function(a,c,d){return b("HEAD",a,c,d)},a.post=function(a,c,d){return b("POST",a,c,d)},a.patch=function(a,c,d){return b("PATCH",a,c,d)},a.put=function(a,c,d){return b("PUT",a,c,d)},a.delete=function(a,c,d){return b("DELETE",a,c,d)},a.options=function(a,c,d){return b("OPTIONS",a,c,d)},a}(),__=Twix,dropCookie=!0,cookieDuration=14,cookieName="complianceCookie",cookieValue="on";function createDiv(){u("body").prepend('This website uses cookies. By continuing we assume your permission to deploy cookies, as detailed in our privacy policy. Close
'),createCookie(window.cookieName,window.cookieValue,window.cookieDuration)}function createCookie(d,e,c){var a,b;c?(a=new Date,a.setTime(a.getTime()+c*24*60*60*1e3),b="; expires="+a.toGMTString()):(b=""),window.dropCookie&&(document.cookie=d+"="+e+b+"; path=/")}function checkCookie(e){for(var d=e+"=",c=document.cookie.split(";"),b=0,a;b ]/.test(a)?u(document.createElement('table')).html(a).children().children().nodes:/^\s* ]/.test(a)?u(document.createElement('table')).html(a).children().children().children().nodes:/^\s*0},u.prototype.isInPage=function(a){return!(a===document.body)&&document.body.contains(a)},u.prototype.last=function(){return this.nodes[this.length-1]||!1},u.prototype.map=function(a){return a?u(this.array(a)).unique():this},u.prototype.not=function(a){return this.filter(function(b){return!u(b).is(a||!0)})},u.prototype.off=function(e,a,d){var f=a==null&&d==null,b=null,c=a;return typeof a=='string'&&(b=a,c=d),this.eacharg(e,function(a,d){u(a._e?a._e[d]:[]).each(function(e){(f||e.orig_callback===c&&e.selector===b)&&a.removeEventListener(d,e.callback)})})},u.prototype.on=function(f,a,b){var c=null,d=a,e;return typeof a=='string'&&(c=a,d=b,a=function(a){var e=arguments,d=!1;u(a.currentTarget).find(c).each(function(c){if(c===a.target||c.contains(a.target)){d=!0;try{Object.defineProperty(a,'currentTarget',{get:function(){return c}})}catch(a){}b.apply(c,e)}}),!d&&a.currentTarget===a.target&&b.apply(a.target,e)}),e=function(b){return a.apply(this,[b].concat(b.detail||[]))},this.eacharg(f,function(a,b){a.addEventListener(b,e),a._e=a._e||{},a._e[b]=a._e[b]||[],a._e[b].push({callback:e,orig_callback:d,selector:c})})},u.prototype.pairs=function(a,b,c,d){if(typeof b!='undefined'){var e=a;a={},a[e]=b}return typeof a=='object'?this.each(function(c){for(var b in a)d(c,b,a[b])}):this.length?c(this.first(),a):''},u.prototype.param=function(a){return Object.keys(a).map(function(b){return this.uri(b)+'='+this.uri(a[b])}.bind(this)).join('&')},u.prototype.parent=function(a){return this.map(function(a){return a.parentNode}).filter(a)},u.prototype.prepend=function(a,b){return this.adjacent(a,b,function(a,b){a.insertBefore(b,a.firstChild)})},u.prototype.remove=function(){return this.each(function(a){a.parentNode&&a.parentNode.removeChild(a)})},u.prototype.removeClass=function(){return this.eacharg(arguments,function(a,b){a.classList.remove(b)})},u.prototype.replace=function(b,c){var a=[];return this.adjacent(b,c,function(b,c){a=a.concat(this.slice(c.children)),b.parentNode.replaceChild(c,b)}),u(a)},u.prototype.scroll=function(){return this.first().scrollIntoView({behavior:'smooth'}),this},u.prototype.select=function(a,b){return(a=a.replace(/^\s*/,'').replace(/\s*$/,''),/^0&&(b.timeout=a.timeout,b.ontimeout=function(){a.error('timeout','timeout',b)}),b.open(a.type,a.url,a.async);for(c in a.headers)a.headers.hasOwnProperty(c)&&b.setRequestHeader(c,a.headers[c]);return b.send(a.data),b.onreadystatechange=function(){var b,c;this.readyState==4&&(this.status>=200&&this.status<300||this.status==304)?(b=this.responseText,c=this.getResponseHeader('Content-Type'),c&&c.match(/json/)&&(b=JSON.parse(this.responseText)),a.success(b,this.statusText,this)):this.readyState==4&&a.error(this.status,this.statusText,this)},a.async==!1&&(b.readyState==4&&(b.status>=200&&b.status<300||b.status==304)?a.success(b.responseText,b):b.readyState==4&&a.error(b.status,b.statusText,b)),b};var b=function(d,e,b,c){return typeof b=="function"&&(c=b,b=void 0),a.ajax({url:e,data:b,type:d,success:c})};return a.get=function(a,c,d){return b("GET",a,c,d)},a.head=function(a,c,d){return b("HEAD",a,c,d)},a.post=function(a,c,d){return b("POST",a,c,d)},a.patch=function(a,c,d){return b("PATCH",a,c,d)},a.put=function(a,c,d){return b("PUT",a,c,d)},a.delete=function(a,c,d){return b("DELETE",a,c,d)},a.options=function(a,c,d){return b("OPTIONS",a,c,d)},a}(),__=Twix,u("#burgerMenu").on("click",function(a){a.preventDefault(),u("#mainNav").hasClass("responsive")?u("#mainNav").removeClass("responsive"):u("#mainNav").addClass("responsive")})
\ No newline at end of file