149 Commits

Author SHA1 Message Date
Matthias Mees
f932be684f Completely revamped layout for entry editor.
Please note: This is still preliminary. It needs testing (no-js
fallback, IE8) and it still needs a better solution for selecting
(especially multiple) catgeories.
2014-01-25 14:05:36 +01:00
onli
3873826036 Add upload button to imageselector 2014-01-23 23:13:09 +01:00
onli
7af68d6d9f tabbify plugin menu 2014-01-21 20:27:02 +01:00
onli
c8eca17adc Categories: Open submenu if set 2014-01-20 21:46:10 +01:00
onli
75a95382a4 ajaxify image rotate
Solving the caching issue
2014-01-19 17:59:28 +01:00
Matthias Mees
8723224548 Make advanced options in create category collapsible. 2014-01-19 17:10:27 +01:00
Matthias Mees
9011d62bf4 Cancel URL button function if URL is empty. 2014-01-04 23:30:03 +01:00
Matthias Mees
0fc19d9959 Finally got working code for invertSelection. Phew. 2014-01-04 14:56:52 +01:00
Matthias Mees
ab2d01ad0c Fixes checkboxes not being (un)checked in invert selection. 2014-01-03 15:58:58 +01:00
Matthias Mees
80cfa7e736 Only fire toggle_links handler in dashboard. 2013-10-05 10:56:26 +02:00
Matthias Mees
0c80e7afaf Only replace T in value if datetime-local is not supported.
According to my tests, this is what makes datetime-local fail in
browsers which already support it. Replacing the T in the value is
required to set the date/time in browsers which don't support it,
but it somehow throws off the (re)setting in browsers which do.

So using Modernizr's feature test to check if the replacement is
required should solve the issue. However, this seems strange, we
should keep an eye on it.
2013-10-05 10:46:50 +02:00
Matthias Mees
d82ed41f65 Fixes 'second click' issue with further links toggler.
Apparently, magnificPopup does not like the click handler if the
toggler is an a element, which we probably never noticed since all
the other togglers used in the backend are buttons.
2013-10-05 08:26:26 +02:00
onli
867b92a6ea save visibility of extended & advanced 2013-10-04 23:19:28 +02:00
Matthias Mees
d0de74737e Fixes type/href attributes for button elements.
– <button> must have an explicit type="buttons" since it falls back
  to type="submit", which can have side effects
– <button> must not have a href attribute, always use data-href
2013-10-02 11:05:27 +02:00
Matthias Mees
67eca005d9 Show/hide for advanced entry options. 2013-10-02 10:14:22 +02:00
Matthias Mees
1b11b31a18 Dashboard: open further links in a modal popup.
(Or just show/hide them for use-popups.)

For some weird reason, this seems to fire only on the second click
on the toggler, not on the first. Need input from @onli on this.

Also, this needs a better icon. I did not want to go through a new
iconfont build just for this one icon now.
2013-10-01 21:03:39 +02:00
Matthias Mees
1fb8c54efb Back to button style.
Partial manual revert of 168cb146eaec3c568527bbc5dcf06b4cb6e9bda8.
Please note that this does *not* contain any changes to the UI as
discussed; those will follow later.

References 
2013-09-23 11:19:31 +02:00
Matthias Mees
e2102f6e1e Refactor entryproperties media db button.
Hard-coded input without inline JS, external onclick handler, hide
button on no-js.

