gallery update: gallery-item component, style refactoring

This commit is contained in:
tmshv committed 2016-02-22 00:00:04 +03:00
1 parent 302bf86f0b
commit 477b9916f2
7 files changed
+188 -172

No files matched your search

+2
View File
@@ -4,6 +4,7 @@
import Document from './components/Document';
import Award from './components/Award';
import GalleryItem from './components/GalleryItem';
import api from './api/api';
var deps = [
@@ -101,6 +102,7 @@ app.run(function ($location, $rootScope, $http) {
require("./controllers/CopyrightController"),
Document,
Award,
GalleryItem,
function (app) {
app.controller("SchedulePageController", function ($scope) {
$scope.pageClass = "page-schedule";
+10
View File
@@ -0,0 +1,10 @@
import template from '../../templates/components/gallery-item.html';
export default function (app) {
app.component('galleryItem', {
bindings: {
record: '='
},
template: template
});
};