Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 858cafe

Browse files
committed
DASHBOARD: LIVE - Algorithms Workshop
1 parent 3011db5 commit 858cafe

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

app/directives/notification/notification.jade

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@
66
.details {{config.details}}
77
i.expand.fa.fa-plus(ng-click="vm.toggle()")
88
.expanded(ng-show="vm.expanded", ng-style="{'background-image': 'url('+vm.loadImage(config.backgroundImage)+')'}")
9-
a.mask(href="{{config.redirectTo}}")
10-
 
9+
mask
1110
.left(ng-style="{'height': (config.height || vm.defaultHeight) + 'px'}")
1211
.header {{config.headerExpand}}
1312
.details {{config.detailsExpand}}
1413
a.action(ng-show="config.redirectText && config.redirectTo", href="{{config.redirectTo}}") {{config.redirectText}}
15-
.right(ng-if="config.videoCode", ng-style="{'height': (config.height || vm.defaultHeight) + 'px'}")
14+
.right(ng-if="config.videoCode", ng-style="{'height': (config.videoHeight||config.height || vm.defaultHeight) + 'px'}")
1615
.btn-play(ng-hide="vm.loadVideo")
1716
i.fa.fa-play-circle-o(ng-click="vm.loadVideo=true;")
1817
div Play Video
19-
iframe(ng-if="vm.loadVideo" ng-src="{{vm.videoUrl(config.videoCode)}}", allowfullscreen, frameborder="0", width="100%" height="{{config.height||vm.defaultHeight}}")
18+
iframe(ng-if="vm.loadVideo" ng-src="{{vm.videoUrl(config.videoCode)}}", allowfullscreen, frameborder="0", width="100%" height="{{config.videoHeight||config.height||vm.defaultHeight}}")
2019
.live(ng-show="config.liveExpand") LIVE
2120
i.collapse.fa.fa-remove(ng-click="vm.toggle()")
+8-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
[
22
{
3-
"header": "Five Weeks to Learn Topcoder",
4-
"details": "Five weeks of learning - we'll be teaching you how to compete at Topcoder! ",
3+
"header": "Step by Step Guide On How To Setup And Compete On SRM",
4+
"details": "Join us for a LIVE chat to learn the complete process of SRMs.",
55
"headerExpand": "",
66
"detailsExpand": "",
7-
"backgroundImage": "top-5-weeks.png",
8-
"redirectTo": "https://www.topcoder.com/community/member-programs/five-weeks-to-learn-topcoder/",
9-
"redirectText": "Five Weeks to Learn Topcoder!",
10-
"live": false,
11-
"liveExpand": false,
12-
"customTag": {
13-
"text": "Announcement"
14-
},
15-
"height": 657
7+
"backgroundImage": "live-algo-workshop.png",
8+
"live": true,
9+
"liveExpand": true,
10+
"height": 657,
11+
"videoCode": "https://www.youtube.com/embed/A5vnkkFGOo0",
12+
"videoHeight": 466
1613
}
1714
]
440 KB
Loading

0 commit comments

Comments
 (0)