|
173 | 173 | <div class="col-3">
|
174 | 174 | <div class="nav flex-column nav-pills sticky-top" id="challengesCategory" role="tablist" aria-orientation="vertical">
|
175 | 175 | <a class="nav-link active show" id="starters-tab" data-toggle="pill" href="#starters" role="tab" aria-controls="starters" aria-selected="true">Starters</a>
|
| 176 | + <a class="nav-link" id="cyber-championships-tab" data-toggle="pill" href="#cyber-championship" role="tab" aria-controls="cyber-championship" aria-selected="false">Cyber Champ.</a> |
176 | 177 | <a class="nav-link" id="web-exploit-tab" data-toggle="pill" href="#web-exploit" role="tab" aria-controls="web-exploit" aria-selected="false">Web Exploit.</a>
|
177 | 178 | <a class="nav-link" id="forensics-tab" data-toggle="pill" href="#forensics" role="tab" aria-controls="forensics" aria-selected="false">Forensics</a>
|
178 | 179 | <a class="nav-link" id="binary-tab" data-toggle="pill" href="#binary" role="tab" aria-controls="binary" aria-selected="false">Binary</a>
|
|
212 | 213 | </b-form-checkbox-group>
|
213 | 214 | </div>
|
214 | 215 |
|
| 216 | + <div class="tab-pane fade active show" id="cyber-championship" role="tabpanel" aria-labelledby="cyber-championship"> |
| 217 | + <b-form-checkbox-group |
| 218 | + id="challengesCS" |
| 219 | + v-model="selectedChallenges" |
| 220 | + name="challengesCS" |
| 221 | + class="ml-4" |
| 222 | + stacked |
| 223 | + > |
| 224 | + <!--{{ selectedChallenges }} Used for debugging--> |
| 225 | + <div |
| 226 | + v-for="text in challengesTextCS" |
| 227 | + :key="text" |
| 228 | + class="challenge-container" |
| 229 | + > |
| 230 | + <div class="checkbox-container"> |
| 231 | + <b-form-checkbox |
| 232 | + :value="text.value" |
| 233 | + > |
| 234 | + {{ text.text }} |
| 235 | + </b-form-checkbox> |
| 236 | + <div class="info-icon" v-on:click="text.isInfoShown = !text.isInfoShown"><b-icon icon="info-circle"></b-icon></div> |
| 237 | + </div> |
| 238 | + <div class="chalInfo" v-bind:class="{ visible: text.isInfoShown}" v-html="text.orgDesc"> |
| 239 | + <!--{{ text.orgDesc }} This is just dummy data for now--> |
| 240 | + </div> |
| 241 | + </div> |
| 242 | + |
| 243 | + </b-form-checkbox-group> |
| 244 | + </div> |
| 245 | + |
215 | 246 | <div class="tab-pane fade" id="web-exploit" role="tabpanel" aria-labelledby="web-exploit-tab">
|
216 | 247 | <b-form-checkbox-group
|
217 | 248 | id="challengesWE"
|
@@ -458,6 +489,7 @@ export default {
|
458 | 489 | challengesRE: [], challengesTextRE: [],
|
459 | 490 | challengesC: [], challengesTextC: [],
|
460 | 491 | challengesS: [], challengesTextS: [],
|
| 492 | + challengesCS: [], challengesTextCS:[], |
461 | 493 | cat: '', childrenChallenges: '', isDisabled: false,
|
462 | 494 | disabledDates: {
|
463 | 495 | to: new Date(Date.now() - 8640000)
|
@@ -495,6 +527,7 @@ export default {
|
495 | 527 | .concat(this.challengesF)
|
496 | 528 | .concat(this.challengesRE)
|
497 | 529 | .concat(this.challengesS)
|
| 530 | + .concat(this.challengesCS) |
498 | 531 | .concat(this.challengesC): []
|
499 | 532 | },
|
500 | 533 | encodeHTML: function(s) {
|
@@ -600,7 +633,10 @@ export default {
|
600 | 633 | case "Starters":
|
601 | 634 | that.challengesTextS.push(parentChallenge);
|
602 | 635 | that.challengesS.push(taglist[0])
|
603 |
| -
|
| 636 | + break; |
| 637 | + case "Cybermesterskaberne": |
| 638 | + that.challengesTextCS.push(parentChallenge); |
| 639 | + that.challengesCS.push(taglist[0]) |
604 | 640 | }
|
605 | 641 |
|
606 | 642 | })
|
|
0 commit comments