Merge pull request #1 from abpframework/master

atualizando
pull/612/head
Marcelo Mohr Maciel 6 years ago committed by GitHub
commit 41e433f65c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -292,7 +292,7 @@ Check the `books` table in the database to see the new book row. You can try `ge
It's time to create something visible and usable! Instead of classic MVC, we will use the new [Razor Pages UI](https://docs.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/razor-pages-start) approach which is recommended by Microsoft. It's time to create something visible and usable! Instead of classic MVC, we will use the new [Razor Pages UI](https://docs.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/razor-pages-start) approach which is recommended by Microsoft.
Create a new `Books` folder under the `Pages` folder of the `Acme.BookStore.Web` project and add a new Razor Page named `Index.html`: Create a new `Books` folder under the `Pages` folder of the `Acme.BookStore.Web` project and add a new Razor Page named `Index.cshtml`:
![bookstore-add-index-page](images/bookstore-add-index-page.png) ![bookstore-add-index-page](images/bookstore-add-index-page.png)

@ -14,6 +14,9 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.ProgressBar
SetStripClass(context,output); SetStripClass(context,output);
SetTypeClass(context,output); SetTypeClass(context,output);
SetValues(context, output); SetValues(context, output);
output.TagName = "div";
output.TagMode = TagMode.StartTagAndEndTag;
} }
protected virtual void SetValues(TagHelperContext context, TagHelperOutput output) protected virtual void SetValues(TagHelperContext context, TagHelperOutput output)

@ -8,6 +8,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.ProgressBar
public override void Process(TagHelperContext context, TagHelperOutput output) public override void Process(TagHelperContext context, TagHelperOutput output)
{ {
output.Attributes.AddClass("progress"); output.Attributes.AddClass("progress");
output.TagName = "div";
} }
} }

@ -20,8 +20,7 @@
<div class="demo-area"> <div class="demo-area">
<abp-progress> <abp-progress>
<abp-progress-bar value="70" /> <abp-progress-bar value="70"/>
</abp-progress> </abp-progress>
<br /> <br />
<abp-progress> <abp-progress>

Loading…
Cancel
Save