Commit Graph
100 Commits
Author SHA1 Message Date
Matthias Mees 664ed5c7aa Different style for showitem media thumb. 2013-06-18 16:26:59 +02:00
Matthias Mees d139cc3fb1 Remove obsolete upload button. 2013-06-18 16:11:57 +02:00
Matthias Mees 8ce7457f3f External onclick handler for media cropping. 2013-06-18 16:07:21 +02:00
Matthias Mees 0a9b5f4f0a Remove obsolete onclick handler for media resize. 2013-06-18 14:36:16 +02:00
Matthias Mees 850652f527 External onclick handler for media fullsize view. 2013-06-18 14:27:35 +02:00
Matthias Mees 6bba09cbf2 External onclick handler for renaming media file.
NOTE: Renaming is not completed, submitting the prompt results in
      an error msg:

"Your browser did not sent a valid HTTP-Referrer string. This may
have either been caused by a misconfigured browser/proxy or by a
Cross Site Request Forgery (XSRF) aimed at you. The action you
requested could not be completed."

      This is beyond my JS knowledge. @onli …?
2013-06-18 14:12:07 +02:00
Matthias Mees 891792b987 Fix media db popup layout. 2013-06-18 13:09:51 +02:00
Matthias Mees c8ccc5c9bd New layout for choose media config item. 2013-06-18 12:01:11 +02:00
Matthias Mees a57a39082b Remove obsolete template options styles. 2013-06-18 11:31:34 +02:00
Matthias Mees 7a8b5e755f Maintenance: type attribute is obsolete for script elements in HTML5. 2013-06-15 19:37:10 +02:00
Matthias Mees 606764fc9e External onchange handler for media upload. 2013-06-15 14:10:37 +02:00
Matthias Mees 91ff747733 External onchange handlers for media scale. 2013-06-14 19:07:26 +02:00
Matthias Mees 41734c682e Move rescale() to serendipity_editor.js.tpl.
Also jQueryfied rescale() a bit, simplified rescale preview.
2013-06-14 19:00:01 +02:00
Matthias Mees d7144c0a24 Drop unused FT_toggle(). 2013-06-14 17:59:44 +02:00
Matthias Mees 2b2ed7551d External onclick handler for scaling images. 2013-06-14 17:18:37 +02:00
Matthias Mees a6470864fb External onclick handlers for comments. 2013-06-14 17:09:25 +02:00
Matthias Mees a2021c2704 Remove editor toolbar legacy fallback. 2013-06-14 16:33:20 +02:00
Matthias Mees 1331f5b634 Minor CSS fixes (media db). 2013-06-14 11:57:05 +02:00
Matthias Mees a7c7d1426e External onclick handler for entry preview. 2013-06-14 11:32:41 +02:00
Matthias Mees bc0549397a External onclick handlers for editor tools. 2013-06-14 11:24:55 +02:00
Matthias Mees 5894a82ced Drop editor toolbar access keys.
The accesskey attribute is rarely used due to a lack of standards
and cross-browser implementation. Most screenreader users find them
confusing.
2013-06-14 09:36:24 +02:00
Matthias Mees 11853c6f5b Remove inline JS to hide editor tools. 2013-06-14 09:26:36 +02:00
Matthias Mees cdeb113846 Replace inline onlick handler for go back. 2013-06-13 16:07:44 +02:00
Matthias Mees 97b847314b Dropped invertSelection inline onclick handlers. 2013-06-13 16:02:41 +02:00
Matthias Mees 6cb397247f Replace onclick handler for reset timestamp. 2013-06-13 15:53:49 +02:00
Matthias Mees a658e20b27 New iconfont build.
This includes only the icons actually used or intended to be used
in the backend. Please note that unfortunately, some class names
have changed. Also some icons have been exchanged.
2013-06-11 12:54:58 +02:00
Matthias Mees f5837b5245 Maintenance: cleaned out some TODO notes. 2013-06-10 12:54:19 +02:00
Matthias Mees d847b85c7a Proper pagination values for entries/media; thanks to @onli. 2013-06-09 18:29:28 +02:00
Matthias Mees 393bbd547c Better markup for manage dirs messages. 2013-06-09 16:26:26 +02:00
Matthias Mees 60657014ea Show/hide full comment. 2013-06-09 16:16:59 +02:00
Matthias Mees daf199c520 Pagination info for entries/media; missing some variables. 2013-06-09 15:47:52 +02:00
Matthias Mees e8447d24ac Pagination info for media db; needs proper lang constant. 2013-06-09 13:04:14 +02:00
Matthias Mees 886a027c6b Minor CSS fix. 2013-06-08 16:39:49 +02:00
Matthias Mees a9774d3920 Backported checkSave() function. 2013-06-08 15:41:25 +02:00
Matthias Mees 391882fbf6 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2013-06-08 15:38:33 +02:00
Matthias Mees bb33238efc Minor CSS fixes. 2013-06-08 15:38:20 +02:00
Matthias Mees 0fa8720145 Just documenting something. 2013-06-07 23:39:29 +02:00
Matthias Mees 0feb4c18c2 Fix checkInputs error in media upload. 2013-06-07 23:30:13 +02:00
Matthias Mees 1b4c33da51 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2013-06-07 15:21:23 +02:00
Matthias Mees 331f2c441a Add getfilename helper function; adapted checkInputs() to 2.0.
NOTE: checkInputs() is currently broken as I don't have time for
      further debugging right now. I assume it's broken due to
      changes to the upload form by jQueryfying addUploadField().
