parent
5ebbae9469
commit
05c2149e47
@ -1,10 +1,20 @@
|
||||
<div class="chapterButton">
|
||||
<a hx-get="/chapter/<%=scanlator %>/<%=encodeURIComponent(chapter.link)%> /<%= title %>/<%= chapter.num %>" hx-trigger="click" hx-target="#container" hx-indicator=".progress">
|
||||
<h4 class="chapterNum">
|
||||
Chapter <%= chapter.num %>
|
||||
</h4>
|
||||
<h5 class="date">
|
||||
<%= chapter.date %>
|
||||
</h5>
|
||||
<a href="/chapter/<%=scanlator %>/<%=encodeURIComponent(chapter.link)%>/<%= title %>/<%= chapter.num %>" >
|
||||
<div class="buttonWrapper">
|
||||
<% if(chapter.Read){ %>
|
||||
<span class="material-symbols-outlined readMarker">
|
||||
beenhere
|
||||
</span>
|
||||
<% } %>
|
||||
<div>
|
||||
<h4 class="chapterNum">
|
||||
Chapter <%= chapter.num %>
|
||||
</h4>
|
||||
<h5 class="date">
|
||||
<%= chapter.date %>
|
||||
</h5>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-type" content="text/html;charset=UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<link rel="icon" type="image/ico" href="images/favicon.ico"/>
|
||||
<title>Manga Reader</title>
|
||||
<link rel="stylesheet" type="text/css" href="/css/home.css" id="pagesheet"/>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
|
||||
<script type="module" src="/js/home.js"></script>
|
||||
<script src="https://unpkg.com/htmx.org@1.9.10"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="progress" style="height: 3px; background-color: white;">
|
||||
<div class="indeterminate" style="background-color: red;"></div>
|
||||
</div>
|
||||
<div id="wrapper">
|
||||
<%- include('navBar.ejs', {data, selected:'none'}) %>
|
||||
<div class="container" id="container" >
|
||||
<%- include('display.ejs', {data}) %>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@ -0,0 +1,3 @@
|
||||
<data data-src="<%= data %>">
|
||||
|
||||
</data>
|
Loading…
Reference in new issue