summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-widget-ms/common-widgets/events-widget/markup/markup.html
blob: 3971554774f6ddc1addfb669778e12b239b1369e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<div  id="widget-events" ng-controller="EventsCtrl" class="widget-news-main">
		<div att-gridster-item-body
			class="information-section-gridsterContent">
			<div class="events">
				<ul ng-show="eventData.length!=0">
					<li ng-repeat="event in eventData">
						<div ng-click="event_content_show=!event_content_show">
							<div class="events-date">{{event.mon}}/{{event.day}}/{{event.year}}
							</div>
							<div>
								<div class="event-title-div">
									<p ng-bind="event.title"></p>
								</div>
								<div>
									<span class="icon-chevron-up" ng-if="event_content_show"
										style="color: #888; font-size: 22px;"></span> <span
										class="icon-chevron-down" ng-if="!event_content_show"
										style="color: #888; font-size: 22px;"></span>

								</div>
								<div style="clear: both;"></div>
							</div>
						</div>
						<div class="events-content" ng-show="event_content_show">
							<div class="events-content-body">
								<a id="event-widget-{{event.id}}" class="events-link" ng-href="{{event.href}}"
									target="_blank"> <span ng-bind="event.content"></span>
								</a>
							</div>
							<div></div>
						</div>
					</li>


				</ul>
				<div ng-hide="eventData.length!=0">
					<div class="activity-error-container"
						style="background: rgb(255, 255, 255); overflow: hidden !important; width: 100%;">
						<div class="activity-error-block">
							<i class="icon-information full-linear-icon-information"
								style="margin-left: 125px; font-size: 90px"></i> <br>
							<div class="activity-error-msg1">There's currently no
								event available.</div>
						</div>
					</div>
				</div>
			</div>
	  </div>
</div>