mirror of https://github.com/Kylart/KawAnime.git
Slightly improved localPage UI
This commit is contained in:
parent
e077765395
commit
95b3bdabea
|
@ -41,7 +41,7 @@
|
|||
<inspection_tool class="HtmlUnknownTag" enabled="true" level="WARNING" enabled_by_default="true">
|
||||
<option name="myValues">
|
||||
<value>
|
||||
<list size="24">
|
||||
<list size="25">
|
||||
<item index="0" class="java.lang.String" itemvalue="nobr" />
|
||||
<item index="1" class="java.lang.String" itemvalue="noembed" />
|
||||
<item index="2" class="java.lang.String" itemvalue="comment" />
|
||||
|
@ -66,6 +66,7 @@
|
|||
<item index="21" class="java.lang.String" itemvalue="md-snackbar" />
|
||||
<item index="22" class="java.lang.String" itemvalue="downloader" />
|
||||
<item index="23" class="java.lang.String" itemvalue="local-pic-synopsis-container" />
|
||||
<item index="24" class="java.lang.String" itemvalue="local-page" />
|
||||
</list>
|
||||
</value>
|
||||
</option>
|
||||
|
|
|
@ -64,7 +64,7 @@ exports.searchAnime = (filename, object) => {
|
|||
|
||||
mal.fromName(filename).then((anime) => {
|
||||
result.picture = anime.image
|
||||
result.synopsis = anime.synopsis.slice(0, 200) + '...'
|
||||
result.synopsis = anime.synopsis.slice(0, 170) + '...'
|
||||
result.numberOfEpisodes = anime.episodes.replace('Unknown', 'NC')
|
||||
result.status = anime.status
|
||||
result.year = anime.aired.split(' ')[2]
|
||||
|
|
|
@ -14,7 +14,7 @@ const html = `
|
|||
<template v-for="file in files">
|
||||
<div class="mdl-cell mdl-cell--6-col local-elem" v-bind:style="elemStyle">
|
||||
<div class="mdl-grid local-info">
|
||||
<div class="mdl-cell mdl-cell--7-col">
|
||||
<div class="mdl-cell mdl-cell--6-col">
|
||||
<div class="local-title text-ellipsis">
|
||||
<h6 class="title-text" v-bind:title="file.title">{{ file.title }}</h6>
|
||||
</div>
|
||||
|
@ -26,7 +26,7 @@ const html = `
|
|||
</h6>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mdl-cell mdl-cell--3-col">
|
||||
<div class="mdl-cell mdl-cell--4-col">
|
||||
<div class="local-page-buttons">
|
||||
<md-button class="md-icon-button play-button"
|
||||
@click.native="openFile(file.filename)"
|
||||
|
@ -58,7 +58,7 @@ const html = `
|
|||
</div>
|
||||
<div class="local-year-container">
|
||||
<div class="local-year">
|
||||
<div class="local-status">
|
||||
<div class="local-status text-ellipsis">
|
||||
{{ file.status }}
|
||||
</div>
|
||||
<div class="local-year-text">
|
||||
|
|
Loading…
Reference in New Issue