Commit Graph

578 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90) 0b5b837917 Revisions UI: RTL support. (And inline docs.)
props DrewAPicture, adamsilverstein. fixes #23897.

git-svn-id: https://develop.svn.wordpress.org/trunk@24205 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 21:22:01 +00:00
Dominik Schilling (ocean90) 40cf994e77 Revisions UI: Just another update - Now with improved tick marks and tooltips.
props adamsilverstein. see #23935.

git-svn-id: https://develop.svn.wordpress.org/trunk@24174 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 23:17:06 +00:00
Dominik Schilling (ocean90) 67d2cfeb89 Revisions UI: Add translation contexts and remove unneeded lines.
props nao. fixes #23917.

git-svn-id: https://develop.svn.wordpress.org/trunk@24157 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 10:12:19 +00:00
Dominik Schilling (ocean90) bd5099a40a Revisions: Remove the ID from the "restored by" line. props adamsilverstein. see #18733.
git-svn-id: https://develop.svn.wordpress.org/trunk@24156 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 09:35:35 +00:00
Dominik Schilling (ocean90) 800d88397a Revisions UI update:
* Style status loading as a regular update message like on the other screens
 * Move compare two checkbox to diff header to avoid an overlap on long post titles
 * Restore color shades for the scope of changes visualisation 
 * Show tooltips while moving the slider handle
 * Diff header styling
 * Move color declarations to classic/fresh stylesheets
 * Sync admin color stylesheets

props jrbeilke for initial patch. see #23935.

git-svn-id: https://develop.svn.wordpress.org/trunk@24119 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-28 10:56:57 +00:00
Helen Hou-Sandi 64ed933919 Better responsive CSS for post format switcher. Remove some JS debug cruft. props wonderboymusic. see #24046.
git-svn-id: https://develop.svn.wordpress.org/trunk@24114 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 23:47:21 +00:00
Sergey Biryukov 3cd315efe7 Remove excess margin on the menus accordion in IE7. props bobbravo2. fixes #24095.
git-svn-id: https://develop.svn.wordpress.org/trunk@24112 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 16:10:43 +00:00
Sergey Biryukov af71a8c16d Remove unused variable and CSS class. see #24046.
git-svn-id: https://develop.svn.wordpress.org/trunk@24099 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:36:12 +00:00
Mark Jaquith 438f4085f1 Post format UI refresh.
* Post format switcher does not go away after clicking
* Refresh of format switcher style
* Highlighting of active post format
* Prompt text goes under the switcher
* Better animations

see #24046. props wonderboymusic, johnjamesjacoby, aaroncampbell, PeteMall.

Also, because I forgot it on [24006]: props saracannon.

git-svn-id: https://develop.svn.wordpress.org/trunk@24098 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:22:55 +00:00
Mark Jaquith 3bde819dbe Screen option for Post Format UI.
props nacin. see #23930.

git-svn-id: https://develop.svn.wordpress.org/trunk@24092 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:28:33 +00:00
Mark Jaquith df3d968e12 Restore the title visibility for Asides (but keep autogeneration fallback).
see #24011.

git-svn-id: https://develop.svn.wordpress.org/trunk@24085 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 04:46:58 +00:00
Andrew Nacin 3ebbe1ae51 Revert [23871] - Customize should be added to the menu, but not hacked in as first. see #21413.
git-svn-id: https://develop.svn.wordpress.org/trunk@24048 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:33:39 +00:00
Mark Jaquith aeaf7787c0 Hide the post title and auto-generate based on the post body, for the status and aside post formats.
props kovshenin. see #24011.

git-svn-id: https://develop.svn.wordpress.org/trunk@24043 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 04:00:25 +00:00
Andrew Ozz 008336ee9c Post locks:
- Show 'Saving revision...' while autosaving after a post has been taken over. Change to 'Your latest changes were saved as a revision.' when autosave completes.
- Make sure a user exists before using $user->display_name.
- Add 'post_lock_text' action for extending the message text.

git-svn-id: https://develop.svn.wordpress.org/trunk@24042 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 03:08:51 +00:00
Dominik Schilling (ocean90) 24901103a9 Post Formats: Change post screen icon on selection. props markjaquith. fixes #24140.
git-svn-id: https://develop.svn.wordpress.org/trunk@24039 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:00:10 +00:00
Mark Jaquith dbc57b973d Hide Media button for Status and Aside post types.
props kovshenin. fixes #24013.

git-svn-id: https://develop.svn.wordpress.org/trunk@24037 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 20:40:47 +00:00
Dominik Schilling (ocean90) 814a49b51b Revisions UI: Disable previous and next buttons when you're on the first, and last node. Put revision ticks above the slider range. props lessbloat for initial patch. see #23899.
git-svn-id: https://develop.svn.wordpress.org/trunk@24020 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:12:25 +00:00
Mark Jaquith 793f27f07e New Post Format UI chooser treatment in response to testing.
* Bigger icons
* Format description under each
* UI hides after choice
* Saving without choosing implies "Standard"
* Helpful text, with "Change format" link

