-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIO-8465: added templates for select all rows alert
- Loading branch information
1 parent
b1456a5
commit 9676924
Showing
8 changed files
with
63 additions
and
2 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
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,23 @@ | ||
<div class="formio-grid-select-wrapper alert text-secondary text-center"> | ||
<span class="formio-grid-select-info"> | ||
{% if (!ctx.allRowsSelected) { %} | ||
All {{ ctx.totalSelected }} records on this page are selected. | ||
{% } %} | ||
{% if (ctx.allRowsSelected) { %} | ||
All {{ ctx.totalItems }} records in the table are selected. | ||
{% } %} | ||
</span> | ||
<span class="formio-grid-select-spinner"> | ||
<div class="spinner-grow"></div> | ||
</span> | ||
<span ref="selectAllBtn" class="formio-grid-select-btn text-primary"> | ||
<span> | ||
{% if (!ctx.allRowsSelected) { %} | ||
Select all {{ ctx.totalItems }} items in the table. | ||
{% } %} | ||
{% if (ctx.allRowsSelected) { %} | ||
Clear selection. | ||
{% } %} | ||
</span> | ||
</span> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import html from './html.ejs'; | ||
export default { html }; |
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
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,23 @@ | ||
<div class="formio-grid-select-wrapper alert text-secondary text-center"> | ||
<span class="formio-grid-select-info"> | ||
{% if (!ctx.allRowsSelected) { %} | ||
All {{ ctx.totalSelected }} records on this page are selected. | ||
{% } %} | ||
{% if (ctx.allRowsSelected) { %} | ||
All {{ ctx.totalItems }} records in the table are selected. | ||
{% } %} | ||
</span> | ||
<span class="formio-grid-select-spinner"> | ||
<div class="spinner-grow"></div> | ||
</span> | ||
<span ref="selectAllBtn" class="formio-grid-select-btn text-primary"> | ||
<span> | ||
{% if (!ctx.allRowsSelected) { %} | ||
Select all {{ ctx.totalItems }} items in the table. | ||
{% } %} | ||
{% if (ctx.allRowsSelected) { %} | ||
Clear selection. | ||
{% } %} | ||
</span> | ||
</span> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import html from './html.ejs'; | ||
export default { html }; |