github.com/wanliu/go-oauth2-server@v0.0.0-20180817021415-f928fa1580df/web/layouts/inside.html (about) 1 {{ define "base" }} 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"> 8 9 <title>{{ template "title" . }}</title> 10 <link rel="shortcut icon" href="/favicon.ico"> 11 12 <!-- Bootstrap core CSS --> 13 <link rel="stylesheet" href="/styles/bootstrap.min.css"> 14 15 <!-- Custom CSS --> 16 <link href="/styles/inside.css" rel="stylesheet"> 17 <!-- Custom styles for this template --> 18 {{ template "links" . }} 19 20 <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> 21 <!--[if lt IE 9]> 22 <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> 23 <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> 24 <![endif]--> 25 26 <!-- jQuery --> 27 <script src="/js/jquery.min.js"></script> 28 </head> 29 <body> 30 <!-- Fixed navbar --> 31 <nav class="navbar navbar-default navbar-fixed-top"> 32 <div class="container"> 33 <div class="navbar-header"> 34 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> 35 <span class="sr-only">Toggle navigation</span> 36 <span class="icon-bar"></span> 37 <span class="icon-bar"></span> 38 <span class="icon-bar"></span> 39 </button> 40 <a class="navbar-brand" href="#">捷杰智能云</a> 41 </div> 42 <div id="navbar" class="collapse navbar-collapse"> 43 <ul class="nav navbar-nav navbar-right"> 44 <li><a href="/web/logout{{ .queryString }}">登出</a></li> 45 </ul> 46 </div><!--/.nav-collapse --> 47 </div> 48 </nav> 49 50 <!-- Begin page content --> 51 {{ template "content" . }} 52 53 <!-- Fixed footer --> 54 <footer class="footer"> 55 <div class="container"> 56 <p class="text-muted">©湖南捷杰信息有限公司版权所有. 湘ICP备13005289号-3</p> 57 </div> 58 </footer> 59 60 <!-- Bootstrap core JavaScript 61 ================================================== --> 62 <!-- Placed at the end of the document so the pages load faster --> 63 <script src="/js/bootstrap.min.js" ></script> 64 65 <!-- Custom scripts --> 66 {{ template "scripts" . }} 67 </body> 68 </html> 69 {{ end }} 70 {{ define "links" }}{{ end }} 71 {{ define "scripts" }}{{ end }}