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) http.Error(rw, err.Error(), http.StatusInternalServerError)
return return
} }
selCommitTime = commit.CommitMeta.Created.Format("20060102150405") selCommitTime = commit.CommitMeta.Created.UTC().Format("20060102150405")
selCommitHash = commit.CommitMeta.SHA[:12] selCommitHash = commit.CommitMeta.SHA[:12]
goMod, _, err := giteaClient.GetFile(selOrg, selRepo, ref.Object.SHA, "go.mod") goMod, _, err := giteaClient.GetFile(selOrg, selRepo, ref.Object.SHA, "go.mod")
if err != nil { if err != nil {

View File

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