Compare commits

...

2 Commits

Author SHA1 Message Date
426c956d45
Add dark mode 2022-04-05 09:15:50 +01:00
ffddc32073
Use UTC timestamp for go import 2022-04-05 09:15:42 +01:00
2 changed files with 10 additions and 1 deletions

View File

@ -123,7 +123,7 @@ func (m *Module) homepage(rw http.ResponseWriter, req *http.Request, state *util
http.Error(rw, err.Error(), http.StatusInternalServerError)
return
}
selCommitTime = commit.CommitMeta.Created.Format("20060102150405")
selCommitTime = commit.CommitMeta.Created.UTC().Format("20060102150405")
selCommitHash = commit.CommitMeta.SHA[:12]
goMod, _, err := giteaClient.GetFile(selOrg, selRepo, ref.Object.SHA, "go.mod")
if err != nil {

View File

@ -4,6 +4,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gitea | Melon Tools</title>
<style>
html, body {
background-color: #2a2c2d;
color: #d8d4d0;
}
a {
color: #4699fa;
}
.page-content {
display: flex;
flex-direction: row;