This repository has been archived by the owner on Sep 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
2769231
commit 65dc4dd
Showing
21 changed files
with
673 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
<div> | ||
<ws-spinner class='smallSpinner' ng-show='loading.request_contact'></ws-spinner> | ||
<button ng-click="requestContact(userId);" ng-hide="myProfile || connected || loading.request_contact" class="btn btn-success">Request Contact</button> | ||
<button ng-show='connected && !connectedAndAccepted' ng-click="cancelRequest(userId);" class='btn btn-warning'>Cancel request</button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<div class='event'> | ||
<div><a ui-sref='event({eventId:userevent.event.id})'>{{userevent.event.event.name}}</a></div> | ||
<div class='event-image'> | ||
<a ui-sref='event({eventId:userevent.event.id})'><img class='thumbnail' src='http://lorempixel.com/250/160/city/' alt='Sao Paulo 2015' /></a> | ||
<span>{{userevent.event.connection_count}} possible connections <a popover="{{userevent.event.connection_count}} people attending this event." popover-trigger="mouseenter" ><span class='glyphicon glyphicon-question-sign'></span></a></span> | ||
</div> | ||
<div class='event-attendance text-center'> | ||
<ws-spinner class='smallSpinner' ng-show='loading.userevents[userevent.event.id]'></ws-spinner> | ||
|
||
<div ng-if="!myProfile"> | ||
<!-- <a> --> | ||
<span ng-show="profile.subscriptions[userevent.event.id]">{{profile.subscriptions[userevent.event.id].status.name.text}}</span> | ||
<span ng-hide="profile.subscriptions[userevent.event.id]">Not attending</span> | ||
<!-- </a> --> | ||
</div> | ||
<div ng-hide="loading.userevents[userevent.event.id]" ng-if="myProfile" class="btn-group" dropdown dropdown-append-to-body> | ||
<a href="#" tooltip="Click to change" tooltip-trigger="mouseenter" tooltip-placement="top" class="dropdown-toggle" dropdown-toggle> | ||
<span ng-show="profile.subscriptions[userevent.event.id]">{{profile.subscriptions[userevent.event.id].status.name.text}}</span> | ||
<span ng-hide="profile.subscriptions[userevent.event.id]">Not attending</span> | ||
<span class="caret"></span> | ||
</a> | ||
<ul class="dropdown-menu" role="menu"> | ||
<li><a href="#" ng-class="{'active': profile.subscriptions[userevent.event.id].status.id == STATUS.YES}" ng-click="setAttendance(userevent.event.id, STATUS.YES, $event);">{{statuses.data[STATUS.YES].name.text}}</a></li> | ||
<li><a href="#" ng-class="{'active': profile.subscriptions[userevent.event.id].status.id == STATUS.MAYBE}" ng-click="setAttendance(userevent.event.id, STATUS.MAYBE, $event);">{{statuses.data[STATUS.MAYBE].name.text}}</a></li> | ||
<li><a href="#" ng-class="{'active': profile.subscriptions[userevent.event.id].status.id == STATUS.NO}" ng-click="setAttendance(userevent.event.id, STATUS.NO, $event);">{{statuses.data[STATUS.NO].name.text}}</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters