Skip to content

Commit

Permalink
fix: add simple price
Browse files Browse the repository at this point in the history
  • Loading branch information
dd84ai committed Mar 30, 2024
1 parent a28e680 commit 8cc766a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion darkstat/front/commodities.templ
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ templ CommoditiesBasesInfoShared() {
<th style="width:200px;">Base</th>
<th style="width:100px;">Faction</th>
<th style="width:50px;">System</th>
<th style="width:50px;">Price Per foume</th>
<th style="width:50px;">Price</th>
<th style="width:50px;">Price Per Volume</th>
<th style="width:50px;">Base Sells</th>
<th style="width:50px;">Level Req'd</th>
<th style="width:50px;">Reputation Req'd</th>
Expand All @@ -113,6 +114,7 @@ templ CommoditiesBaseInfo(base_infos []configs_export.CommodityAtBase) {
<td>{ base_info.BaseName }</td>
<td>{ base_info.Faction }</td>
<td>{ base_info.SystemName }</td>
<td>{ strconv.Itoa(base_info.Price) }</td>
<td>{ strconv.Itoa(base_info.PricePerVolume) }</td>
<td>{ strconv.FormatBool(base_info.BaseSells) }</td>
<td>{ strconv.Itoa(base_info.LevelRequired) }</td>
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21.1

require (
github.com/a-h/templ v0.2.543
github.com/darklab8/fl-configs v0.19.0
github.com/darklab8/fl-configs v0.19.1
github.com/darklab8/go-typelog v0.6.0
github.com/darklab8/go-utils v0.12.0
github.com/yosssi/gohtml v0.0.0-20201013000340-ee4748c638f4
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ github.com/darklab8/fl-configs v0.18.0 h1:KhkPQdJo6+4u4IoB29vem/+bkDEO3Qima+PsHw
github.com/darklab8/fl-configs v0.18.0/go.mod h1:8zaCaFL21TvawP65KB9NOJ+nEpaMDQYsnoOi77RiSVY=
github.com/darklab8/fl-configs v0.19.0 h1:8WH/lvBOlEG97Qw4traWR3e4UjiZwHIi0sCcwcSDBF8=
github.com/darklab8/fl-configs v0.19.0/go.mod h1:8zaCaFL21TvawP65KB9NOJ+nEpaMDQYsnoOi77RiSVY=
github.com/darklab8/fl-configs v0.19.1 h1:GjAMld4VMZXZP575nnOEV+occWuA5HT8e5pM+O79g0g=
github.com/darklab8/fl-configs v0.19.1/go.mod h1:8zaCaFL21TvawP65KB9NOJ+nEpaMDQYsnoOi77RiSVY=
github.com/darklab8/go-typelog v0.6.0 h1:Ci8imc7ScXiy5e1qMgf46NyJjrqNLPoIE1gbVe7bxl4=
github.com/darklab8/go-typelog v0.6.0/go.mod h1:AwwOf3dkp/tpevHFNbkB+PbwlDrUUgO1CVFkEnj+q5w=
github.com/darklab8/go-utils v0.12.0 h1:LxsG3yVNf9W4xyV+tHPOaZB2ewItgM/1BzOXyKFvofs=
Expand Down

0 comments on commit 8cc766a

Please sign in to comment.