Skip to content

Commit

Permalink
Release 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
aceberg committed Feb 27, 2024
1 parent ec7d2ae commit 9372cc8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# Change Log
All notable changes to this project will be documented in this file.

## [0.1.4] - 2024-02-27
### Fixed
- History bug fix

## [0.1.3] - 2024-02-26
### Added
- Statistics page
Expand Down
2 changes: 1 addition & 1 deletion internal/web/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ func histDel(c *gin.Context) {
db.Delete(appConfig.DBPath, ID)
}

c.Redirect(http.StatusFound, "/history/")
c.Redirect(http.StatusFound, "/history/today")
}
2 changes: 1 addition & 1 deletion internal/web/public/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION=0.1.3
VERSION=0.1.4
11 changes: 10 additions & 1 deletion internal/web/templates/plan-edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<div class="row">
<div class="col-md">
<div class="card border-primary">
<div class="card-header">
<h5>Add/Edit</h5>
</div>
<div class="card-body table-responsive">
<table class="table table-borderless">
<form action="/planedit/" method="post">
Expand Down Expand Up @@ -51,7 +54,13 @@
</div>
</div>
<div class="col-md">

<div class="card border-primary">
<div class="card-header">
<h5>Icon preview</h5>
</div>
<div class="card-body table-responsive">
<img src="{{ .OnePlan.Icon }}" style="max-width: 100%;max-height: 100%;"/>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 9372cc8

Please sign in to comment.