-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 46e2bc6 🚀
- Loading branch information
0 parents
commit 4fd39d5
Showing
10 changed files
with
3,562 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,257 @@ | ||
<!DOCTYPE html> | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>dsl balance</title> | ||
<style> | ||
@font-face { | ||
font-family: 'ps2p'; | ||
src: url('pressstart2p.ttf'); | ||
} | ||
|
||
html { | ||
background-color:#000; | ||
font-family: ps2p,monospace; | ||
} | ||
|
||
body { | ||
width:95%; | ||
text-align:center; | ||
} | ||
|
||
.bill_desc { | ||
font-size:30px; | ||
color:#eee; | ||
text-align:right; | ||
} | ||
|
||
.bill_value { | ||
font-size:42px; | ||
text-align:right; | ||
} | ||
|
||
.color_neg { | ||
/* negative numbers are bad */ | ||
color:red; | ||
} | ||
|
||
.color_pos { | ||
/* positive numbers are good */ | ||
color:#00E100; | ||
} | ||
|
||
.membership_fees { | ||
font-size:20px; | ||
color:#fff; | ||
text-align:center; | ||
} | ||
|
||
.grid { | ||
font-size:17px; | ||
color:#00E100; | ||
text-align:left; | ||
margin:0; | ||
font-family: ps2p,monospace; | ||
} | ||
|
||
.donate { | ||
font-size:25px; | ||
color:pink; | ||
text-align:center; | ||
} | ||
|
||
.lastupdate { | ||
color:white; | ||
position: fixed; | ||
bottom: 0; | ||
right: 0; | ||
} | ||
|
||
.rowodd { | ||
background-color: #202020; | ||
} | ||
|
||
.tractorbar { | ||
border-color: #404040; | ||
background-image: url(circle.svg); | ||
background-repeat: repeat-y; | ||
background-position: center top; | ||
} | ||
|
||
.tractorleft { | ||
border-style: none dotted none none; | ||
} | ||
|
||
.tractorright { | ||
border-style: none none none dotted; | ||
} | ||
|
||
#overlay_dim { | ||
position: fixed; /* Sit on top of the page content */ | ||
width: 100%; /* Full width (cover the whole page) */ | ||
height: 100%; /* Full height (cover the whole page) */ | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
background-color: rgba(0,0,0,0.5); /* Black background with opacity */ | ||
z-index: 2; /* Specify a stack order in case you're using a different order for other elements */ | ||
} | ||
|
||
#overlay_text{ | ||
position: absolute; | ||
top: 25%; | ||
left: 50%; | ||
font-size: 50px; | ||
color: red; | ||
transform: rotate(-45deg) translate(-50%,-50%); | ||
} | ||
|
||
|
||
</style> | ||
</head> | ||
<body> | ||
|
||
<div class="membership_fees">Membership fee <span class="color_pos">700 HKD</span> per month, <span class="color_pos">300 HKD</span> for students.</div> | ||
|
||
<table width=100%> | ||
<tr> | ||
<td colspan=2 class="bill_desc">Monthly Balance:</td> | ||
<td class="bill_value color_pos">-1841 HKD</td> | ||
</tr> | ||
<tr> | ||
<td colspan=2 class="bill_desc">(due: <span class="color_neg">2024-01-24</span>) Rent:</td> | ||
<td class="bill_value color_neg">14000 HKD</td> | ||
</tr> | ||
<tr> | ||
<td class="donate">Donate if you can!</td> | ||
<td class="bill_desc">Bills:</td> | ||
<td class="bill_value color_neg">~2000 HKD</td> | ||
</tr> | ||
</table> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<table width=100%> | ||
<tr> | ||
<td class="tractorbar tractorleft"> | ||
<td> | ||
<pre class="grid rowodd"> 2023-09 2023-10 2023-11 2023-12 2024-01</pre> | ||
|
||
|
||
|
||
<pre class="grid ">Alex 700 700 700 700 </pre> | ||
|
||
|
||
|
||
<pre class="grid ">Alun 700 750 </pre> | ||
|
||
|
||
|
||
<pre class="grid rowodd">Antonia 700 700 700 700 </pre> | ||
|
||
|
||
|
||
<pre class="grid rowodd">Arachnia 300 300 300 300 </pre> | ||
|
||
|
||
|
||
<pre class="grid ">Cat 700 700 700 700 700</pre> | ||
|
||
|
||
|
||
<pre class="grid ">David 1000 1000 1000 1000 1000</pre> | ||
|
||
|
||
|
||
<pre class="grid rowodd">Diana 700 700 700 700 </pre> | ||
|
||
|
||
|
||
<pre class="grid rowodd">Ella 300 300 300 300 </pre> | ||
|
||
|
||
|
||
<pre class="grid ">Felix 2000 2000 2000 2000 2000</pre> | ||
|
||
|
||
|
||
<pre class="grid ">Gabriel 700 700 700 700 700</pre> | ||
|
||
|
||
|
||
<pre class="grid rowodd">Jay 700 700 700 700 700</pre> | ||
|
||
|
||
|
||
<pre class="grid rowodd">Jerry 500 500 500 500 </pre> | ||
|
||
|
||
|
||
<pre class="grid ">Max 300 300 300 300 </pre> | ||
|
||
|
||
|
||
<pre class="grid ">Meebey 1337 1337 1337 1337 </pre> | ||
|
||
|
||
|
||
<pre class="grid rowodd">Neil 1000 1000 1000 1000 1000</pre> | ||
|
||
|
||
|
||
<pre class="grid rowodd">Nigel 700 700 700</pre> | ||
|
||
|
||
|
||
<pre class="grid ">Philip 3888 3888 3888 3888 3888</pre> | ||
|
||
|
||
|
||
<pre class="grid ">Portia 300 300 300</pre> | ||
|
||
|
||
|
||
<pre class="grid rowodd">Richard 670 670 </pre> | ||
|
||
|
||
|
||
<pre class="grid rowodd">Sammy 670 670 670 670 670</pre> | ||
|
||
|
||
|
||
<pre class="grid ">Vincent 300 300 300 300 300</pre> | ||
|
||
<td class="tractorbar tractorright"> | ||
</tr> | ||
</table> | ||
|
||
<br> | ||
<table width=100%> | ||
<tr> | ||
<td> c; c; c;</td> | ||
<td class="bill_desc">Members loans to DSL:</td> | ||
<td class="bill_value color_neg">19000 HKD</td> | ||
</tr> | ||
</table> | ||
|
||
<div class="lastupdate"> | ||
Data last updated 2024-01-02T10:41:00+08:00 | ||
<a href="https://github.com/dimsumlabs/dsl-accounts/actions"> | ||
<img src="https://github.com/dimsumlabs/dsl-accounts/actions/workflows/ci.yml/badge.svg"> | ||
</a> | ||
</div> | ||
<!-- If needed, this can be uncommented | ||
<div id="overlay_dim"><div id="overlay_text">BROKEN!</div></div> | ||
TODO: | ||
- use javascript and fetch https://api.github.com/repos/dimsumlabs/dsl-accounts/actions/runs?per_page=3 | ||
- add a big visible overlay if two of the last three jobs were .conclusion=="failure" | ||
--> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"unknown": "2023-12", "workshop": "2021-09", "dues:lio": "2020-07", "dues:tom": "2019-03", "dues:adam": "2022-08", "donation:members": "2021-11", "dues:william": "2017-10", "dues:manolis": "2021-09", "dues:christine": "2016-10", "dues:tobias": "2018-12", "bookshelves": "2017-11", "dues:james": "2022-01", "dues:luca": "2017-10", "dues:stigo": "2018-05", "fridge": "2023-11", "dues:hamish": "2020-11", "dues:leviathan": "2017-09", "dues:brad": "2018-07", "dues:charles": "2017-04", "dues:sunny": "2020-11", "dues:jd": "2017-10", "dues:colin": "2016-10", "dues:syed": "2017-06", "dues:aurelio": "2017-02", "dues:julianlee": "2019-11", "dues:jerry": "2023-12", "dues:jake": "2016-12", "dues:steph": "2017-02", "dues:meebey": "2023-12", "dues:benedict": "2017-01", "merch:tshirt": "2019-11", "dues:michelle": "2019-06", "dues:nicolas": "2023-03", "dues:mathis": "2019-09", "dues:devon": "2018-11", "dues:joakimn": "2017-04", "dues:pierre": "2018-02", "dues:sean": "2017-07", "dues:kenneth": "2017-07", "dues:audrey": "2020-02", "dues:anthony": "2021-02", "dues:elliot": "2017-09", "dues:tim": "2017-10", "dues:hans": "2017-09", "dues:shing": "2017-09", "dues:kam": "2017-09", "dues:alex": "2023-12", "dues:igor": "2017-10", "dues:neil": "2024-01", "donation:c3": "2017-10", "loan": "2021-11", "dues:christopher": "2018-06", "dues:jim": "2018-02", "dues:richard": "2023-10", "dues:mb": "2018-01", "dues:harry": "2018-01", "dues:mazakazu": "2018-09", "dues:jonathan": "2018-02", "dues:marble": "2018-05", "fees:paypal": "2019-10", "dues:ente": "2018-04", "supporters": "2023-12", "dues:gregg": "2018-06", "merch:sticker": "2018-11", "dues:ana": "2018-08", "dues:sam": "2018-07", "dues:cathy": "2019-01", "dues:daniel": "2018-08", "donation": "2023-11", "dues:lawrence": "2020-12", "merch:kits": "2019-12", "dues:gary": "2020-03", "merch:rpikit": "2019-03", "dues:philip": "2024-02", "dues:max": "2023-12", "dues:antonia": "2023-12", "dues:felix": "2024-01", "dues:nathan": "2019-06", "dues:urd": "2019-11", "dues:xro": "2019-09", "dues:neilg": "2020-07", "dues:oliver": "2019-11", "dues:bryan": "2020-01", "dues:tania": "2020-02", "dues:georgia": "2020-01", "dues:sayon": "2021-08", "dues:yeojin": "2020-11", "recycling": "2020-03", "dues:nick": "2020-11", "dues:mikael": "2020-06", "dues:noche": "2020-06", "dues:khng": "2021-09", "dues:vincentdjojo": "2020-12", "dues:kimlegend": "2021-03", "dues:kerrie": "2022-01", "dues:ella": "2023-12", "dues:anders": "2022-09", "dues:cat": "2024-01", "dues:david": "2024-01", "dues:abhi": "2021-11", "dues:briann": "2021-10", "dues:gabriel": "2024-01", "dues:vincent": "2024-01", "dues:iravan": "2022-11", "dues:benny": "2022-01", "dues:fung": "2022-01", "bills:rent": "2022-03", "dues:miranda": "2022-08", "dues:calvin": "2022-08", "dues:maki": "2023-01", "dues:andy": "2022-12", "dues:jenny": "2022-11", "dues:jay": "2024-01", "dues:michael": "2023-04", "dues:diana": "2023-12", "dues:philipp": "2023-04", "dues:arachnia": "2023-12", "dues:theerapol": "2023-04", "dues:sammy": "2024-01", "dues:cedric": "2023-07", "dues:alun": "2023-11", "dues:nigel": "2024-01", "dues:portia": "2024-01"} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
make[1]: Entering directory '/home/runner/work/dsl-accounts/dsl-accounts' | ||
git describe --always --dirty | ||
46e2bc6 | ||
|
||
./balance.py --includefuture grid --display_days_prev 270 --display_days_post 150 | ||
2023-05 2023-06 2023-07 2023-08 2023-09 2023-10 2023-11 2023-12 [2024-01] 2024-02 2024-03 2024-04 2024-05 | ||
bills:accounting ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 | ||
bills:br -12 -12 | ||
bills:dns ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 | ||
bills:electricity ~-400 ~-400 ~-400 -1302 -1193 ~-400 -1613 ~-400 ~-400 ~-400 ~-400 ~-400 ~-400 | ||
bills:hosting ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 | ||
bills:internet ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 | ||
bills:meetup ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 | ||
bills:rent -13800 -13800 -13800 -13800 -13800 -13800 -13800 -13800 -13800 | ||
donation 700 370 800 340 100 | ||
donation:members ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257 | ||
dues:alex ~670 ~670 700 700 700 700 700 700 ~670 ~670 ~670 ~670 ~670 | ||
dues:alun 700 750 | ||
dues:anders ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 | ||
dues:antonia 700 700 700 700 700 700 700 700 ~700 ~700 ~700 ~700 ~700 | ||
dues:arachnia 300 300 300 300 300 300 300 300 | ||
dues:cat 700 700 700 700 700 700 700 700 700 ~700 ~700 ~700 ~700 | ||
dues:cedric 200 | ||
dues:david ~300 ~300 ~300 0 1000 1000 1000 1000 1000 ~300 ~300 ~300 ~300 | ||
dues:diana 700 700 700 700 700 700 700 700 | ||
dues:ella 300 300 300 300 300 300 300 300 | ||
dues:felix 2000 2000 2000 2000 2000 2000 2000 2000 2000 | ||
dues:gabriel 700 700 700 700 700 700 700 700 700 ~700 ~700 ~700 ~700 | ||
dues:iravan ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 | ||
dues:jay 700 700 700 700 700 700 700 700 700 | ||
dues:jerry 500 500 500 500 500 500 500 | ||
dues:kerrie ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 | ||
dues:khng ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 | ||
dues:kimlegend ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500 | ||
dues:lawrence ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 | ||
dues:maki ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 | ||
dues:manolis ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 | ||
dues:max 300 300 300 300 300 300 300 300 ~300 ~300 ~300 ~300 ~300 | ||
dues:meebey 1337 1337 1337 1337 1337 1337 1337 1337 ~1337 ~1337 ~1337 ~1337 ~1337 | ||
dues:michael ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 | ||
dues:miranda ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 | ||
dues:neil 1000 1000 1000 1000 1000 1000 1000 1000 1000 ~808 ~808 ~808 ~808 | ||
dues:nick ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 | ||
dues:nicolas ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 | ||
dues:nigel 700 700 700 | ||
dues:philip 3888 3888 3888 3888 3888 3888 3888 3888 3888 3888 ~1000 ~1000 ~1000 | ||
dues:portia 300 300 300 | ||
dues:richard 670.35 670.35 670.35 670.35 670.35 670.35 ~670 ~670 ~670 ~670 ~670 ~670 ~670 | ||
dues:sammy 478.15 670.35 670.35 670.35 670.35 670.35 670.35 | ||
dues:sayon ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 | ||
dues:vincent ~670 ~670 ~670 0 300 300 300 300 300 ~670 ~670 ~670 ~670 | ||
fridge 500 760 450 300 280 420 | ||
supporters 400 400 400 400 400 400 600 200 ~93 ~93 ~93 ~93 ~93 | ||
unknown 0 0 0 0 0 0 0 0 | ||
|
||
MONTH Sub Total ~10510.23~10070.23~10350.38 ~8150.58~11359.58~10972.58~11609.23~11152.23 ~9215.23~18122.88~15234.88~15234.88~15234.88 | ||
RUNNING Balance ~141863.30~151933.53~162283.91~170434.49~181794.07~192766.65~204375.88~215528.11~224743.34~242866.22~258101.10~273335.98~288570.86 | ||
TOTAL: ~305675.74 | ||
|
||
make[1]: Leaving directory '/home/runner/work/dsl-accounts/dsl-accounts' |
Oops, something went wrong.