Commit Graph

145 Commits

Author SHA1 Message Date
Naomi Guyer
5a023f985d MINOR: SCSS refactoring
1. Refactored some gridfield styles to enable reuse (created a mixin
file to hold mixins that generate specific css objects/elements).
2. Made some scss comments use // so they wouldn't appear in generated
css
2012-05-16 12:18:00 +12:00
Ingo Schommer
ce3b2fc3af Merge pull request #440 from Zauberfisch/sapphire
---

fixed missing cancel icon in UploadField cancel button
2012-05-14 15:15:51 +02:00
Zauberfisch
ad78d9a3d1 MINOR: fixed missing cancel icon 2012-05-13 21:05:30 +02:00
Andrew Short
05cde92508 FEATURE: Implemented a view action for GridField, and a record viewing GridFieldConfig. 2012-05-12 18:49:56 +10:00
Naomi Guyer
9844328a06 BUGFIX: Fix error notification on files (fixes: 7295)
Add title text to all status messages
Make room for the error message details by expanding the name area in
the file details
Fix up changes status to work with selects
2012-05-11 14:43:17 +12:00
Naomi Guyer
f2411cf13a BUGFIX: Uploads save button not visible (Trac #7294)
Fixed the calculation of height for the upload (non AssetUploads) area
so that the save button would show. Took off the min-height, as this
will cause UI issues when there are multiple files open for editing.
2012-05-10 11:41:10 +02:00
Naomi Guyer
106bd47e88 BUGFIX: #7295 Long Filenames break layout
Add text overflow and a max width to filenames.
2012-05-10 11:41:10 +02:00
Naomi Guyer
d642eee28e ENHANCEMENT: UI Changes to FileUpload Area (TRAC-7219)
1. Add arrows to edit dropdowns
2. Adjust lightened fields so they don't look like input boxes, and fix
rgba colours
3. Add ability to click file names to edit
4. Add feedback when edit button is hovered
5. Add feedback if a file has been opened for editing and shut again
(saved changes, unsaved changes, unchanged)
6. Add ability to open and close all files to edit them all at once
7. Add overall feedback for file uploads, and fix NaN error
8. Fix up area to match design
9. Fix error messages so they fit in the provided space
10. Fix case where a single uploaded file errors
2012-05-09 18:38:21 +12:00
Normann Lou
7324712e9e FEATURE: add Levelup component to GridField as GridFieldLevelup 2012-05-07 13:40:53 +12:00
Naomi Guyer
61c18c5dbc BUGFIXES: Fixes #7003 2012-04-30 12:25:35 +12:00
Naomi Guyer
66d0673b07 BUGFIX: Fixes #7003
Changed the calculation of the iframe size so it would be the correct
height. Altered the styles of the view details area to match design.
Changed the background color of the title on the file header so it
wouldn't look editable (as recommended by Felipe)
2012-04-26 11:17:16 +02:00
Naomi Guyer
2b9b07adcc BUGFIX: 7055 Filter buttons in IE9
Set gradient support to true for IE9 in order for the icons to show on
top of gradients as desired.
2012-04-23 12:29:57 +12:00
Naomi Guyer
b075dc9058 BUGFIX: Fixes #6943
Added classes to dropzone when dragging and dropping files. Added
styles to the dropzone when a file could be dropped. Added a clearfloat
mixin to the mixins file.
2012-04-18 09:56:09 +12:00
Mateusz Uzdowski
e262a29193 ENHANCEMENT: move code introspection functions to the silverstripe-codeviz module 2012-04-17 14:45:26 +12:00
Jeremy Bridson
e91c609bd2 BUGFIX:fixed broken filter header styling in users 2012-04-16 15:30:34 +12:00
Simon Welsh
f07258f3cf MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Simon Welsh
3a6341a251 API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
Will Rossiter
07d2d5273a ENHANCEMENT: populate FormField:: on the fly based on class name of field rather than requiring explict definition. 2012-04-14 17:36:19 +12:00
Julian Seidenberg
e9dc610448 API-CHANGE: new GridFieldFooter component 2012-04-12 16:13:47 +12:00
Jeremy Bridson
84388a4119 ENHANCEMENT:SSF-124 - changed how the border radius was applied on the gridfield header. border radius is now applied to the first and last th in the first row in <thead>. 2012-04-11 13:45:37 +12:00
Jeremy Bridson
285773746d BUGFIX:SSF-124 / Trac#7105 - fixed issue with gridfield columns being too narrow. 2012-04-11 10:48:24 +12:00
Jeremy Bridson
3ea847a059 MINOR:changed white-space:nowrap so that it applies to all td in the gridfield. 2012-04-10 13:41:15 +12:00
Jeremy Bridson
b26807058f ENHANCEMENT:removed border and added blue link color to page titles. 2012-04-10 13:36:15 +12:00
Jeremy Bridson
4a3a6d5128 BUGFIX: SSF-124 - removed styles to fix color of th text. 2012-04-10 13:36:15 +12:00
Jeremy Bridson
e0b429491c ENHANCEMENT: SSF-124 - styled the pages list view. 2012-04-10 12:22:11 +12:00
Ingo Schommer
8c5e56fe31 Merge branch 'master' into integration
Conflicts:
	admin/css/screen.css
	dev/install/php5-required.html
2012-04-09 21:10:08 +02:00
Jeremy Bridson
206c61fcd5 ENHANCEMENT:SSF-168 - styled report admin gridfield 2012-04-05 15:27:52 +12:00
Sean Harvey
076f1a83f4 BUGFIX Fixed GridField edit link appearing 9999px off screen, should not be visible as the icon replaces the link text. 2012-04-04 16:00:56 +12:00
Felipe Skroski
5826b36f8d ENHACEMENT: SSF-168 updated the font for titles on print stylesheets 2012-04-04 14:27:50 +12:00
Felipe Skroski
4ffef20b09 ENHANCEMENT: SSF-168 updated print styles to the datagrid 2012-04-04 14:09:52 +12:00
Normann Lou
ba02e500e7 FEATURE added GridFieldPrintButton compoonent 2012-04-03 16:57:48 +12:00
Jeremy Bridson
c0fd9bf97c ENHANCEMENT:SSF-38 - Styled in-content file upload dialog box. Also added fixes for cms-content-header box-shadow. 2012-03-30 14:33:20 +13:00
Ingo Schommer
6d423fe9ee MINOR Moved AssetUploadField iframe margins into iframe body itself to avoid width conflicts, override default .cms overflow behaviour to ensure the iframe content as a whole stays scrollable (fixes #7003) 2012-03-27 17:07:52 +02:00
Ingo Schommer
3ef3a6df99 MINOR Shrinking GridField button column to fit, rather than hardcoding a width for it that depends on the amount and styling of buttons in the table 2012-03-27 17:07:52 +02:00
jbridson
4bf4d4de8f MINOR:SSF-53 - changed color of text on link existing button on hover. 2012-03-27 15:33:59 +02:00
Will Rossiter
39d3761eb9 BUGFIX: #6934 allow whole TreeDropdownField to be clicked 2012-03-24 11:57:29 +13:00
Ingo Schommer
960e3428b6 MINOR Avoid wrapping GridField row buttons into multiple lines 2012-03-12 10:23:59 +01:00
jbridson
b8f7f4c978 ENHANCEMENT:SSF-25 - removed find button when linking existing user - also made SCSS less specific so that it adds styling for the link existing button across the CMS. 2012-03-12 10:01:21 +01:00
jbridson
00d8188924 BUGFIX: SSF-106 - fixed scss for export to csv button so that is more general to all datagrid 2012-03-12 09:56:04 +01:00
jbridson
4a6116b562 MINOR:fixed use of $grid_x/y variables and documented 'magic' numbers 2012-03-12 09:35:38 +01:00
Normann Lou
aed91931a7 MINOR SSF-53 : code convention, use "-" instead of "_" for html class property value 2012-03-12 09:35:25 +01:00
jbridson
2cbbddefd2 MINOR:SSF-106 - fixed hover and active states to be more general across all buttons in datagrid rows. 2012-03-12 09:34:31 +01:00
jbridson
a6884942d5 MINOR:SSF-106 - fixed incorrect $gf_grid_x/y variables 2012-03-12 09:34:24 +01:00
Ingo Schommer
10dffd34a5 Revert "BUG FIX: Make Inputs in Input-Selects take up the whole select box (#6934)".
It hardcodes a width too globally, and uses magic numbers rather than the $grid-x system.
Also, it breaks styling, e.g. in the 'insert image' dialog.

This reverts commit 050afddc8e.
2012-03-09 17:42:23 +01:00
Sam Minnee
12618e2027 API CHANGE: Added targetFragment argument to GridFieldAddExistingAutocompleter, so that its location can be changed. Updated CSS and HTML to allow for this. 2012-03-09 17:52:26 +13:00
Sam Minnee
d795a55bdb API CHANGE: Removed 'add new' button from GridFieldToolbarHeader, instead opting to include two HTML fragments: toolbar-header-left and toolbar-header-right. 2012-03-09 17:52:26 +13:00
Naomi Guyer
050afddc8e BUG FIX: Make Inputs in Input-Selects take up the whole select box (#6934)
Signed-off-by: Naomi Guyer <adrexia@gmail.com>
2012-03-09 14:08:34 +13:00
jbridson
72101c254a MINOR:SSF-106 - fixed position of pagination on datagrid. 2012-03-08 17:21:26 +13:00
jbridson
2095743a68 MINOR:SSF-106 - edited the SCSS so that measurements use increments of $gf_gridy/x 2012-03-08 16:40:05 +13:00
jbridson
91d7f1c21c MINOR:SSF-53 - fixed height of table header when it has no sortable columns 2012-03-08 16:40:05 +13:00
jbridson
649d84a396 ENHANCEMENT:SSF-106 - styled the input for pagination and changed measurements to increments of $gf_grid_x and $gf_grid_y 2012-03-08 16:40:05 +13:00
jbridson
c3a2938a6d BUGFIX:SSF-53 - removed hover and active states from unlink button on users groups datagrid 2012-03-08 16:40:04 +13:00
jbridson
5d4d0dba05 BUGFIX: SSF-53 - fixed floating filter and reset buttons on filter under users - roles - no card for this, just came across it. 2012-03-07 17:32:05 +13:00
jbridson
e5ee4c9235 ENHANCEMENT:SSF-106 - styled first and last page buttons on datagrid pagination. 2012-03-07 14:57:15 +13:00
jbridson
2106aeb242 BUGFIX:SSF-30 - removed weird hover from delete button. 2012-03-07 14:28:23 +13:00
Ingo Schommer
8efaf75375 MINOR jQuery UI icons for GridField buttons (with spriting), added new icon to GridFieldRelationDelete to dustinguish it visually from GridFieldAction_Delete 2012-03-06 21:38:34 +01:00
jbridson
597b12e823 ENHANCEMENT: SSF-53 - Styled the pagination and icons on export to CSV button on User datagrid. 2012-03-06 15:55:26 +13:00
jbridson
d135c13c94 MINOR:SSF-53 - Changed the icon for the active state of the filter button on user gridfield 2012-03-05 13:35:49 +13:00
jbridson
58ffbe84bc ENHANCEMENT:SSF-106 - added padding to non-sortable <th> on gridfield 2012-03-02 11:46:35 +13:00
Ingo Schommer
f8201c48a3 MINOR More generic CSS styles for .cms-file-info: Apply to form.small parent, fixed related UploadField spacing issues 2012-03-01 11:58:16 +01:00
jbridson
50119d271a ENHANCEMENT:SSF-106 - added styling for the filter and reset buttons 2012-03-01 14:09:18 +13:00
Felipe Skroski
08b1a49c2b Merge branch 'integration' of github.com:silverstripe-big-o/sapphire into integration 2012-02-29 16:44:34 +13:00
Felipe Skroski
bc6ea2ec0e MINOR: (SSF-106) started on styling the filter bar on the datagrid 2012-02-29 16:42:57 +13:00
jbridson
a7304f3c39 MINOR:SSF-106 made a small change to the positioning of the icons (edit and delete) 2012-02-29 16:38:53 +13:00
jbridson
c0f65bfbba ENHANCEMENT:SSF-106 - changed the edit and delete buttons to match the icons on the design 2012-02-29 15:31:09 +13:00
Felipe Skroski
be114b418e MINOR: (SSF-106) Added the images of the previous commit 2012-02-29 13:55:48 +13:00
Felipe Skroski
fea1a9357d MINOR: (SSF-106) tidied up the datagrid header styling 2012-02-29 13:46:10 +13:00
Ingo Schommer
bcc73de85e Merge branch '106-add-edit-records-rc'
Conflicts:
	admin/code/LeftAndMain.php
	admin/css/screen.css
	admin/scss/_style.scss
	admin/templates/Includes/LeftAndMain_EditForm.ss
	css/GridField.css
	filesystem/Folder.php
	forms/gridfield/GridField.php
	forms/gridfield/GridFieldDefaultColumns.php
	forms/gridfield/GridFieldPopupForms.php
2012-02-27 23:58:10 +01:00
Ingo Schommer
0bc6bffa9b BUGFIX Changed CSS class structure of GridField to avoid duplication of ".ss-gridfield" selector in different contexts, and make selectors less verbose (no more "fieldset.ss-gridfield"). Added "field" class to GridField container to ensure it displays correctly alongside other form fields (mainly around margins and paddings) 2012-02-23 23:29:58 +01:00
Ingo Schommer
3c29a9268c MINOR AssetUploadField styling 2012-02-23 18:39:42 +01:00
Felipe Skroski
9efcb9b8fe BUGFIX: fixed "add new" button outside of the datagrid's title bar in firefox(ssf-106) 2012-02-22 17:16:20 +13:00
Felipe Skroski
1ebd83df1a ENHANCEMENT: styled the header of the datagrid (SSF-106) 2012-02-22 16:29:37 +13:00
Ingo Schommer
abfa16fa70 ENHANCEMENT Using native jQuery UI buttons and icon styling for a less coupled implementation (e.g. assuming that a "constructive" button always has a specific icon, or one at all). All CMS UI buttons switched to use <button> markup, which allows for inline icons and correctly aligned multi-line button labels. 2012-02-17 15:58:32 +01:00
Ingo Schommer
5220a46fd0 ENHANCEMENT Inserting image via new dialog with ajax field retrieval and GridField file selection. Rewritten to jQuery.entwine and using the new HTML editor abstraction layer. 2012-02-14 13:53:35 +01:00
Ingo Schommer
4437f9db4f MINOR Shorter SCSS $grid-* variables to promote wider usage 2012-02-14 11:18:58 +01:00
Ingo Schommer
448c5fd7b9 Merge branch 'story/SSF-28' 2012-02-08 15:35:34 +01:00
Felipe Skroski
f75537b589 BUGFIX: border radius on datagrid 2012-02-08 09:34:22 +01:00
Ingo Schommer
4126b95cf7 ENHANCEMENT Allow selection of items in GridField (via JavaScript only) 2012-02-08 01:05:19 +01:00
Ingo Schommer
3796ce5068 MINOR Fixed SCSS indentation in UploadField (avoid false sense of specificity without actual SCSS nesting) 2012-02-08 01:04:55 +01:00
Felipe Skroski
e7f9c2cae4 BUGFIX: border radius on datagrid 2012-02-07 10:39:49 +13:00
Zauberfisch
5ad2eea0e6 MINOR: fixed typo 2012-02-04 11:32:24 +01:00
Felipe Skroski
f4c140bcf4 MINOR Cleaner tree icons 2012-02-03 15:27:33 +01:00
Felipe Skroski
586ae4ab6e MINOR GridField column header and sorting styles 2012-02-03 15:27:18 +01:00
Ingo Schommer
c0d187071a ENHANCEMENT New UploadField class to replace FileIframeField, ImageField and SimpleImageField 2012-02-03 01:00:08 +01:00
Russell Michell
0090009703 BUGFIX: Added default args to GridFieldPopupForms for AssetAdmin which was casing errors
BUGFIX: Added GridFieldFilter() to new GridFieldConfig whuch adds filters and fixes the display
MINOR: Added gridfield specific margins to form div to push GridField display down-page (due to GF's sort-fields which will be refactored from new designs)
2012-01-30 09:26:39 +13:00
Russell Michell
3555ef23a5 MINOR: Re-instated <td> horizontal borders 2012-01-10 12:58:48 +13:00
Russell Michell
8b8e49eca7 MINOR: Fixed odd-looking borders on filter buttons in Opera 2012-01-10 12:46:41 +13:00
Russell Michell
284360e987 BUGFIX: Prevented horizontal scrollbar apearing, irresective of screen-res.
MINOR: Removed box-shadow for gridfield .field elements. Previous fix revealed this extending beyond GridField table's right-side
2012-01-10 11:07:27 +13:00
Ingo Schommer
b01b9b9249 MINOR Removed button styling for GridField, as its preliminary and doesn't apply to any action other than "delete" 2012-01-09 21:17:55 +01:00
Russell Michell
3bd056660d BUGFIX: Fixed strange-looking borders on filter-inputs in Opera 2012-01-09 13:49:47 +13:00
Stig Lindqvist
3c516b7b97 API CHANGE: Refactored GridField modifiers into GridField_ColumnProvider, GridField_HTMLProvider, GridField_ActionProvider, and GridField_DataModifier interfaces, all added as components in the config.
API CHANGE: Simplified state handling so that it's just a key store. Affectors are replaced with GridField_ActionProviders. API CHANGE: Removed GridField state manipulation actions instead opting for GridField_ActionProvider actions.
API CHANGE: Removed support for modifiers that add "body" rows, instead having core support for generating the body rows hardcoded into the GridField.
API CHANGE: Allow modification of columns across the whole GridField with the GridField_ColumnProvider interface.
API CHANGE: Renamed GridField_AlterAction to GridField_Action, and added actionName/args parameters, since it can be used for all actions (including batch actions and row actions)
API CHANGE: Removed GridFieldRow class.
2012-01-09 13:30:34 +13:00
Ingo Schommer
9eac776776 MINOR Using SCSS/Compass for sapphire/css 2012-01-08 19:14:32 +01:00
Stig Lindqvist
83e90aaafe ENHANCEMENT Release of DataGridPagination
This class extends the DataGridPresenter with the behaviour and looks of a paginated Datagrid.
2011-10-28 17:34:15 +13:00
Stig Lindqvist
b229c17e1d ENHANCEMENT Renamed DataGrid to GridField 2011-10-28 16:35:39 +13:00
Will Rossiter
9bd4e752ba FEATURE: initial cut of the template and styles for DataGrid 2011-09-28 16:50:02 +13:00