github.com/awesome-flow/flow@v0.0.3-0.20190918184116-508d75d68a2c/web/template/layout.tmpl (about) 1 {{ define "layout" -}} 2 <!doctype html> 3 <html lang="en"> 4 <head> 5 <meta charset="utf-8"> 6 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 7 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 8 <title>{{.Data.Title}}</title> 9 <link rel="stylesheet" href="/static/css/bootstrap-4.3.1.css"> 10 <link rel="icon" type="image/png" sizes="32x32" href="/static/img/favicon-32x32.png"> 11 <link rel="icon" type="image/png" sizes="16x16" href="/static/img/favicon-16x16.png"> 12 <meta name="msapplication-TileColor" content="#da532c"> 13 <meta name="theme-color" content="#ffffff"> 14 </head> 15 <body> 16 <nav class="navbar navbar-expand-lg navbar-light bg-light"> 17 <a class="navbar-brand" href="/"> 18 <img src="/static/img/logo.png" width=36 height=36 /> 19 </a> 20 <div class="collapse navbar-collapse"> 21 <ul class="navbar-nav mr-auto"> 22 <li class="nav-item"> 23 <a class="nav-link" href="/pipeline/describe">Describe pipeline</a> 24 </li> 25 <li class="nav-item"> 26 <a class="nav-link" href="/config">Active config</a> 27 </li> 28 <li class="nav-item"> 29 <a class="nav-link" href="/expvar">Explain vars</a> 30 </li> 31 <li class="nav-item"> 32 <a class="nav-link" href="/pprof">Pprof</a> 33 </li> 34 </ul> 35 </div> 36 </nav> 37 <div class="container"> 38 {{.Body}} 39 </div> 40 <script src="/static/js/jquery-3.3.1.js"></script> 41 <script src="/static/js/popper-1.14.7.js"></script> 42 <script src="/static/js/bootstrap-4.3.1.js"></script> 43 </body> 44 </html> 45 {{- end }}