# HG changeset patch # User cavaliet # Date 1412345750 -7200 # Node ID 28208a0ad8b94949190ea3ffcc809d665d22b444 # Parent 18a4c598ddee8a5f2ff0561cb6325d126786e5b4 edit slide by url diff -r 18a4c598ddee -r 28208a0ad8b9 client/app/app.js --- a/client/app/app.js Fri Oct 03 12:41:56 2014 +0200 +++ b/client/app/app.js Fri Oct 03 16:15:50 2014 +0200 @@ -16,10 +16,14 @@ controller: 'slideshowCtrl', templateUrl: 'slideshow/slideshow.html' }). - /*when('/slideshow/:iSlide', { + when('/slideshow/:iSlide', { controller: 'slideshowCtrl', templateUrl: 'slideshow/slideshow.html' - }).*/ + }). + when('/slideshow/edit/:iSlide', { + controller: 'slideshowCtrl', + templateUrl: 'slideshow/slideshow.html' + }). when('/slideshow/add/:searched', { controller: 'slideshowCtrl', templateUrl: 'slideshow/slideshow.html' diff -r 18a4c598ddee -r 28208a0ad8b9 client/app/gallery/gallery.css --- a/client/app/gallery/gallery.css Fri Oct 03 12:41:56 2014 +0200 +++ b/client/app/gallery/gallery.css Fri Oct 03 16:15:50 2014 +0200 @@ -11,14 +11,15 @@ } .img-ctn p { - display: none; - position: absolute; + background-color: #ddd; bottom: -5px; - background-color: #DDD; - width: 100%; + display: none; + padding: 2px 5px; + position: absolute; + width: calc(100% - 22px); } -.img-ctn:hover p { +.img-ctn:hover p, .img-ctn:hover .gallery-buttons { display: block; } @@ -26,6 +27,13 @@ margin: 0 auto; } +.gallery-buttons{ + display: none; + position: absolute; + right: 10px; + top: 10px; +} + .subtitle { border-top: 1px solid #000; border-bottom: 1px dotted #000; diff -r 18a4c598ddee -r 28208a0ad8b9 client/app/gallery/gallery.html --- a/client/app/gallery/gallery.html Fri Oct 03 12:41:56 2014 +0200 +++ b/client/app/gallery/gallery.html Fri Oct 03 16:15:50 2014 +0200 @@ -6,6 +6,8 @@
{{ i.title }}
+Nom : {{ h.metas|meta:"name" }}
diff -r 18a4c598ddee -r 28208a0ad8b9 client/app/slideshow/dataEditor.html --- a/client/app/slideshow/dataEditor.html Fri Oct 03 12:41:56 2014 +0200 +++ b/client/app/slideshow/dataEditor.html Fri Oct 03 16:15:50 2014 +0200 @@ -1,11 +1,11 @@{{slide.user_description}}
{{slide.tags.join(', ')}}
- +