2013-06-07 15:18:20 +02:00
Matthias Mees d882a94368 Added missing checkInputs() and helper function from master. 2013-06-07 15:07:07 +02:00
Matthias Mees a96a8184a2 Fix uncaught exception error due to wrong selector being applied. 2013-06-07 14:14:50 +02:00
Matthias Mees a3c03d139a Added class to logged in msg. 2013-06-07 13:44:30 +02:00
Matthias Mees 9ad88fece8 Minor CSS cleanup. 2013-06-07 13:37:43 +02:00
Matthias Mees 44a9f8491d Restyled and less breakable header layout. 2013-06-07 13:23:34 +02:00
Matthias Mees b528c2e57c Now we finally don't need those any longer. 2013-06-07 12:01:17 +02:00
Matthias Mees 37e40e4a0d Use iconfont button for toggle_extended(). 2013-06-07 11:58:47 +02:00
Matthias Mees 0861cbbd80 Removed obsolete comments; improve functions. 2013-06-07 11:40:14 +02:00
Matthias Mees 43b46ceccb Only fire those if there actually is an entry editor. 2013-06-06 22:07:39 +02:00
Matthias Mees 1f3a6348b0 Of course we still need those for the time being. 2013-06-06 22:06:23 +02:00
Matthias Mees 0b4379b06d Removed obsolete functions. 2013-06-06 21:03:14 +02:00
Matthias Mees a7e100888b Switch personal/configuration/create/edit users to smartified config. 2013-06-06 20:41:33 +02:00
Matthias Mees 97dc035bcc Use iconfont button for category selector; add styling. 2013-06-06 15:49:37 +02:00
Matthias Mees 2d51cdae66 Maintenance: removed duplicate function, moved editor functions. 2013-06-06 14:48:41 +02:00
Matthias Mees f166322976 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0
Conflicts:
	templates/2k11/admin/serendipity_editor.js.tpl
2013-06-06 14:36:03 +02:00
Matthias Mees e5addc8965 jQuery rewrite of config options show/hide/all.
This will replace showConfig + showConfigAll globally once @onli has
switched the parts which don't use the smartified code base yet. It
also adds a sensible no-js fallback and proper state indicators.
2013-06-06 14:27:56 +02:00
Matthias Mees d4d3515c8a Some minor preparations for config show/hide/all. 2013-06-06 12:52:44 +02:00
Matthias Mees f40546b1f5 chkAll function is used by some plugins. 2013-06-06 11:36:28 +02:00
Matthias Mees a41b66ae8f Another attempt to style the type-based filters. 2013-06-05 21:14:02 +02:00
Matthias Mees 4d8eab61cb Adapted installer.tpl to 2k11/2.0 backend. 2013-06-05 19:48:52 +02:00
Matthias Mees 76c49a67dd Maintenance: removed obsolete functions. 2013-06-05 18:46:51 +02:00
Matthias Mees af0115d4f5 Clean up code comments. 2013-06-05 18:45:34 +02:00
Matthias Mees cb09463326 jQuery rewrite of invertSelection() function.
This works for entries, comments and media items including changing
the multidelete marker. Needs to be tested with Karma plugin which
uses the old function as well.
2013-06-05 18:37:55 +02:00
Matthias Mees 26df96b886 Multidelete markers for plugins. 2013-06-05 16:15:09 +02:00
Matthias Mees 8d72e632cc Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2013-06-04 17:51:48 +02:00
Matthias Mees e404792c29 Maintenance: clean out tpl files. 2013-06-04 11:53:12 +02:00
Matthias Mees 3d38d0be9f Maintenance: edit JS comments, mark functions for removal. 2013-06-04 11:17:37 +02:00
Matthias Mees 43146eac1f Maintenance: stylesheet readability. 2013-06-04 10:55:01 +02:00
Matthias Mees 3997e7fa65 Multidelete highlighting for media db items. 2013-06-04 06:54:44 +02:00
Matthias Mees 5a77d39355 Multidelete highlighting for entries.
Also made highlightComment() and multidelete highlighting more
flexible to use.
2013-06-04 06:49:44 +02:00
Matthias Mees d348235050 Hide/show media db filters and sorting. 2013-06-04 00:05:54 +02:00
Matthias Mees e7d3488ea6 Limit media file info width. 2013-06-03 20:44:41 +02:00
Matthias Mees 23d1a51134 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2013-06-03 20:20:56 +02:00
Matthias Mees cb5c5fc67c Include comments pagination heading in pagination. 2013-06-03 20:20:43 +02:00
Matthias Mees 6fdef21374 Adapt spamblock plugin link to 2.0 backend. 2013-06-03 20:06:00 +02:00
Matthias Mees 8b3c8024a7 Hide/show comments filters, prepare Spamblock button for toolbar. 2013-06-03 20:02:00 +02:00
Matthias Mees e4a8a2662b Entry list filters alignment. 2013-06-03 17:13:05 +02:00
Matthias Mees 14aad65c0c Hide/show entry list filters, sorting etc. Needs more styling. 2013-06-03 17:01:59 +02:00
Matthias Mees 0e07a54085 Template info no-js fallback fix. 2013-06-03 15:13:04 +02:00
Matthias Mees 60797bddca Info overlay for templates.
NOTE: This would be way nicer if template preview images were a
      bit larger (just like media db thumbnails), but I guess
      were going to have to discuss how to implement that first.
