|
|
|
@ -145,7 +145,7 @@ Open the `Pages/Books/Index.cshtml` and set the content of `abp-card-header` tag
|
|
|
|
|
<abp-column size-md="_6">
|
|
|
|
|
<abp-card-title>@L["Books"]</abp-card-title>
|
|
|
|
|
</abp-column>
|
|
|
|
|
<abp-column size-md="_6" class="text-right">
|
|
|
|
|
<abp-column size-md="_6" class="text-end">
|
|
|
|
|
<abp-button id="NewBookButton"
|
|
|
|
|
text="@L["NewBook"].Value"
|
|
|
|
|
icon="plus"
|
|
|
|
@ -175,7 +175,7 @@ The final content of `Index.cshtml` is shown below:
|
|
|
|
|
<abp-column size-md="_6">
|
|
|
|
|
<abp-card-title>@L["Books"]</abp-card-title>
|
|
|
|
|
</abp-column>
|
|
|
|
|
<abp-column size-md="_6" class="text-right">
|
|
|
|
|
<abp-column size-md="_6" class="text-end">
|
|
|
|
|
<abp-button id="NewBookButton"
|
|
|
|
|
text="@L["NewBook"].Value"
|
|
|
|
|
icon="plus"
|
|
|
|
@ -687,10 +687,10 @@ Open `/src/app/book/book.component.html` and make the following changes:
|
|
|
|
|
<div class="col col-md-6">
|
|
|
|
|
<h5 class="card-title">{%{{{ '::Menu:Books' | abpLocalization }}}%}</h5>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="text-right col col-md-6">
|
|
|
|
|
<div class="text-end col col-md-6">
|
|
|
|
|
|
|
|
|
|
<!-- Add the "new book" button here -->
|
|
|
|
|
<div class="text-lg-right pt-2">
|
|
|
|
|
<div class="text-lg-end pt-2">
|
|
|
|
|
<button id="create" class="btn btn-primary" type="button" (click)="createBook()">
|
|
|
|
|
<i class="fa fa-plus mr-1"></i>
|
|
|
|
|
<span>{%{{{ "::NewBook" | abpLocalization }}}%}</span>
|
|
|
|
|