diff --git a/datagear-web/src/main/resources/org/datagear/web/locales/datagear.properties b/datagear-web/src/main/resources/org/datagear/web/locales/datagear.properties index c8628c3f..068d57cd 100644 --- a/datagear-web/src/main/resources/org/datagear/web/locales/datagear.properties +++ b/datagear-web/src/main/resources/org/datagear/web/locales/datagear.properties @@ -72,6 +72,7 @@ insert=\u63D2\u5165 copySuccess=\u590D\u5236\u6210\u529F\uFF01 copyToClipboardSuccess=\u5DF2\u590D\u5236\u5230\u526A\u5207\u677F\uFF01 share=\u5206\u4EAB +expandOrCollapse=\u5C55\u5F00/\u6536\u56DE dataFilter.mine=\u6211\u7684 dataFilter.other=\u5206\u4EAB\u7684 diff --git a/datagear-web/src/main/resources/org/datagear/web/webapp/staticResource/static/css/common.css b/datagear-web/src/main/resources/org/datagear/web/webapp/staticResource/static/css/common.css index ad24818a..201e600b 100644 --- a/datagear-web/src/main/resources/org/datagear/web/webapp/staticResource/static/css/common.css +++ b/datagear-web/src/main/resources/org/datagear/web/webapp/staticResource/static/css/common.css @@ -74,7 +74,7 @@ form .form-content .form-item{ } form .form-content .form-item .form-item-label{ display: inline-block; - width: 19%; + width: 20%; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; @@ -89,7 +89,8 @@ form .form-content .form-item .form-item-label label{ } form .form-content .form-item .form-item-value{ display: inline-block; - width: 79%; + width: 80%; + margin-left: -0.5em; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; @@ -2195,6 +2196,12 @@ table.dataTable tbody tr .column-check .row-data-state .ui-icon{ .page-form-dashboard{ position: relative; } +.page-form-dashboard.max-template-editor form .form-content .form-item .form-item-label{ + width: 0; +} +.page-form-dashboard.max-template-editor form .form-content .form-item .form-item-value{ + width: 100%; +} .page-form-dashboard .form-item-value-template{ position: relative; } @@ -2214,7 +2221,7 @@ table.dataTable tbody tr .column-check .row-data-state .ui-icon{ left: 0; top: 0; bottom: 0; - width: 70%; + right: 13.5em; } .page-form-dashboard .template-editor-wrapper .template-editor-parent .template-editor{ position: absolute; @@ -2223,17 +2230,18 @@ table.dataTable tbody tr .column-check .row-data-state .ui-icon{ top: 0; bottom: 0; } -.page-form-dashboard .template-editor-wrapper .insert-chart-button{ +.page-form-dashboard .template-editor-wrapper .insert-chart-button-wrapper{ position: absolute; - left: 71%; + right: 0; top: 0; + width: 13em; } .page-form-dashboard .template-editor-wrapper .dashboard-resource-wrapper{ position: absolute; - left: 71%; right: 0; top: 3em; bottom: 0; + width: 13em; } .page-form-dashboard .template-editor-wrapper .dashboard-resource-wrapper .resource-title{ font-weight: normal; @@ -2278,7 +2286,7 @@ table.dataTable tbody tr .column-check .row-data-state .ui-icon{ .page-form-dashboard .template-editor-wrapper .dashboard-resource-wrapper .add-resource-panel{ position: absolute; display: none; - width: 80%; + width: 120%; right: 0px; top: 1.8em; padding: 0.3em 0.3em; @@ -2307,6 +2315,19 @@ table.dataTable tbody tr .column-check .row-data-state .ui-icon{ padding-top: 0.3em; padding-bottom: 0.3em; } +.page-form-dashboard .form-item-value-template .resize-editor-wrapper{ + position: absolute; + left: -0.7em; + top: -0.5em; + display: inline-block; + z-index: 10; +} +.page-form-dashboard .form-item-value-template .resize-editor-wrapper .ui-button.ui-button-icon-only{ + width: 1.4em; + height: 1.4em; + padding: 0.3em 0.3em; + border: 0; +} .page-form-dashboard .show-button{ position: absolute; top: 0.5em; diff --git a/datagear-web/src/main/resources/org/datagear/web/webapp/view/freemarker/analysis/dashboard/dashboard_form.ftl b/datagear-web/src/main/resources/org/datagear/web/webapp/view/freemarker/analysis/dashboard/dashboard_form.ftl index f2346ea2..b01b299c 100644 --- a/datagear-web/src/main/resources/org/datagear/web/webapp/view/freemarker/analysis/dashboard/dashboard_form.ftl +++ b/datagear-web/src/main/resources/org/datagear/web/webapp/view/freemarker/analysis/dashboard/dashboard_form.ftl @@ -38,7 +38,9 @@ readonly 是否只读操作,允许为null
<#if !readonly> - + #if> +