see #24046. props lessbloat, wonderboymusic.

git-svn-id: https://develop.svn.wordpress.org/trunk@24006 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 04:08:46 +00:00
Dominik Schilling (ocean90) b3879a543a Revisions UI: Remove the "To:" prefix from the header when viewing a single revision. Also prefix a revision field with a label.
props SergeyBiryukov, adamsilverstein, faishal. fixes #23903.

git-svn-id: https://develop.svn.wordpress.org/trunk@23994 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-15 18:40:17 +00:00
Mark Jaquith 74319333ed Only remove ONE piece of media from the content in setup_postdata().
props wonderboymusic. fixes #24052.

git-svn-id: https://develop.svn.wordpress.org/trunk@23984 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 01:11:44 +00:00
Dominik Schilling (ocean90) f0ec9137ad Set a height for post title input
Firefox ​ignores the line-height because it declares line-height with `normal !important` in one of it's browser stylesheets. This can result in missing dots above umlauts.

props helen, lessbloat.
fixes #23189


git-svn-id: https://develop.svn.wordpress.org/trunk@23976 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 21:19:22 +00:00
Andrew Ozz 7ebe9d62c6 Post formats: connect labels with fields, move the two css blocks dealing with formats next to each other, see #23938
git-svn-id: https://develop.svn.wordpress.org/trunk@23926 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 21:40:58 +00:00
Helen Hou-Sandi 6fa6b65574 Show labels and remove improperly-used placeholders for post format fields. props Ipstenu, azaozz. see #23938.
git-svn-id: https://develop.svn.wordpress.org/trunk@23918 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 02:37:13 +00:00
Sergey Biryukov 244974e838 Fix typo in revisions JS/CSS. props mgibbs189, JustinSainton. fixes #23941.
git-svn-id: https://develop.svn.wordpress.org/trunk@23908 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 20:49:26 +00:00
Mark Jaquith 25c799470e Revisions CSS cleanup.
props ocean90. fixes #23933

git-svn-id: https://develop.svn.wordpress.org/trunk@23901 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 15:49:28 +00:00
Mark Jaquith c51895c997 Add "Customize" as first item under Appearance menu.
fixes #21413. props ryanhellyer, obenland, DrewAPicture

git-svn-id: https://develop.svn.wordpress.org/trunk@23871 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 20:39:54 +00:00
Mark Jaquith eabfc6bd50 Give the active post format tab a bit of emphasis.
git-svn-id: https://develop.svn.wordpress.org/trunk@23864 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 12:37:40 +00:00
Mark Jaquith e7cde8715f Post Format UI.
* Icons
* Selection
* Prompt text
* Special fields
* Styling
* Sparkles

This is going to need testing, polish, and love.

see #19570. props melchoyce, helen, wonderboymusic, lessbloat, rachelbaker, aaroncampbell, DrewAPicture, ryelle.

git-svn-id: https://develop.svn.wordpress.org/trunk@23843 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 03:35:41 +00:00
Mark Jaquith 51708e83c6 Move nav menus to a tabbed interface, so that users with a lot of locations can do bulk assignment.
props DrewAPicture, lessbloat. fixes #23770

git-svn-id: https://develop.svn.wordpress.org/trunk@23810 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 11:46:08 +00:00
Andrew Ozz 45f54b41d8 Logged out warnings: add fallback text dialog for:
- The login page has "X-Frame-Options: DENY" header.
- Cross-domain when displaying on the front-end on multisite with domain mapping.
- The site forces ssl login but not ssl admin.

Add onbeforeunload prompt to counter (frame-busting) JS redirects. Move the JS and CSS into separate files. See #23295.

git-svn-id: https://develop.svn.wordpress.org/trunk@23805 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 08:43:11 +00:00
Peter Westwood ae03f1a0b6 Revisions: UI Update.
* Refines the UI to make it clearer and easier to use
* Introduces weighted tickmarks
* Fixes comparison bugs.

See #23497 props adamsilverstein


git-svn-id: https://develop.svn.wordpress.org/trunk@23769 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-21 15:54:11 +00:00
Helen Hou-Sandi fa6afd2a63 Lose the added column for post formats in the posts list table and add an icon before the title instead. Icons are clickable to filter the list table down to posts of that post type and format. props melchoyce for the icons. fixes #16047.
git-svn-id: https://develop.svn.wordpress.org/trunk@23765 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-21 03:23:39 +00:00
Andrew Ozz 9034f12b6b Post locks: contain focus inside the dialog when tabbing, remove outline when focus is on the text, see #23697
git-svn-id: https://develop.svn.wordpress.org/trunk@23763 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-21 00:57:27 +00:00
Helen Hou-Sandi 987251f582 Remove separate meta fields for image and gallery post formats. These are proving to be more confusing and labor-intensive from both a user and dev perspective than entering into the regular content editor. We will rely on good content parsing instead. See #19570, #23347.
git-svn-id: https://develop.svn.wordpress.org/trunk@23753 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-19 17:18:07 +00:00
Mark Jaquith 19e1d8076d Accessibility revamp for nav menus.
props lessbloat. fixes #14045

git-svn-id: https://develop.svn.wordpress.org/trunk@23727 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-16 04:47:19 +00:00
Andrew Ozz 9288856e55 Post locks: add Preview button when post is locked, fix the suggested places, see #23312
git-svn-id: https://develop.svn.wordpress.org/trunk@23725 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 21:09:20 +00:00
Mark Jaquith 6c5a64408a Turn the Nav Menu meta boxes into an accordion. Less sprawling and overwhelming.
* Registration stays the same — they're meta boxes
* Call `do_accordion_sections()` instead of `do_meta_boxes()` and they render as an accordion

props DrewAPicture, lessbloat, jkudish. fixes #23450. see #23449

git-svn-id: https://develop.svn.wordpress.org/trunk@23707 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 13:16:38 +00:00
Andrew Ozz 631980b5fa Post locks on the posts list screen: new icons for the lock, props empireoflight, show avatar for the user currently editing, props dh-shredder, see #23312
git-svn-id: https://develop.svn.wordpress.org/trunk@23681 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-13 00:28:07 +00:00
Andrew Ozz 92c30a26fb Check post locks with heartbeat and display modal notifications when a post is locked or a user takes over editing, props dh-shredder, see #23697
git-svn-id: https://develop.svn.wordpress.org/trunk@23661 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 03:22:30 +00:00
Andrew Nacin d049a2b1ed Remove message slide-down effect on the nav-menus.php page. props lessbloat, fixes #23714.
git-svn-id: https://develop.svn.wordpress.org/trunk@23640 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 17:03:15 +00:00
Peter Westwood ae4522b5f1 Revisions: Updates to the new Revisions UI.
Various Updates including:
 * i18n fixes
 * Added tracking of what revision ID was restored
 * async fetching of diffs so that slider works sooner even with many revisions

See #23497 props adamsilverstein, ethitter


git-svn-id: https://develop.svn.wordpress.org/trunk@23639 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 15:32:26 +00:00
Peter Westwood b88687d67e Revisions: Update the Styling for the Revisions UI props karmatosed see #23497.
git-svn-id: https://develop.svn.wordpress.org/trunk@23638 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 15:11:23 +00:00
Mark Jaquith d422fd5331 Tweak the Nav Menu UX, especially around menu creation.
props lessbloat, DrewAPicture, jkudish. fixes #23641

git-svn-id: https://develop.svn.wordpress.org/trunk@23622 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 19:34:01 +00:00
Helen Hou-Sandi a847ce2f36 Prevent an unseemly gap on the edit screen when nothing else displays before normal meta boxes. Give better HTML and visual structure to items added via `edit_form_after_title` and `edit_form_after_editor`. Using a class of `.edit-form-section` will now get you a 20px bottom margin; perfect for your additions to the post edit screen. fixes #23240.
git-svn-id: https://develop.svn.wordpress.org/trunk@23615 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-04 23:22:17 +00:00
Helen Hou-Sandi aae1d4ef75 Don't make ordered lists in help tabs look like bulleted lists. props ninnypants. fixes #23659.
git-svn-id: https://develop.svn.wordpress.org/trunk@23583 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-02 17:47:48 +00:00
Helen Hou-Sandi 45b4d47b02 * Simplify jQuery UI slider CSS and bring into line with admin styles.
* Merge styles into wp-admin.css and colors-*.css.
* Scope the CSS with a class so as not to conflict with the color picker, which also utilizes jQuery UI slider. Authors wanting to use built-in styling for sliders should add a class of `.wp-slider` to the container to be intialized.

props karmatosed, helen. see #23497.


git-svn-id: https://develop.svn.wordpress.org/trunk@23581 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 19:24:03 +00:00
Helen Hou-Sandi 7f7f9a805c Merge revisions.css into wp-admin.css. Move misplaced block of revisions CSS in wp-admin.css into appropriate section. Some standards clean up and selector merging. see #23497.
git-svn-id: https://develop.svn.wordpress.org/trunk@23507 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 15:40:44 +00:00
Peter Westwood 554627a0d5 Revisions: First pass an implementing a new UI/UX for reviewing the revisions of posts. See #23497 props adamsilverstein for the initial patch.
This implements a new revisions ui using Backbone and preserves all the old methods of "integration" so the change should be transparent to plugins using revisi
ons with CPTs.

This is the first pass and so there are a number of things still to be resolved, more details in the ticket. Feedback welcomed.


git-svn-id: https://develop.svn.wordpress.org/trunk@23506 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 15:14:34 +00:00
Andrew Ozz 780ee565aa Improved logged out warnings, first run, props mintindeed, see #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@23504 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 08:57:17 +00:00
Helen Hou-Sandi a766d178db Revert [23369] and [23370]: the icons. see #23333.
git-svn-id: https://develop.svn.wordpress.org/trunk@23501 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 01:15:20 +00:00