Commit graph

11 commits

Author SHA1 Message Date
Mark Holmquist a66be06ae9 Add creation time to list
Fallback to upload time for now.

Helps to have:

* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec
* CommonsMetadata
:* I5e6bc45f9751641e16426231dabcc8277b86fee0

Change-Id: I822b48cebbace51cd8f68adc45a68a1c93ec29db
2013-10-24 15:21:17 -07:00
Mark Holmquist bfc58e4533 Add description to the DOM
This is all getting really real, really fast!

Depends on:

* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec
* CommonsMetadata
:* I5e6bc45f9751641e16426231dabcc8277b86fee0

Change-Id: I203852358fc6f7592832e48c562b24c5d9f046f5
2013-10-24 14:06:56 -07:00
Mark Holmquist c9bd8416ec Add whitelistHtml method
Used in source/authour and description patches

Change-Id: Iff17ee74f7a1bcee1c099053a2b15be7fc8bab77
2013-10-24 14:04:51 -07:00
Mark Holmquist 084cbfe7e4 Fetch extended metadata from the API
Depends on:

* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec

Change-Id: Ic4700d33e4104783e034903f25a72b8fac2d89b2
2013-10-24 13:41:12 -07:00
jenkins-bot 822018c418 Merge "Only add handlers on image thumbnails" 2013-10-24 20:31:14 +00:00
Mark Holmquist 509416ce8d Add remote image repository information to list
Change-Id: Icfab093a44530949d1672a683fb8d4c0e7b901fc
2013-10-24 09:43:11 -07:00
Mark Holmquist f279c17112 Fix interface creation
The previous commits had a flawed process for creating the lightbox
interface. We now have some nice tweaks that should make it loads
easier to modify in later commits.

Change-Id: Ie56da2384c993279af0db2dee82e488e02783114
2013-10-24 09:31:08 -07:00
Mark Holmquist 62f6235f54 Only add handlers on image thumbnails
None of this PDF handler business.

Whitelist may be a little incomplete, but I think it comprises most of
the images on Commons at least. We can revisit later.

Change-Id: I33a44f8de8b0e93818f7cc950d8cae11bd73b929
2013-10-22 13:42:57 -07:00
Mark Holmquist 88b2e6f1a2 Pull data from API, load title
Information is actually getting stuck into the interface now! Woo!

Also added divs for other metadata, when we're ready for them.

Note, requires I1aaed0895d2a0bc224c82e93975ecf6afd8cb6b8 and
Ie31e6df376bda087e92ec889d54df3374ba96b5e to work properly.

Change-Id: Ief96c1b7b7ad54a6bdf0531921a842206a42c823
2013-10-08 11:42:39 -07:00
Mark Holmquist a25d117b43 Pull changes from multilightbox
Fixes for resizing the image - should make things a little nicer

Also fix for bind - should fix the library for IE users.

Change-Id: I52ea4fcf0cb8b4ee3a6e2ca835f846264fffae3b
2013-09-27 14:21:45 -07:00
Mark Holmquist 4898f42e18 Initial commit - working demo
Works with the new multilightbox library from
https://gitorious.org/multilightbox/multilightbox

Also has fullscreen and close. Very fun.

Change-Id: I6d61f6590843e1767bc7492dbd98e6aa3b85fcdc
2013-09-03 16:52:28 -07:00