-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- basic user & role management - book management and page improvements - styling fixes - toasts
- Loading branch information
Showing
50 changed files
with
839 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http'; | ||
import { Observable } from 'rxjs'; | ||
import { filter, map } from 'rxjs/operators'; | ||
import { StrictHttpResponse } from '../../strict-http-response'; | ||
import { RequestBuilder } from '../../request-builder'; | ||
|
||
import { BookDto } from '../../models/book-dto'; | ||
|
||
export interface GetUsersBooks$Plain$Params { | ||
} | ||
|
||
export function getUsersBooks$Plain(http: HttpClient, rootUrl: string, params?: GetUsersBooks$Plain$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<BookDto>>> { | ||
const rb = new RequestBuilder(rootUrl, getUsersBooks$Plain.PATH, 'get'); | ||
if (params) { | ||
} | ||
|
||
return http.request( | ||
rb.build({ responseType: 'text', accept: 'text/plain', context }) | ||
).pipe( | ||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse), | ||
map((r: HttpResponse<any>) => { | ||
return r as StrictHttpResponse<Array<BookDto>>; | ||
}) | ||
); | ||
} | ||
|
||
getUsersBooks$Plain.PATH = '/api/Books/mine'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http'; | ||
import { Observable } from 'rxjs'; | ||
import { filter, map } from 'rxjs/operators'; | ||
import { StrictHttpResponse } from '../../strict-http-response'; | ||
import { RequestBuilder } from '../../request-builder'; | ||
|
||
import { BookDto } from '../../models/book-dto'; | ||
|
||
export interface GetUsersBooks$Params { | ||
} | ||
|
||
export function getUsersBooks(http: HttpClient, rootUrl: string, params?: GetUsersBooks$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<BookDto>>> { | ||
const rb = new RequestBuilder(rootUrl, getUsersBooks.PATH, 'get'); | ||
if (params) { | ||
} | ||
|
||
return http.request( | ||
rb.build({ responseType: 'json', accept: 'text/json', context }) | ||
).pipe( | ||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse), | ||
map((r: HttpResponse<any>) => { | ||
return r as StrictHttpResponse<Array<BookDto>>; | ||
}) | ||
); | ||
} | ||
|
||
getUsersBooks.PATH = '/api/Books/mine'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
footer { | ||
position: relative; | ||
background-color: #89aed1; | ||
width: 100%; | ||
z-index: 1000; | ||
} | ||
|
||
footer a { | ||
color: yellow; | ||
} | ||
|
||
.content { | ||
position: relative; | ||
top: var(--navbar-height); | ||
margin-bottom: var(--navbar-height); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
<app-navbar></app-navbar> | ||
<div class="p-4" [@routeAnimations]="getRouteAnimationData()"> | ||
<app-navbar #navbar (heightChange)="onNavbarHeightChange($event)"></app-navbar> | ||
<app-toasts-container></app-toasts-container> | ||
<div class="p-4 content" [@routeAnimations]="getRouteAnimationData()"> | ||
<router-outlet></router-outlet> | ||
</div> | ||
<footer class="mt-auto"> | ||
|
@@ -23,7 +24,9 @@ | |
<small>Hosted with ❤️ from Lancaster, Pennsylvania, USA</small> | ||
<small | ||
>Copyright © Luke Westfall {{ year }} - | ||
<a href="mailto: [email protected]">cbc@ljdub.com</a></small | ||
<a href="mailto:[email protected]?subject=Citrus Book Club" target="_blank" | ||
>cbc@ljdub.com</a | ||
></small | ||
> | ||
</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.