Frontend: Remove unrequired css and fix language strings

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2017-10-18 16:10:17 +02:00
committed by Julius Härtl
parent 3037effb5a
commit 53b1af9dbe
3 changed files with 17 additions and 18 deletions

View File

@@ -603,23 +603,16 @@ input.input-inline {
}
}
.select2-container {
margin: 0px;
}
.section-header {
border-bottom: 1px solid $color-lightgrey;
display: flex;
margin-bottom: 5px;
margin-top: 20px;
min-height: 30px;
h4 {
padding-top: 5px;
padding-bottom: 5px;
border: none;
flex: 1;
}
}
.save-indicator {
@@ -1022,14 +1015,19 @@ input.input-inline {
}
}
.select2-container .select2-choices {
padding: 0 !important;
}
.select2-container {
width: 100%;
margin: 0;
.select2-container .select2-choices .select2-search-choice {
.select2-choices {
padding: 0 !important;
.select2-search-choice {
padding: 3px 0 !important;
border: 0 !important;
overflow: hidden;
}
}
}
.ui-select-container[disabled] .ui-select-match-item {

View File

@@ -18,8 +18,9 @@
<div class="tabsContainer">
<div id="commentsTabView" class="tab commentsTabView" ng-if="status.boardtab==0 || !status.boardtab">
<ui-select ng-if="boardservice.canShare()" ng-model="status.addSharee" theme="select2" style="width:100%;"
title="Choose a user to assign" placeholder="Assign users ..."
<ui-select ng-if="boardservice.canShare()" ng-model="status.addSharee" theme="select2"
title="<?php p($l->t('Select users or groups to share with')); ?>"
placeholder="<?php p($l->t('Select users or groups to share with')); ?>"
on-select="aclAdd(status.addSharee)" search-enabled="true">
<ui-select-match placeholder="<?php p($l->t('Select users or groups to share with')); ?>">
<span><i class="icon icon-{{$item.type}}"></i> {{ $item.participant.displayname }}</span>

View File

@@ -36,7 +36,7 @@
<div id="labels" ng-show="!(boardservice.isArchived() || card.archived) && card.labels">
<ui-select multiple tagging="" ng-model="card.labels" theme="select2"
ng-disabled="boardservice.isArchived() || card.archived"
style="width:100%;" title="<?php p($l->t('Choose a tag')); ?>"
title="<?php p($l->t('Choose a tag')); ?>"
placeholder="<?php p($l->t('Add a tag')); ?>"
on-select="labelAssign($item, $model)"
on-remove="labelRemove($item, $model)" ng-disabled="!boardservice.canEdit() || archived">
@@ -55,7 +55,7 @@
</div>
<div class="section-content card-details-assign-users">
<ui-select id="assignUserSelect" class="card-details-assign-user" ng-model="status.assignedUser" ng-show="status.showAssignUser" uis-open-close="assingUserOpenClose(isOpen)"
theme="select2" style="width:100%;"
theme="select2"
title="Choose a user to assign" placeholder="Choose a user to assign"
on-select="addAssignedUser($item)">
<ui-select-match placeholder="<?php p($l->t('Assign this card to a user')); ?>">