Skip to content

Commit

Permalink
Updated for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
colintucker committed Sep 22, 2017
1 parent 6e5448c commit 2e526eb
Show file tree
Hide file tree
Showing 45 changed files with 1,847 additions and 634 deletions.
17 changes: 17 additions & 0 deletions _config/buttons.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
Name: silverware-buttons
---

# Define Button Types:

SilverWare\Extensions\Style\ButtonStyle:
button_types:
primary: Primary
secondary: Secondary
success: Success
info: Info
warning: Warning
danger: Danger
light: Light
dark: Dark
link: Link
2 changes: 0 additions & 2 deletions _config/controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ SilverStripe\CMS\Controllers\ContentController:
load_themed_js: true
load_themed_css: false
load_custom_css: true
load_component_requirements: true
disable_cache: true

---
Expand All @@ -51,5 +50,4 @@ SilverStripe\CMS\Controllers\ContentController:
load_themed_js: true
load_themed_css: true
load_custom_css: true
load_component_requirements: false
disable_cache: false
24 changes: 24 additions & 0 deletions _config/styles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,30 @@ SilverWare\Grid\Frameworks\Bootstrap\Framework:
white: bg-white
light: bg-light
dark: bg-dark
button:
button: btn
primary: btn-primary
secondary: btn-secondary
success: btn-success
danger: btn-danger
warning: btn-warning
info: btn-info
light: btn-light
dark: btn-dark
link: btn-link
outline-primary: btn-outline-primary
outline-secondary: btn-outline-secondary
outline-success: btn-outline-success
outline-danger: btn-outline-danger
outline-warning: btn-outline-warning
outline-info: btn-outline-info
outline-light: btn-outline-light
outline-dark: btn-outline-dark
small: btn-sm
large: btn-lg
content:
content: content
typography: typography
feature:
body: card-body
feature: card
Expand Down
Binary file added admin/client/dist/images/icons/Button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion admin/client/dist/js/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion admin/client/dist/styles/bundle.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions admin/client/src/entwine/ListViewExtension.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ $.entwine('silverware.listviewextension', function($) {
},

getPaginateItemsField: function() {
return $(this).find('#Form_EditForm_ListPaginateItems');
return $(this).find('#Form_EditForm_List_PaginateItems');
},

getPaginationHolder: function() {
return $(this).find('#Form_EditForm_ListItemsPerPage_Holder');
return $(this).find('#Form_EditForm_List_ItemsPerPage_Holder');
}

});
Expand Down
Binary file added admin/client/src/images/icons/Button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions admin/client/src/styles/_admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@
}
}

&.fieldgroup {
> .hidden {
display: none;
}
}

}

// Badge Styles:
Expand Down
Loading

0 comments on commit 2e526eb

Please sign in to comment.