mirror of
https://github.com/oupala/apaxy.git
synced 2025-09-26 11:58:59 +02:00
Compare commits
13 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
e13e349d29 | ||
|
5ca6e94cb1 | ||
|
518adb3f02 | ||
|
dd110377e6 | ||
|
e95b162076 | ||
|
15ca45755a | ||
|
9ed650a4ef | ||
|
b7d7d2aeb8 | ||
|
b76dc3be4a | ||
|
95ad6b92be | ||
|
a72173b84a | ||
|
cd741bcfc6 | ||
|
98ebe81fbd |
26
CHANGELOG.md
26
CHANGELOG.md
@@ -1,3 +1,29 @@
|
|||||||
|
## [2.5.1](https://github.com/oupala/apaxy/compare/2.5.0...2.5.1) (2024-10-09)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* lightgallery feature ([c7a1221](https://github.com/oupala/apaxy/commit/c7a1221bc7d92f6611a2d80255b3634e7f42d945)), closes [#160](https://github.com/oupala/apaxy/issues/160)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [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)
|
# [2.4.0](https://github.com/oupala/apaxy/compare/2.3.0...2.4.0) (2022-05-04)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@ Apaxy may be basic, but it gives you a great deal of creative freedom when styli
|
|||||||
|
|
||||||
## Installation
|
## 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
|
```apache
|
||||||
AllowOverride Options Indexes FileInfo
|
AllowOverride Options Indexes FileInfo
|
||||||
|
@@ -1,7 +1,12 @@
|
|||||||
var imageSelector = [
|
var imageSelector = [
|
||||||
'tr:not(.parent) td.indexcolname a[href$=".png"]',
|
|
||||||
'tr:not(.parent) td.indexcolname a[href$=".jpg"]',
|
|
||||||
'tr:not(.parent) td.indexcolname a[href$=".gif"]',
|
'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$=".JPG"]',
|
||||||
|
'tr:not(.parent) td.indexcolname a[href$=".png"]',
|
||||||
|
'tr:not(.parent) td.indexcolname a[href$=".PNG"]',
|
||||||
].join(', ');
|
].join(', ');
|
||||||
|
|
||||||
lightGallery(document.getElementById('indexlist'), {
|
lightGallery(document.getElementById('indexlist'), {
|
||||||
|
@@ -99,11 +99,3 @@ arr.forEach(function(value){
|
|||||||
cont++;
|
cont++;
|
||||||
});
|
});
|
||||||
document.getElementById("breadcrumb").innerHTML = bread;
|
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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
@@ -4,6 +4,6 @@
|
|||||||
<ol class="breadcrumb" id="breadcrumb">
|
<ol class="breadcrumb" id="breadcrumb">
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<input type="search" id="filter" placeholder="filter contents" />
|
<input type="search" id="filter" placeholder="filter content" />
|
||||||
|
|
||||||
{HEADER-MESSAGE}
|
{HEADER-MESSAGE}
|
||||||
|
@@ -164,7 +164,6 @@ th {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* 2nd Column: Filename */
|
/* 2nd Column: Filename */
|
||||||
|
|
||||||
th + th {
|
th + th {
|
||||||
width: 65%;
|
width: 65%;
|
||||||
}
|
}
|
||||||
@@ -178,11 +177,7 @@ th + th + th + th {
|
|||||||
width: 5%;
|
width: 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr th:first-of-type {
|
tr th:first-of-type,
|
||||||
padding-left: 10px;
|
|
||||||
padding-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr td:first-of-type {
|
tr td:first-of-type {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
@@ -234,6 +229,9 @@ tr.parent a[href^="/"] {
|
|||||||
body {
|
body {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
/* 2nd Column: Filename */
|
||||||
|
.indexcolname { width: 95%; }
|
||||||
|
/* 3rd Column: Last Modified */
|
||||||
.indexcollastmod { display: none; }
|
.indexcollastmod { display: none; }
|
||||||
.wrapper { max-width: 100%; }
|
.wrapper { max-width: 100%; }
|
||||||
}
|
}
|
||||||
@@ -320,7 +318,6 @@ tr.parent a[href^="/"] {
|
|||||||
\*------------------------------------*/
|
\*------------------------------------*/
|
||||||
|
|
||||||
.breadcrumb {
|
.breadcrumb {
|
||||||
white-space: nowrap;
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
@@ -332,6 +329,7 @@ tr.parent a[href^="/"] {
|
|||||||
margin: 0 9px 20px -10px;
|
margin: 0 9px 20px -10px;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
.breadcrumb li {
|
.breadcrumb li {
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "apaxy",
|
"name": "apaxy",
|
||||||
"version": "2.4.0",
|
"version": "2.5.1",
|
||||||
"description": "A simple, customisable theme for your Apache directory listing.",
|
"description": "A simple, customisable theme for your Apache directory listing.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Reference in New Issue
Block a user