-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
4e15122
commit 3b63735
Showing
23 changed files
with
100 additions
and
190 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,7 +85,7 @@ body { | |
} | ||
|
||
.speaker h3 { | ||
|
||
color: #286090; | ||
} | ||
|
||
.text { | ||
|
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../static/js/speakers/SpeakersLayoutView.js → ...tic/js/conference/ConferenceLayoutView.js
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
11 changes: 5 additions & 6 deletions
11
...tatic/js/conferences/ConferencesRouter.js → .../static/js/conference/ConferenceRouter.js
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
File renamed without changes.
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
File renamed without changes.
26 changes: 0 additions & 26 deletions
26
src/main/resources/static/js/conferences/ConferencesController.js
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
src/main/resources/static/js/conferences/ConferencesLayoutView.js
This file was deleted.
Oops, something went wrong.
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,21 @@ | ||
define([ | ||
'text!speaker/SpeakerFormTemplate.html', | ||
'backbone.marionette' | ||
], function (template) { | ||
|
||
'use strict'; | ||
|
||
return Marionette.ItemView.extend({ | ||
template: _.template(template), | ||
bindings: { | ||
'#email' : 'id', | ||
'#name' : 'name', | ||
'#position': 'position', | ||
'#about' : 'about' | ||
}, | ||
|
||
onRender: function () { | ||
this.stickit(); | ||
} | ||
}); | ||
}); |
9 changes: 9 additions & 0 deletions
9
src/main/resources/static/js/speaker/SpeakerFormtemplate.html
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,9 @@ | ||
<div class="modal-body"> | ||
<label for="name">Full Name</label><input id="name" type="text" class="form-control" placeholder="Name" maxlength="255"> | ||
<label for="email">Email</label> <input id="email" type="email" class="form-control" placeholder="Email"> | ||
<label for="position">Position</label> <input id="position" type="text" class="form-control" placeholder="Position" maxlength="255"> | ||
<label for="about">About</label> <textarea class="form-control" rows="3" id="about" placeholder="Short story"></textarea> | ||
</div> | ||
<div class="modal-footer"> | ||
<button id="save-speaker-button" type="button" class="btn btn-success">Save</button> | ||
</div> |
2 changes: 0 additions & 2 deletions
2
src/main/resources/static/js/speaker/SpeakerLayoutTemplate.html
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
src/main/resources/static/js/speaker/SpeakerPageTemplate.html
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,3 @@ | ||
<div data-table-region></div> | ||
<button id="add-speaker-button" type="button" class="btn btn-primary btn-lg">Add speaker</button> | ||
<div data-form-region></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 |
---|---|---|
@@ -1,21 +1,15 @@ | ||
define([ | ||
'speaker/SpeakerView', | ||
'text!speaker/SpeakerLayoutTemplate.html', | ||
'text!speaker/SpeakerPageTemplate.html', | ||
'backbone.marionette' | ||
], function (SpeakerView, template) { | ||
], function (template) { | ||
|
||
'use strict'; | ||
|
||
return Marionette.CollectionView.extend({ | ||
return Marionette.LayoutView.extend({ | ||
template: _.template(template), | ||
|
||
childView: SpeakerView, | ||
childViewContainer: '[data-table-region]', | ||
|
||
onBeforeRender: loadData | ||
regions : { | ||
table : '[data-table-region]', | ||
form : '[data-form-region]' | ||
} | ||
}); | ||
|
||
function loadData() { | ||
this.collection.fetch(); | ||
} | ||
}); |
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,17 @@ | ||
define([ | ||
'speaker/SpeakerView', | ||
'backbone.marionette' | ||
], function (SpeakerView) { | ||
|
||
'use strict'; | ||
|
||
return Marionette.CollectionView.extend({ | ||
childView: SpeakerView, | ||
|
||
onBeforeRender: loadData | ||
}); | ||
|
||
function loadData() { | ||
this.collection.fetch(); | ||
} | ||
}); |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.