Skip to content

Commit 3abf10d

Browse files
committed
More manuals, page updates
1 parent 71b2d21 commit 3abf10d

9 files changed

Lines changed: 36 additions & 26 deletions

File tree

_data/computers.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
tag: alive
2222
doc: /assets/documents/probook_650_g2.pdf
2323

24-
- name: Lenovo Thinkpad T480
24+
- name: Lenovo ThinkPad T480
2525
desc: My T480. I got it for school after my Surface Laptop Go failed on me, and it has been rock solid since. I know
2626
that it is an aging laptop, but it still runs absolutely flawlessly on linux. I was previously running Fedora 41 on
2727
it, though I switched to Universal Blue's Aurora 41 because I wanted to try out an immutable distribution. Despite
@@ -33,7 +33,7 @@
3333
res: 1920x1080
3434
tag: alive
3535
image: /assets/img/pictures/Computers/t480.jpg
36-
doc: /assets/documents/thinkpad_t480.pdf
36+
doc: /assets/documents/ThinkPad_t480.pdf
3737

3838
- name: HP ProBook 6570b
3939
desc: I got this laptop back in 2018 from that aforementioned family member, and it served me well through school,
@@ -52,7 +52,7 @@
5252
- name: Apple Mac Mini 2,1 (Mid-2007)
5353
desc: I just got this computer (as of writing this) for $20 on FB Marketplace, and it's my first ever Mac. It is running
5454
Mac OS X 10.6.8 Snow Leopard and has been pretty fun to mess with. It doesn't run OSX slowly, but it certainly runs
55-
Debian 12 rather slowly. I also gotta say, I do like how the Mac Minis look.
55+
modern Linux rather slowly (At least with XFCE). I also gotta say, I do like how the Mac Minis look.
5656
cpu: Intel Core 2 Duo (T5600)
5757
gpu: GMA 950 Chipset
5858
ram: 2x512mb DDR2
@@ -86,7 +86,7 @@
8686
- name: XP/7 Machine
8787
desc: This was my old server, which at the time lacked a GPU. Currently, I use it for Windows XP and Windows 7 as the
8888
early 2010s hardware has good driver support for both. It's come in handy for CD ripping and burning.
89-
cpu: AMD A10 APU
89+
cpu: AMD A8 APU
9090
gpu: Nvidia GTX 660
9191
ram: 2x4gb DDR4
9292
res: 1920x1080
@@ -154,28 +154,28 @@
154154
image: /assets/img/pictures/Computers/surface.jpg
155155

156156
# Want
157-
- name: Lenovo Thinkpad X220
158-
desc:
159-
img:
157+
- name: Lenovo ThinkPad X220
160158
tag: want
159+
doc: /assets/documents/thinkpad_x220.pdf
161160

162-
- name: IBM Thinkpad X60
163-
desc:
164-
img:
161+
- name: IBM ThinkPad X60
165162
tag: want
163+
doc: /assets/documents/thinkpad_x60.pdf
166164

167-
- name: Lenovo Thinkpad T420s
168-
desc:
169-
img:
165+
- name: Lenovo ThinkPad T420s
170166
tag: want
167+
doc: /assets/documents/thinkpad_t420s.pdf
171168

172169
- name: Apple Power Mac 5,1 (G4 Cube)
173-
desc:
174-
img:
175170
tag: want
171+
doc: /assets/documents/power_mac_5,1.pdf
172+
# img: /assets/img/pictures/Computers/g4cube.jpg
173+
# desc: The quick brown fox jumps over the lazy dog.
176174

177175
- name: Apple Mac Pro 6,1 (Late 2013)
178-
desc:
179-
img:
180176
tag: want
177+
doc: /assets/documents/mac_pro_6,1.pdf
181178

179+
- name: Sony VAIO PCG-505E
180+
tag: want
181+
doc: /assets/documents/pcg-505E.pdf

