You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.5 KiB
46 lines
1.5 KiB
<div class="infoCard">
|
|
<div class="avatar">
|
|
<img src="<%=data.img%> " alt="<%= data.title %> Cover Image">
|
|
<% if(!data.fullyRead){%>
|
|
<span
|
|
class="material-symbols-outlined markAsRead markAll"
|
|
>
|
|
new_label
|
|
</span>
|
|
<%} else { %>
|
|
<span
|
|
class="material-symbols-outlined readMarker markAll readMarkerComplete fill"
|
|
>
|
|
beenhere
|
|
</span>
|
|
<%} %>
|
|
<span class="material-symbols-outlined dl <%= data.isDownloaded ? 'fill' : '' %>">
|
|
download
|
|
</span>
|
|
</div>
|
|
<div class="infoText">
|
|
<a href="<%=data.link%>" target="_blank"></a>
|
|
<% if(data.Status=='Ongoing'){%>
|
|
<h2 class="title">🟢<%=data.title %> </h2>
|
|
<% }else{ %>
|
|
<h2 class="title">🔴<%=data.title %> </h2>
|
|
<% } %>
|
|
</a>
|
|
<p class="description"> <%= data.description %> </p>
|
|
<div class="tags">
|
|
<% data.tags.forEach(tag=>{ %>
|
|
<div class="tag">
|
|
<%=tag %>
|
|
</div>
|
|
<% }) %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<br>
|
|
<%- include('chapterShortcutButtonRow.ejs', {...data}) %>
|
|
<div class="list" id="List">
|
|
<% data.List.forEach(chapter=>{%>
|
|
<%- include('chapterButton.ejs', {chapter, scanlator:data.scanlator, title:data.title, _id:chapter._id, shortCut:false}) %>
|
|
<% }) %>
|
|
</div>
|