gallery update: gallery-item component, style refactoring
This commit is contained in:
1 parent
302bf86f0b
commit
477b9916f2
7 files changed
+188
-172
No files matched your search
@@ -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";
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
import template from '../../templates/components/gallery-item.html';
|
||||
|
||||
export default function (app) {
|
||||
app.component('galleryItem', {
|
||||
bindings: {
|
||||
record: '='
|
||||
},
|
||||
template: template
|
||||
});
|
||||
};
|
||||
Reference in new issue
Block a user