Skip to content

Commit f74117a

Browse files
committed
2 parents cab8654 + 8daaa6d commit f74117a

File tree

2 files changed

+54
-10
lines changed

2 files changed

+54
-10
lines changed

assets/dbatools-buildref-index.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"LastUpdated": "2017-10-03T00:00:00",
2+
"LastUpdated": "2017-10-06T00:00:00",
33
"Data": [
44
{
55
"Version": "8.0.47",
@@ -3117,12 +3117,9 @@
31173117
"KBList": "3205054"
31183118
},
31193119
{
3120-
"SP": [
3121-
"SP3",
3122-
"LATEST"
3123-
],
3120+
"SP": "SP3",
31243121
"Version": "11.0.6020",
3125-
"SupportedUntil": "2022-07-12T00:00:00",
3122+
"SupportedUntil": "2018-09-10T00:00:00",
31263123
"KBList": "3072779"
31273124
},
31283125
{
@@ -3193,6 +3190,15 @@
31933190
"4019090"
31943191
]
31953192
},
3193+
{
3194+
"SP": [
3195+
"SP4",
3196+
"LATEST"
3197+
],
3198+
"SupportedUntil": "2022-07-12T00:00:00",
3199+
"Version": "11.0.7001",
3200+
"KBList": "KB4018073"
3201+
},
31963202
{
31973203
"Version": "12.0.1524",
31983204
"Name": "2014"
@@ -3355,6 +3361,10 @@
33553361
"Version": "12.0.4232",
33563362
"KBList": "3194720"
33573363
},
3364+
{
3365+
"Version": "12.0.4237",
3366+
"KBList": "4019091"
3367+
},
33583368
{
33593369
"CU": "CU1",
33603370
"Version": "12.0.4416",

builds.html

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@
1616
body {
1717
min-height: 75rem;
1818
}
19+
h2 small.text-muted {
20+
font-size: 50%;
21+
}
22+
@media (max-width: 575px) {
23+
.hidden-xs-down {
24+
display: none!important;
25+
}
26+
}
27+
@media (min-width: 575px) {
28+
.hidden-xs-up {
29+
display: none!important;
30+
}
31+
}
32+
1933
</style>
2034
<script type="text/javascript" language="javascript" src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" ></script>
2135
<script type="text/javascript" language="javascript" src="//cdn.datatables.net/v/bs4-4.0.0-beta/jq-3.2.1/jq-3.2.1/jszip-2.5.0/dt-1.10.16/b-1.4.2/b-html5-1.4.2/fh-3.1.3/r-2.2.0/datatables.min.js" ></script>
@@ -122,6 +136,7 @@
122136
dataType: "json",
123137
url: 'https://sqlcollaborative.github.io/assets/dbatools-buildref-index.json',
124138
success: function (data) {
139+
$('h2 small.text-muted').text('updated on ' + data.LastUpdated.substring(0,10))
125140
var newarr = []
126141
var prevName = '.'
127142
var prevSP = '.'
@@ -256,13 +271,26 @@
256271
<div class="container-fluid">
257272
<div class="row">
258273
<div class="col">
259-
<h1>Build Reference</h1>
274+
<h2>Build Reference
275+
<small class="text-muted"></small>
276+
</h2>
260277
</div>
261278
</div>
262279
<div class="row">
263280
<div class="col version filter">
264281
<h5>Filter by SQL Version</h5>
265-
<div class="btn-group" role="group">
282+
<div class="btn-group hidden-xs-down" role="group">
283+
<button class="btn btn-primary filter filterName" data-filtervalue="2000">2000</button>
284+
<button class="btn btn-primary filter filterName" data-filtervalue="2005">2005</button>
285+
<button class="btn btn-primary filter filterName" data-filtervalue="2008">2008</button>
286+
<button class="btn btn-primary filter filterName" data-filtervalue="2008R2">2008R2</button>
287+
<button class="btn btn-primary filter filterName" data-filtervalue="2012">2012</button>
288+
<button class="btn btn-primary filter filterName" data-filtervalue="2014">2014</button>
289+
<button class="btn btn-primary filter filterName" data-filtervalue="2016">2016</button>
290+
<button class="btn btn-primary filter filterName" data-filtervalue="2017">2017</button>
291+
<button class="btn btn-primary filter filterName" data-filtervalue="">All</button>
292+
</div>
293+
<div class="btn-group btn-group-vertical hidden-xs-up" role="group">
266294
<button class="btn btn-primary filter filterName" data-filtervalue="2000">2000</button>
267295
<button class="btn btn-primary filter filterName" data-filtervalue="2005">2005</button>
268296
<button class="btn btn-primary filter filterName" data-filtervalue="2008">2008</button>
@@ -276,7 +304,13 @@ <h5>Filter by SQL Version</h5>
276304
</div>
277305
<div class="col attribute filter">
278306
<h5>Filter by Attributes</h5>
279-
<div class="btn-group" role="group">
307+
<div class="btn-group hidden-xs-down" role="group">
308+
<button class="btn btn-secondary filter filterSP" data-filtervalue="&#10003;">Service Packs</button>
309+
<button class="btn btn-secondary filter filterCU" data-filtervalue="&#10003;">CUs</button>
310+
<button class="btn btn-secondary filter filterLatestSP" data-filtervalue="&#10003;">Latest SP</button>
311+
<button class="btn btn-secondary filter filterLatestCU" data-filtervalue="&#10003;">Latest CU</button>
312+
</div>
313+
<div class="btn-group btn-group-vertical hidden-xs-up" role="group">
280314
<button class="btn btn-secondary filter filterSP" data-filtervalue="&#10003;">Service Packs</button>
281315
<button class="btn btn-secondary filter filterCU" data-filtervalue="&#10003;">CUs</button>
282316
<button class="btn btn-secondary filter filterLatestSP" data-filtervalue="&#10003;">Latest SP</button>
@@ -289,7 +323,7 @@ <h5>Filter by Attributes</h5>
289323
</div>
290324
<div class="row">
291325
<div class="col">
292-
<table id="buildref" class="table table-striped table-bordered" cellspacing="0" width="100%">
326+
<table id="buildref" class="table table-striped table-bordered table-sm" cellspacing="0" width="100%">
293327
<thead>
294328
<tr>
295329
<th>Id</th>

0 commit comments

Comments
 (0)