PageRenderTime 77ms CodeModel.GetById 47ms RepoModel.GetById 0ms app.codeStats 0ms

/templates/home/index.html

https://bitbucket.org/frank418/tblog
HTML | 123 lines | 83 code | 31 blank | 9 comment | 0 complexity | 5ca08f58bfc50599c86657bf74c15436 MD5 | raw file
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>tblog &middot; Frank Yang</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <!-- Le styles -->
  10. <link href="/static/style/bootstrap.min.css" rel="stylesheet">
  11. <style type="text/css">
  12. body {
  13. padding-top: 20px;
  14. padding-bottom: 40px;
  15. }
  16. /* Custom container */
  17. .container-narrow {
  18. margin: 0 auto;
  19. max-width: 700px;
  20. }
  21. .container-narrow > hr {
  22. margin: 30px 0;
  23. }
  24. /* Main marketing message and sign up button */
  25. .jumbotron {
  26. margin: 60px 0;
  27. text-align: center;
  28. }
  29. .jumbotron h1 {
  30. font-size: 72px;
  31. line-height: 1;
  32. }
  33. .jumbotron .btn {
  34. font-size: 21px;
  35. padding: 14px 24px;
  36. }
  37. /* Supporting marketing content */
  38. .marketing {
  39. margin: 60px 0;
  40. }
  41. .marketing p + h4 {
  42. margin-top: 28px;
  43. }
  44. </style>
  45. <link href="/static/style/bootstrap-responsive.min.css" rel="stylesheet">
  46. <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
  47. <!--[if lt IE 9]>
  48. <script src="/static/js/html5shiv.js"></script>
  49. <![endif]-->
  50. </head>
  51. <body>
  52. <div class="container-narrow">
  53. <div class="masthead">
  54. <ul class="nav nav-pills pull-right">
  55. <li class="active"><a href="#">Home</a></li>
  56. <li><a href="http://0418.me">Flask Blog</a></li>
  57. </ul>
  58. <h3 class="muted">Tornado Blog by Frank</h3>
  59. </div>
  60. <hr>
  61. <div class="jumbotron">
  62. <h1>开始用Tornado重写博客系统</h1>
  63. <a class="btn btn-large btn-success" href="http://git.0418.me/tblog">查看源码</a>
  64. </div>
  65. <hr>
  66. <div class="row-fluid marketing">
  67. <div class="span6">
  68. <h4>Tornado</h4>
  69. <p>强力异步网络框架兼Web开发框架</p>
  70. <h4>WTForms</h4>
  71. <p>给力的表单生成及验证库</p>
  72. </div>
  73. <div class="span6">
  74. <h4>SQLAlchemy</h4>
  75. <p>Python程序员都知道</p>
  76. <h4>Bootstrap</h4>
  77. <p>毫无艺术细胞的程序员都能使用的UI框架</p>
  78. </div>
  79. </div>
  80. <hr>
  81. <div class="footer">
  82. <p>&copy; Frank Yang 2013</p>
  83. </div>
  84. </div>
  85. <!-- /container -->
  86. <!-- Le javascript
  87. ================================================== -->
  88. <!-- Placed at the end of the document so the pages load faster -->
  89. <script src="/static/js/jquery.js"></script>
  90. <script src="/static/js/bootstrap.min.js"></script>
  91. </body>
  92. </html>