Permalink
Browse files

feat: added sessions to event route (UI)

  • Loading branch information...
harshitagupta30 authored and niranjan94 committed May 25, 2017
1 parent a0740ea commit 231e802e9257b236d5321377a1203965292a926c
@@ -45,6 +45,7 @@ router.map(function() {
this.route('sessions-speakers');
});
this.route('export');
this.route('sessions');
});
this.route('live');
this.route('draft');
@@ -0,0 +1,9 @@
import Ember from 'ember';
const { Route } = Ember;
export default Route.extend({
titleToken() {
return this.i18n.t('Sessions');
}
});
@@ -0,0 +1,106 @@
<div class="ui basic buttons">
<button class="ui button">{{t 'All'}}</button>
<button class="ui button">{{t 'Pending'}}</button>
<button class="ui button">{{t 'Accepted'}}</button>
<button class="ui button">{{t 'Confirmed'}}</button>
<button class="ui button">{{t 'Rejected'}}</button>
</div>
<button class="ui teal button">Create Session</button>
{{#ui-dropdown class='ui icon top right pointing dropdown button'}}
Export
<i class="download icon"></i>
<div class="menu">
<div class="item">CSV</div>
<div class="item">PDF</div>
</div>
{{/ui-dropdown}}
<br><br>
<div class="row">
<div class="sixteen wide column">
<table class="ui tablet stackable very basic table">
<thead>
<tr>
<th>{{t 'State'}}</th>
<th>{{t 'Title'}}</th>
<th>{{t 'Speakers'}}</th>
<th>{{t 'Track'}}</th>
<th>{{t 'Short Abstract'}}</th>
<th>{{t 'Submission Date'}}</th>
<th>{{t 'Last Modified'}}</th>
<th>{{t 'Email Sent'}}</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div>
<div class="ui green label">Confirmed</div>
</div>
</td>
<td>
Test Session
</td>
<td>
<div class="ui ordered list">
<div class="item">Mario Behling</div>
<div class="item">Test</div>
</div>
</td>
<td>
Blockchain
</td>
<td>
Get an outlook of the awesome program of the weekend from track organizers and the content team.
</td>
<td>
March 18, 2017
<br> 09:30 AM
</td>
<td>
March 25,
<br> 09:30 PM
</td>
<td>
No
</td>
<td>
<div class="ui vertical compact basic buttons">
{{#ui-popup content=(t 'View') class='ui icon button'}}
<i class="unhide icon"></i>
{{/ui-popup}}
{{#ui-popup content=(t 'Edit') class='ui icon button'}}
<i class="edit icon"></i>
{{/ui-popup}}
{{#ui-popup content=(t 'Delete') class='ui icon button'}}
<i class="trash outline icon"></i>
{{/ui-popup}}
{{#ui-popup content=(t 'Browse edit history') class='ui icon button'}}
<i class="history icon"></i>
{{/ui-popup}}
</div>
</td>
<td>
<div class="ui vertical compact basic buttons">
{{#ui-dropdown class='ui icon bottom right pointing dropdown button'}}
<i class="green checkmark icon"></i>
<div class="menu">
<div class="item">{{t 'With email'}}</div>
<div class="item">{{t 'Without email'}}</div>
</div>
{{/ui-dropdown}}
{{#ui-dropdown class='ui icon bottom right pointing dropdown button'}}
<i class="red remove icon"></i>
<div class="menu">
<div class="item">{{t 'With email'}}</div>
<div class="item">{{t 'Without email'}}</div>
</div>
{{/ui-dropdown}}
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
@@ -0,0 +1,9 @@
import { test } from 'ember-qunit';
import moduleFor from 'open-event-frontend/tests/helpers/unit-helper';
moduleFor('route:events/view/sessions', 'Unit | Route | events/view/sessions', []);
test('it exists', function(assert) {
let route = this.subject();
assert.ok(route);
});

0 comments on commit 231e802

Please sign in to comment.