Skip to content

Commit a1cbbf7

Browse files
committed
feat(js): datatables js cont;
- Removed the old custom css and js files. - Fixed the image linking to make it more ux/ui friendly. - Fixed an issue with the _id column being able to be reordered when it shouldn't be. - Better processing icon css. - Fixed issue with null state loading. - Fixed an issue with get translated not returning fallback. - Started fine tuning the selector for selecting rows. - Added in display start so the state load does not have to redraw after init.
1 parent e02a130 commit a1cbbf7

File tree

5 files changed

+64
-1392
lines changed

5 files changed

+64
-1392
lines changed

ckanext/datatablesview/assets/datatables_view.css

Lines changed: 0 additions & 304 deletions
This file was deleted.

ckanext/datatablesview/assets/datatablesview.css

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
}
77
/* END: Histograms :END */
88

9-
/* START: Layout :START */
9+
/* START: Custom Layout :START */
1010
.dt-view-wrapper[data-fullscreen="true"]{
1111
margin: 20px;
1212
}
@@ -156,7 +156,34 @@ table.dataTable span.dtcc input::placeholder{
156156
/* smaller chevrons */
157157
border-top: 8px solid rgba(0, 0, 0, 0.5);
158158
}
159-
/* END: Layout :END */
159+
160+
.dt-view-wrapper i.fa-info-circle{
161+
cursor: help;
162+
color: darkblue;
163+
}
164+
165+
#dtprv_processing{
166+
z-index: 100;
167+
display: block;
168+
position: absolute;
169+
top: 0;
170+
left: 0;
171+
right: 0;
172+
bottom: 0;
173+
padding: 0 !important;
174+
margin: 0 !important;
175+
width: 100%;
176+
height: 100%;
177+
background-color: rgba(255, 255, 255, 0.325);
178+
border: none !important;
179+
outline: none !important;
180+
cursor: wait;
181+
}
182+
183+
#dtprv_processing > div{
184+
margin-top: 175px;
185+
}
186+
/* END: Custom Layout :END */
160187

161188
/* START: Mark Plugin :START */
162189
#dtprv_wrapper mark{
@@ -245,3 +272,11 @@ table.dataTable span.dtcc input::placeholder{
245272
margin-left: -1%;
246273
}
247274
/* END: QoL Column Vis :END */
275+
276+
/* START: QoL Image Thumbnails :START */
277+
#dtprv_wrapper .dt-thumbnail img{
278+
display: inline-block;
279+
max-width: 150px;
280+
height: auto;
281+
}
282+
/* END: QoL Image Thumbnails :END */

0 commit comments

Comments
 (0)