[Marble-devel] Review Request 108511: Template System + MarbleLegendBrowser + HTML5 (Woo Hoo)
Illya Kovalevskyy
illya.kovalevskyy at gmail.com
Mon Jan 21 18:39:35 UTC 2013
> On Jan. 20, 2013, 11:14 p.m., Thibaut Gridel wrote:
> > src/lib/MarbleLegendBrowser.cpp, line 229
> > <http://git.reviewboard.kde.org/r/108511/diff/3/?file=108273#file108273line229>
> >
> > Why hardcoding cities checkstate here?
> > Can this be made generically?
Hardcoding cities checkstate? Nope. This map is set dynamicly.
> On Jan. 20, 2013, 11:14 p.m., Thibaut Gridel wrote:
> > src/lib/TemplateDocument.h, line 21
> > <http://git.reviewboard.kde.org/r/108511/diff/3/?file=108275#file108275line21>
> >
> > Any documentation at all?
Will be added in the next update ;)
> On Jan. 20, 2013, 11:14 p.m., Thibaut Gridel wrote:
> > src/lib/htmlfeatures/bootstrap.js, line 2
> > <http://git.reviewboard.kde.org/r/108511/diff/3/?file=108279#file108279line2>
> >
> > Which part of Bootstrap is enabled?
> > Can we restrict the features to the bare minimum we need?
I will customize Bootstrap for Marble to make it lighter soon.
> On Jan. 20, 2013, 11:14 p.m., Thibaut Gridel wrote:
> > src/lib/htmlfeatures/jquery-latest.js, line 1
> > <http://git.reviewboard.kde.org/r/108511/diff/3/?file=108281#file108281line1>
> >
> > Which feature(s) of jquery are needed?
Bootstrap.js needs it. But currently, we don't use bootstrap.js, actually. So, I will remove it (bootstrap.js too).
- Illya
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108511/#review25874
-----------------------------------------------------------
On Jan. 20, 2013, 10:17 p.m., Illya Kovalevskyy wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108511/
> -----------------------------------------------------------
>
> (Updated Jan. 20, 2013, 10:17 p.m.)
>
>
> Review request for Marble, Dennis Nienhüser, Torsten Rahn, and René Küttner.
>
>
> Description
> -------
>
> A list of changes:
>
> - Fixed Cities bug
> - Added TemplateDocument class for templating things
> - MarbleLegendBrowser tweaked (support of cool image borders, nice fonts, everything Bootstrap has)
> - Added support of Bootstrap (http://twitter.github.com/bootstrap/index.html) in HTML of Marble
> - MapInfoDialog improved (see MarbleLegendBrowser changes)
>
> More about TemplateDocument:
>
> - It use %var_name% to template the text
> - String format %!{name}% will include library `name` into the HTML. Used in <head> tag
>
>
> Diffs
> -----
>
> data/legend.html 317b6cf
> data/maps/earth/openstreetmap/legend.html aa02426
> data/maps/earth/schagen1689/legend.html db3f171
> src/lib/CMakeLists.txt 59ad8d2
> src/lib/MarbleLegendBrowser.cpp fad7020
> src/lib/MarbleWidgetPopupMenu.cpp eb608be
> src/lib/TemplateDocument.h PRE-CREATION
> src/lib/TemplateDocument.cpp PRE-CREATION
> src/lib/htmlfeatures/bootstrap-responsive.css PRE-CREATION
> src/lib/htmlfeatures/bootstrap.css PRE-CREATION
> src/lib/htmlfeatures/bootstrap.js PRE-CREATION
> src/lib/htmlfeatures/bootstrap.tpl PRE-CREATION
> src/lib/htmlfeatures/jquery-latest.js PRE-CREATION
> src/lib/htmlfeatures/jquery.tpl PRE-CREATION
> src/lib/libmarble.qrc 7753834
> src/lib/webpopup/city.html 764f3c3
> src/lib/webpopup/geoplace.html 4abca92
> src/lib/webpopup/nation.html 4bfe9a0
> src/lib/webpopup/placesscreen.css b25f73d
> src/lib/webpopup/skyplace.html 707f30f
>
> Diff: http://git.reviewboard.kde.org/r/108511/diff/
>
>
> Testing
> -------
>
> Tested on Qt version of Marble - everything is ok. Tests are passed.
>
>
> File Attachments
> ----------------
>
> Old Historic Legend
> http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-historic-old.png
> Old OSM Legend
> http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-osm-old.png
> New Histroric Legend
> http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-historic-new.png
> Old Temperature Legend
> http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-temp-old.png
> New OSM Legend
> http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-osm-new.png
> New Temperature Legend
> http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-temp-new.png
> New MapInfoDialog
> http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-ukraine-new.png
>
>
> Thanks,
>
> Illya Kovalevskyy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20130121/20ef7ca5/attachment-0001.html>
More information about the Marble-devel
mailing list