mirror of
https://github.com/oupala/apaxy.git
synced 2025-09-15 01:22:22 +02:00
Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
e95b162076 | ||
|
15ca45755a | ||
|
9ed650a4ef | ||
|
b7d7d2aeb8 | ||
|
b76dc3be4a | ||
|
95ad6b92be | ||
|
a72173b84a | ||
|
cd741bcfc6 | ||
|
98ebe81fbd |
17
CHANGELOG.md
17
CHANGELOG.md
@@ -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)
|
||||
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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'), {
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
@@ -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}
|
||||
|
@@ -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 {
|
||||
|
@@ -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": {
|
||||
|
Reference in New Issue
Block a user