Commit graph

20 commits

Author SHA1 Message Date
jenkins-bot bd0ae60a68 Merge "Icon changes" 2013-10-31 17:33:26 +00:00
Mark Holmquist 45f0820ec1 Icon changes
Removed unused circle.svg, added use.svg for "use this file", added
new SVG versions for most icons from Vibha.

Change-Id: Ice2db8fdaf785dae9d3018f78db35c6cbd15f774
2013-10-31 10:16:41 -07:00
Mark Holmquist dd2e2d153f Add info links for Media Viewer
Bug: 56332
Change-Id: I2d229481693735a4662f1d898bd0f19c200e39bc
2013-10-31 17:15:43 +00:00
Mark Holmquist ca46c13d13 Add "use this file" link and dialog
Little bit hacky, maybe, but it's working nicely and it's a very useful
tool for the lightbox.

Selection, it turns out, is really really difficult.

Bug: 56141
Change-Id: Ifd3e2f771010190c9f401fd4219342aff48f4be8
2013-10-30 13:06:18 -07:00
jenkins-bot df2f60080b Merge "Add image's license to the lightbox header" 2013-10-30 18:57:55 +00:00
Mark Holmquist e40d993227 Add image's license to the lightbox header
Depends on…

* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec
* CommonsMetadata
:* I5e6bc45f9751641e16426231dabcc8277b86fee0 (merged)
:* If3cf6a0ee444d1613d0caf14045b92fad6afa2ab (merged)

Change-Id: I60180f7ca3a16a04a0adee8af8482fa0940ac555
2013-10-30 11:53:26 -07:00
jenkins-bot c8d3d6f2d1 Merge "Increase title font size, bold it" 2013-10-30 18:24:13 +00:00
jenkins-bot 8161af183b Merge "Take down the font size in lis, tweak colour" 2013-10-30 18:23:16 +00:00
Mark Holmquist 9ecc3d7f70 Take down the font size in lis, tweak colour
Bug: 56265
Change-Id: Id017deb474ee621c3c2ae8cf5fb9512abfeabffe
2013-10-28 16:25:20 -07:00
Mark Holmquist 29d7283a92 Increase title font size, bold it
Bug: 56112
Change-Id: I4f5dd4af99a313d250cc3dedf2d0d93789404cc0
2013-10-28 16:20:17 -07:00
Mark Holmquist a7d2685a9c position: fixed for multilightbox
Also moved something out of the ml.css file that shouldn't have been
there.

Bug: 55476
Change-Id: I94020b138a71683e2407a78ef480057692967eaf
2013-10-28 11:40:10 -07:00
Mark Holmquist 0719e17a6b Add source and authour to the title div
Strips out complex formatting, which should be useful later on as well.

Depends on:

* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec
* CommonsMetadata
:* I5e6bc45f9751641e16426231dabcc8277b86fee0

Change-Id: Id835fd8133b9762e7bec10783f4fa4b983177aed
2013-10-24 15:59:24 -07:00
Mark Holmquist 47c7fc1be8 Put the username into the info list
Link to the user page of the uploader.

Fetches the gender from the API - falls back to "unknown" especially in
cases of cross-domain requests.

Change-Id: I38940782dc5d2d56c8aea608b1fe72e04f397c00
2013-10-24 15:55:38 -07:00
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 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 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 5052a345b7 Reverse the colour scheme for MediaWiki's purposes
multilightbox uses white-on-black by default because that's how most
sites roll. We want black-on-white, so I've reversed it now.

Change-Id: I0d7eb36eda5bfdcb5d019cc31a7358bf71e33df0
2013-09-29 18:16:36 +00: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