From dbc8968eb1c3ba1d84fb80fa4e5d665c4d2c4ade Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 14 Dec 2021 13:48:04 +0800 Subject: [PATCH] * Modify the width of the pop-up window. --- module/kanban/css/create.css | 1 + module/kanban/css/createspace.css | 1 + module/kanban/css/edit.css | 1 + module/kanban/css/editcard.css | 1 + module/kanban/css/editspace.css | 1 + module/kanban/model.php | 2 +- module/kanban/view/space.html.php | 8 ++++---- 7 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 module/kanban/css/create.css create mode 100644 module/kanban/css/createspace.css create mode 100644 module/kanban/css/edit.css create mode 100644 module/kanban/css/editcard.css create mode 100644 module/kanban/css/editspace.css diff --git a/module/kanban/css/create.css b/module/kanban/css/create.css new file mode 100644 index 0000000000..ac6894793f --- /dev/null +++ b/module/kanban/css/create.css @@ -0,0 +1 @@ +#mainContent {padding-left: 0px;} diff --git a/module/kanban/css/createspace.css b/module/kanban/css/createspace.css new file mode 100644 index 0000000000..ac6894793f --- /dev/null +++ b/module/kanban/css/createspace.css @@ -0,0 +1 @@ +#mainContent {padding-left: 0px;} diff --git a/module/kanban/css/edit.css b/module/kanban/css/edit.css new file mode 100644 index 0000000000..ac6894793f --- /dev/null +++ b/module/kanban/css/edit.css @@ -0,0 +1 @@ +#mainContent {padding-left: 0px;} diff --git a/module/kanban/css/editcard.css b/module/kanban/css/editcard.css new file mode 100644 index 0000000000..7eb7038e96 --- /dev/null +++ b/module/kanban/css/editcard.css @@ -0,0 +1 @@ +.table-form>tbody>tr>th {width: 70px;} diff --git a/module/kanban/css/editspace.css b/module/kanban/css/editspace.css new file mode 100644 index 0000000000..ac6894793f --- /dev/null +++ b/module/kanban/css/editspace.css @@ -0,0 +1 @@ +#mainContent {padding-left: 0px;} diff --git a/module/kanban/model.php b/module/kanban/model.php index cf10130ec8..225fb822b4 100644 --- a/module/kanban/model.php +++ b/module/kanban/model.php @@ -1652,7 +1652,7 @@ class kanbanModel extends model if(common::hasPriv('kanban', 'createRegion')) $actions .= '
  • ' . html::a(helper::createLink('kanban', 'createRegion', "kanbanID=$kanban->id", '', true), '' . $this->lang->kanban->createRegion, '', "class='iframe btn btn-link'") . '
  • '; $kanbanActions = ''; - if(common::hasPriv('kanban', 'edit')) $kanbanActions .= '
  • ' . html::a(helper::createLink('kanban', 'edit', "kanbanID=$kanban->id", '', true), '' . $this->lang->kanban->edit, '', "class='iframe btn btn-link'") . '
  • '; + if(common::hasPriv('kanban', 'edit')) $kanbanActions .= '
  • ' . html::a(helper::createLink('kanban', 'edit', "kanbanID=$kanban->id", '', true), '' . $this->lang->kanban->edit, '', "class='iframe btn btn-link' data-width='75%'") . '
  • '; if(common::hasPriv('kanban', 'close')) $kanbanActions .= '
  • ' . html::a(helper::createLink('kanban', 'close', "kanbanID=$kanban->id", '', true), '' . $this->lang->kanban->close, '', "class='iframe btn btn-link'") . '
  • '; if(common::hasPriv('kanban', 'delete')) $kanbanActions .= '
  • ' . html::a(helper::createLink('kanban', 'delete', "kanbanID=$kanban->id"), '' . $this->lang->kanban->delete, 'hiddenwin', "class='btn btn-link'") . '
  • '; if($kanbanActions) diff --git a/module/kanban/view/space.html.php b/module/kanban/view/space.html.php index 7a73bf6b5f..ebe462816b 100644 --- a/module/kanban/view/space.html.php +++ b/module/kanban/view/space.html.php @@ -21,8 +21,8 @@
    - ' . $lang->kanban->create, '', 'class="btn btn-secondary iframe"', '', true);?> - ' . $lang->kanban->createSpace, '', 'class="btn btn-primary iframe"', '', true);?> + ' . $lang->kanban->create, '', 'class="btn btn-secondary iframe" data-width="75%"', '', true);?> + ' . $lang->kanban->createSpace, '', 'class="btn btn-primary iframe" data-width="75%"', '', true);?>
    @@ -45,8 +45,8 @@
    - id}", ' ' . $lang->kanban->create, '', "class='iframe'", '', true);?> - id}", ' ' . $lang->kanban->setting, '', "class='iframe'", '', true);?> + id}", ' ' . $lang->kanban->create, '', "class='iframe' data-width='75%'", '', true);?> + id}", ' ' . $lang->kanban->setting, '', "class='iframe' data-width='75%'", '', true);?> id}", ' ' . $lang->close, '', "class='iframe'", '', true);?> id}", ' ' . $lang->delete, 'hiddenwin', '', '', true);?>