structables/templates/member-instructables.html
Kumi 232a1504fb
Update .gitignore and enhance project structure
- Add 'privacy.txt' to .gitignore to prevent checking it in
- Refactor data storage from arrays to dictionaries for better data handling in 'main.py'
- Include 'pathlib' import for handling filesystem paths
- Introduce new CSS and Bootstrap files providing updated styles and responsive design elements
- Modify HTML templates to use updated data structures and enhance accessibility

These changes improve code readability, maintain project consistency, and enhance the front-end presentation. This work is part of ongoing efforts to better manage project data, secure sensitive information, and provide a more robust user interface.
2024-01-17 16:43:51 +01:00

32 lines
No EOL
1 KiB
HTML

{% extends "base.html" %}
{% block content %}
<center>
<img width=150px height=150px style="display:inline-block;" src="{{ header_content.avatar }}" alt="{{ header_content.title }}">
<h1>{{ header_content.title }}</h1>
<span>{{ header_content.location }}&nbsp;&nbsp;</span>
<span>{{ header_content.signup }}</span>
<br>
<span>{{ header_content.instructables }} Instructables&nbsp;&nbsp;</span>
<span>{{ header_content.views }} Views&nbsp;&nbsp;</span>
<span>{{ header_content.comments }} Comments&nbsp;&nbsp;</span>
<span>{{ header_content.followers }} Followers</span>
<br>
<p>{{ header_content.bio }}</p>
<hr>
<h2>Instructables</h2>
<div style="max-width:90%;">
{% for ible in ibles %}
<div class="ible-list-item">
<a href="{{ ible.link }}" style="color:#bbc2cf;">
<img style="max-width:350px;" src="{{ ible.img }}" alt="{{ ible.title }}">
<p>{{ ible.title }}</p>
<p>{{ ible.views }} Views, {{ ible.favorites }} Favorites</p>
</a>
</div>
{% endfor %}
</div>
</center>
{% endblock %}