From 25903403550853f7d8221e75ed2a163378f8d31d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sun, 18 Sep 2016 16:21:07 +0300 Subject: [PATCH] Remove generated templates.js, add graceful fallback when not generated --- certidude/static/index.html | 2 +- certidude/static/js/templates.js | 1303 ------------------------------ 2 files changed, 1 insertion(+), 1304 deletions(-) delete mode 100644 certidude/static/js/templates.js diff --git a/certidude/static/index.html b/certidude/static/index.html index 28ea348..3f18d27 100644 --- a/certidude/static/index.html +++ b/certidude/static/index.html @@ -6,7 +6,7 @@ Certidude server - + diff --git a/certidude/static/js/templates.js b/certidude/static/js/templates.js deleted file mode 100644 index d0901db..0000000 --- a/certidude/static/js/templates.js +++ /dev/null @@ -1,1303 +0,0 @@ -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-barcode-4.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-calendar-6.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-certificate-15.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-compass-7.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-download-12.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-email-2.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-error-4.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-flag-3.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-home-7.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-info-8.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-key-3.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-magnifier-4.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-mobile-phone-7.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-pen-14.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-tag-3.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-user-5.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-warning-8.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["img/iconmonstr-x-mark-8.svg"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["index.html"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += "\n\n\n \n \n Certidude server\n \n \n \n \n \n \n\n\n \n
\n Loading certificate authority...\n
\n\n\n\n\n\n\n"; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["views/authority.html"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += "\n
\n

"; -output += runtime.suppressValue(runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"user")),"gn"), env.opts.autoescape); -output += " "; -output += runtime.suppressValue(runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"user")),"sn"), env.opts.autoescape); -output += " ("; -output += runtime.suppressValue(runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"user")),"name"), env.opts.autoescape); -output += ") settings

\n\n

Mails will be sent to: "; -output += runtime.suppressValue(runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"user")),"mail"), env.opts.autoescape); -output += "

\n\n"; -if(runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")),"user_certificate_enrollment")) { -output += "\n

You can click here to generate bundle\nfor current user account.

\n"; -; -} -output += "\n\n"; -if(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")) { -output += "\n\n

Authority certificate

\n\n

Several things such as CRL location and e-mails are hardcoded into\nthe certificate and\nas such require complete reset of X509 infrastructure if some of them needs to be changed:

\n\n

Mails will appear from: "; -output += runtime.suppressValue(runtime.memberLookup((runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")),"certificate")),"email_address"), env.opts.autoescape); -output += "

\n\n\n

Authority settings

\n\n

These can be reconfigured via /etc/certidude/server.conf on the server.

\n\n

User certificate enrollment:\n"; -if(runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")),"user_certificate_enrollment")) { -output += "\n "; -if(runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")),"user_mutliple_certificates")) { -output += "\n multiple\n "; -; -} -else { -output += "\n single\n "; -; -} -output += "\nallowed\n"; -; -} -else { -output += "\nforbidden\n"; -; -} -output += "\n

\n\n

Outgoing mail server:\n"; -if(runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")),"outbox")) { -output += "\n "; -output += runtime.suppressValue(runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")),"outbox"), env.opts.autoescape); -output += "\n"; -; -} -else { -output += "\n E-mail disabled\n"; -; -} -output += "

\n\n

Web signed certificate attributes:

\n\n\n\n

Authenticated users allowed from:\n\n"; -if(runtime.inOperator("0.0.0.0/0",runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")),"user_subnets"))) { -output += "\n anywhere\n

\n"; -; -} -else { -output += "\n

\n \n"; -; -} -output += "\n\n\n

Request submission is allowed from:\n\n"; -if(runtime.inOperator("0.0.0.0/0",runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")),"request_subnets"))) { -output += "\n anywhere\n

\n"; -; -} -else { -output += "\n

\n \n"; -; -} -output += "\n\n

Autosign is allowed from:\n"; -if(runtime.inOperator("0.0.0.0/0",runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")),"autosign_subnets"))) { -output += "\n anywhere\n

\n"; -; -} -else { -output += "\n

\n \n"; -; -} -output += "\n\n

Authority administration is allowed from:\n"; -if(runtime.inOperator("0.0.0.0/0",runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")),"admin_subnets"))) { -output += "\n anywhere\n

\n"; -; -} -else { -output += "\n \n"; -; -} -output += "\n\n

Authority administration allowed for:

\n\n\n
\n\n"; -; -} -else { -output += "\n

Here you can renew your certificates

\n\n"; -; -} -output += "\n\n"; -var t_21; -t_21 = runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"certificate")),"identity"); -frame.set("s", t_21, true); -if(frame.topLevel) { -context.setVariable("s", t_21); -} -if(frame.topLevel) { -context.addExport("s", t_21); -} -output += "\n\n\n"; -if(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")) { -output += "\n
\n

Pending requests

\n\n

Submit a certificate signing request with Certidude:

\n
certidude setup client ";
-output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"common_name"), env.opts.autoescape);
-output += "
\n\n \n
\n\n
\n

