fix indent
This commit is contained in:
parent
d6c12b9311
commit
d553e71b50
|
@ -53,8 +53,8 @@ li.post:hover > span.item-mime {
|
||||||
}
|
}
|
||||||
|
|
||||||
a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-item.is-active, .navbar-link:focus, .navbar-link:focus-within, .navbar-link:hover, .navbar-link.is-active {
|
a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-item.is-active, .navbar-link:focus, .navbar-link:focus-within, .navbar-link:hover, .navbar-link.is-active {
|
||||||
background-color: #000000;
|
background-color: #000;
|
||||||
color: #ffffff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
a#next, a#prev {
|
a#next, a#prev {
|
||||||
|
@ -64,7 +64,7 @@ a#next, a#prev {
|
||||||
bottom: 932px;
|
bottom: 932px;
|
||||||
margin: unset;
|
margin: unset;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
color: #99ff00;
|
color: #9f0;
|
||||||
padding: 140px 40px 140px 40px;
|
padding: 140px 40px 140px 40px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
align-content: inherit;
|
align-content: inherit;
|
||||||
|
@ -322,7 +322,7 @@ a#prev {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.arrow-next {
|
.arrow-next {
|
||||||
|
@ -363,11 +363,7 @@ a#prev {
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
zoom: 1; *display: inline;
|
zoom: 1; *display: inline;
|
||||||
*vertical-align: auto;
|
*vertical-align: auto;
|
||||||
background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
|
|
||||||
background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
|
|
||||||
background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
|
|
||||||
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
|
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
|
||||||
-webkit-box-shadow: 0 1px rgba(255, 255, 255, 0.05);
|
|
||||||
box-shadow: 0 1px rgba(255, 255, 255, 0.05);
|
box-shadow: 0 1px rgba(255, 255, 255, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -396,15 +392,8 @@ a#prev {
|
||||||
text-shadow: 0 1px black;
|
text-shadow: 0 1px black;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
border-color: rgba(0, 0, 0, 0.9);
|
border-color: rgba(0, 0, 0, 0.9);
|
||||||
background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
|
|
||||||
background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
|
|
||||||
background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
|
|
||||||
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
|
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
|
||||||
-webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 1px rgba(255, 255, 255, 0.04), inset 0 -1px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1);
|
|
||||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 1px rgba(255, 255, 255, 0.04), inset 0 -1px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1);
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 1px rgba(255, 255, 255, 0.04), inset 0 -1px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1);
|
||||||
-webkit-transition: 0.1s ease-out;
|
|
||||||
-moz-transition: 0.1s ease-out;
|
|
||||||
-o-transition: 0.1s ease-out;
|
|
||||||
transition: 0.1s ease-out;
|
transition: 0.1s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -419,7 +408,6 @@ a#prev {
|
||||||
background: #1c1c1c;
|
background: #1c1c1c;
|
||||||
background: rgba(255, 255, 255, 0.01);
|
background: rgba(255, 255, 255, 0.01);
|
||||||
border-color: black rgba(0, 0, 0, 0.65) rgba(0, 0, 0, 0.6);
|
border-color: black rgba(0, 0, 0, 0.65) rgba(0, 0, 0, 0.6);
|
||||||
-webkit-box-shadow: inset 0 1px rgba(0, 0, 0, 0.05), inset 0 2px 2px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.06);
|
|
||||||
box-shadow: inset 0 1px rgba(0, 0, 0, 0.05), inset 0 2px 2px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.06);
|
box-shadow: inset 0 1px rgba(0, 0, 0, 0.05), inset 0 2px 2px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.06);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -446,20 +434,20 @@ span#f0ck {
|
||||||
/* nav overhaul */
|
/* nav overhaul */
|
||||||
.nav-item {
|
.nav-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
padding-top: 0
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-nav.mr-auto {
|
.navbar-nav.mr-auto {
|
||||||
flex-flow: row;
|
flex-flow: row;
|
||||||
justify-content: space-between
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar.navbar-expand-lg {
|
.navbar.navbar-expand-lg {
|
||||||
background: #242424
|
background: #242424;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation-links {
|
.navigation-links {
|
||||||
|
@ -469,7 +457,6 @@ span#f0ck {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
border: 1px solid #000;
|
border: 1px solid #000;
|
||||||
background-image: linear-gradient(to bottom,rgba(0,0,0,.12),rgba(0,0,0,0));
|
background-image: linear-gradient(to bottom,rgba(0,0,0,.12),rgba(0,0,0,0));
|
||||||
-webkit-box-shadow: 0 1px rgba(255,255,255,.05);
|
|
||||||
box-shadow: 0 1px rgba(255,255,255,.05);
|
box-shadow: 0 1px rgba(255,255,255,.05);
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
border-top-color: currentcolor;
|
border-top-color: currentcolor;
|
||||||
|
@ -482,7 +469,7 @@ span#f0ck {
|
||||||
border-left-color: currentcolor;
|
border-left-color: currentcolor;
|
||||||
border-color: #070809 #0d0e0f #131517;
|
border-color: #070809 #0d0e0f #131517;
|
||||||
border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
|
border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
|
||||||
border-radius: 3px
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
|
@ -490,47 +477,44 @@ span#f0ck {
|
||||||
display: flex;
|
display: flex;
|
||||||
border: 1px solid #000;
|
border: 1px solid #000;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
transition: .1s ease-out
|
transition: .1s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
min-width: 17px;
|
min-width: 17px;
|
||||||
line-height: 27px;
|
line-height: 27px;
|
||||||
background-image: -webkit-linear-gradient(top,rgba(255,255,255,.04),rgba(255,255,255,0));
|
|
||||||
background-image: -moz-linear-gradient(top,rgba(255,255,255,.04),rgba(255,255,255,0));
|
|
||||||
background-image: -o-linear-gradient(top,rgba(255,255,255,.04),rgba(255,255,255,0));
|
|
||||||
background-image: linear-gradient(to bottom,rgba(255,255,255,.04),rgba(255,255,255,0));
|
background-image: linear-gradient(to bottom,rgba(255,255,255,.04),rgba(255,255,255,0));
|
||||||
-webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1)
|
box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-item:hover>a:hover {
|
.nav-item:hover>a:hover {
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
background-color: rgba(255,255,255,.05)
|
background-color: rgba(255,255,255,.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-nav {
|
.navbar-nav {
|
||||||
padding: 5px
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-item {
|
.nav-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navbarSupportedContent {
|
#navbarSupportedContent {
|
||||||
padding: 5px
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination-container-fluid {
|
.pagination-container-fluid {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-left: 15px
|
margin-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-expand-lg .navbar-nav .nav-link {
|
.navbar-expand-lg .navbar-nav .nav-link {
|
||||||
padding-right: .5rem;
|
padding-right: .5rem;
|
||||||
padding-left: .5rem;
|
padding-left: .5rem;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
margin-left: 5px
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination {
|
.pagination {
|
||||||
|
@ -542,12 +526,9 @@ span#f0ck {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
zoom:1;background-image: -webkit-linear-gradient(top,rgba(0,0,0,.12),rgba(0,0,0,0));
|
zoom: 1;
|
||||||
background-image: -moz-linear-gradient(top,rgba(0,0,0,.12),rgba(0,0,0,0));
|
|
||||||
background-image: -o-linear-gradient(top,rgba(0,0,0,.12),rgba(0,0,0,0));
|
|
||||||
background-image: linear-gradient(to bottom,rgba(0,0,0,.12),rgba(0,0,0,0));
|
background-image: linear-gradient(to bottom,rgba(0,0,0,.12),rgba(0,0,0,0));
|
||||||
-webkit-box-shadow: 0 1px rgba(255,255,255,.05);
|
box-shadow: 0 1px rgba(255,255,255,.05);
|
||||||
box-shadow: 0 1px rgba(255,255,255,.05)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination>a,.pagination>span {
|
.pagination>a,.pagination>span {
|
||||||
|
@ -563,11 +544,15 @@ span#f0ck {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border: 1px solid #000;
|
border: 1px solid #000;
|
||||||
border-radius: 3px
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination > span {
|
||||||
|
border: 1px solid #68da20 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination :first-child {
|
.pagination :first-child {
|
||||||
margin-left: 0
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination>a {
|
.pagination>a {
|
||||||
|
@ -575,21 +560,14 @@ span#f0ck {
|
||||||
text-shadow: 0 1px #000;
|
text-shadow: 0 1px #000;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
border-color: rgba(0,0,0,.9);
|
border-color: rgba(0,0,0,.9);
|
||||||
background-image: -webkit-linear-gradient(top,rgba(255,255,255,.04),rgba(255,255,255,0));
|
background-image: linear-gradient(top,rgba(255,255,255,.04),rgba(255,255,255,0));
|
||||||
background-image: -moz-linear-gradient(top,rgba(255,255,255,.04),rgba(255,255,255,0));
|
|
||||||
background-image: -o-linear-gradient(top,rgba(255,255,255,.04),rgba(255,255,255,0));
|
|
||||||
background-image: linear-gradient(to bottom,rgba(255,255,255,.04),rgba(255,255,255,0));
|
|
||||||
-webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);
|
|
||||||
box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);
|
box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);
|
||||||
-webkit-transition: .1s ease-out;
|
transition: .1s ease-out;
|
||||||
-moz-transition: .1s ease-out;
|
|
||||||
-o-transition: .1s ease-out;
|
|
||||||
transition: .1s ease-out
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination>a:hover {
|
.pagination>a:hover {
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
background-color: rgba(255,255,255,.05)
|
background-color: rgba(255,255,255,.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination>a:active,.pagination>span {
|
.pagination>a:active,.pagination>span {
|
||||||
|
@ -598,83 +576,82 @@ span#f0ck {
|
||||||
background: #1c1c1c;
|
background: #1c1c1c;
|
||||||
background: rgba(255,255,255,.01);
|
background: rgba(255,255,255,.01);
|
||||||
border-color: #000 rgba(0,0,0,.65) rgba(0,0,0,.6);
|
border-color: #000 rgba(0,0,0,.65) rgba(0,0,0,.6);
|
||||||
-webkit-box-shadow: inset 0 1px rgba(0,0,0,.05),inset 0 2px 2px rgba(0,0,0,.3),0 1px rgba(255,255,255,.06);
|
box-shadow: inset 0 1px rgba(0,0,0,.05),inset 0 2px 2px rgba(0,0,0,.3),0 1px rgba(255,255,255,.06);
|
||||||
box-shadow: inset 0 1px rgba(0,0,0,.05),inset 0 2px 2px rgba(0,0,0,.3),0 1px rgba(255,255,255,.06)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination .next,.pagination .prev {
|
.pagination .next,.pagination .prev {
|
||||||
font-family: Noteworthy,Arial,sans-serif;
|
font-family: Noteworthy,Arial,sans-serif;
|
||||||
font-size: 14px
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-nav {
|
.navbar-nav {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 5px
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-link-identifier {
|
.nav-link-identifier {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
ul#posts {
|
ul#posts {
|
||||||
grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
|
grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-top: 5px
|
padding-top: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 422px) {
|
@media (max-width: 422px) {
|
||||||
ul#posts {
|
ul#posts {
|
||||||
grid-column-gap: 0;
|
grid-column-gap: 0;
|
||||||
grid-row-gap: 5px
|
grid-row-gap: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-fluid,.container-lg,.container-md,.container-sm,.container-xl {
|
.container-fluid,.container-lg,.container-md,.container-sm,.container-xl {
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
padding-left: 5px
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 410px) {
|
@media (max-width: 410px) {
|
||||||
ul#posts {
|
ul#posts {
|
||||||
grid-column-gap: 15px;
|
grid-column-gap: 15px;
|
||||||
grid-row-gap: 10px
|
grid-row-gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-fluid,.container-lg,.container-md,.container-sm,.container-xl {
|
.container-fluid,.container-lg,.container-md,.container-sm,.container-xl {
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
padding-left: 15px
|
padding-left: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 991px) {
|
@media (max-width: 991px) {
|
||||||
.navbar-nav {
|
.navbar-nav {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-expand-lg .navbar-nav .nav-link {
|
.navbar-expand-lg .navbar-nav .nav-link {
|
||||||
margin: 0
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination-container-fluid {
|
.pagination-container-fluid {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
margin-bottom: 0
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
padding: .5rem 1rem 0
|
padding: .5rem 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation-links {
|
.navigation-links {
|
||||||
border-color: transparent transparent transparent
|
border-color: transparent transparent transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination-container-fluid {
|
.pagination-container-fluid {
|
||||||
margin-left: 0
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,6 +31,7 @@ router.get(/\/(p\/\d+)?$/, async (req, res) => {
|
||||||
const data = {
|
const data = {
|
||||||
items: query,
|
items: query,
|
||||||
pagination: {
|
pagination: {
|
||||||
|
start: 1,
|
||||||
end: pages,
|
end: pages,
|
||||||
prev: (page > 1) ? page - 1 : null,
|
prev: (page > 1) ? page - 1 : null,
|
||||||
next: (page < pages) ? page + 1 : null,
|
next: (page < pages) ? page + 1 : null,
|
||||||
|
@ -80,6 +81,7 @@ router.get(/^\/([0-9]+)$/, async (req, res) => {
|
||||||
prev: query.prev ? query.prev : null,
|
prev: query.prev ? query.prev : null,
|
||||||
title: `${query.id} - f0ck.me`,
|
title: `${query.id} - f0ck.me`,
|
||||||
pagination: {
|
pagination: {
|
||||||
|
start: qmax,
|
||||||
end: 1,
|
end: 1,
|
||||||
prev: query.id + 1,
|
prev: query.id + 1,
|
||||||
next: Math.max(query.id - 1, 1),
|
next: Math.max(query.id - 1, 1),
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{include main/header}}
|
{{include main/header}}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="contact">
|
<div class="contact">
|
||||||
<p>Got a problem? We have the answer: <a href="mailto:admin@f0ck.space">admin@f0ck.space</a></p>
|
<p>Got a problem? We have the answer: <a href="mailto:admin@f0ck.me">admin@f0ck.me</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{include main/footer}}
|
{{include main/footer}}
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
{{if typeof pagination !== "undefined"}}
|
{{if typeof pagination !== "undefined"}}
|
||||||
<nav class="pagination">
|
<nav class="pagination">
|
||||||
<a href="{{=pagination.link}}1" class="start{{if !pagination.prev}} disabled{{/if}}">«</a>
|
<a href="{{=pagination.link}}{{=pagination.start}}" class="btn start{{if !pagination.prev}} disabled{{/if}}">⮜⮜</a>
|
||||||
<a href="{{=pagination.link}}{{=pagination.prev}}" class="prev{{if !pagination.prev}} disabled{{/if}}">‹</a>
|
<a href="{{=pagination.link}}{{=pagination.prev}}" class="btn prev{{if !pagination.prev}} disabled{{/if}}">⮜</a>
|
||||||
{{each pagination.cheat as i}}
|
{{each pagination.cheat as i}}
|
||||||
{{if i == pagination.page}}
|
{{if i == pagination.page}}
|
||||||
<span>{{=i}}</span>
|
<span class="btn disabled">{{=i}}</span>
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href="{{=pagination.link}}{{=i}}">{{=i}}</a>
|
<a href="{{=pagination.link}}{{=i}}" class="btn">{{=i}}</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
<a href="{{=pagination.link}}{{=pagination.next}}" class="next{{if !pagination.next}} disabled{{/if}}">›</a>
|
<a href="{{=pagination.link}}{{=pagination.next}}" class="btn next{{if !pagination.next}} disabled{{/if}}">⯈</a>
|
||||||
<a href="{{=pagination.link}}{{=pagination.end}}" class="start{{if !pagination.next}} disabled{{/if}}">»</a>
|
<a href="{{=pagination.link}}{{=pagination.end}}" class="btn start{{if !pagination.next}} disabled{{/if}}">⯈⯈</a>
|
||||||
</nav>
|
</nav>
|
||||||
{{/if}}
|
{{/if}}
|
|
@ -1,16 +0,0 @@
|
||||||
{{include main/header}}
|
|
||||||
<div class="container-fluid">
|
|
||||||
{{include partials/pagination}}
|
|
||||||
<ul id="posts">
|
|
||||||
{{each items as item}}
|
|
||||||
<li class="post">
|
|
||||||
<a href="/{{=item.id}}" title="{{=item.mime}}">
|
|
||||||
<img class="thumb" src="/t/{{=item.id}}.png" />
|
|
||||||
<span class="item-mime">{{=item.mime}}</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{{/each}}
|
|
||||||
</ul>
|
|
||||||
{{include partials/pagination}}
|
|
||||||
</div>
|
|
||||||
{{include main/footer}}
|
|
Loading…
Reference in New Issue
Block a user