blog/go/uiweb/index.tmpl

35 lines
1.5 KiB
Cheetah
Raw Normal View History

2023-03-13 16:17:29 +08:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- import CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<title>{{.title}}</title>
</head>
<body>
<div class="jumbotron jumbotron-fluid" style="height:100vh" >
<div class="container">
<div class="">
<h3 style="text-align: center;">{{.title}}</h3>
</div>
<hr class="my-4" >
2023-08-15 14:28:07 +08:00
{{ range $file := .files }}
2023-03-13 16:17:29 +08:00
<div class="row" style="">
2023-08-15 14:28:07 +08:00
{{ if eq $file "SC" }}
<div style="width:80%;" class="p-3 mb-2 bg-light text-dark"><a href="/{{$file}}">{{$file}}</a></div>
{{ else }}
<div style="width:80%;" class="p-3 mb-2 bg-light text-dark"><a href="/ui/{{$file}}">{{$file}}</a></div>
{{ end }}
2023-03-13 16:17:29 +08:00
</div>
{{else}}
<div class="" style="">
<p>这家伙很懒,还没有发布任何信息</p>
</div>
{{end}}
</div>
</div>
<!-- import JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct" crossorigin="anonymous"></script>
</body>
</html>