mirror of
https://github.com/oupala/apaxy.git
synced 2025-08-11 12:34:19 +02:00
@@ -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$=".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$=".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(', ');
|
].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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user