mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 11:09:26 +00:00
renamed script and added attribution
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# generate_html.py
|
# Static Gallery Website Builder (SGWB)
|
||||||
|
|
||||||
`generate_html.py` is a Python script designed to generate static HTML files for hosting images on a web server. It traverses a specified root directory, creates thumbnail previews for images, and generates corresponding HTML files to display the images and subfolders in a user-friendly format.
|
`static_gallery_website_builder.py` is a Python script designed to generate static HTML files for hosting images on a web server. It traverses a specified root directory, creates thumbnail previews for images, and generates corresponding HTML files to display the images and subfolders in a user-friendly format.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
|||||||
@@ -130,11 +130,20 @@ figure {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.attribution {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
font-size: xx-small;
|
||||||
|
padding: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
.license {
|
.license {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 12px;
|
padding: 6px;
|
||||||
|
min-height: calc(6.75pt + 12px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
|
|||||||
5
requirements.txt
Normal file
5
requirements.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Jinja2==3.1.4
|
||||||
|
numpy==2.0.0
|
||||||
|
pillow==10.4.0
|
||||||
|
rich-argparse==1.5.2
|
||||||
|
tqdm==4.66.4
|
||||||
@@ -70,8 +70,15 @@
|
|||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</a>
|
</a>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
<span class="attribution">Made with <a href="https://github.com/greflm13/simple-picture-server" target="_blank">Static Gallery Website Builder</a></a> by <a href="https://github.com/greflm13"
|
||||||
|
target="_blank">Flo Greistorfer</a>.</span>
|
||||||
</div>
|
</div>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
{%- else %}
|
||||||
|
<div class="license">
|
||||||
|
<span class="attribution">Made with <a href="https://github.com/greflm13/simple-picture-server" target="_blank">Static Gallery Website Builder</a></a> by <a href="https://github.com/greflm13"
|
||||||
|
target="_blank">Flo Greistorfer</a>.</span>
|
||||||
|
</div>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user