1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-09-15 01:22:22 +02:00

9 Commits
2.4.0 ... 2.5.0

Author SHA1 Message Date
oupala
e95b162076 chore: bump version from 2.5.0-dev to 2.5.0 2024-09-15 10:58:55 +02:00
oupala
15ca45755a Merge pull request #155 from NovA-80/patches
Improve UI & UX
2024-09-14 20:20:52 +02:00
Andrey Novikov
9ed650a4ef fix: update the required Apache version in README
Module autoindex in Apache-2.2 generates table not specifying any CSS classes (they were appeared in Apache-2.4), but Apaxy CSS selectors requires those.
2024-09-14 20:18:32 +02:00
Andrey V. Novikov
b7d7d2aeb8 fix: remove useless code for fixing hrefs
That fix seems to be needed to bypass an Apache bug and now became useless.
2024-09-14 20:18:32 +02:00
Andrey V. Novikov
b76dc3be4a feat: HEIC files and uppercase filenames for LightGallery 2024-09-14 20:17:20 +02:00
Andrey V. Novikov
95ad6b92be fix: rendering on small (mobile) screens
- Allow wrapping of long breadcrumbs line that leads to horizontal scrolling and breaks lightGallery zooming
- Maximize filenames column width and shrink icons column
2024-09-14 20:16:35 +02:00
oupala
a72173b84a Merge pull request #153 from Filip98/patch-1
Fix: Fixed typo in header
2023-01-11 14:39:45 +01:00
Filip
cd741bcfc6 fix: Fixed typo in header 2023-01-11 10:02:26 +01:00
oupala
98ebe81fbd chore: bump version from 2.4.0 to 2.5.0-dev 2022-05-05 00:51:48 +02:00
7 changed files with 32 additions and 20 deletions

View File

@@ -1,3 +1,20 @@
# [2.5.0](https://github.com/oupala/apaxy/compare/2.4.0...2.5.0) (2024-09-15)
### Bug Fixes
* Fixed typo in header ([cd741bc](https://github.com/oupala/apaxy/commit/cd741bcfc625b6120ff34c4d0b0147846aefb5d6))
* remove useless code for fixing hrefs ([b7d7d2a](https://github.com/oupala/apaxy/commit/b7d7d2aeb861e2b553546d089271d80b32b8e9c3))
* rendering on small (mobile) screens ([95ad6b9](https://github.com/oupala/apaxy/commit/95ad6b92be4eaa7b18394390bcc0a121d1342a88))
* update the required Apache version in README ([9ed650a](https://github.com/oupala/apaxy/commit/9ed650a4effc47c1696530f2f4baed130340aa86))
### Features
* HEIC files and uppercase filenames for LightGallery ([b76dc3b](https://github.com/oupala/apaxy/commit/b76dc3be4aa596e6313c063d15124eb65fcdedaf))
# [2.4.0](https://github.com/oupala/apaxy/compare/2.3.0...2.4.0) (2022-05-04)

View File

@@ -27,7 +27,7 @@ Apaxy may be basic, but it gives you a great deal of creative freedom when styli
## Installation
apaxy requires an apache (2.2.11+) http server. The configuration of the apache http server have to set an `AllowOverride` statement for the Apaxy styled folder:
apaxy requires an apache (2.4+) http server. The configuration of the apache http server have to set an `AllowOverride` statement for the Apaxy styled folder:
```apache
AllowOverride Options Indexes FileInfo

View File

@@ -1,7 +1,12 @@
var imageSelector = [
'tr:not(.parent) td.indexcolname a[href$=".png"]',
'tr:not(.parent) td.indexcolname a[href$=".gif"]'
'tr:not(.parent) td.indexcolname a[href$=".GIF"]'
'tr:not(.parent) td.indexcolname a[href$=".heic"]',
'tr:not(.parent) td.indexcolname a[href$=".HEIC"]',
'tr:not(.parent) td.indexcolname a[href$=".jpg"]',
'tr:not(.parent) td.indexcolname a[href$=".gif"]',
'tr:not(.parent) td.indexcolname a[href$=".JPG"]',
'tr:not(.parent) td.indexcolname a[href$=".png"]',
'tr:not(.parent) td.indexcolname a[href$=".PNG"]',
].join(', ');
lightGallery(document.getElementById('indexlist'), {

View File

@@ -99,11 +99,3 @@ arr.forEach(function(value){
cont++;
});
document.getElementById("breadcrumb").innerHTML = bread;
if (uri.substring(uri.length-1) != '/'){
var indexes = document.getElementsByClassName('indexcolname'),
i = indexes.length;
while (i--){
var a = indexes[i].getElementsByTagName('a')[0];
a.href = uri + '/' + a.getAttribute('href',2);
}
}

View File

@@ -4,6 +4,6 @@
<ol class="breadcrumb" id="breadcrumb">
</ol>
<input type="search" id="filter" placeholder="filter contents" />
<input type="search" id="filter" placeholder="filter content" />
{HEADER-MESSAGE}

View File

@@ -164,7 +164,6 @@ th {
}
/* 2nd Column: Filename */
th + th {
width: 65%;
}
@@ -178,11 +177,7 @@ th + th + th + th {
width: 5%;
}
tr th:first-of-type {
padding-left: 10px;
padding-right: 10px;
}
tr th:first-of-type,
tr td:first-of-type {
padding-left: 10px;
padding-right: 10px;
@@ -234,6 +229,9 @@ tr.parent a[href^="/"] {
body {
padding: 10px;
}
/* 2nd Column: Filename */
.indexcolname { width: 95%; }
/* 3rd Column: Last Modified */
.indexcollastmod { display: none; }
.wrapper { max-width: 100%; }
}
@@ -320,7 +318,6 @@ tr.parent a[href^="/"] {
\*------------------------------------*/
.breadcrumb {
white-space: nowrap;
padding: 0;
margin: 0;
}
@@ -332,6 +329,7 @@ tr.parent a[href^="/"] {
margin: 0 9px 20px -10px;
padding: 0 15px;
position: relative;
white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
.breadcrumb li {

View File

@@ -1,6 +1,6 @@
{
"name": "apaxy",
"version": "2.4.0",
"version": "2.5.0",
"description": "A simple, customisable theme for your Apache directory listing.",
"main": "index.js",
"scripts": {