summaryrefslogtreecommitdiffstats
path: root/help3xsl
Commit message (Collapse)AuthorAgeFilesLines
...
* Add module name to Contents link URLOlivier Hallot2019-03-261-1/+2
| | | | | | | | | | | | | | | | Add ?DbPAR=<MODULE> to the contents link URL. <smodule>.tree does not have the DbPAR param in the link URLs. 2 possibiltites: 1) Add to the source files *.tree and we are done (triggers retranslation) 2) get module name at build time and add to the resulting tree (this solution) Change-Id: I2a3c1edcec7dd824a44bb93f0343ec8cb88cb0c4 Reviewed-on: https://gerrit.libreoffice.org/69714 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Header and donation CSS tweaksIlmari Lauhakangas2019-03-151-2/+6
| | | | | | | | Change-Id: I20e5610c08db700e12baffa9b62dcf8dfd0c4328 Reviewed-on: https://gerrit.libreoffice.org/69278 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Jenkins
* New approach to switch casesIlmari Lauhakangas2019-03-132-79/+82
| | | | | | | | | | | | | My previous JS patch broke the sys and appl switch behaviour. This patch removes the inline function calls from online_transform.xsl. Instead, help2.js now finds the relevant spans and calls the functions for them. Change-Id: I45d5b75bdb70a7c18eaa0b215beb57e3e1b6719a Reviewed-on: https://gerrit.libreoffice.org/69137 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Show module & lang navigation on mobileIlmari Lauhakangas2019-03-103-55/+60
| | | | | | | | | | | | | | | | | | | | Module & languages menus were not shown on screen widths < 960. Changed module & languages menu background to span the whole width, when on mobile. An arrow function was used in help2.js, which means it was broken on IE. Moved all src .js files to head and used defer for all. Moved inline Piwik & system info JS into help2.js and added a test for onlineness targeting the first meta element in the body. Change-Id: Ic1a928b53ce9029f9f655117977cd511b7e3246d Reviewed-on: https://gerrit.libreoffice.org/69005 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#53524 (compl) Minor tweaks in Help page.Olivier Hallot2019-03-081-0/+2
| | | | | | | | | | Added ref to icons minor updates on tags Change-Id: Ia9812a5928554284a5a2fb5416983888e2437439 Reviewed-on: https://gerrit.libreoffice.org/68915 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Donation button and sticky header for HelpIlmari Lauhakangas2019-03-082-64/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | Task: https://redmine.documentfoundation.org/issues/2815 Header was made sticky on non-mobile by using position: sticky. This was the only way to make it work with the grid without carving magic numbers into stone. IE11 ignores it, but so what? Donation text was made shorter. The Google search and the donation button were wrapped in a container to make it easy to haul them all over the place. Lots of tweaks were made to the grid areas and the styles of the bottom elements to make everything fit nicely in the new markup order. The result was tested on IE11 to make sure it degrades gracefully. The Displayarea element had a fixed width (my old mistake), which made the min-width: 960px layout look very uncool. Change-Id: I131a1e82290bc3381c938acb4dc9dbc408fb2ba7 Reviewed-on: https://gerrit.libreoffice.org/68890 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Revert "Improve donation link in Help online"Adolfo Jayme Barrientos2019-03-041-66/+12
| | | | | | | | | This reverts commit bd26e706b30dccecdeba24ba8b697ddf2fc7a615. Change-Id: Id45b4ef2bacae444be070a03fbc0e10a4992f85c Reviewed-on: https://gerrit.libreoffice.org/68699 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Some optimizing bits in XSLTOlivier Hallot2019-03-041-37/+20
| | | | | | | Change-Id: I27c29677cbf9c704d64b5ed49acc56b7a22432bd Reviewed-on: https://gerrit.libreoffice.org/68646 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Improve donation link in Help onlineOlivier Hallot2019-03-041-12/+66
| | | | | | | | | | | | | | | | | | redmine#2815 Addressed responsiveness: for screen width < 960px the button goes to the bottom of the screen and the header is not fixed anymore. Artists are invited to improve button rendering. Button max width is 300px, the en-US text and the translated text should fit in 2 lines of 300px each. Text is centered. Change-Id: I51860be2ad998e85f247118e44b21af3e2efa060 Reviewed-on: https://gerrit.libreoffice.org/68644 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Update list of missin icon replacementsOlivier Hallot2019-02-271-0/+6
| | | | | | | Change-Id: I193c10fa8c75f61fbcd749284f81e69f5f4ad603 Reviewed-on: https://gerrit.libreoffice.org/68464 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Update Colibre icon replacement table in HelpOlivier Hallot2019-02-231-4/+6
| | | | | | | Change-Id: Ie3e2fbca2f74d47a90e43c1707c28df46b7cf1ec Reviewed-on: https://gerrit.libreoffice.org/68208 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* More CSS tweaks…Adolfo Jayme Barrientos2019-02-211-19/+24
| | | | | | | | | | | | | | • Ever-so-slightly brightened link color • Made most tables centered; I think they look much better • Removed some pointless spacing • Made all dropdown options consistently align to the left • Finally found out why pagination had extra 40px to its left and it’s a shame the normalizer doesn’t account for it • Correctly made disabled pagination links unsensitive • Gave styling to the search bar for consistent appearance in Gecko- and Blink-based browsers Change-Id: Idcb488160aa97ec0c4adb5202aed7f194dfac7c9
* Fix call of main Help page from app Help menuOlivier Hallot2019-02-201-0/+4
| | | | | | | | | | | | | | | | The Application Help menu sends /<module>/.uno:HelpIndex in the Help URL. This translates to '.uno:HelpIndex' and module name is lost, opening the New Help default page instead of the module Help entry page. The patch picks the right module Help entry page in this particular case. Change-Id: Ifbb5ba4f817b195210fbb19bcb5c2011d2cb416d Reviewed-on: https://gerrit.libreoffice.org/68093 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Minor color and padding tweaks; some styling for TOCAdolfo Jayme Barrientos2019-02-071-18/+17
| | | | | | | | Just to fix the most egregious issues in content paragraphs. Some day I will actually have the energy to systematize everything into a cohesive set of spacing and padding values. Change-Id: I6d5d36e96d9c9a133d61b233413ebd17d8189d33
* fix commit 622324ec76e54ea1de99d6cea3debc2389049f5Olivier Hallot2019-02-011-6/+5
| | | | | | | | | | * SVG images cannot have undefined width and height * pick'd a mistake in setting generic images width and height Change-Id: I9f3e62e535c82d624c5c209b0e000784b2765604 Reviewed-on: https://gerrit.libreoffice.org/67234 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#121571 Solve cognitive dissonance with note icons and colorsAdolfo Jayme Barrientos2019-01-282-12/+12
| | | | | | | More often than not, the alarmist colors given to note boxes didn’t match their content. Change-Id: I88d7a8e2d07ffba661c218887fd54638506d21c8
* Drop this pitiful, bothersome, gimmicky animationAdolfo Jayme Barrientos2019-01-282-18/+3
| | | | Change-Id: If533f8565e38e02d503cc1ab59f65e2445f1369b
* Moved the pagination controls to the topIlmari Lauhakangas2019-01-231-6/+7
| | | | | | | | | | As the height of the result list keeps changing constantly, it was highly annoying to click the arrows in the controls. Change-Id: I82308adc3971f25ed629009bf1e0854d38197560 Reviewed-on: https://gerrit.libreoffice.org/66795 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Update list of missing icons in HelpOlivier Hallot2019-01-041-6/+4
| | | | | | | Change-Id: I6c2afb3b0ec5a0341fd6a1d0e2120e015f93e926 Reviewed-on: https://gerrit.libreoffice.org/65862 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#114263 Help page for BASIC WaitUntil statementOlivier Hallot2018-12-301-28/+28
| | | | | | | Change-Id: I6ef145556a813f65ea509b146eadbf744b6f1fae Reviewed-on: https://gerrit.libreoffice.org/65721 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Review code in help page and mute l10n when OKOlivier Hallot2018-12-262-4/+25
| | | | | | | | | | + Added "smathcode" role to render smath code paragraphs + let smath code samples be copied to clipboard. Change-Id: I580c162d0c77f51d0de817ca143a845abf56eca9 Reviewed-on: https://gerrit.libreoffice.org/65621 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Remove cruft from XSLTOlivier Hallot2018-12-221-5/+0
| | | | | | | Change-Id: I98dd6ad0a5c4dff7333c6f786aedce6b7679aae4 Reviewed-on: https://gerrit.libreoffice.org/65567 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Add support for python code scriptsOlivier Hallot2018-12-131-1/+8
| | | | | | | | | | | | | Introduced <pycode> section and "pycode" role for paragraphs with same behaviour as BASIC coounterparts. Used to list python scripts examples ans code fragments in help pages Change-Id: Ica76bcc65dcf422a1eb4b7f39a6d671b2e4e573c Reviewed-on: https://gerrit.libreoffice.org/65097 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Update links for missing Colibre iconsOlivier Hallot2018-12-071-37/+55
| | | | | | | Change-Id: I827b755259ac7dc8de9a706dc111fd021be22306 Reviewed-on: https://gerrit.libreoffice.org/64783 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#115663 Syntax highlight in BASIC code examplesOlivier Hallot2018-11-295-38/+1506
| | | | | | | | | | | | | Use prism.js to highlight BASIC code in help pages See README.prism.js.txt for details added normalize-whitespaces plugin to remove extra 1st line cleaned some useless css class Change-Id: I6dde4d217a29f485199ced462b896ee1b500fba0 Reviewed-on: https://gerrit.libreoffice.org/64252 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#121797 XHP extensions (Help part)Olivier Hallot2018-11-282-2/+74
| | | | | | | | | | | | | | | | | | | WIP. This is the Help part. Extend the XML parser to include new incantations of the <paragraph> tag, namely <h1> to <h6> <note>, <tip> and <warning> Extension to the <item> tag: <menuitem>, <input>, <literal>, <widget> and <keycode> * removed test files Change-Id: I2a473ee8772606f5e84bb02e651bccc6749598f4 Reviewed-on: https://gerrit.libreoffice.org/63954 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#119415 Widen search box and style placeholderAdolfo Jayme Barrientos2018-11-221-3/+5
| | | | Change-Id: I0f60cfea338e695e778d16a208153597ec6d19ca
* Stop index headers from being linkifiedIlmari Lauhakangas2018-11-221-3/+4
| | | | | | | | Change-Id: If445b693feb17fd943eced3a222a20b26039891d Reviewed-on: https://gerrit.libreoffice.org/63759 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#119415 Add placeholder text for index filterIlmari Lauhakangas2018-11-202-3/+21
| | | | | | | | Change-Id: If7a0a863eb6b8bb95a5b6236f4f3d490739810a1 Reviewed-on: https://gerrit.libreoffice.org/63672 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Honor asc/desc in XHP sortingOlivier Hallot2018-11-161-2/+14
| | | | | | | Change-Id: I11cc206e3f8771fc19387cd2a9c02697982251dc Reviewed-on: https://gerrit.libreoffice.org/63445 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Fix icon display in Help pagesOlivier Hallot2018-11-112-377/+61
| | | | | | | | | | | | | 1) The python script creates the replacement table (xsl) for missing icons from colibre/links.txt. Later it should go to build system. 2) Handle icon tables when images are not from icon-theme Change-Id: If946af6fc6c05431c07470c01082a46e0fdbdde0 Reviewed-on: https://gerrit.libreoffice.org/63254 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Fixed some silliness, added highlighting for index filterIlmari Lauhakangas2018-11-111-5/+3
| | | | | | | Change-Id: I946ffdb52ed8f324ab58f45a90f5decdd58932dc Reviewed-on: https://gerrit.libreoffice.org/63240 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Fix typoAndrea Gelmini2018-11-101-1/+1
| | | | | | | Change-Id: I89f596c5d4ee95cc48ee52507bbce9ed4eb0085a Reviewed-on: https://gerrit.libreoffice.org/63225 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* tdf#119415 change from fuse.js to fuzzysort.jsIlmari Lauhakangas2018-11-097-1063/+690
| | | | | | | | | | Tied the index listing to the current module. Fuzzysort.js is MIT licensed. Change-Id: I5d95cc1870a1856089217846ed0af572abc882d7 Reviewed-on: https://gerrit.libreoffice.org/63203 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Add debug info for HID in new helpOlivier Hallot2018-09-262-1/+6
| | | | | | | | | | | | | To enable Help page debug, add '&Debug=1' to the page URL. This patch pass the HID in the URL of the help page and displays it in the debug div in the bottom of the page. It should help to locate missing pages for a given HID. Change-Id: I671feb2dc34baaef5230028ba918a407d4cfea76 Reviewed-on: https://gerrit.libreoffice.org/60843 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#119230 Chart help page opens emptyOlivier Hallot2018-09-211-1/+2
| | | | | | | | | | Chart module was missing in selection of default entry help page. + fix main entry page for Help, when no module specified. Change-Id: Id79ae7fe4fd6170034348bc799e22d71e286f38c Reviewed-on: https://gerrit.libreoffice.org/60839 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Helponline: H2 too similar to H3Adolfo Jayme Barrientos2018-09-151-1/+1
| | | | | | A teeny-tiny upward nudge. Change-Id: I9491c5a849316907f0770ab29752cbc385cef107
* Prepare to handle native SVG iconsOlivier Hallot2018-09-071-1/+11
| | | | | | | | | Today icons are PNG images, if later they become SVG natively... Change-Id: I42d886257b55b5676767c8b8879a6bf35eb4d5e6 Reviewed-on: https://gerrit.libreoffice.org/60156 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Height and width are <img> attributesOlivier Hallot2018-09-071-7/+4
| | | | | | | Change-Id: Ia8084ff7029ddd06e450cbf03a7b1fb5efaa7dc7 Reviewed-on: https://gerrit.libreoffice.org/60136 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Fix image dimensions expression in styleOlivier Hallot2018-09-071-1/+1
| | | | | | | Change-Id: I1803f18aa0512e5b618daa64efff6487c583fb76 Reviewed-on: https://gerrit.libreoffice.org/60106 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#117551 Change icons to SVG equivalentOlivier Hallot2018-09-061-3/+4
| | | | | | | Change-Id: I5d174b434429485d270ba7b6e9147a3bc2b84828 Reviewed-on: https://gerrit.libreoffice.org/60056 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Show how beautiful are our iconsOlivier Hallot2018-09-062-1/+16
| | | | | | | | | | | On hovering icons, enlarge them. Next step: change icons to SVG (tdf#117551) Change-Id: Ib43e3b54ed27352a8ca785c57dce9314adc00e4d Reviewed-on: https://gerrit.libreoffice.org/60053 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Honor colspan and rowspan in tablecellsOlivier Hallot2018-08-241-4/+4
| | | | | | | | | Previously not implemented Change-Id: I8867d82bc12a6c4312fcc6aa49c6b31e360a524e Reviewed-on: https://gerrit.libreoffice.org/59580 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Add help pages for new HelpOlivier Hallot2018-08-232-2/+2
| | | | | | | | | Exlplain the new browser-based help system and user interface. Change-Id: I418b5fe148661a40b4e0291776ac43f4f207743e Reviewed-on: https://gerrit.libreoffice.org/59472 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Better placement of background color definitions & a new shadowAdolfo Jayme Barrientos2018-08-231-6/+5
| | | | Change-Id: I8ad99f278cd1e4d96ae873627f2dfa2a5b827761
* Add some space between warning/note/tip boxesOlivier Hallot2018-08-231-1/+2
| | | | | | | Change-Id: I37b9bf85cbe2b3e101c5ba4c71391692b2a65425 Reviewed-on: https://gerrit.libreoffice.org/59473 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Fix logic for screenshots in help pagesOlivier Hallot2018-08-201-46/+50
| | | | | | | | | better handling of image dimensions Change-Id: Iefceb9fa391d564c8920ab53160f70110a7abb8a Reviewed-on: https://gerrit.libreoffice.org/59338 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Generate the modules dropdown content on demand too.Jan Holesovsky2018-08-162-11/+19
| | | | | | | | | | Change-Id: Ibcbd8faac4f31d41398d8ae98314d83690136ab6 Reviewed-on: https://gerrit.libreoffice.org/59152 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-on: https://gerrit.libreoffice.org/59153 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Translate the language names in JS.Jan Holesovsky2018-08-162-8/+3
| | | | | | | Change-Id: I7185a7d0981abbacef4a152ee6ac5352ebe970cd Reviewed-on: https://gerrit.libreoffice.org/59150 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Don't embed links to all the languages into every page.Jan Holesovsky2018-08-162-5/+18
| | | | | | | Change-Id: I31f140919a18db55ef5afab9f229afa7eed3e36c Reviewed-on: https://gerrit.libreoffice.org/59149 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>