File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 3
3
< h3 > Hi {{firstName}}! Welcome to the Secure Coding Dojo!</ h3 >
4
4
< p > Pick a training module below to start.</ p >
5
5
< div class ="row ">
6
- < div class ="col-lg-6 d-flex align-items-stretch " ng-repeat ="(key, value) in modules " style ="padding:1em " >
6
+ < div class ="col-lg-4 d-flex align-items-stretch " ng-repeat ="(key, value) in modules " style ="padding:1em " >
7
7
8
8
< div class ="card " >
9
9
< div class ="card-header ">
@@ -16,15 +16,16 @@ <h5 class="card-title">{{value.summary}}</h5>
16
16
17
17
</ div >
18
18
< div class ="card-footer ">
19
- < small class ="text-muted " ng-if ="value.requiredModules.length>0 ">
20
- This module requires: < span ng-repeat ="moduleId in value.requiredModules "> {{modules[moduleId].name}}</ span >
21
- </ small >
19
+
22
20
< a ng-href ="/public/badge/{{getBadgeCode(key)}} " class ="btn btn-primary float-right mx-1 " ng-class ="{ disabled: !isModuleComplete(key) } ">
23
21
< span class ="oi oi-circle-check " ng-if ="isModuleComplete(key) "> </ span >
24
22
Badge
25
23
</ a >
26
24
< a ng-href ="#!challenges/{{key}} " class ="btn btn-primary float-right mx-1 " ng-class ="{ disabled: !isModuleEnabled(key) } "> Load</ a >
27
-
25
+ < small class ="text-muted text-align-right " ng-if ="value.requiredModules.length>0 ">
26
+ Requires: < span ng-repeat ="moduleId in value.requiredModules "> {{modules[moduleId].name}}</ span >
27
+ </ small >
28
+
28
29
</ div >
29
30
</ div >
30
31
</ div >
You can’t perform that action at this time.
0 commit comments