# HG changeset patch # User cavaliet # Date 1379061363 -7200 # Node ID c1e36f5911a9e078ebbc4e0badd03dc9ec7b2a69 # Parent d585f6b46b88ace845d5b5ed269b30edcd91ccdc# Parent 1d45a564a39851504ccc27bb6944db7e85430fbc Merge with 1d45a564a39851504ccc27bb6944db7e85430fbc diff -r 1d45a564a398 -r c1e36f5911a9 src/p4l/static/p4l/css/p4l.css --- a/src/p4l/static/p4l/css/p4l.css Thu Sep 12 18:44:19 2013 +0200 +++ b/src/p4l/static/p4l/css/p4l.css Fri Sep 13 10:36:03 2013 +0200 @@ -45,6 +45,12 @@ opacity: .7; margin-right: 4px; } +.grey-bottom { + border-bottom: 1px dotted #CCC; +} +.grey-hover:hover { + background-color: #EEE; +} /* Flags */ .flag { diff -r 1d45a564a398 -r c1e36f5911a9 src/p4l/static/p4l/js/p4l.js --- a/src/p4l/static/p4l/js/p4l.js Thu Sep 12 18:44:19 2013 +0200 +++ b/src/p4l/static/p4l/js/p4l.js Fri Sep 13 10:36:03 2013 +0200 @@ -66,9 +66,27 @@ list:"=objectList", dispTemplate: "@dispTemplate", formTemplate: "@formTemplate", - objectFields: "@objectFields" + objectFields: "@objectFields", + labelFields: "@labelFields", + sizeFields: "@sizeFields", + table: "@table" }, controller: function($scope, $element, $attrs, $transclude) { + // Setup divs table parameters + $scope.headFields = angular.fromJson($scope.objectFields); + $scope.headLabels = angular.fromJson($scope.labelFields); + $scope.headSizes = angular.fromJson($scope.sizeFields); + if($scope.headSizes==undefined){ + $scope.headSizes = []; + var n = $scope.headFields.length; + for(var i=0;i - {{ obj.imprintCity }} - {{ obj.publisher }} - {{ obj.imprintDate }} - {{ obj.lang }} - \ No newline at end of file + +
c {{ obj.imprintCity }}
+
p {{ obj.publisher }}
+
d {{ obj.imprintDate }}
+
l {{ obj.lang }}
+
\ No newline at end of file diff -r 1d45a564a398 -r c1e36f5911a9 src/p4l/static/p4l/templates/objectListTable.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/p4l/static/p4l/templates/objectListTable.html Fri Sep 13 10:36:03 2013 +0200 @@ -0,0 +1,22 @@ +
+
+
{{l | translate}}
+
{{'Actions' | translate}}
+
+
+ +
{{ obj[f] }}
+
+ +
+ + +
+
+ + +
+ + +
+
\ No newline at end of file diff -r 1d45a564a398 -r c1e36f5911a9 src/p4l/static/p4l/templates/serieDisp.html --- a/src/p4l/static/p4l/templates/serieDisp.html Thu Sep 12 18:44:19 2013 +0200 +++ b/src/p4l/static/p4l/templates/serieDisp.html Fri Sep 13 10:36:03 2013 +0200 @@ -1,5 +1,5 @@ - + +
{{ obj.title }}
+
{{ obj.volume }}
+
{{ obj.lang }}
+
\ No newline at end of file diff -r 1d45a564a398 -r c1e36f5911a9 src/p4l/static/p4l/templates/urlDisp.html --- a/src/p4l/static/p4l/templates/urlDisp.html Thu Sep 12 18:44:19 2013 +0200 +++ b/src/p4l/static/p4l/templates/urlDisp.html Fri Sep 13 10:36:03 2013 +0200 @@ -1,5 +1,5 @@ - + + +
{{ obj.display }}
+
{{ obj.accessLevel }}
+
\ No newline at end of file diff -r 1d45a564a398 -r c1e36f5911a9 src/p4l/templates/p4l/record_update_form.html --- a/src/p4l/templates/p4l/record_update_form.html Thu Sep 12 18:44:19 2013 +0200 +++ b/src/p4l/templates/p4l/record_update_form.html Fri Sep 13 10:36:03 2013 +0200 @@ -116,8 +116,10 @@ - {{ 'imprints' | translate }} - + {{ 'imprints' | translate }} + {{ 'collations' | translate }} @@ -141,7 +143,9 @@ {{ 'series' | translate }} - + {{ 'authors' | translate }} @@ -165,7 +169,9 @@ {{ 'Urls' | translate }} - + {{ 'record type' | translate }}