From 549dc2a50412a319b726890541c5292738b73c79 Mon Sep 17 00:00:00 2001
From: Nathan Gill Status: Ready to run The robot is ready to run. Status: Running The robot is currently running! You can stop it with this button: Status: Finished The robot has finished running its code. You'll need to reboot it before it can run again. Status: Broken Something has gone terribly wrong! Shepherd can't tell what state the robot is in. Try a reboot. Program output: Configuration: The robot will stop automatically in about {{ time_left }} second{% if time_left > 1 %}s{% endif %}. The robot has stopped – please refresh the page. "+e+"Run
-
-
-
-{% endif %}
-{% endblock %}
diff --git a/shepherd/blueprints/run/templates/run/output.html b/shepherd/blueprints/run/templates/run/output.html
deleted file mode 100644
index 399ef4a..0000000
--- a/shepherd/blueprints/run/templates/run/output.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{% extends "base.html" %}
-{% block head %}
-{{ super() }}
-
-
-{% if state == states.running %}
-
-{% endif %}
-{% endblock %}
-{% block body %}
-
-{% endblock %}
diff --git a/shepherd/blueprints/run/templates/run/picture.html b/shepherd/blueprints/run/templates/run/picture.html
deleted file mode 100644
index d4f2e66..0000000
--- a/shepherd/blueprints/run/templates/run/picture.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{% extends "base.html" %}
-{% block head %}
-{{ super() }}
-
-
-{% if state == states.running %}
-
-{% endif %}
-{% endblock %}
-{% block body %}
-{{ output }}
-{% endblock %}
diff --git a/shepherd/blueprints/run/templates/run/time_left.html b/shepherd/blueprints/run/templates/run/time_left.html
deleted file mode 100644
index 01124bf..0000000
--- a/shepherd/blueprints/run/templates/run/time_left.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% extends "base.html" %}
-{% block head %}
-{{ super() }}
-{% if time_left is not none %}
-
-{% endif %}
-
-{% endblock %}
-{% block body %}
-{% if time_left is not none %}
-
\n":"'+(o?e:u(e,!0))+"
"},s.prototype.blockquote=function(e){return""+(o?e:u(e,!0))+"\n"+e+"
\n"},s.prototype.html=function(e){return e},s.prototype.heading=function(e,t,o){return this.options.headerIds?"
\n":"
\n"},s.prototype.list=function(e,t,o){var n=t?"ol":"ul";return"<"+n+(t&&1!==o?' start="'+o+'"':"")+">\n"+e+""+n+">\n"},s.prototype.listitem=function(e){return"\n\n"+e+"\n"+t+"
\n"},s.prototype.tablerow=function(e){return"\n"+e+" \n"},s.prototype.tablecell=function(e,t){var o=t.header?"th":"td";return(t.align?"<"+o+' align="'+t.align+'">':"<"+o+">")+e+""+o+">\n"},s.prototype.strong=function(e){return""+e+""},s.prototype.em=function(e){return""+e+""},s.prototype.codespan=function(e){return""+e+""},s.prototype.br=function(){return this.options.xhtml?"
":"
"},s.prototype.del=function(e){return""+e+""},s.prototype.link=function(e,t,o){if(this.options.sanitize){try{var n=decodeURIComponent(c(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return o}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return o}this.options.baseUrl&&!p.test(e)&&(e=d(this.options.baseUrl,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return o}var i='"+o+""},s.prototype.image=function(e,t,o){this.options.baseUrl&&!p.test(e)&&(e=d(this.options.baseUrl,e));var n='":">"},s.prototype.text=function(e){return e},a.prototype.strong=a.prototype.em=a.prototype.codespan=a.prototype.del=a.prototype.text=function(e){return e},a.prototype.link=a.prototype.image=function(e,t,o){return""+o},a.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,m({},this.options,{renderer:new a})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop()},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,c(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,o,n,i="",r="";for(o="",e=0;e
"+u(e.message+"",!0)+"";throw e}}f.exec=f,v.options=v.setOptions=function(e){return m(v.defaults,e),v},v.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new s,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},v.defaults=v.getDefaults(),v.Parser=l,v.parser=l.parse,v.Renderer=s,v.TextRenderer=a,v.Lexer=o,v.lexer=o.lex,v.InlineLexer=r,v.inlineLexer=r.output,v.parse=v,n=v}).call(void 0);var l=n;n.Parser,n.parser,n.Renderer,n.TextRenderer,n.Lexer,n.lexer,n.InlineLexer,n.inlineLexer,n.parse;function u(e){var t=e.inline?"span":"div",o=document.createElement(t);return e.className&&(o.className=e.className),o}function c(e,t){void 0===t&&(t={});var o=u(t);return o.textContent=e,o}function h(e,t){void 0===t&&(t={});var o=u(t);return function e(t,o,n){var r;if(2===o.type)r=document.createTextNode(o.content);else if(3===o.type)r=document.createElement("b");else if(4===o.type)r=document.createElement("i");else if(5===o.type&&n){var s=document.createElement("a");s.href="#",n.disposeables.push(i.j(s,"click",(function(e){n.callback(String(o.index),e)}))),r=s}else 7===o.type?r=document.createElement("br"):1===o.type&&(r=t);t!==r&&t.appendChild(r);Array.isArray(o.children)&&o.children.forEach((function(t){e(r,t,n)}))}(o,function(e){var t={type:1,children:[]},o=0,n=t,i=[],r=new g(e);for(;!r.eos();){var s=r.next(),a="\\"===s&&0!==p(r.peek());if(a&&(s=r.next()),a||0===p(s)||s!==r.peek())if("\n"===s)2===n.type&&(n=i.pop()),n.children.push({type:7});else if(2!==n.type){var l={type:2,content:s};n.children.push(l),i.push(n),n=l}else n.content+=s;else{r.advance(),2===n.type&&(n=i.pop());var u=p(s);if(n.type===u||5===n.type&&6===u)n=i.pop();else{var c={type:u,children:[]};5===u&&(c.index=o,o++),n.children.push(c),i.push(n),n=c}}}2===n.type&&(n=i.pop());i.length;return t}(e),t.actionHandler),o}function d(e,t){void 0===t&&(t={});var o,n=u(t),c=new Promise((function(e){return o=e})),h=new l.Renderer;h.image=function(e,t,o){var n=[];if(e){var i=e.split("|").map((function(e){return e.trim()}));e=i[0];var r=i[1];if(r){var s=/height=(\d+)/.exec(r),a=/width=(\d+)/.exec(r),l=s&&s[1],u=a&&a[1],c=isFinite(parseInt(u)),h=isFinite(parseInt(l));c&&n.push('width="'+u+'"'),h&&n.push('height="'+l+'"')}}var d=[];return e&&d.push('src="'+e+'"'),o&&d.push('alt="'+o+'"'),t&&d.push('title="'+t+'"'),n.length&&(d=d.concat(n)),"
"+e+"
"},t.codeBlockRenderer&&(h.code=function(e,o){var i=t.codeBlockRenderer(o,e),a=r.b.nextId(),l=Promise.all([i,c]).then((function(e){var t=e[0],o=n.querySelector('div[data-code="'+a+'"]');o&&(o.innerHTML=t)})).catch((function(e){}));return t.codeBlockRenderCallback&&l.then(t.codeBlockRenderCallback),''+n.escape(u.substring(d,m))+"",d=m}r=c.endState}return o+="
| language | '+Object(s.escape)(d.languageIdentifier.language)+" | ",a+='
| token type | '+this._tokenTypeToString(d.tokenType)+" | ",a+='
| font style | '+this._fontStyleToString(d.fontStyle)+" | ",a+='
| foreground | '+g.a.Format.CSS.formatHex(d.foreground)+" | ",a+='
| background | '+g.a.Format.CSS.formatHex(d.background)+" | ",a+="