Signed certificates

\n \n \n
\n\n
\n

Log

\n

\n \n \n \n \n \n

\n \n
\n\n
\n

Revoked certificates

\n

To fetch certificate revocation list:

\n
curl ";
-output += runtime.suppressValue(runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "window")),"location")),"href"), env.opts.autoescape);
-output += "api/revoked/ | openssl crl -inform der -text -noout
\n \n \n
\n\n
\n
\n\n"; -; -} -output += "\n"; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["views/configuration.html"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += "\n

Create a rule

\n

\n\n \n\n \n\n Filter\n \n attaches attribute\n \n something\n \n

\n\n"; -frame = frame.push(); -var t_7 = env.getFilter("groupby").call(context, runtime.contextOrFrameLookup(context, frame, "configuration"),"tag_id"); -if(t_7) {var t_5; -if(runtime.isArray(t_7)) { -var t_6 = t_7.length; -for(t_5=0; t_5 < t_7.length; t_5++) { -var t_8 = t_7[t_5][0] -frame.set("grouper", t_7[t_5][0]); -var t_9 = t_7[t_5][1] -frame.set("items", t_7[t_5][1]); -frame.set("loop.index", t_5 + 1); -frame.set("loop.index0", t_5); -frame.set("loop.revindex", t_6 - t_5); -frame.set("loop.revindex0", t_6 - t_5 - 1); -frame.set("loop.first", t_5 === 0); -frame.set("loop.last", t_5 === t_6 - 1); -frame.set("loop.length", t_6); -output += "\n\n

Filter "; -output += runtime.suppressValue(runtime.memberLookup((runtime.memberLookup((t_9),0)),"match_key"), env.opts.autoescape); -output += " is "; -output += runtime.suppressValue(runtime.memberLookup((runtime.memberLookup((t_9),0)),"match_value"), env.opts.autoescape); -output += "

\n\n\n"; -; -} -} else { -t_5 = -1; -var t_6 = runtime.keys(t_7).length; -for(var t_14 in t_7) { -t_5++; -var t_15 = t_7[t_14]; -frame.set("grouper", t_14); -frame.set("items", t_15); -frame.set("loop.index", t_5 + 1); -frame.set("loop.index0", t_5); -frame.set("loop.revindex", t_6 - t_5); -frame.set("loop.revindex0", t_6 - t_5 - 1); -frame.set("loop.first", t_5 === 0); -frame.set("loop.last", t_5 === t_6 - 1); -frame.set("loop.length", t_6); -output += "\n\n

Filter "; -output += runtime.suppressValue(runtime.memberLookup((runtime.memberLookup((t_15),0)),"match_key"), env.opts.autoescape); -output += " is "; -output += runtime.suppressValue(runtime.memberLookup((runtime.memberLookup((t_15),0)),"match_value"), env.opts.autoescape); -output += "

\n\n\n"; -; -} -} -} -frame = frame.pop(); -output += "\n\n\n"; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -})}); -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["views/error.html"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += "

"; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "message")),"title"), env.opts.autoescape); -output += "

\n

"; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "message")),"description"), env.opts.autoescape); -output += "

