Skip to content

Commit 2b07965

Browse files
saltedlollySorixelle
authored andcommitted
Reformat table
- Add SOS for older Pebbles - Restore top header. Remove side header. - Add CSS to draw line between company and model in header
1 parent 04a68f7 commit 2b07965

File tree

2 files changed

+46
-36
lines changed

2 files changed

+46
-36
lines changed

source/_includes/hardware-platforms.html

Lines changed: 39 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,26 @@
1414
limitations under the License.
1515
{% endcomment %}
1616

17-
<table class="centered-table">
18-
<tbody>
17+
<table class="centered-table hardware-info-table">
18+
<thead>
1919
<tr>
20-
<th>Manufacturer</th>
21-
<td colspan="4">Pebble</td>
22-
<td colspan="2">Core Devices</td>
20+
<th>Company</th>
21+
<th colspan="4">Pebble Technology Corporation</th>
22+
<th colspan="2">Core Devices</th>
2323
</tr>
2424
<tr>
2525
<th>Model</th>
26-
<td>Classic,<br />Steel</td>
27-
<td nowrap="nowrap">Time,<br />Time Steel</td>
28-
<td>Time Round</td>
29-
<td>Pebble 2</td>
30-
<td nowrap="nowrap">Pebble 2 Duo<br /><em>(Core 2 Duo)</em></td>
31-
<td nowrap="nowrap">Pebble Time 2*<br /><em>(Core Time 2)</em></td>
32-
</tr>
26+
<th>Classic,<br />Steel</th>
27+
<th nowrap="nowrap">Time,<br />Time Steel</th>
28+
<th>Time Round</th>
29+
<th>Pebble 2</th>
30+
<th nowrap="nowrap">Pebble 2 Duo<br /><em>(Core 2 Duo)</em></th>
31+
<th nowrap="nowrap">Pebble Time 2*<br /><em>(Core Time 2)</em></th>
32+
</tr>
33+
</thead>
34+
<tbody>
3335
<tr>
34-
<th>Platform</th>
36+
<td>Platform</td>
3537
<td>Aplite</td>
3638
<td>Basalt</td>
3739
<td>Chalk</td>
@@ -40,111 +42,112 @@
4042
<td>TBD</td>
4143
</tr>
4244
<tr>
43-
<th>SOC</th>
44-
<td></td>
45-
<td></td>
46-
<td></td>
47-
<td></td>
45+
<td>SOC</td>
46+
<td><a href="https://www.st.com/en/microcontrollers-microprocessors/stm32f205re.html"
47+
target="_blank">STMicro STM32F205RE</a></td>
48+
<td colspan="3"><a href="https://www.st.com/en/microcontrollers-microprocessors/stm32f411.html"
49+
target="_blank">STMicro
50+
STM32F411</a></td>
4851
<td><a href="https://www.nordicsemi.com/Products/nRF52840" target="_blank">Nordic nRF52840</a></td>
4952
<td><a href="https://www.sifli.com/en/node/31" target="_blank">SiFli SF32LB52J</a></td>
5053
</tr>
5154
<tr>
52-
<th>CPU</th>
55+
<td>CPU</td>
5356
<td nowrap="nowrap">Cortex-M3<br />64 MHz</td>
5457
<td colspan="3">Cortex-M4<br />100 MHz</td>
5558
<td>Cortex-M4<br />64 MHz</td>
5659
<td>Cortex-M33<br />240 MHz</td>
5760
</tr>
5861
<tr>
59-
<th>Max. resource size</th>
62+
<td>Max Resource Size</td>
6063
<td>96k</td>
6164
<td colspan="3">256k</td>
6265
<td></td>
6366
<td></td>
6467
</tr>
6568
<tr>
66-
<th>Max. app size (code + heap)</th>
69+
<td>Max App Size (code + heap)</td>
6770
<td>24k</td>
6871
<td colspan="3">64k</td>
6972
<td></td>
7073
<td></td>
7174
</tr>
7275
<tr>
73-
<th>Display shape</td>
76+
<td>Display Shape</td>
7477
<td colspan="2">Rectangle</td>
7578
<td>Round</td>
7679
<td colspan="3">Rectangle</td>
7780
</tr>
7881
<tr>
79-
<td>Display size</th>
82+
<td>Display Size</td>
8083
<td nowrap="nowrap">1.26"</td>
8184
<td nowrap="nowrap">1.25"</td>
8285
<td nowrap="nowrap">1"</td>
8386
<td nowrap="nowrap" colspan="2">1.26"</td>
8487
<td nowrap="nowrap">1.5"</td>
8588
</tr>
8689
<tr>
87-
<th>Display resolution</th>
90+
<td>Display Resolution</td>
8891
<td colspan="2">144 x 168</td>
8992
<td nowrap="nowrap">180 x 180</td>
9093
<td colspan="2">144 x 168</td>
9194
<td nowrap="nowrap">200 x 228</td>
9295
</tr>
9396
<tr>
94-
<th>Display PPI</th>
97+
<td>Display PPI</td>
9598
<td>175</td>
9699
<td colspan="2">182</td>
97100
<td colspan="2">175</td>
98101
<td>202</td>
99102
</tr>
100103
<tr>
101-
<th>Supported colors</th>
104+
<td>Supported Colors</td>
102105
<td>2<br /><em>(B/W)</em></td>
103106
<td colspan="2">64<br /><em>(Color)</em></td>
104107
<td colspan="2">2<br /><em>(B/W)</em></td>
105108
<td>64<br /><em>(Color)</em></td>
106109
</tr>
107110
<tr>
108-
<th>Touch screen</th>
111+
<td>Touch Screen</td>
109112
<td colspan="5">No</td>
110113
<td>Yes</td>
111114
</tr>
112115
<tr>
113-
<th>Heart Rate Monitor</th>
116+
<td>Heart Rate Monitor</td>
114117
<td>No</td>
115118
<td colspan="2">No<br /><em>(possible with smartstrap)</em></td>
116119
<td>Yes<br /><em>(except SE model)</em></td>
117120
<td>No</td>
118121
<td>Yes</td>
119122
</tr>
120123
<tr>
121-
<th>Microphone</th>
124+
<td>Microphone</td>
122125
<td>No</td>
123126
<td colspan="5">Yes</td>
124127
</tr>
125128
<tr>
126-
<th>Speaker</th>
129+
<td>Speaker</td>
127130
<td colspan="4">No</td>
128131
<td colspan="2">Yes</td>
129132
</tr>
130133
<tr>
131-
<th>Sensors</th>
134+
<td>Sensors</td>
132135
<td colspan="3">Accelerometer, Compass</td>
133136
<td>Accelerometer</td>
134137
<td>6-axis IMU, Compass, Barometer</td>
135138
<td>6-axis IMU, Compass (still TBD)</td>
136139
</tr>
137140
<tr>
138-
<th>Buttons</th>
141+
<td>Buttons</td>
139142
<td colspan="6">4</td>
140143
</tr>
141144
<tr>
142-
<th>Vibration</th>
143-
<td colspan="4">Yes (vibrating motor)</td>
144-
<td colspan="2">Yes (linear resonant actuator)</td>
145+
<td>Vibration</td>
146+
<td colspan="4">ERM (eccentric rotating mass)</td>
147+
<td colspan="2">LRM (linear resonant actuator)</td>
145148
</tr>
146149
<tr>
147-
<th>Charging port</th>
150+
<td>Charging Port</td>
148151
<td>Power only</td>
149152
<td colspan="2">Smart accessory port</td>
150153
<td>Smart accessory port <em>(data only)</em></td>

source/assets/css/main.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,10 @@
1717
*/
1818

1919
@import 'app';
20+
21+
/* Hardware info table overrides */
22+
table.hardware-info-table { border-collapse: collapse; }
23+
24+
table.hardware-info-table > thead > tr:first-of-type > th {
25+
border-bottom: 1px solid #d6d6d6 !important; /* match the left border color */
26+
}

0 commit comments

Comments
 (0)