You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
3.0 KiB

  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <!-- Required meta tags -->
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <!-- Bootstrap CSS -->
  8. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
  9. <style>
  10. footer {
  11. width:100%;
  12. background: #38414f;
  13. color: #bec0c4;
  14. margin-top: 80px;
  15. padding: 20px;
  16. }
  17. </style>
  18. <title>padArchiver</title>
  19. </head>
  20. <body>
  21. <nav class="navbar navbar-expand-lg navbar-light bg-light">
  22. <a class="navbar-brand" href="/">padArchiver</a>
  23. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  24. <span class="navbar-toggler-icon"></span>
  25. </button>
  26. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  27. <ul class="navbar-nav mr-auto">
  28. <li class="nav-item active">
  29. <a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a>
  30. </li>
  31. </ul>
  32. </div>
  33. </nav>
  34. <br><br>
  35. <div class="container">
  36. <div class="row">
  37. <div class="col-sm-2"></div>
  38. <div class="col-sm-8">
  39. <h3>{{.PageTitle}}</h3>
  40. <ul class="list-group">
  41. {{range .Items}}
  42. {{if .IsDir}}
  43. <br><br>
  44. <nav aria-label="breadcrumb">
  45. <ol class="breadcrumb">
  46. <li class="breadcrumb-item active" aria-current="page">
  47. <a href="{{.Path}}">{{.Name}}</a>
  48. </li>
  49. </ol>
  50. </nav>
  51. {{else}}
  52. <a href="{{.Path}}" class="list-group-item">{{.Name}}</a>
  53. {{end}}
  54. {{end}}
  55. </ul>
  56. </div>
  57. </div>
  58. </div>
  59. <footer>
  60. <div class="container">
  61. <p class="float-right">
  62. <a href="#">Back to top</a>
  63. </p>
  64. <p>
  65. padArchiver - webServer
  66. </p>
  67. <p>
  68. Github: <a href="https://github.com/arnaucode/padArchiver" target="_blank">https://github.com/arnaucode/padArchiver</a>
  69. </p>
  70. </div>
  71. </footer>
  72. <!-- Optional JavaScript -->
  73. <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  74. <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
  75. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
  76. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
  77. </body>
  78. </html>