github.com/wanliu/go-oauth2-server@v0.0.0-20180817021415-f928fa1580df/web/layouts/index.html (about) 1 {{ define "base" }} 2 <!DOCTYPE html> 3 <html lang="en"> 4 <head> 5 <meta charset="utf-8"> 6 <meta name="viewport" content="width=device-width, initial-scale=1"> 7 <title>捷杰科技</title> 8 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300"> 9 <link rel="stylesheet" href="styles/bootstrap.min.css"> 10 <link rel="stylesheet" href="fontawesome/css/fontawesome-all.min.css"> 11 <link rel="stylesheet" type="text/css" href="slick/slick.css"/> 12 <link rel="stylesheet" type="text/css" href="slick/slick-theme.css"/> 13 <link rel="stylesheet" href="styles/tooplate-style.css"> 14 <script> 15 document.documentElement.className="js"; 16 var supportsCssVars=function(){ 17 var e,t=document.createElement("style"); 18 return t.innerHTML="root: { --tmp-var: bold; }",document.head.appendChild(t),e=!!(window.CSS&&window.CSS.supports&&window.CSS.supports("font-weight","var(--tmp-var)")),t.parentNode.removeChild(t),e 19 }; 20 supportsCssVars()||alert("请用版本最新的浏览器查看."); 21 </script> 22 23 </head> 24 25 <body> 26 <!-- Begin page content --> 27 {{ template "content" . }} 28 29 <script src="js/jquery-3.2.1.slim.min.js"></script> 30 <script src="slick/slick.min.js"></script> 31 <script src="js/anime.min.js"></script> 32 <script src="js/main.js"></script> 33 <script> 34 35 // function setupFooter() { 36 // var pageHeight = $('.tm-site-header-container').height() + $('footer').height() + 100; 37 38 // var main = $('.tm-main-content'); 39 40 // if($(window).height() < pageHeight) { 41 // main.addClass('tm-footer-relative'); 42 // } 43 // else { 44 // main.removeClass('tm-footer-relative'); 45 // } 46 // } 47 48 /* DOM is ready 49 ------------------------------------------------*/ 50 // $(function(){ 51 52 // setupFooter(); 53 54 // $(window).resize(function(){ 55 // setupFooter(); 56 // }); 57 58 // $('.tm-current-year').text(new Date().getFullYear()); // Update year in copyright 59 // }); 60 </script> 61 62 </body> 63 </html> 64 {{end}}