-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
217 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
div.row.topic { | ||
margin-bottom: 20px; | ||
} | ||
button.wipe { | ||
margin-top: 10.75px; | ||
} | ||
div.topic .form-control { | ||
width: 280px; | ||
} | ||
@media(min-width: 1200px) | ||
{ | ||
div.topic .form-control { | ||
width: 500px; | ||
} | ||
} | ||
|
||
/* | ||
* Ticketing | ||
*/ | ||
div.ticketing { | ||
padding: 10px; | ||
border-width: 0px, 1px, 1px, 1px; | ||
} | ||
|
||
/* Card flip */ | ||
div.card-overview { | ||
perspective: 1000px; | ||
} | ||
div.card-overview:first-child { | ||
margin-left: 15px; | ||
} | ||
div.card-overview > * { | ||
float: left; | ||
width: 33%; | ||
} | ||
@media(min-width: 768px) { | ||
div.card-overview { | ||
margin-right: -40px; | ||
} | ||
div.card-overview > * { | ||
width: 160px; | ||
} | ||
} | ||
@media(min-width: 992px) { | ||
div.card-overview { | ||
margin-right: -60px; | ||
} | ||
div.card-overview > * { | ||
width: 195px; | ||
} | ||
} | ||
@media(min-width: 1200px) { | ||
div.card-overview > * { | ||
width: 210px; | ||
} | ||
} | ||
|
||
/* | ||
* Plugin styles | ||
*/ | ||
div.issue-list { | ||
max-height: 800px; | ||
overflow-y: scroll; | ||
} |
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 |
---|---|---|
@@ -1,3 +1,97 @@ | ||
<p> | ||
master works! | ||
</p> | ||
<!-- Headline --> | ||
<div class="row"> | ||
<div class="col-xs-12 col-sm-1"> | ||
<button class="btn btn-lg btn-danger wipe" (click)="wipe()">Wipe</button> | ||
</div> | ||
<div class="col-xs-10 col-sm-8 col-md-10"> | ||
<h1>{{ session.id }} - {{ session.name }}</h1> | ||
</div> | ||
<div class="hidden-xs col-sm-2 col-md-1"> | ||
<h1>{{ stopwatchElapsed }}</h1> | ||
</div> | ||
</div> | ||
|
||
<!-- Poll control --> | ||
<!--div class="row topic"> | ||
<div class="col-xs-12"> | ||
<ul class="nav nav-tabs"> | ||
<li ng-class="{active: master.current == source}" ng-repeat="source in master.sources| orderBy: 'position'"> | ||
<a class="selectable" ng-click="master.selectSource(source)">{{ source.name }}</a> | ||
</li> | ||
</ul> | ||
<div class="ticketing" ng-include="master.current.view"> | ||
</div> | ||
</div> | ||
</div--> | ||
|
||
<!-- Live poll view and statistics --> | ||
<div class="row" *ngIf="teamComplete"> | ||
<div class="card-overview"> | ||
<div *ngFor="let vote of votes"> | ||
<app-card [card]="vote" [backfaceVisible]="vote.placed" [canDelete]="vote.canDelete" | ||
[flipped]="flipped" [canSelect]="false" | ||
(delete)="removeMember($event)"></app-card> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Invite and statistics --> | ||
<div class="row"> | ||
<div class="hidden-xs hidden-sm col-md-5"> | ||
<h2>Invite members</h2> | ||
<p>Invite members to join your session. Session id: <strong>{{ session.id }}</strong></p> | ||
<img src="https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl={{ joinUrl(true) }}&choe=UTF-8" title="Join {{ session.id }}" /> | ||
<p>Or send them this link: <a href="{{ joinUrl(false) }}">{{ joinUrl(false) }}</a> | ||
</div> | ||
|
||
<!-- Team list and complete button --> | ||
<div class="col-xs-12 col-md-5" [hidden]="teamComplete"> | ||
<h2>Team</h2> | ||
<ul class="list-group"> | ||
<!-- Iterate over votes as they represent members as well --> | ||
<li class="list-group-item" *ngFor="let vote of votes; let i=index">{{ i + 1 }}. {{ vote.name }}</li> | ||
</ul> | ||
<button class="btn btn-success" (click)="teamComplete = true">Team complete</button> | ||
</div> | ||
|
||
<!-- Statistics column --> | ||
<div class="col-xs-12 col-md-7" *ngIf="teamComplete"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">Statistics</div> | ||
<div class="panel-body"> | ||
<table class="table table-striped" *ngIf="statistics; else awaitStatistic"> | ||
<thead> | ||
<tr> | ||
<th>Enabled</th> | ||
<th>Name</th> | ||
<th>Value</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr ng-repeat="statistic in master.statistics | orderBy:'!enabled'"> | ||
<td><input type="checkbox" ng-model="statistic.enabled"></td> | ||
<td> | ||
<a target="_blank" href="<?php echo $src ?>/src/controllers/statistics/{{statistic.name}}.php"> | ||
{{ statistic.name }} | ||
</a> | ||
</td> | ||
<td><span ng-show="statistic.enabled" ng-bind="statistic.value"></span></td> | ||
</tr> | ||
<tr> | ||
<td></td> | ||
<td> | ||
<a target="_blank" href="<?php echo $src ?>/src/controllers/statistics"> | ||
Want more? | ||
</a> | ||
</td> | ||
<td></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<ng-template #awaitStatistic> | ||
<p>Statistics will appear as soon as the first poll is concluded!</p> | ||
</ng-template> | ||
</div> | ||
</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