Skip to content

Commit ee6a729

Browse files
author
Yeliazar
committed
updated Grid page
1 parent 771c0a6 commit ee6a729

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/pages/Grid/Grid.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@
5252
ref="sharesWidget"
5353
showTooltip :tooltipPlacement="tooltipPlacement"
5454
title="<h6>
55-
<span class='badge badge-primary'><i class'fa fa-facebook' /></span> &nbsp;
56-
Latest <span class='fw-semi-bold'>Shares</span>
55+
<span class='badge bg-primary rounded-pill me-2'><i class='fa fa-twitter'></i></span>Latest <span class='fw-semi-bold'>Shares</span>
5756
</h6>"
5857
close="Close" refresh="Reload" customHeader
5958
bodyClass="p-0"
@@ -62,14 +61,14 @@
6261
>
6362
<div class="list-group list-group-lg">
6463
<a href="#" class="list-group-item" v-for="item in gridData.shares" :key="item.name" :class="item.extraClass">
65-
<span class="thumb-sm mr">
64+
<span class="thumb-sm me-1">
6665
<img class="rounded-circle" :src="item.img" :alt="item.name" />
6766
</span>
6867
<div>
6968
<h6 class="m-0">{{item.name}}</h6>
7069
<small class="text-muted">{{item.comment}}</small>
7170
</div>
72-
<i class="fa fa-circle ml-auto" :class="'text-' + item.type"></i>
71+
<i class="fa fa-circle ms-auto" :class="'text-' + item.type"></i>
7372
</a>
7473
</div>
7574
</Widget>
@@ -135,7 +134,7 @@
135134
2000 will refresh widget every 2 seconds.
136135
</p>
137136
<div class="clearfix">
138-
<div class="btn-toolbar float-right">
137+
<div class="btn-toolbar float-end">
139138
<b-button variant="transparent">Cancel</b-button>
140139
<b-button variant="success" :class="gridData.autoload.btnExtraClass">&nbsp;Submit&nbsp;</b-button>
141140
</div>
@@ -156,7 +155,7 @@
156155
<draggable v-bind="sortOptions">
157156
<Widget
158157
id="news-widget"
159-
:title="'<div><h6> News <span class=badge badge-pill badge-success>17</span></h6><span class=text-muted>spinning refresh button close prompt</span></div>'"
158+
:title="'<div><h6> News <span class=\'badge rounded-pill bg-success\'>17</span></h6><span class=text-muted>spinning refresh button close prompt</span></div>'"
160159
customHeader
161160
refresh collapse close
162161
bodyClass="p-0"
@@ -182,7 +181,7 @@
182181
<b-modal :change="toggleModal" v-model="modal"
183182
id="news-close-modal" title="Sure?" body-bg-variant="white">
184183
Do you really want to unrevertably remove this super news widget?
185-
<div slot="modal-footer" class="w-100 text-right">
184+
<div slot="modal-footer" class="w-100 text-end">
186185
<b-button variant="default" @click="toggleModal" data-dismiss="modal">
187186
No
188187
</b-button>&nbsp;
@@ -218,15 +217,15 @@
218217
class="bg-inverse"
219218
bodyClass="p-0"
220219
>
221-
<div class="jumbotron handle text-white mb-0">
220+
<div class="jumbotron handle text-white py-3">
222221
<div class="container">
223222
<h1>Draggable story!</h1>
224223
<p class="lead">
225224
<em>Build</em> your own
226225
interfaces! Sit back and relax.
227226
</p>
228227
<p class="text-center">
229-
<a class="btn btn-danger btn-lg" control="fullscreen" @click="$refs.jumbotronWidget.changeState($event, 'fullscreen')">
228+
<a class="btn btn-danger btn-lg text-white" control="fullscreen" @click="$refs.jumbotronWidget.changeState($event, 'fullscreen')">
230229
Fullscreen me! &nbsp;
231230
<i class="fa fa-check"></i>
232231
</a>
@@ -262,6 +261,7 @@ export default {
262261
widgetFetchingData: {},
263262
isOpen: false,
264263
modal: false,
264+
classBadge: 'badge bg-success rounded-pill',
265265
tooltipPlacement: 'bottom',
266266
sortOptions: {
267267
group: "grid",

0 commit comments

Comments
 (0)