mirror of https://github.com/abpframework/abp
Merge branch 'master' of https://github.com/aspnetzero/abp
commit
bd5bf8d1fd
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,87 @@
|
||||
@page
|
||||
@model Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components.AlertsModel
|
||||
@{
|
||||
ViewData["Title"] = "Alerts";
|
||||
}
|
||||
|
||||
<h2>Alerts</h2>
|
||||
|
||||
<p>Based on <a href="https://getbootstrap.com/docs/4.1/components/alerts/" target="_blank"> Bootstrap Alert</a>.</p>
|
||||
|
||||
<h4># Alert Example</h4>
|
||||
|
||||
<div class="demo-with-code">
|
||||
<div class="demo-area">
|
||||
|
||||
<abp-alert alert-type="Danger">
|
||||
I'm an abp alert!
|
||||
</abp-alert>
|
||||
|
||||
</div>
|
||||
<div class="code-area">
|
||||
<pre>
|
||||
<abp-alert alert-type="Danger">
|
||||
I'm an abp alert!
|
||||
</abp-alert>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h4># Dismissible Alert Example</h4>
|
||||
|
||||
<div class="demo-with-code">
|
||||
<div class="demo-area">
|
||||
|
||||
<abp-alert alert-type="Warning" dismissible="true">
|
||||
I'm a dismissible abp alert!
|
||||
</abp-alert>
|
||||
|
||||
</div>
|
||||
<div class="code-area">
|
||||
<pre>
|
||||
<abp-alert alert-type="Warning" dismissible="true">
|
||||
I'm a dismissible abp alert!
|
||||
</abp-alert>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h4># Alert With Link Example</h4>
|
||||
|
||||
<div class="demo-with-code">
|
||||
<div class="demo-area">
|
||||
|
||||
<abp-alert alert-type="Secondary">
|
||||
I'm an abp alert with <a abp-alert-link href="#">Link</a>!
|
||||
</abp-alert>
|
||||
|
||||
</div>
|
||||
<div class="code-area">
|
||||
<pre>
|
||||
<abp-alert alert-type="Info">
|
||||
I'm an abp alert with <a abp-alert-link href="#">Link</a>!
|
||||
</abp-alert>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h4># Alert With Header Example</h4>
|
||||
|
||||
<div class="demo-with-code">
|
||||
<div class="demo-area">
|
||||
|
||||
<abp-alert alert-type="Primary">
|
||||
<h4 abp-alert-header>Header</h4>
|
||||
I'm an abp alert!
|
||||
</abp-alert>
|
||||
|
||||
</div>
|
||||
<div class="code-area">
|
||||
<pre>
|
||||
<abp-alert alert-type="Primary">
|
||||
<h4 abp-alert-header>Header</h4>
|
||||
I'm an abp alert!
|
||||
</abp-alert>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,114 @@
|
||||
@page
|
||||
@model Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components.DropdownsModel
|
||||
@{
|
||||
ViewData["Title"] = "Dropdowns";
|
||||
}
|
||||
|
||||
<h2>Dropdowns</h2>
|
||||
|
||||
<p>Based on <a href="https://getbootstrap.com/docs/4.1/components/dropdowns/" target="_blank"> Bootstrap button</a>.</p>
|
||||
|
||||
<h4># Dropdown Example</h4>
|
||||
|
||||
<div class="demo-with-code">
|
||||
<div class="demo-area">
|
||||
|
||||
<abp-dropdown>
|
||||
<abp-dropdown-button button-type="Primary" text="Dropdown"/>
|
||||
<abp-dropdown-menu>
|
||||
<abp-dropdown-header>Dropdown header</abp-dropdown-header>
|
||||
<abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
|
||||
<abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
|
||||
<abp-dropdown-item href="#">Something else here</abp-dropdown-item>
|
||||
<abp-dropdown-divider/>
|
||||
<abp-dropdown-item href="#">Separated link</abp-dropdown-item>
|
||||
</abp-dropdown-menu>
|
||||
</abp-dropdown>
|
||||
|
||||
</div>
|
||||
<div class="code-area">
|
||||
<pre>
|
||||
<abp-dropdown>
|
||||
<abp-dropdown-button button-type="Primary" text="Dropdown"/>
|
||||
<abp-dropdown-menu>
|
||||
<abp-dropdown-header>Dropdown header</abp-dropdown-header>
|
||||
<abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
|
||||
<abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
|
||||
<abp-dropdown-item href="#">Something else here</abp-dropdown-item>
|
||||
<abp-dropdown-divider/>
|
||||
<abp-dropdown-item href="#">Separated link</abp-dropdown-item>
|
||||
</abp-dropdown-menu>
|
||||
</abp-dropdown>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h4># Split Dropdown Example</h4>
|
||||
|
||||
<div class="demo-with-code">
|
||||
<div class="demo-area">
|
||||
|
||||
<abp-dropdown direction="Right">
|
||||
<abp-dropdown-button dropdown-style="Split" button-type="Danger" text="Dropdown"/>
|
||||
<abp-dropdown-menu>
|
||||
<abp-dropdown-header>Dropdown header</abp-dropdown-header>
|
||||
<abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
|
||||
<abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
|
||||
<abp-dropdown-item href="#">Something else here</abp-dropdown-item>
|
||||
<abp-dropdown-divider/>
|
||||
<abp-dropdown-item href="#">Separated link</abp-dropdown-item>
|
||||
</abp-dropdown-menu>
|
||||
</abp-dropdown>
|
||||
|
||||
</div>
|
||||
<div class="code-area">
|
||||
<pre>
|
||||
<abp-dropdown direction="Right">
|
||||
<abp-dropdown-button dropdown-style="Split" button-type="Danger" text="Dropdown"/>
|
||||
<abp-dropdown-menu>
|
||||
<abp-dropdown-header>Dropdown header</abp-dropdown-header>
|
||||
<abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
|
||||
<abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
|
||||
<abp-dropdown-item href="#">Something else here</abp-dropdown-item>
|
||||
<abp-dropdown-divider/>
|
||||
<abp-dropdown-item href="#">Separated link</abp-dropdown-item>
|
||||
</abp-dropdown-menu>
|
||||
</abp-dropdown>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h4># Link Dropdown Example</h4>
|
||||
|
||||
<div class="demo-with-code">
|
||||
<div class="demo-area">
|
||||
|
||||
<abp-dropdown direction="Up">
|
||||
<abp-dropdown-button Link="true" button-type="Primary" text="Dropdown"/>
|
||||
<abp-dropdown-menu align="Right">
|
||||
<abp-dropdown-header>Dropdown header</abp-dropdown-header>
|
||||
<abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
|
||||
<abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
|
||||
<abp-dropdown-item href="#">Something else here</abp-dropdown-item>
|
||||
<abp-dropdown-divider/>
|
||||
<abp-dropdown-item href="#">Separated link</abp-dropdown-item>
|
||||
</abp-dropdown-menu>
|
||||
</abp-dropdown>
|
||||
|
||||
</div>
|
||||
<div class="code-area">
|
||||
<pre>
|
||||
<abp-dropdown direction="Up">
|
||||
<abp-dropdown-button Link="true" button-type="Primary" text="Dropdown"/>
|
||||
<abp-dropdown-menu align="Right">
|
||||
<abp-dropdown-header>Dropdown header</abp-dropdown-header>
|
||||
<abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
|
||||
<abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
|
||||
<abp-dropdown-item href="#">Something else here</abp-dropdown-item>
|
||||
<abp-dropdown-divider/>
|
||||
<abp-dropdown-item href="#">Separated link</abp-dropdown-item>
|
||||
</abp-dropdown-menu>
|
||||
</abp-dropdown>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in new issue