_layouts/main-pc.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,15 @@
9292
{% endif %}
9393
<p><strong>{{ computer.name }}</strong></p>
9494
{% if computer.desc %}
95-
<p><strong>Description:</strong><br>{{ computer.desc }}</p>
95+
<p>{{ computer.desc }}</p>
9696
{% endif %}
97+
<section class="field-row" style="justify-content: flex-end;">
98+
{% if computer.doc %}
99+
<button onclick="window.location = '{{ computer.doc }}'">User Manual</button>
100+
{% else %}
101+
<button disabled>User Manual</button>
102+
{% endif %}
103+
</section>
97104
</fieldset>
98105
<br>
99106
{% endif %}

assets/documents/mac_pro_6,1.pdf

1.91 MB
Binary file not shown.

assets/documents/pcg-505E.pdf

1.52 MB
Binary file not shown.

assets/documents/power_mac_5,1.pdf

7.42 MB
Binary file not shown.
14.5 MB
Binary file not shown.

assets/documents/thinkpad_x220.pdf

5.13 MB
Binary file not shown.

assets/documents/thinkpad_x60.pdf

3.42 MB
Binary file not shown.

mypc.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
flex-wrap: wrap;
1010
width: 100%;
1111
}
12-
.flex-container > div {
13-
border: 1px solid rgba(0, 0, 0, 0.1);
12+
.flex-container > fieldset {
1413
margin: 5px;
1514
padding: 5px;
1615
min-width: 22%;
@@ -36,22 +35,24 @@
3635
<div class="flex-container">
3736
{% for computer in site.data.computers %}
3837
{% if computer.tag == "alive" %}
39-
<div>
38+
<fieldset>
39+
<legend>{{ computer.name }}</legend>
4040
{% if computer.image %}
4141
<img src="{{ computer.image }}" alt="{{ computer.name }}" style="width:100%">
4242
{% endif %}
43-
<p><strong>{{ computer.name }}</strong></p>
4443
<p>CPU: {{ computer.cpu }}</p>
4544
<p>GPU: {{ computer.gpu }}</p>
4645
<p>RAM: {{ computer.ram }}</p>
4746
<p>Resolution: {{ computer.res }}</p>
4847
<p><strong>Description:</strong><br>{{ computer.desc }}</p>
48+
<section class="field-row" style="justify-content: flex-end;">
4949
{% if computer.doc %}
5050
<button onclick="window.location = '{{ computer.doc }}'">User Manual</button>
5151
{% else %}
5252
<button disabled>User Manual</button>
5353
{% endif %}
54-
</div>
54+
</section>
55+
</fieldset>
5556
{% endif %}
5657
{% endfor %}
5758
</div>
@@ -76,22 +77,24 @@
7677
<div class="flex-container">
7778
{% for computer in site.data.computers %}
7879
{% if computer.tag == "dead" %}
79-
<div>
80+
<fieldset>
81+
<legend>{{ computer.name }}</legend>
8082
{% if computer.image %}
8183
<img src="{{ computer.image }}" alt="{{ computer.name }}" style="width:100%;">
8284
{% endif %}
83-
<p><strong>{{ computer.name }}</strong></p>
8485
<p>CPU: {{ computer.cpu }}</p>
8586
<p>GPU: {{ computer.gpu }}</p>
8687
<p>RAM: {{ computer.ram }}</p>
8788
<p>Resolution: {{ computer.res }}</p>
8889
<p><strong>Description:</strong><br>{{ computer.desc }}</p>
90+
<section class="field-row" style="justify-content: flex-end;">
8991
{% if computer.doc %}
9092
<button onclick="window.location = '{{ computer.doc }}'">User Manual</button>
9193
{% else %}
9294
<button disabled>User Manual</button>
9395
{% endif %}
94-
</div>
96+
</section>
97+
</fieldset>
9598
{% endif %}
9699
{% endfor %}
97100
</div>

0 commit comments

Comments
 (0)