References 
2013-09-18 18:42:18 +02:00
onli
d0e74392fe use magnific everywhere () 2013-08-19 01:38:48 +02:00
onli
e51dae3b9f store multiple categories ()
so they don't get lost when collapsing the selector
2013-08-19 01:00:40 +02:00
onli
168cb146ea Use links instead of buttons ()
A bit unfamiliar, let's give it some time. The user/groups-menu are clearer now
2013-08-18 20:59:53 +02:00
Matthias Mees
edfe606cc3 More minor smallscreen layout improvements. 2013-08-17 18:25:26 +02:00
Matthias Mees
398fefa919 New iconfont build.
Removes obsolete wrench icon; replaces icon-off with icon-logout
and icon-eye with icon-globe or icon-zoom-in; adds icon-cancel as
state indicator for smallscreen navigation.
2013-08-01 17:15:41 +02:00
onli
731b044d50 Drop use of serendipity_admin_image_selector.php
Enhance admin/images.inc.tpl instead. Gets rid of the fieldset-construct ()
2013-07-23 03:06:27 +02:00
onli
f744ef7464 Use magnific for ML-popup
Also for not wysiwyg
2013-07-22 23:30:43 +02:00
Matthias Mees
64f64bd139 Use tab interface for add media upload/download options.
References 
2013-07-21 11:58:53 +02:00
onli
b2bcd08c99 rework spamblock action buttons
anchor workaround and restored event order, should fix 
2013-07-21 01:00:15 +02:00
onli
379b9255b2 Comment reply in backend as modal
Removes the alert dialogue also from the normal popup
2013-07-20 22:47:54 +02:00
Matthias Mees
14c519fa1c Namespace AddKeyword call.
References 
2013-07-20 20:08:44 +02:00
Matthias Mees
5149eaab2a Add active state indicators for show/hide buttons.
References 
2013-07-20 19:49:32 +02:00
Matthias Mees
a8e372ebef External onlick handler and button style for tree toggle. 2013-07-10 11:43:34 +02:00
Matthias Mees
8bb91a070e Fix broken timestamp replacement. 2013-07-08 16:32:45 +02:00
Matthias Mees
3dd430026b JS maintenance: save some variables. 2013-07-08 15:39:52 +02:00
Matthias Mees
efcb30ed69 Add alt text to non-wysiwyg img button. 2013-07-08 14:13:29 +02:00
Matthias Mees
96b68f0dba Use namespaced insertText to fix non-wysiwyg img button. 2013-07-08 14:10:33 +02:00
onli
fb100aaa79 use magnific popup 2013-07-07 22:43:11 +02:00
Matthias Mees
078bf9a18a Replace responsive nav plugin with a simpler solution.
responsive-nav.js is nice, but it imposes a performance issue and
we already have code for that behaviour. This is much simpler, but
still lacks some accessibility feature (aria-hidden). I'll add
those later after some proper accessibility testing.
2013-07-07 18:07:34 +02:00
Matthias Mees
cf284194f2 Make further links collapsible. 2013-07-07 17:25:48 +02:00
Matthias Mees
b92cf09eb2 Onclick handler for dashboard bookmarklet hint. 2013-07-06 13:38:44 +02:00
Matthias Mees
175e73202a Only fire smallscreen nav script if there is a nav. 2013-07-06 13:32:45 +02:00
Matthias Mees
7811150fe5 Use custom toggle for smallscreen nav. 2013-07-06 09:54:12 +02:00
Matthias Mees
ce2a679a3c Move JS plugins out of domready area. 2013-07-05 14:39:08 +02:00
Matthias Mees
2ab6c09339 Added smallscreen navigation. 2013-07-05 13:59:40 +02:00
Matthias Mees
26d4b32987 Remove s9y image editor from 2k11 admin theme.
This removes the proof-of-concept image editor from 2k11 – as far
as I can see/do that. @onli should probably have a look at whether
there are other code parts which need/should be removed along with
this.
2013-07-02 12:15:36 +02:00
Matthias Mees
8091a4fc34 Replace href-less insert_image with button. 2013-06-28 14:29:43 +02:00
Matthias Mees
47ca296b66 Replace status timestamp with a simple info tooltip. 2013-06-28 14:21:37 +02:00
Matthias Mees
a245a28c4b Fix insert (category) image JS. 2013-06-28 12:24:24 +02:00
Matthias Mees
2f5daac8b2 Use namespaced call to toggle_categoryselector. 2013-06-28 12:05:54 +02:00
Matthias Mees
adcb2f3e87 Skip toggle_extended if wysiwyg editor is used.
With a wysiwyg editor, collapsing the extended entry editor does
not work, so we'll just skip it in that case.
2013-06-27 12:39:23 +02:00
onli
f2cf17804b fix toggle_extended (missing namespace) 2013-06-25 01:12:28 +02:00