@@ -12,9 +12,10 @@ <h2 id="quickStart">Quick Start</h2>
12
12
{{$currentReleasedVersion := $.Scratch.Get "qs.currentReleasedVersion"}}
13
13
14
14
< div id ="downloadWidget ">
15
- < form class ="form-inline ">
16
- < a id ="downloadLink " href ="https://oss.sonatype.org/content/repositories/releases/org/mongodb/mongodb-driver/{{$currentReleasedVersion.version}}/ "
17
- class ="btn btn-large btn-dark btn-download " target ="_blank "> Download</ a >
15
+ < div class ="container ">
16
+ < div class ="row downloadForm ">
17
+ < form >
18
+ < div class ="col-xs-5 col-lg-4 col-lg-push-2 ">
18
19
{{ $.Scratch.Set "qs.pos" 0 }}
19
20
{{ $.Scratch.Set "qs.firstDriver" false }}
20
21
{{ with $.Site.Data.releases.drivers }}
@@ -26,7 +27,8 @@ <h2 id="quickStart">Quick Start</h2>
26
27
{{ end }}
27
28
</ select >
28
29
{{ end }}
29
-
30
+ </ div >
31
+ < div class ="col-xs-5 col-lg-4 col-lg-push-2 ">
30
32
{{ $.Scratch.Set "qs.pos" 0 }}
31
33
{{ $firstDriver := $.Scratch.Get "qs.firstDriver"}}
32
34
{{ with $.Site.Data.releases.versions }}
@@ -37,8 +39,19 @@ <h2 id="quickStart">Quick Start</h2>
37
39
{{ end }}
38
40
</ select >
39
41
{{ end }}
42
+ </ div >
43
+ < div class ="col-lg-2 col-lg-push-2 ">
40
44
< input type ="checkbox " checked class ="distroPicker " data-toggle ="toggle " data-on ="Maven " data-off ="Gradle " data-offstyle ="success ">
45
+ </ div >
41
46
</ form >
47
+ < div class ="hidden-md hidden-sm hidden-xs col-lg-2 col-lg-pull-10 downloadLink ">
48
+ < a href ="https://oss.sonatype.org/content/repositories/releases/org/mongodb/mongodb-driver/{{$currentReleasedVersion.version}}/ "
49
+ class ="btn btn-dark btn-download " target ="_blank "> Download</ a >
50
+ </ div >
51
+ </ div >
52
+
53
+
54
+ < div class ="row ">
42
55
< div class ="clipboard " title ="copy ">
43
56
< button class ="btn btn-dark "> < i class ="fa fa-clipboard fa-2 "> </ i > </ button >
44
57
</ div >
@@ -88,4 +101,6 @@ <h2 id="quickStart">Quick Start</h2>
88
101
{{ $.Scratch.Add "qs.driverPos" 1 }}
89
102
{{ end }}
90
103
{{ end }}
91
- </ div >
104
+ </ div >
105
+ </ div >
106
+ </ div >
0 commit comments