Commit graph

92 commits

Author SHA1 Message Date
Jana Deutschländer
7d802b57a2 keyboard access + direct link scrolling 2017-05-02 16:29:02 +02:00
Jana Deutschländer
4a0e15e1d3 Merge remote-tracking branch 'origin/title' 2017-04-26 17:48:39 +02:00
Jana Deutschländer
b92c574de6 SPR-893: keyboard access 2017-04-26 17:44:53 +02:00
Jana Deutschländer
5148e0c91a Merge remote-tracking branch 'origin/breadcrumbs'
SPR-972: german translation
2017-04-26 16:20:39 +02:00
Jana Deutschländer
cbf9c4a6f0 fix conf-option 2017-04-26 16:00:43 +02:00
Jana Deutschländer
a2076f0690 SPR-969: change wording for head_breadcrumb in head_breadcrumb_youarehere to show that it is used for hierarchical breadcrumbs (conf-option youarehere) 2017-04-26 15:53:38 +02:00
Andreas Gohr
84f9464195 SPR-972 add more info to the breadcrumb
* add the current admin plugin to the breadcrumb
* use proper translations for the various modes
* do no longer rely on JavaScript for the enhanced breadcrumb
* add image name in breadcrumb for detail view
2017-04-26 14:57:49 +02:00
Michael Große
4a1a2863db
Check the correct conf-option for hierarchical breadcrumbs
SPR-969
2017-04-26 12:05:32 +02:00
Andreas Gohr
146503ce08 Merge branch 'master' into title
* master:
  Adjust less vars for compatibility
  Use do-plugin's user task button w/ overlay
  SPR-937: comment
  SPR-958: Scrollbars im meta-footer (bdi)
  SPR-958: Scrollbars im meta-footer (bdi)
  SPR-950: optimate Headerstyling in Mobile
  SPR-950: mobile - magicmatcher additional class makes wrong padding in usertoolicons
  SPR-945: min-width for quicksearch qs wide-screen
  SPR-950: optimate Headerstyling in Mobile
  SPR-945: min-width for quicksearch qs wide-screen
  SPR-945: min-width for quicksearch qs wide-screen
  SPR-945: min-width for quicksearch qs wide-screen
  SPR-942: sublist less indent; SPR-945: min-width for quicksearch
  SPR-942: sublist alignment in sidebar; SPR-953: nav active
  SPR-942: sublist less indent
  SPR-908: qs old data plugin (edit button for table)
  SPR-908: check fix border-radius
  SPR-937: Alignment Sidebar
2017-04-26 11:54:19 +02:00
Michael Große
211de8a54a
Use do-plugin's user task button w/ overlay
Motivation
----------
Since we do not have a dashboard it would be useful to directly see
one's task on click upon the respective icon. Also this is most likely
the dominating reason of the dashboard-usage.

Implementation Decisions
------------------------
* Use SVG: Since we move towards using SVG everywhere in DokuWiki, I
decided to use a SVG icon here as well. This makes it compatible with
other templates too, without introducing an icon-font there.
* Using a `<span>` instead of a `<strong>`: I do not see the semantic reason
behind using a `<strong>` here.

Other Changes
-------------
* The styles related to the do-plugin have been moved from
css/area_nav-usertools.less to css/plugins/do_tasks.less

This needs the respective pull request merged from the do-plugin:
https://github.com/cosmocode/do/pull/31

SPR-962
2017-04-24 19:23:48 +02:00
Andreas Gohr
9e264cdc04 show sidebar label on collapsed sidebar SPR-957
This removes the base z-indexes as they seem not to be needed (source
order defines initial heights) and interfered with the sidbar functionality.

Removing it was suggested in SPR-899 as well
2017-04-24 15:53:27 +02:00
Jana Deutschländer
d80bb21849 Merge branch 'starred' into 'master'
SPR-940 Starred Plugin Integration

See merge request !41
2017-04-24 14:06:04 +02:00
Michael Große
81a9f400e7
Prevent interaction between do-js and our page-tasks-icon
The javascript of the do-plugin tries to update the container with the
plugin__do_pagetasks class. However, since our container has a different
structure than the icon produced by the do-plugin, this attempt fails
and leaves the icon in a broken state.

This commit changes the class of the container and thus ceases to be
affected by the do-plugin's javascript.

SPR-946
2017-04-24 11:21:26 +02:00
Andreas Gohr
1fc95e4da6 integrate the own stared pages into the sidebar 2017-04-20 13:18:08 +02:00
Michael Große
a6b69bf894
fix the double-colon in the dashboard-link
SPR-941
2017-04-20 13:05:38 +02:00
Michael Große
df867fe362
fix page-tasks icon to show open tasks, not all
SPR-936
2017-04-20 12:39:10 +02:00
Michael Große
1140677f44
Show more descriptive titles for the do-icons
This should also fix an occasional fatal-error when all tasks on a page
are done.

We remove here also the $class from the button in the usertools, since
it served no apparent purpose.

SPR-936
2017-04-20 12:11:54 +02:00
Andreas Gohr
728071e818 nicer starred styles on hover 2017-04-20 12:06:55 +02:00
Andreas Gohr
d4c5a4240d integrate star toggle for starred plugin 2017-04-20 11:52:12 +02:00
Michael Große
c75ed2051f
Merge branch 'master' into fixDoDashboardLink 2017-04-19 16:17:32 +02:00
Jana Deutschländer
9fbd182782 Merge branch 'pageattributes' into 'master'
refactoring der Pageattributes (qc und do)