\n"; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["views/logentry.html"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += "
  • \n"; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "entry")),"created"), env.opts.autoescape); -output += "\n"; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "entry")),"message"), env.opts.autoescape); -output += "\n
  • \n\n"; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["views/request.html"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += "
  • \n\nFetch\n"; -if(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "request")),"signable")) { -output += "\n\n"; -; -} -else { -output += "\n\n"; -; -} -output += "\n\n\n\n
    \n"; -env.getTemplate("img/iconmonstr-certificate-15.svg", false, "views/request.html", null, function(t_3,t_1) { -if(t_3) { cb(t_3); return; } -t_1.render(context.getVariables(), frame, function(t_4,t_2) { -if(t_4) { cb(t_4); return; } -output += t_2 -output += "\n"; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "request")),"identity"), env.opts.autoescape); -output += "\n
    \n\n"; -if(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "request")),"email_address")) { -output += "\n
    "; -env.getTemplate("img/iconmonstr-email-2.svg", false, "views/request.html", null, function(t_7,t_5) { -if(t_7) { cb(t_7); return; } -t_5.render(context.getVariables(), frame, function(t_8,t_6) { -if(t_8) { cb(t_8); return; } -output += t_6 -output += " "; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "request")),"email_address"), env.opts.autoescape); -output += "
    \n"; -})}); -} -output += "\n\n
    \n"; -env.getTemplate("img/iconmonstr-key-3.svg", false, "views/request.html", null, function(t_11,t_9) { -if(t_11) { cb(t_11); return; } -t_9.render(context.getVariables(), frame, function(t_12,t_10) { -if(t_12) { cb(t_12); return; } -output += t_10 -output += "\n\n"; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "request")),"sha256sum"), env.opts.autoescape); -output += "\n\n"; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "request")),"key_length"), env.opts.autoescape); -output += "-bit\n"; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "request")),"key_type"), env.opts.autoescape); -output += "\n
    \n\n"; -var t_13; -t_13 = runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "request")),"key_usage"); -frame.set("key_usage", t_13, true); -if(frame.topLevel) { -context.setVariable("key_usage", t_13); -} -if(frame.topLevel) { -context.addExport("key_usage", t_13); -} -output += "\n"; -if(runtime.contextOrFrameLookup(context, frame, "key_usage")) { -output += "\n
    \n"; -env.getTemplate("img/iconmonstr-flag-3.svg", false, "views/request.html", null, function(t_16,t_14) { -if(t_16) { cb(t_16); return; } -t_14.render(context.getVariables(), frame, function(t_17,t_15) { -if(t_17) { cb(t_17); return; } -output += t_15 -output += "\n"; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "request")),"key_usage"), env.opts.autoescape); -output += "\n
    \n"; -})}); -} -output += "\n\n
  • \n\n"; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -})})})}); -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["views/signed.html"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += "
  • \n Fetch\n \n\n
    \n "; -env.getTemplate("img/iconmonstr-certificate-15.svg", false, "views/signed.html", null, function(t_3,t_1) { -if(t_3) { cb(t_3); return; } -t_1.render(context.getVariables(), frame, function(t_4,t_2) { -if(t_4) { cb(t_4); return; } -output += t_2 -output += "\n "; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "certificate")),"common_name"), env.opts.autoescape); -output += "\n
    \n\n "; -if(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "certificate")),"email_address")) { -output += "\n
    "; -env.getTemplate("img/iconmonstr-email-2.svg", false, "views/signed.html", null, function(t_7,t_5) { -if(t_7) { cb(t_7); return; } -t_5.render(context.getVariables(), frame, function(t_8,t_6) { -if(t_8) { cb(t_8); return; } -output += t_6 -output += " "; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "certificate")),"email_address"), env.opts.autoescape); -output += "
    \n "; -})}); -} -output += "\n\n "; -if(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "certificate")),"given_name") || runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "certificate")),"surname")) { -output += "\n
    "; -env.getTemplate("img/iconmonstr-user-5.svg", false, "views/signed.html", null, function(t_11,t_9) { -if(t_11) { cb(t_11); return; } -t_9.render(context.getVariables(), frame, function(t_12,t_10) { -if(t_12) { cb(t_12); return; } -output += t_10 -output += " "; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "certificate")),"given_name"), env.opts.autoescape); -output += " "; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "certificate")),"surname"), env.opts.autoescape); -output += "
    \n "; -})}); -} -output += "\n\n
    \n "; -env.getTemplate("img/iconmonstr-calendar-6.svg", false, "views/signed.html", null, function(t_15,t_13) { -if(t_15) { cb(t_15); return; } -t_13.render(context.getVariables(), frame, function(t_16,t_14) { -if(t_16) { cb(t_16); return; } -output += t_14 -output += "\n -\n \n
    \n\n "; -output += "\n\n
    \n \n
    \n
    \n
  • \n"; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -})})})})})}); -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["views/status.html"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += "\n 1209600) { -output += "#D6083B"; -; -} -else { -output += "#0072CF"; -; -} -; -} -else { -output += "#55A51C"; -; -} -; -} -else { -output += "#F3BD48"; -; -} -output += "\" />\n\n\n\n\n"; -if(runtime.contextOrFrameLookup(context, frame, "lease")) { -output += "\n"; -if(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "lease")),"released")) { -output += "\nLast seen "; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "lease")),"released"), env.opts.autoescape); -output += " at "; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "lease")),"address"), env.opts.autoescape); -output += "\n"; -; -} -else { -output += "\nOnline since "; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "lease")),"acquired"), env.opts.autoescape); -output += " at "; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "lease")),"address"), env.opts.autoescape); -output += "\n"; -; -} -output += "\n"; -; -} -else { -output += "\nNot seen\n"; -; -} -output += "\n\n"; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["views/tags.html"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += ""; -output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "tag")),"value"), env.opts.autoescape); -output += "\n"; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -(function() {(window.nunjucksPrecompiled = window.nunjucksPrecompiled || {})["views/tagtypes.html"] = (function() { -function root(env, context, frame, runtime, cb) { -var lineno = null; -var colno = null; -var output = ""; -try { -var parentTemplate = null; -output += "\n\n\n\n\n\n\n\n\n\n"; -if(parentTemplate) { -parentTemplate.rootRenderFunc(env, context, frame, runtime, cb); -} else { -cb(null, output); -} -; -} catch (e) { - cb(runtime.handleError(e, lineno, colno)); -} -} -return { -root: root -}; - -})(); -})(); -