-
Notifications
You must be signed in to change notification settings - Fork 120
MP6 #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MP6 #116
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
686ccbf
move to css directory and create 3.8 stylesheet
mattheu 521c157
Merge branch 'refs/heads/jquery-ui' into MP6
mattheu d6e7dc0
css class namespacing
mattheu 96f0660
cmv present field should be contained within td
mattheu d27b2b0
indenting
mattheu 3510fbd
date time js for all
mattheu e905bb0
new CMB.css
mattheu 3eba32b
button styles
mattheu ddabd3b
padding
mattheu f9e12e2
Display bugs for select fields (in IE mainly)
mattheu cba835f
tighten up the layout
mattheu 1a7ebd0
Use divs and CSS to style grid layout instead of tables.
mattheu bbfac4d
Merge pull request #119 from humanmade/MP6-responsive
mattheu e25292b
grid wrapper el uneccessary
mattheu d1fdc10
Merge branch 'MP6' of github.com:humanmade/Custom-Meta-Boxes into MP6
mattheu 0f81ece
Merge branch 'refs/heads/master' into MP6
mattheu 3dd61b7
Merge branch 'refs/heads/master' into MP6
mattheu 9c8f1f9
improve the use of version compare
mattheu 9e40938
fix css bug in wysiwyg
mattheu c94fbd6
Fix added to core http://core.trac.wordpress.org/changeset/26364
mattheu 4b49b24
Use grunt to concatenate CSS files
mattheu b925c32
Move CSS to externals/dist dir
mattheu 44df870
Merge branch 'refs/heads/master' into MP6
mattheu 0bdc4e3
fix jquery-ui images + cleanup old ones
mattheu 5aa0276
Merge branch 'refs/heads/master' into MP6
mattheu 1bcf505
Rename
mattheu 9769f9e
fix tests for this branch
mattheu a34de5c
update for rename
mattheu 74ecd07
fix unit test
mattheu a02d0fb
consistent height of field title & description
mattheu e74e689
no need to pass object by reference
mattheu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /node_modules/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| /*global module:false*/ | ||
| module.exports = function(grunt) { | ||
|
|
||
| // Project configuration. | ||
| grunt.initConfig({ | ||
| // Metadata. | ||
| pkg: grunt.file.readJSON('package.json'), | ||
| banner: '/**\n' + | ||
| ' * <%= pkg.title || pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n' + | ||
| '<%= pkg.homepage ? " * " + pkg.homepage + "\\n" : "" %>' + | ||
| ' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %>;' + ' License: <%= pkg.license %>\n' + | ||
| ' */', | ||
| cssmin: { | ||
| combine: { | ||
| options: { | ||
| banner: '<%= banner %>' | ||
| }, | ||
| files: { | ||
| 'css/dist/cmb.min.css': [ 'css/src/layout.css', 'css/src/generic.css', 'css/src/repeatable.css', 'css/src/group.css', 'css/src/file.css', 'css/src/misc-fields.css' ] | ||
| } | ||
| } | ||
| } | ||
| }); | ||
|
|
||
| // These plugins provide necessary tasks. | ||
| grunt.loadNpmTasks('grunt-contrib-cssmin'); | ||
|
|
||
| // Default task. | ||
| grunt.registerTask('default', [ 'cssmin' ] ); | ||
|
|
||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| /** | ||
| * CMB Styles | ||
| * | ||
| * This file is used for development only and is loaded when CMB_DEV is defined as true. | ||
| * cmb.min.css is generated by the Grunt build process. | ||
| */ | ||
|
|
||
| @import '../src/layout.css'; | ||
| @import '../src/generic.css'; | ||
|
|
||
| /** Features **/ | ||
| @import '../src/repeatable.css'; | ||
|
|
||
| /** Fields **/ | ||
| @import '../src/group.css'; | ||
| @import '../src/file.css'; | ||
| @import '../src/misc-fields.css'; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't need the
&me thinks, why did you need that?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this needed in order to use the value returned by get_fields() as a reference to $this->fields right? Am I doing it wrong?
I'm going to merge anyway because this was actually added already - I just moved the function in this PR. I would like to ensure I'm doing it the right way.