From: Anthony Talarico Date: Fri, 19 Oct 2018 20:05:57 +0000 (-0400) Subject: moving buttons into the header of the summary dashboard widgets X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=91441fac7d36a0054350452d3b35ced75b60a656;p=WP-Plugins%2Fglm-member-db.git moving buttons into the header of the summary dashboard widgets --- diff --git a/css/glma-admin-sass.css b/css/glma-admin-sass.css index 11dadc21..f22d60f6 100644 --- a/css/glma-admin-sass.css +++ b/css/glma-admin-sass.css @@ -1,3 +1,3 @@ -.stupid-widget{color:red}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap #glm-admin-content-container{background-color:transparent;border:0;padding:0}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body{padding:10px;position:relative}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .dashboard-widget-buttons{margin:0}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .quick-links{padding:8px 12px 4px;margin:0 -12px}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .quick-links .quick-link:after{content:' |'}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .quick-links .quick-link:last-child:after{content:''}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .list-header{padding:8px 12px 8px;border-top:1px solid #eee;border-bottom:1px solid #eee;margin:0 -10px}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .collection{margin:0 -10px;border-bottom:1px solid #eee}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .collection .collection-item{background-color:#fafafa;line-height:1;padding:0px 10px;float:left;width:100%}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .collection .collection-item a:not(.btn){color:#0073aa;display:inline-block;overflow:hidden;padding:7px 2%}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .collection .collection-item a:not(.btn).collection-item-left{float:left;text-align:left}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .collection .collection-item a:not(.btn).collection-item-right{text-align:right;float:right}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .dashboard-summary-widget{background-color:white;box-shadow:none;border-color:#e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,0.04)}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .dashboard-summary-widget .summary-widget-handle::after{content:"";position:absolute;top:55%;transform:translateY(-50%);right:10px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid black}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .dashboard-summary-widget .summary-widget-handle{padding:7px 10px;background-color:white;color:black;border-bottom:1px solid #eee;font-size:15px;font-weight:bold;position:relative}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .glm-summary-widgets-wrapper>h2{font-size:32px}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .modal-content.datepicker-container .select-dropdown.dropdown-trigger{width:85px}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .date-search-container{margin-top:20px}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .date-search-container .date-search-title{padding-left:12px;font-weight:bold}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .dashboard-widget-buttons{display:inline-block;float:right}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .dashboard-widget-buttons a[class*="add-"]{background-color:#4CAF50}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .dashboard-widget-buttons a[class*="export-"]{background-color:#9e9e9e}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .dashboard-widget-buttons a:hover{color:white}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .collapsible-header .btn{position:relative;left:10px;top:7px}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .collapsible-header .btn i{width:inherit;margin:0} +.stupid-widget{color:red}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap #glm-admin-content-container{background-color:transparent;border:0;padding:0}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body{padding:10px;position:relative}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .dashboard-widget-buttons{margin:0}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .quick-links{padding:8px 12px 4px;margin:0 -12px}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .quick-links .quick-link:after{content:' |'}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .quick-links .quick-link:last-child:after{content:''}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .list-header{padding:8px 12px 8px;border-top:1px solid #eee;border-bottom:1px solid #eee;margin:0 -10px}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .collection{margin:0 -10px;border-bottom:1px solid #eee}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .collection .collection-item{background-color:#fafafa;line-height:1;padding:0px 10px;float:left;width:100%}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .collection .collection-item a:not(.btn){color:#0073aa;display:inline-block;overflow:hidden;padding:7px 2%}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .collection .collection-item a:not(.btn).collection-item-left{float:left;text-align:left}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .members-summary-widget .summary-widget-body .collection .collection-item a:not(.btn).collection-item-right{text-align:right;float:right}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .dashboard-summary-widget{background-color:white;box-shadow:none;border-color:#e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,0.04)}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .dashboard-summary-widget .summary-widget-handle::after{content:"";position:absolute;top:55%;transform:translateY(-50%);right:10px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid black}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .dashboard-summary-widget .summary-widget-handle{padding:7px 10px;background-color:white;color:black;border-bottom:1px solid #eee;font-size:15px;font-weight:bold;position:relative}.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap .glm-summary-widgets-wrapper>h2{font-size:32px}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .modal-content.datepicker-container .select-dropdown.dropdown-trigger{width:85px}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .date-search-container{margin-top:20px}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .date-search-container .date-search-title{padding-left:12px;font-weight:bold}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .dashboard-widget-buttons{display:inline-block;float:right}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .dashboard-widget-buttons a[class*="add-"]{background-color:#4CAF50}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .dashboard-widget-buttons a[class*="export-"]{background-color:#9e9e9e}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .dashboard-widget-buttons a:hover{color:white}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .widget-header-buttons{position:absolute;right:45px;top:10px}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .collapsible-header .btn{position:relative;left:10px;top:7px}#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget .collapsible-header .btn i{width:inherit;margin:0} /*# sourceMappingURL=glma-admin-sass.css.map */ diff --git a/css/glma-admin-sass.css.map b/css/glma-admin-sass.css.map index 64ae523e..cfe95af5 100644 --- a/css/glma-admin-sass.css.map +++ b/css/glma-admin-sass.css.map @@ -1 +1 @@ -{"version":3,"file":"glma-admin-sass.css","sources":["app.scss","_test.scss","_dashboard.scss"],"sourcesContent":["@import 'test';\n@import 'dashboard';",".stupid-widget{\n color: red;\n}","/* New Dashboard Styles */\n.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap {\n #glm-admin-content-container {\n background-color: transparent;\n border: 0;\n padding: 0;\n }\n .members-summary-widget {\n .summary-widget-body {\n padding: 10px;\n position: relative;\n .dashboard-widget-buttons {\n margin: 0;\n }\n .quick-links {\n padding: 8px 12px 4px;\n margin: 0 -12px;\n .quick-link {\n &:after {\n content: ' |';\n }\n &:last-child:after {\n content: '';\n }\n }\n }\n .list-header {\n padding: 8px 12px 8px;\n border-top: 1px solid #eee;\n border-bottom: 1px solid #eee;\n margin: 0 -10px;\n }\n .collection {\n margin: 0 -10px;\n border-bottom: 1px solid #eee;\n .collection-item {\n background-color: #fafafa;\n line-height: 1;\n padding: 0px 10px;\n float: left;\n width: 100%;\n a:not(.btn) {\n color: #0073aa;\n display: inline-block;\n overflow: hidden;\n padding: 7px 2%;\n &.collection-item-left {\n float: left;\n text-align: left;\n }\n &.collection-item-right {\n text-align: right;\n float: right;\n }\n\n }\n }\n }\n\n }\n }\n .dashboard-summary-widget{\n background-color: white;\n box-shadow: none;\n border-color: #e5e5e5;\n box-shadow: 0 1px 1px rgba(0,0,0,0.04);\n // .date-field{\n // @media (max-width: 1024px){\n // width: 50% !important;\n // }\n // }\n .summary-widget-handle::after {\n content: \"\";\n position: absolute;\n top: 55%;\n transform: translateY(-50%);\n right: 10px;\n width: 0;\n height: 0;\n border-left: 6px solid transparent;\n border-right: 6px solid transparent;\n border-top: 6px solid black;\n }\n .summary-widget-handle {\n padding: 7px 10px;\n background-color: white;\n color: black;\n border-bottom: 1px solid #eee;\n font-size: 15px;\n font-weight: bold;\n position: relative;\n }\n }\n\n .glm-summary-widgets-wrapper > h2 {\n font-size: 32px;\n }\n}\n#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget{\n .modal-content.datepicker-container{\n .select-dropdown.dropdown-trigger{\n width: 85px;\n }\n }\n .date-search-container{\n margin-top: 20px;\n .date-search-title{\n padding-left: 12px;\n font-weight: bold;\n }\n }\n .dashboard-widget-buttons{\n display: inline-block;\n float: right;\n a[class*=\"add-\"]{\n background-color: #4CAF50;\n } \n a[class*=\"export-\"]{\n background-color: #9e9e9e;\n }\n a:hover{\n color: white;\n } \n }\n .collapsible-header{\n .btn{\n position: relative;\n left: 10px;\n top: 7px;\n // padding: 0 3px;\n i{\n width: inherit;\n margin: 0;\n // color: #EF5350 !important;\n } \n }\n }\n}"],"mappings":"ACAA,AAAA,cAAc,AAAA,CACV,KAAK,CAAE,GAAI,CACd,ACDD,AACI,yBADqB,AAAA,mCAAmC,CACxD,4BAA4B,AAAC,CACzB,gBAAgB,CAAE,WAAY,CAC9B,MAAM,CAAE,CAAE,CACV,OAAO,CAAE,CAAE,CACd,AALL,AAOQ,yBAPiB,AAAA,mCAAmC,CAMxD,uBAAuB,CACnB,oBAAoB,AAAC,CACjB,OAAO,CAAE,IAAK,CACd,QAAQ,CAAE,QAAS,CAiDtB,AA1DT,AAUY,yBAVa,AAAA,mCAAmC,CAMxD,uBAAuB,CACnB,oBAAoB,CAGhB,yBAAyB,AAAC,CACtB,MAAM,CAAE,CAAE,CACb,AAZb,AAaY,yBAba,AAAA,mCAAmC,CAMxD,uBAAuB,CACnB,oBAAoB,CAMhB,YAAY,AAAC,CACT,OAAO,CAAE,YAAa,CACtB,MAAM,CAAE,OAAQ,CASnB,AAxBb,AAgBgB,yBAhBS,AAAA,mCAAmC,CAMxD,uBAAuB,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CAAC,yBAAyB,CA0B3F,mBAAmB,CACf,IAAI,CAKA,CAAC,AAAA,CACG,KAAK,CAAE,OAAQ,CACf,MAAM,CAAE,CAAE,CAEb","names":[],"sourceRoot":"/source/"} \ No newline at end of file +{"version":3,"file":"glma-admin-sass.css","sources":["app.scss","_test.scss","_dashboard.scss"],"sourcesContent":["@import 'test';\n@import 'dashboard';",".stupid-widget{\n color: red;\n}","/* New Dashboard Styles */\n.glm-associate-admin-wrap.glm-associate-admin-dashboard-wrap {\n #glm-admin-content-container {\n background-color: transparent;\n border: 0;\n padding: 0;\n }\n .members-summary-widget {\n .summary-widget-body {\n padding: 10px;\n position: relative;\n .dashboard-widget-buttons {\n margin: 0;\n }\n .quick-links {\n padding: 8px 12px 4px;\n margin: 0 -12px;\n .quick-link {\n &:after {\n content: ' |';\n }\n &:last-child:after {\n content: '';\n }\n }\n }\n .list-header {\n padding: 8px 12px 8px;\n border-top: 1px solid #eee;\n border-bottom: 1px solid #eee;\n margin: 0 -10px;\n }\n .collection {\n margin: 0 -10px;\n border-bottom: 1px solid #eee;\n .collection-item {\n background-color: #fafafa;\n line-height: 1;\n padding: 0px 10px;\n float: left;\n width: 100%;\n a:not(.btn) {\n color: #0073aa;\n display: inline-block;\n overflow: hidden;\n padding: 7px 2%;\n &.collection-item-left {\n float: left;\n text-align: left;\n }\n &.collection-item-right {\n text-align: right;\n float: right;\n }\n\n }\n }\n }\n\n }\n }\n .dashboard-summary-widget{\n background-color: white;\n box-shadow: none;\n border-color: #e5e5e5;\n box-shadow: 0 1px 1px rgba(0,0,0,0.04);\n // .date-field{\n // @media (max-width: 1024px){\n // width: 50% !important;\n // }\n // }\n .summary-widget-handle::after {\n content: \"\";\n position: absolute;\n top: 55%;\n transform: translateY(-50%);\n right: 10px;\n width: 0;\n height: 0;\n border-left: 6px solid transparent;\n border-right: 6px solid transparent;\n border-top: 6px solid black;\n }\n .summary-widget-handle {\n padding: 7px 10px;\n background-color: white;\n color: black;\n border-bottom: 1px solid #eee;\n font-size: 15px;\n font-weight: bold;\n position: relative;\n }\n }\n\n .glm-summary-widgets-wrapper > h2 {\n font-size: 32px;\n }\n}\n#glm-admin-content-container .glm-summary-widgets .glm-summary-widget .dashboard-summary-widget{\n .modal-content.datepicker-container{\n .select-dropdown.dropdown-trigger{\n width: 85px;\n }\n }\n .date-search-container{\n margin-top: 20px;\n .date-search-title{\n padding-left: 12px;\n font-weight: bold;\n }\n }\n .dashboard-widget-buttons{\n display: inline-block;\n float: right;\n a[class*=\"add-\"]{\n background-color: #4CAF50;\n } \n a[class*=\"export-\"]{\n background-color: #9e9e9e;\n }\n a:hover{\n color: white;\n } \n }\n .widget-header-buttons{\n position: absolute;\n right: 45px;\n top: 10px;\n }\n .collapsible-header{\n .btn{\n position: relative;\n left: 10px;\n top: 7px;\n // padding: 0 3px;\n i{\n width: inherit;\n margin: 0;\n // color: #EF5350 !important;\n } \n }\n }\n}"],"mappings":"ACAA,AAAA,cAAc,AAAA,CACV,KAAK,CAAE,GAAI,CACd,ACDD,AACI,yBADqB,AAAA,mCAAmC,CACxD,4BAA4B,AAAC,CACzB,gBAAgB,CAAE,WAAY,CAC9B,MAAM,CAAE,CAAE,CACV,OAAO,CAAE,CAAE,CACd,AALL,AAOQ,yBAPiB,AAAA,mCAAmC,CAMxD,uBAAuB,CACnB,oBAAoB,AAAC,CACjB,OAAO,CAAE,IAAK,CACd,QAAQ,CAAE,QAAS,CAiDtB,AA1DT,AAUY,yBAVa,AAAA,mCAAmC,CAMxD,uBAAuB,CACnB,oBAAoB,CAGhB,yBAAyB,AAAC,CACtB,MAAM,CAAE,CAAE,CACb,AAZb,AAaY,yBAba,AAAA,mCAAmC,CAMxD,uBAAuB,CACnB,oBAAoB,CAMhB,YAAY,AAAC,CACT,OAAO,CAAE,YAAa,CACtB,MAAM,CAAE,OAAQ,CASnB,AAxBb,AAgBgB,yBAhBS,AAAA,mCAAmC,CAMxD,uBAAuB,CACnB,oBAAoB,CAMhB,YAAY,CAGR,WAAW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CACA,QAAQ,CAAE,QAAS,CACnB,IAAI,CAAE,IAAK,CACX,GAAG,CAAE,GAAI,CAOZ,AA1CT,AAqCY,4BArCgB,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,yBAAyB,CA+B3F,mBAAmB,CACf,IAAI,CAKA,CAAC,AAAA,CACG,KAAK,CAAE,OAAQ,CACf,MAAM,CAAE,CAAE,CAEb","names":[],"sourceRoot":"/source/"} \ No newline at end of file diff --git a/scss/admin/_dashboard.scss b/scss/admin/_dashboard.scss index d2c05e97..a271b3aa 100644 --- a/scss/admin/_dashboard.scss +++ b/scss/admin/_dashboard.scss @@ -122,6 +122,11 @@ color: white; } } + .widget-header-buttons{ + position: absolute; + right: 45px; + top: 10px; + } .collapsible-header{ .btn{ position: relative; diff --git a/setup/adminHooks.php b/setup/adminHooks.php index ad061a3d..edbbd041 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -456,6 +456,24 @@ add_filter( $content = [ 'title' => 'Members', + 'widgetButtons' => [ + [ + 'id' => 'add-member', + 'content' => 'Add', + 'url' => $memberIndexPage . "&glm_action=memberEdit&option=add", + 'classes' => '', + 'styles' => '', + 'data' => '' + ], + [ + 'id' => 'export-button', + 'content' => 'Export', + 'url' => '#', + 'classes' => 'btn-small widget-export-btn waves-effect waves-light btn modal-trigger', + 'styles' => '', + 'data' => 'membersExportModal' + ], + ], 'components' => [ [ 'id' => 'quickLinks', @@ -476,27 +494,6 @@ add_filter( ] ], ], - [ - 'id' => 'topButtons', - 'order' => 0, - 'template' => 'buttons', - 'buttons' => [ - 'add-member' => [ - 'content' => 'Add New', - 'url' => $memberIndexPage . "&glm_action=memberEdit&option=add", - 'classes' => '', - 'data' => '', - 'styles' => '' - ], - 'export-member' => [ - 'content' => 'Export', - 'url' => '#', - 'classes' => 'btn-small widget-export-btn waves-effect waves-light btn modal-trigger', - 'styles' => '', - 'data' => 'membersExportModal' - ], - ], - ], [ 'id' => 'entityAmount', 'title' => 'Number of ' . $this->config['terms']['term_member_plur_cap'], diff --git a/views/admin/newDashboard/summaryWidget.html b/views/admin/newDashboard/summaryWidget.html index 90c67cb6..e95f4a67 100644 --- a/views/admin/newDashboard/summaryWidget.html +++ b/views/admin/newDashboard/summaryWidget.html @@ -2,7 +2,20 @@