|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
@page
|
|
|
|
|
@model Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components.PopoversModel
|
|
|
|
|
@{
|
|
|
|
|
ViewData["Title"] = "Badges";
|
|
|
|
|
ViewData["Title"] = "Popovers";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@section styles {
|
|
|
|
@ -10,11 +10,25 @@
|
|
|
|
|
</abp-style-bundle>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@section scripts {
|
|
|
|
|
<abp-script-bundle>
|
|
|
|
|
@*<abp-script src="/libs/highlight.js/lib/highlight.js" />
|
|
|
|
|
<abp-script src="/Pages/Components/highlightCode.js" />*@
|
|
|
|
|
</abp-script-bundle>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet"
|
|
|
|
|
href="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/default.min.css">
|
|
|
|
|
<script src="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js"></script>
|
|
|
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2>Popovers</h2>
|
|
|
|
|
|
|
|
|
|
<p>Based on <a href="https://getbootstrap.com/docs/4.1/components/Popovers/" target="_blank"> Bootstrap Popovers</a>.</p>
|
|
|
|
|
|
|
|
|
|
<h4># Popovers Examples</h4>
|
|
|
|
|
|
|
|
|
|
<h4>Example</h4>
|
|
|
|
|
|
|
|
|
|
<div class="demo-with-code">
|
|
|
|
|
<div class="demo-area">
|
|
|
|
@ -31,23 +45,41 @@
|
|
|
|
|
<abp-button abp-popover-left="Hi, i'm popover content!" title="Popover Title" disabled="true">
|
|
|
|
|
Disabled Popover
|
|
|
|
|
</abp-button>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="code-area">
|
|
|
|
|
<pre>
|
|
|
|
|
<abp-button abp-popover="Hi, i'm popover content!">
|
|
|
|
|
Popover Default
|
|
|
|
|
<abp-tabs>
|
|
|
|
|
<abp-tab title="Tag Helper" active="true">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<abp-button abp-popover="Hi, i'm popover content!">
|
|
|
|
|
Popover Default
|
|
|
|
|
</abp-button>
|
|
|
|
|
<abp-button abp-popover-top="Hi, i'm popover content!" title="Popover Title">
|
|
|
|
|
Popover With Title
|
|
|
|
|
<abp-button abp-popover-top="Hi, i'm popover content!" title="Popover Title">
|
|
|
|
|
Popover With Title
|
|
|
|
|
</abp-button>
|
|
|
|
|
<abp-button abp-popover-right="Hi, i'm popover content!" title="Popover Title" dismissible="true">
|
|
|
|
|
Dismissible Popover
|
|
|
|
|
<abp-button abp-popover-right="Hi, i'm popover content!" title="Popover Title" dismissible="true">
|
|
|
|
|
Dismissible Popover
|
|
|
|
|
</abp-button>
|
|
|
|
|
<abp-button abp-popover-left="Hi, i'm popover content!" title="Popover Title" disabled="true">
|
|
|
|
|
Disabled Popover
|
|
|
|
|
<abp-button abp-popover-left="Hi, i'm popover content!" title="Popover Title" disabled="true">
|
|
|
|
|
Disabled Popover
|
|
|
|
|
</abp-button>
|
|
|
|
|
</pre>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
<abp-tab title="Rendered">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<button class="btn" type="button" data-busy-text="Processing..." data-toggle="popover" data-placement="bottom" data-content="Hi, i'm popover content!" data-original-title="" title="">
|
|
|
|
|
Popover Default
|
|
|
|
|
</button>
|
|
|
|
|
<button title="" class="btn" type="button" data-busy-text="Processing..." data-toggle="popover" data-placement="top" data-content="Hi, i'm popover content!" data-original-title="Popover Title">
|
|
|
|
|
Popover With Title
|
|
|
|
|
</button>
|
|
|
|
|
<button title="" class="btn" type="button" data-busy-text="Processing..." data-toggle="popover" data-placement="right" data-content="Hi, i'm popover content!" data-trigger="focus" data-original-title="Popover Title">
|
|
|
|
|
Dismissible Popover
|
|
|
|
|
</button>
|
|
|
|
|
<span class="d-inline-block" title="" data-placement="left" data-toggle="popover" data-content="Hi, i'm popover content!" data-original-title="Popover Title"><button title="Popover Title" class="btn" type="button" data-busy-text="Processing..." style="pointer-events: none;">
|
|
|
|
|
Disabled Popover
|
|
|
|
|
</button></span>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
</abp-tabs>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|