2013-06-03 15:07:46 +02:00
Matthias Mees ca4a0c37e8 Show info button must be visible if file is not editable. 2013-06-03 13:25:30 +02:00
Matthias Mees d02fea28ea A more usable overlay for media files; fixed duplicate ids.
This looks about the same as @onli's solution, but more usable on
smaller and/or touch devices since it's triggered by a button which
also makes sense if JS is deactivated. Has a no-js fallback, too.
2013-06-03 13:20:41 +02:00
Matthias Mees d1e79a7d7a Minor CSS fixes. 2013-06-03 10:59:38 +02:00
Matthias Mees 19bebc50de Minor fixes. 2013-06-02 16:13:12 +02:00
Matthias Mees 78ee899da0 Properly styled pagination for media db, entries + comments.
Also, the pagination is now being clones using JS.
2013-06-02 14:59:31 +02:00
Matthias Mees df283db810 Media db overlay cleanup. 2013-06-02 13:39:21 +02:00
Matthias Mees dcc02f75c3 Typos. 2013-06-01 18:28:13 +02:00
Matthias Mees 0c7bf67e99 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2013-06-01 15:39:03 +02:00
Matthias Mees f79a258c80 Fixes highlighting of comments selected for multidelete.
NOTE: Also figured out the mystery about the duplicate function
      invertSelection, but will take care of that in a seperate
      commit. Documented it in a comment, though.
2013-06-01 15:37:21 +02:00
Matthias Mees 2e886e9405 Rewrite of category icon onclick handler.
NOTE: This is not testable right now since something's broken in
      inserting images from the media db.
2013-06-01 14:52:34 +02:00
Matthias Mees d4e47e9dd6 Also needs modernizr for no-js class to work properly. 2013-06-01 11:15:38 +02:00
Matthias Mees da69d6cd2e viewport can't hurt here. 2013-06-01 11:13:11 +02:00
Matthias Mees 00d97e59b3 Use proper doctype and html helper classes. 2013-06-01 11:11:40 +02:00
Matthias Mees 6a9bdd0c6a Removed stupid HTML5/jQuery progress hints. 2013-06-01 11:09:10 +02:00
Matthias Mees 9dd573f971 Improved media db meta info display. 2013-06-01 11:05:40 +02:00
Matthias Mees bf9a58bdd4 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2013-05-31 23:28:56 +02:00
Matthias Mees be832ceb4d Externalized click handler for cloning upload form.
Also fixed duplicated id in upload form and fixed setting the target
directory in cloned form.
2013-05-31 23:26:37 +02:00
Matthias Mees b4e18b48f3 Found a typo. Ooops. 2013-05-31 21:15:19 +02:00
Matthias Mees 75d45f811f Replaces inline onclick handler for .status_timestamp.
Also moved reference to serendipity_editor.js before the closing
body element. This way, jQuery's $(document).ready() equals
$(window).load(), so we don't have to use that any longer.
2013-05-31 18:10:16 +02:00
Matthias Mees c0e8922500 Dropped redundant onclick handler.
This really isn't necessary – there is a warning plus a confirm or
abort dialogue on the following page. I don't see extra value for
users in the JS-based confirm/abort dialogue.
2013-05-31 17:40:34 +02:00