See merge request !29
2017-04-19 16:16:08 +02:00
Michael Große
22dab1a51e
Fix link to do-dashboard per the plugins config
SPR-931
2017-04-19 14:57:28 +02:00
Michael Große
4134f067df
Use favicons for square logos
Since our current approach is to crop non-square logos, we should try all
square logos first.

Since favicons are usually small, we prefer them for the shortcut icon.
However since wiki:logo-square.png is usually larger, it is more
suitable for downscaling, so it should be preferred over favicons, which
would need to be upscaled.

SPR-928
2017-04-19 11:52:48 +02:00
Michael Große
270380eb00
Remove $showTools, because it is set to true
Since the config-option for hide-tools no longer exists, this variable
has become superflous.
2017-04-18 13:48:52 +02:00
Michael Große
e302d67fb6
Remove references to removed options
In commit cb7cc643bf the other options
were removed, as discussed.

This commit now removes references to these options from the codebase.

SPR-754
2017-04-18 13:24:33 +02:00
Michael Große
d012fad75b
Move 'Back to top' pagetool to the end
SPR-906
2017-04-13 15:11:45 +02:00
Michael Große
3f9d4d521a
Merge branch 'master' into pageattributes
Adjusted some more files to account for changes in the over 100 commits
in master since the creation of this branch.

SPR-869
2017-04-11 16:13:02 +02:00
Michael Große
c0c0fa969b
fix mobile sidebar not shown if there is no logo
SPR-918
2017-04-10 16:37:54 +02:00
Michael Große
755c6c7959
Add icon for odt-export
This icon is somewhat suboptimal and should be replaced when a better
icon is found or created.

SPR-906
2017-04-10 12:28:08 +02:00
Michael Große
4d79698367
fix urls by actually using & 2017-04-10 12:17:46 +02:00
Michael Große
26c27b0ca0
Merge branch 'master' into pagetoolShims 2017-04-10 11:03:22 +02:00
Silke Pisulla
166f533b1a Merge branch 'master' of gitlab.cosmocode.de:deutschlaender/sprintdoc-template into spis-master 2017-03-22 12:09:36 +01:00
Michael Große
ff79b0e8c5
Add shims for move, dw2pdf and odt pagetools
In SPR-837 we decided to integrated the svg-pagetools with the approach
in splitbrain/dokuwiki#1821. However that had the consequence that the
pagetool-icons of plugins no longer work. Until the approach in the PR
is mainlined and the plugins have adapted, we will use manual shims to
include selected plugins in the pagetools.

This commits implements the pagetool-icons for odt, dw2pdf and move
plugin. The actual icon for the odt-export is still missing.

SPR-906
2017-03-21 18:19:51 +01:00
Silke Pisulla
31170e6e05 SPR-863: better order for usertool icons 2017-03-21 15:23:28 +01:00
Silke Pisulla
02dbc7fa49 SPR-837: page tools -> material design icons, default size - php from pullrequest included 2017-03-16 15:29:03 +01:00
Michael Große
e5d40c9a7e
Do not show a tab if the content is falsy
There may be occasions where plugin does not wish to show any output for
the current user/page. In that case the tab should not be shown at all.

SPR-895
2017-03-16 13:25:51 +01:00
Andreas Gohr
a94fc7a514 give tabs a class for special styling
I nearly needed that but then didn't. but it might come in handy
2017-03-09 16:16:19 +01:00
Andreas Gohr
fbf9e9d682 integrate QC plugin (ajax branch)
This refactors the page-attribute area a bit and intergrates the new
ajax branch of the QC plugin. I'm not really happy about the included
file - it should probably be moved to our Template class instead.
2017-03-09 16:15:10 +01:00
Silke Pisulla
72d714f8ea SPR-843: Fontello Icons umstellen auf Material Design Icons 2017-03-03 10:52:53 +01:00
Jana Deutschländer
75a1a114df Merge remote-tracking branch 'origin/mobilesidebar' 2017-03-02 12:11:51 +01:00
Andreas Gohr
15e86d9932 fixed broken closing tag 2017-02-22 17:32:50 +01:00
Andreas Gohr
e35789fd1e styled the menu button 2017-02-22 15:51:32 +01:00
Andreas Gohr
4055de39fa mobile handling of the sidebar SPR-840 2017-02-22 14:58:43 +01:00
Andreas Gohr
47bbf7c766 made search toggle translatable 2017-02-22 14:17:33 +01:00
Andreas Gohr
1202d1f832 Merge branch 'metabox' into details
* metabox:
  avoid empty ul
2017-02-22 14:04:21 +01:00
Andreas Gohr
a0eb50e598 avoid empty ul
An empty UL is not valid in HTML, but since we don't know if LIs are
added later on by JavaScript, we add an invisible LI by default now.
2017-02-22 14:03:04 +01:00
Andreas Gohr
560d730c9c Merge branch 'sidebar' into details
* sidebar:
  use a instead of h6 in navigation
  make sidebar headers toggable via keyboard
2017-02-22 13:57:26 +01:00
Andreas Gohr
06938c6d7c use a instead of h6 in navigation
this makes focusing and selecting in assistive technologies easier
2017-02-22 12:12:04 +01:00
Andreas Gohr
d8b607a333 Merge branch 'sidebar' into live
* sidebar:
  simplistic qsearch support
  reveal sidebar when clicking the search icon
2017-02-21 15:22:00 +01:00
Andreas Gohr
95732eecdc simplistic qsearch support
This disabled the browser's own autocompletion, but every other position
looks weird.
2017-02-21 15:16:28 +01:00