github.com/outbrain/consul@v1.4.5/ui-v2/app/index.html (about) 1 <!DOCTYPE html> 2 <html class="{{content-for "root-class"}}"> 3 <head> 4 <meta charset="utf-8"> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 6 <title>Consul by HashiCorp</title> 7 <meta name="description" content=""> 8 <meta name="viewport" content="width=device-width, initial-scale=1"> 9 10 {{content-for "head"}} 11 <link rel="icon" type="image/png" href="{{rootURL}}assets/favicon-32x32.png" sizes="32x32"> 12 <link rel="icon" type="image/png" href="{{rootURL}}assets/favicon-16x16.png" sizes="16x16"> 13 14 <link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css"> 15 <link integrity="" rel="stylesheet" href="{{rootURL}}assets/consul-ui.css"> 16 17 {{content-for "head-footer"}} 18 </head> 19 <body> 20 <noscript> 21 <div style="margin: 0 auto;"> 22 <h2>JavaScript Required</h2> 23 <p>Please enable JavaScript in your web browser to use Consul UI.</p> 24 </div> 25 </noscript> 26 {{content-for "body"}} 27 <script src="{{rootURL}}assets/vendor.js"></script> 28 <script> 29 var appendScript = function(src) { 30 var $script = document.createElement('script'); 31 $script.src = src; 32 document.body.appendChild($script); 33 } 34 if(!('TextDecoder' in window)) { 35 appendScript('{{rootURL}}assets/encoding-indexes.js'); 36 appendScript('{{rootURL}}assets/encoding.js'); 37 } 38 </script> 39 <script src="{{rootURL}}assets/consul-ui.js"></script> 40 <script> 41 CodeMirror.modeURL = { 42 replace: function(n, mode) { 43 switch(mode) { 44 case 'javascript': 45 return '{{rootURL}}assets/codemirror/mode/javascript/javascript.js'; 46 case 'ruby': 47 return '{{rootURL}}assets/codemirror/mode/ruby/ruby.js'; 48 case 'yaml': 49 return '{{rootURL}}assets/codemirror/mode/yaml/yaml.js'; 50 } 51 } 52 }; 53 </script> 54 {{content-for "body-footer"}} 55 </body> 56 </html>