mirror of
https://github.com/go-shiori/shiori.git
synced 2025-09-18 02:47:33 +08:00
Adding indexes in the web view (#88)
This commit is contained in:
parent
b1ae14e079
commit
dc108b5535
2 changed files with 14 additions and 1 deletions
|
@ -114,6 +114,7 @@
|
|||
<a class="bookmark-selector" v-if="editMode" @click="toggleSelection(idx)"></a>
|
||||
<a class="bookmark-link" :href="book.hasContent ? '/bookmark/'+book.id : null" :title="book.hasContent ? 'View cache' : null" target="_blank">
|
||||
<img v-if="book.imageURL !== ''" :src="book.imageURL">
|
||||
<p class="id">{{book.id}}</p>
|
||||
<p class="title">{{book.title}}</p>
|
||||
<p class="excerpt" v-if="book.imageURL === ''">{{book.excerpt}}</p>
|
||||
</a>
|
||||
|
@ -650,4 +651,4 @@
|
|||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -372,6 +372,18 @@ body {
|
|||
object-fit: cover;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.id {
|
||||
color: var(--color);
|
||||
border: 1px solid var(--border);
|
||||
background-color: var(--contentBg);
|
||||
font-size: 0.7em;
|
||||
font-weight: bold;
|
||||
left:-1px;
|
||||
top:-1px;
|
||||
position: absolute;
|
||||
padding: 0px 0.3em;
|
||||
opacity: 0.7;
|
||||
}
|
||||
.title {
|
||||
text-overflow: ellipsis;
|
||||
word-wrap: break-word;
|
||||
|
|
Loading…
Add table
Reference in a new issue