1
0
Commit Graph

231 Commits

Author SHA1 Message Date
9e7fbdf6bf Only fire equal heights js on screens larger than 640px.
The equal heights boxes look weird on small screens, so we're not
firing the plugin there any longer.

This introduces a new variable for breakpoints for responsive JS.
Please *only* add more breakpoints if you actually use them.

References 
2014-04-18 16:51:33 +02:00
ed1fb3c8a3 Open/close tags, support for language-based tags in non-WYSIWYG.
Some plugins might want to hook into the non-WYSIWYG editor and
create buttons which do use different "tags" for open/close or
not create HTML markup at all. This makes it possible for them
to do so.

References 
References 
2014-04-18 16:23:40 +02:00
6b5017f016 js performance improvement: less DOM firing 2014-04-14 22:58:08 +02:00
68be4a5f65 get rename token from html
serendipity_editor.js in default is static, so it can't be given by smarty. I copied the approach into the 2k11-version as well, so it won't get as easily lost.
2014-04-04 13:34:38 +02:00
fd113ae212 Use id for textarea identification
this prodcues an easier compatiblity with the staticpage-plugin, and is
altogether more developer friendly than the documents.form-selector
2014-03-31 02:29:54 +02:00
31eba101f6 Rewrite toggle_extended function to work with wysiwyg editor.
References 
2014-03-18 15:48:16 +01:00
Ian
9b3443dcd6 fix 390ec689c2 2014-03-12 20:25:10 +01:00
Ian
390ec689c2 get right instance for CKE plugin (and nugget textareas) 2014-03-11 18:07:33 +01:00
6d5c24af2f Move serendipity_editor.js reference back to <head>
The document ready shorthand function needed a little adapting as
well (which is not an issue since we abandoned noConflict mode).

References 
2014-03-11 10:44:10 +01:00
af9cd2135d Don't use updateOnResize in IE8 for equal heights
This seems to fix the scrolling issues in IE8 in the media db.

References 
2014-03-10 18:16:18 +01:00
9248aae9a9 Adapt AccessifyHTML5 to latest layout changes 2014-03-09 11:41:57 +01:00
7e16db1b62 Automagically remove msg timestamp 2014-03-08 13:34:02 +01:00
e41ef67f99 Add a (JS only) category list to entry editor
This will emit (and update) a list of all categories assigned to an
entry based on the selection in the category selection popup.

References 
2014-03-08 10:47:45 +01:00
8b08f066a5 Added details JS polyfill for Firefox and IE 2014-03-08 00:38:12 +01:00
3e281fe41a Change MFP close button to submit_state for select_category
References 
2014-03-07 14:18:30 +01:00
ec3ebca433 Introduce new lang constants, @garvinhicking please add :)
Hint: addlang.sh does not work on OSX.
2014-03-07 13:10:32 +01:00
9c531401af Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-03-06 18:11:12 +01:00
c1c71b3b64 Adapted backend markup + styles for serendipity_event_karma. 2014-03-06 18:08:42 +01:00
a5bd6563dd re-renamed addLoadEvent 2014-03-06 16:00:20 +01:00
57cf532863 Added confirm msg for build cached entries in maintenance. 2014-03-06 12:30:05 +01:00
1d32fe52f5 Unified comments delete confirm msg 2014-03-06 12:12:28 +01:00
1ca8c8fdf5 Fix broken JS selector for category selector popup.
Also style category legend differently in no popups fallback.

References 
2014-03-05 19:01:34 +01:00
94c3a75a96 New language constants, hopefully caught all i18n's. Please check. 2014-03-05 13:22:50 +01:00
70aea65078 Make accessible tabs remember their last choice.
Bundled jquery.cookie library for that.
Every TABlist now needs to have a unique ID.
2014-03-05 11:37:38 +01:00
cfc893cd56 Refactor smallscreen nav to off-canvas nav (basics).
– necessary layout changes
– move toggle nav button
– incorporate user menu back into main nav
– basic styles required for off-canvas nav
– adapt typography, remove some redundant styles
– adapt toggle JS
2014-03-03 17:48:13 +01:00
49319139e0 Refactor toggle buttons in entry editor according to config. 2014-03-01 18:24:49 +01:00
dd013f3a70 Use new show hide buttons. 2014-03-01 15:51:44 +01:00
aa171353df Remove log function. 2014-03-01 13:37:28 +01:00
6c038db4bb Better layout for image directory permissions. 2014-02-27 19:29:49 +01:00
d7061e154a Simple inline msg for timestamp reset; JS only. 2014-02-10 20:28:01 +01:00
ccd0150df3 Fix broken show/hide in entry editor. 2014-01-28 22:25:42 +01:00
4e923e1aeb Display category selection in a popup/modal window. 2014-01-25 15:58:47 +01:00
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
3873826036 Add upload button to imageselector 2014-01-23 23:13:09 +01:00
7af68d6d9f tabbify plugin menu 2014-01-21 20:27:02 +01:00
c8eca17adc Categories: Open submenu if set 2014-01-20 21:46:10 +01:00
75a95382a4 ajaxify image rotate
Solving the caching issue
2014-01-19 17:59:28 +01:00
8723224548 Make advanced options in create category collapsible. 2014-01-19 17:10:27 +01:00
9011d62bf4 Cancel URL button function if URL is empty. 2014-01-04 23:30:03 +01:00
0fc19d9959 Finally got working code for invertSelection. Phew. 2014-01-04 14:56:52 +01:00
ab2d01ad0c Fixes checkboxes not being (un)checked in invert selection. 2014-01-03 15:58:58 +01:00
80cfa7e736 Only fire toggle_links handler in dashboard. 2013-10-05 10:56:26 +02:00
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
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
867b92a6ea save visibility of extended & advanced 2013-10-04 23:19:28 +02:00
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
67eca005d9 Show/hide for advanced entry options. 2013-10-02 10:14:22 +02:00
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
1fb8c54efb Back to button style.
Partial manual revert of 168cb146ea.
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
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