Skip to content

Commit

Permalink
Merge pull request #40 from HanaDigital/Version-1.0.0
Browse files Browse the repository at this point in the history
Version 1.0.6
  • Loading branch information
dr-nyt authored Jul 12, 2020
2 parents c7d1c05 + 039b8d7 commit 84db8ee
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 18 deletions.
Binary file modified logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "novelscraper",
"version": "1.0.5",
"version": "1.0.6",
"description": "Educational app on how to web scrape novels from pirate sites.",
"homepage": "https://github.com/dr-nyt/NovelScraper",
"author": {
Expand Down Expand Up @@ -41,7 +41,7 @@
},
"devDependencies": {
"@angular-builders/custom-webpack": "8.4.1",
"@angular-devkit/build-angular": "0.900.3",
"@angular-devkit/build-angular": "0.901.10",
"@angular-eslint/builder": "0.0.1-alpha.18",
"@angular/cli": "9.0.3",
"@angular/common": "9.0.2",
Expand All @@ -66,7 +66,7 @@
"conventional-changelog-cli": "2.0.34",
"core-js": "3.1.4",
"cross-env": "7.0.0",
"electron": "8.0.1",
"electron": "8.2.4",
"electron-builder": "22.3.2",
"electron-reload": "1.5.0",
"eslint": "6.8.0",
Expand Down
94 changes: 79 additions & 15 deletions src/app/readlightnovel-source/readlightnovel-source.component.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,96 @@
<div class="page">
<div class="headerPanel">
<h1>ReadLightNovel</h1>
<img src="../assets/rsc/internet.svg" alt="" id="readlightnovel-website" class="website">
<h1>ReadLightNovel</h1>
<img
src="../assets/rsc/internet.svg"
alt=""
id="readlightnovel-website"
class="website"
/>
</div>

<div class="content">
<form class="search" action="">
<input class="searchBox" name="searchBox" type="text" placeholder="SEARCH" [(ngModel)]="val">
<input class="searchButton" type="submit" name="submit" value="FIND" (click)="search(val)">
<input
class="searchBox"
name="searchBox"
type="text"
placeholder="SEARCH"
[(ngModel)]="val"
/>
<input
class="searchButton"
type="submit"
name="submit"
value="FIND"
(click)="search(val)"
/>
</form>

<div class="status">
<img id="empty" [ngStyle]="{'display': readlightnovelService.showEmpty ? 'block' : 'none'}" src="assets/rsc/empty-icon.svg" alt="">
<img class="error" [ngStyle]="{'display': readlightnovelService.showError ? 'block' : 'none'}" id="empty" src="assets/rsc/error-icon.png" alt="">
<h1 class="loading" [ngStyle]="{'display': readlightnovelService.showLoading ? 'block' : 'none'}">LOADING</h1>
<div class="notify" [ngStyle]="{'display': readlightnovelService.showNotify ? 'block' : 'none'}">
<img
id="empty"
[ngStyle]="{
display: readlightnovelService.showEmpty ? 'block' : 'none'
}"
src="assets/rsc/empty-icon.svg"
alt=""
/>
<img
class="error"
[ngStyle]="{
display: readlightnovelService.showError ? 'block' : 'none'
}"
id="empty"
src="assets/rsc/error-icon.png"
alt=""
/>
<h1
class="loading"
[ngStyle]="{
display: readlightnovelService.showLoading ? 'block' : 'none'
}"
>
LOADING
</h1>
<div
class="notify"
[ngStyle]="{
display: readlightnovelService.showNotify ? 'block' : 'none'
}"
>
<h1>Novel search is not supported on this site.</h1>
<p>Please paste the link of the novel you want from www.readlightnovel.org</p>
<p>
Please paste the link of the novel you want from
www.readlightnovel.org
</p>
</div>
</div>

<div class="novelList" [ngStyle]="{'display': readlightnovelService.showContent ? 'block' : 'none'}">
<div (click)='loadNovelPage(novel)' class="novelHolder" [ngStyle]="{'border': novel.state.downloaded ? '1px solid #5eff00' : 'none'}" *ngFor="let novel of readlightnovelService.localNovels; let i = index">
<img class="img" src="{{novel.info.cover}}" [ngStyle]="{'opacity': novel.state.inLibrary ? '0.4' : '1'}" onerror="this.src='assets/rsc/missing-image.png';">
<div class="fade">
<p class="name">{{novel.info.name}}</p>
</div>
<div
class="novelList"
[ngStyle]="{
display: readlightnovelService.showContent ? 'block' : 'none'
}"
>
<div
(click)="loadNovelPage(novel)"
class="novelHolder"
[ngStyle]="{
border: novel.state.downloaded ? '1px solid #5eff00' : 'none'
}"
*ngFor="let novel of readlightnovelService.localNovels; let i = index"
>
<img
class="img"
src="{{ novel.info.cover }}"
[ngStyle]="{ opacity: novel.state.inLibrary ? '0.4' : '1' }"
onerror="this.src='assets/rsc/missing-image.png';"
/>
<div class="fade">
<p class="name">{{ novel.info.name }}</p>
</div>
</div>
</div>
</div>
</div>
Binary file modified src/favicon.256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/favicon.512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 84db8ee

Please sign in to comment.