Skip to content

Commit 7d629f2

Browse files
refactor: improve the HTML indents (#268)
1 parent 2eae184 commit 7d629f2

File tree

3 files changed

+194
-190
lines changed

3 files changed

+194
-190
lines changed

.github/workflows/validation.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ jobs:
206206
sudo apt-get -qq update
207207
sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install -y --no-install-recommends libfontconfig1-dev
208208
- name: Check
209-
run: cargo check
209+
run: cargo check --verbose
210210
- name: Build binary
211-
run: cargo build
211+
run: cargo build --verbose
212212
- name: Hash binary
213213
run: sha256sum target/debug/btracker
214214
- name: Upload binary artifact
@@ -290,7 +290,11 @@ jobs:
290290
name: output
291291
path: btracker_output
292292
- name: Display HTML content
293-
run: head -500 btracker_output/index.html
293+
run: |
294+
echo 'Displaying the first 500 lines of HTML'
295+
head -500 btracker_output/index.html
296+
echo 'Displaying the last 100 lines of HTML'
297+
tail -100 btracker_output/index.html
294298
- uses: anishathalye/proof-html@v2
295299
with:
296300
directory: ./btracker_output

resources/web/style.css

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
tr.histogram-footer {
2-
background-color: whitesmoke;
3-
border: 2px solid black;
4-
font-weight: bold;
2+
background-color: whitesmoke;
3+
border: 2px solid black;
4+
font-weight: bold;
55
}
66

77
th.wma-column {
8-
background-color: whitesmoke;
9-
border: 3px solid blue;
10-
padding: 7px;
8+
background-color: whitesmoke;
9+
border: 3px solid blue;
10+
padding: 7px;
1111
}
1212

1313
td.wma-column {
14-
background-color: whitesmoke;
15-
border-left: 3px solid blue;
16-
border-right: 3px solid blue;
17-
font-weight: bold;
14+
background-color: whitesmoke;
15+
border-left: 3px solid blue;
16+
border-right: 3px solid blue;
17+
font-weight: bold;
1818
}
1919

2020
img {
21-
border: 2px solid black;
21+
border: 2px solid black;
2222
}
2323

2424
table {
25-
border-color: black;
26-
border-style: solid;
27-
border-width: 1px;
25+
border-color: black;
26+
border-style: solid;
27+
border-width: 1px;
2828
}
2929

3030
th {
31-
border: 1px solid black;
32-
padding: 5px;
33-
vertical-align: bottom;
34-
position: sticky;
35-
top: 0;
36-
background-color: whitesmoke;
31+
border: 1px solid black;
32+
padding: 5px;
33+
vertical-align: bottom;
34+
position: sticky;
35+
top: 0;
36+
background-color: whitesmoke;
3737
}
3838

3939
td {
40-
border: 1px solid black;
41-
padding: 5px;
42-
text-align: right;
40+
border: 1px solid black;
41+
padding: 5px;
42+
text-align: right;
4343
}
4444

4545
.inline-table {
46-
display: inline-block;
47-
margin-right: 20px;
48-
vertical-align: top;
46+
display: inline-block;
47+
margin-right: 20px;
48+
vertical-align: top;
4949
}
5050

5151
.scrollable-table {
52-
height: 500px;
53-
overflow: auto;
52+
height: 500px;
53+
overflow: auto;
5454
}

0 commit comments

Comments
 (0)