Commit graph

41 commits

Author SHA1 Message Date
Jana Deutschländer
a21c6f8785 SPR-869: debug for wiki in root 2017-04-13 12:44:53 +02: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
Andreas Gohr
0503402fda fixed wrong scope for function definition 2017-03-08 10:34:23 +01:00
Jana Deutschländer
d19c9b956a SPR-840: debug IE10 (vendor extensions for flex) 2017-03-02 17:11:45 +01:00
Jana Deutschländer
b10c27f3f2 SPR-840: debug sidebar script IE10, styling for mobile menu
debug background-color: qc
2017-03-02 16:45:22 +01:00
Jana Deutschländer
75a1a114df Merge remote-tracking branch 'origin/mobilesidebar' 2017-03-02 12:11:51 +01:00
Andreas Gohr
1b74bdc158 fixed clicking links in sidebar 2017-02-23 09:52:02 +01:00
Jana Deutschländer
2eac3d457e SPR-753: add ACT mode as node to breadcrumb 2017-02-22 16:48:42 +01:00
Andreas Gohr
4055de39fa mobile handling of the sidebar SPR-840 2017-02-22 14:58:43 +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
bed1717f37 make sidebar headers toggable via keyboard 2017-02-22 11:48:17 +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
a36c5fa052 reveal sidebar when clicking the search icon 2017-02-21 15:09:01 +01:00
Andreas Gohr
248d08817b Merge branch 'sidebar' into live
* sidebar:
  fix problems with ini handling in svg dispatch
  added profile link to usertools in sidebar
  finally align the menu items correctly
  some more list adjustments for sidebar
  add level1 class to fake inpage lists
  adjusted language
  some style adjustments for the sidebar
  complete refactor of the sidebar behaviour javascript RES-754
  style the fake icon
  use jQuery slector to define the elements
  directly embed SVGs for better styling
  very simple styling of the new sidebar behaviour.
  New sidebar JavaScript logic
  allow style.ini replacements in SVG dispatcher
  SVG Dispatch: allow for referencing material design icons
  add caching and fix <g> wrapping
  fixed content type header
  fixed auth check
  feat: add background-colors to SVG-dispatcher
  first go at a dispatcher to dynamically recolor SVGs
2017-02-21 13:46:23 +01:00
Andreas Gohr
fa1028ad60 finally align the menu items correctly
I had to wrap the labels in their own span and use flex box to make them
behave correctly. Simplifications welcome.
2017-02-16 16:58:36 +01:00
Andreas Gohr
6c61749bf2 complete refactor of the sidebar behaviour javascript RES-754
Now all toggling of the sidebar and the related menus is done through
the same click handler. HTML has been unified. All sidebar related
content is now in a single include file instead of several. Icons for
the site tools user tools and trace have been added.

The CSS for the whole sidebar still has to be refactored.
2017-02-16 14:40:25 +01:00
Andreas Gohr
435c8032f2 allow closing tabs by clicking them again
also pass the proper type to attr() - it expects strings!
2017-02-15 16:02:00 +01:00
Andreas Gohr
c93c93a805 simplify meta box tab handling RES-799
This simplifies the tab handling by attaching one click handler to
handle the open/close mechanism for all tabs. It should now allow to
dynamically add tabs even after the fact and the handler should still
work.

Support for the actual tab contents has been removed for now. This
should most probably be readded via PHP anyway.
2017-02-15 15:50:11 +01:00
Andreas Gohr
285c4f96a7 style the fake icon
When no icon is provided, we use the first two letters as icon. A fancy
border makes it look more like an icon.
2017-02-15 14:58:36 +01:00
Andreas Gohr
f293a16b9c use jQuery slector to define the elements
This makes it possible to use multiple. For now I just use all headlines
2017-02-14 11:59:08 +01:00
Andreas Gohr
eaccab8168 Merge branch 'master' into sidebar
* master:
  show license not copyright SPR-794
  use proper translation mechanism for JS SPR-798
  added type ints for other plugins
  SPR-797 fix ID uniqueness
2017-02-14 11:21:52 +01:00
Andreas Gohr
fa2e06046c use proper translation mechanism for JS SPR-798 2017-02-14 10:41:41 +01:00
Andreas Gohr
9fd3d99b8f directly embed SVGs for better styling
Now the SVGs are loaded via AJAX and are directly embedded into the
HTML. This allows for styling them via CSS and we can apply proper hover
styles.

The svg dispatcher was extended with an embed option (boolean parameter
'e') which will return an absolute minimum svg with absolutely no
styles.
2017-02-13 16:19:43 +01:00
Andreas Gohr
9d8dba1489 New sidebar JavaScript logic
This implements the JS logic as discussed in our meeting. A sidebar can
now contain virtually any wiki syntax. (currently hardcoded) H2 elements
will toggle all their following content which is wrapped in a wrapper
div.

This is currently implemented on top of the old JavaScript which should
be removed.

The toggle element should be made configurable.

We probably want to reuse some of the toggle logic for the user tools.
2017-02-13 15:17:18 +01:00
Andreas Gohr
9281ecfa76 fixed line endings CRLF -> LF 2017-02-09 17:48:44 +01:00
Jana Deutschländer
3bd1b21aee sidebar nav reset open toggle areas when switch to wide content view 2017-02-09 11:27:52 +01:00
Jana Deutschländer
edabe53b81 trigger defaultcontent in wide-content state main menu on click 2017-01-11 18:06:07 +01:00
Jana Deutschländer
d0530116c5 mobile + js: min-height for content > sidebar hight 2017-01-11 17:51:42 +01:00
Jana Deutschländer
4ab8bced93 toggler 2017-01-10 10:02:01 +01:00
Jana Deutschländer
3569264837 wide content toggler 2017-01-10 09:41:22 +01:00
Jana Deutschländer
1b899691a7 Vorbereitung sprint meeting 2017-01-10 09:18:01 +01:00
Jana Deutschländer
92c91ef8b0 metabox part 3 2017-01-09 17:08:44 +01:00
Jana Deutschländer
19265a3d2c sidebar toggle + scrolltobottom for trace on page load 2017-01-05 17:04:48 +01:00
Jana Deutschländer
5939959969 menu-toggle sidebar 2017-01-05 15:48:32 +01:00
Jana Deutschländer
646345133d side-tools, user links, admin panel 2017-01-05 13:38:12 +01:00
Jana Deutschländer
4fca1d16bb language handling for js 2017-01-04 18:09:30 +01:00
Jana Deutschländer
c39e94e4e3 main nav effects 2017-01-04 17:37:57 +01:00
Jana Deutschländer
035726f000 template redesign 2017-01-02 09:14:38 +01:00
Jana Deutschländer
f414dd9577 template redesign 2017-01-02 08:58:59 +01:00
Jana Deutschländer
ca90ebc1c0 magic matcher / direct nav / reset styles 2016-11-03 17:21:39 +01:00