|
6 | 6 | <b-carousel-slide class="carousel-height"> |
7 | 7 | <template slot="img" class="h-100 text-center"> |
8 | 8 | <div class="row h-50"> |
9 | | - <div class="col-6 carousel-height d-table"> |
10 | | - <div class="card card-body d-table-cell align-middle text-center border-aau-color selection-phase-div" v-on:click="selectedVPNOption(true)"> |
11 | | - <h3 class="font-weight-bold">VPN ONLY</h3> |
12 | | - <p>Allows the users to connect the Lab using the VPN. Kali Linux machine on the browser will be not available.</p> |
13 | | - </div> |
14 | | - </div> |
15 | | - <div class="col-6 carousel-height d-table"> |
16 | | - <div class="card card-body d-table-cell align-middle text-center border-aau-color bg-light-gray selection-phase-div" v-on:click="selectedVPNOption(false)"> |
| 9 | + |
| 10 | + <div class="col-4 carousel-height d-table"> |
| 11 | + <div class="card card-body d-table-cell align-middle text-center border-aau-color selection-phase-div" v-on:click="selectedVPNOption(0)"> |
17 | 12 | <h3 class="font-weight-bold">NO VPN</h3> |
18 | 13 | <p>Allows the user to connect Kali Linux machine on the browser.</p> |
19 | 14 | </div> |
20 | 15 | </div> |
| 16 | + |
| 17 | + <div class="col-4 carousel-height d-table"> |
| 18 | + <div class="card card-body d-table-cell align-middle text-center border-aau-color selection-phase-div" v-on:click="selectedVPNOption(2)"> |
| 19 | + <h3 class="font-weight-bold">VPN + BROWSER</h3> |
| 20 | + <p>Allows the user to connect Kali Linux machine on the browser and provide VPN connection.</p> |
| 21 | + </div> |
| 22 | + </div> |
| 23 | + |
| 24 | + <div class="col-4 carousel-height d-table"> |
| 25 | + <div class="card card-body d-table-cell align-middle text-center border-aau-color selection-phase-div" v-on:click="selectedVPNOption(1)"> |
| 26 | + <h3 class="font-weight-bold">VPN ONLY</h3> |
| 27 | + <p>Allows the users to connect the Lab using the VPN. Kali Linux machine on the browser will be not available.</p> |
| 28 | + </div> |
| 29 | + </div> |
| 30 | + |
21 | 31 | </div> |
22 | 32 | </template> |
23 | 33 | </b-carousel-slide> |
|
163 | 173 | </b-tooltip> |
164 | 174 | </b-col> |
165 | 175 | </b-row> |
166 | | - <div class="custom-control custom-switch mt-2 mt-sm-2 mt-md-0"> |
167 | | - <input type="checkbox" class="custom-control-input" id="isVPNON" v-model="isVPNON" name="isVPNON"> |
168 | | - <label class="custom-control-label" for="isVPNON">Enable VPN</label> |
169 | | - </div> |
170 | 176 | </b-col> |
171 | 177 | </b-row> |
172 | 178 | <b-col md="12" class="mt-3 mt-lg-0" style="z-index: 2"> |
@@ -530,7 +536,7 @@ export default { |
530 | 536 | disabledDates: { |
531 | 537 | to: new Date(Date.now() - 8640000) |
532 | 538 | }, |
533 | | - isVPNON: false, |
| 539 | + isVPNON: 4, |
534 | 540 | } |
535 | 541 | }, |
536 | 542 | mounted: function(){ |
@@ -800,9 +806,6 @@ export default { |
800 | 806 |
|
801 | 807 | }, |
802 | 808 | selectedVPNOption: function (isVPN) { |
803 | | - if (isVPN) { |
804 | | - this.frontends.push("VPN") |
805 | | - } |
806 | 809 | this.isVPNON = isVPN |
807 | 810 | this.$refs.createEventCarousel.next() |
808 | 811 | } |
|
0 commit comments