rename stack (#137)
* rename stack Signed-off-by: Artem Anufrij <artem.anufrij@live.de> * fixed 'lost focus without title change' Signed-off-by: Artem Anufrij <artem.anufrij@live.de> * fixed long words Signed-off-by: Artem Anufrij <artem.anufrij@live.de> * fixed 'lost focus without title change' Signed-off-by: Artem Anufrij <artem.anufrij@live.de> fixed long words Signed-off-by: Artem Anufrij <artem.anufrij@live.de> code style css * fixed 'lost focus without title change' Signed-off-by: Artem Anufrij <artem.anufrij@live.de> fixed long words Signed-off-by: Artem Anufrij <artem.anufrij@live.de> code style css Merge remote-tracking branch 'origin/stack_rename' into stack_rename Merge branch 'master' into stack_rename
This commit is contained in:
committed by
Julius Härtl
parent
1d797b1bf2
commit
e9f71d1f40
@@ -254,10 +254,14 @@ button:hover {
|
||||
font-size: 12pt;
|
||||
font-weight: 700;
|
||||
border: 0;
|
||||
background-color: transparent;
|
||||
background-color: white;
|
||||
min-height: initial;
|
||||
}
|
||||
|
||||
.stack form {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.stack h2 button,
|
||||
.stack .stack-actions {
|
||||
float: right;
|
||||
@@ -267,6 +271,8 @@ button:hover {
|
||||
.stack h2 span {
|
||||
width: 100%;
|
||||
white-space: normal;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.stack h2 .stack-actions {
|
||||
|
||||
@@ -47,16 +47,14 @@
|
||||
data-columnindex="{{$index}}" id="column{{$index}}"
|
||||
style="">
|
||||
<h2><span ng-show="!s.status.editStack">{{ s.title }}</span>
|
||||
<form ng-submit="stackservice.update(s)">
|
||||
<form ng-if="s.status.editStack" ng-submit="stackservice.update(s)">
|
||||
<input type="text" placeholder="Add a new stack"
|
||||
ng-blur="s.status.editStack=false" ng-model="s.title"
|
||||
ng-blur="stackservice.update(s); s.status.editStack=false" ng-model="s.title"
|
||||
ng-if="s.status.editStack" autofocus-on-insert
|
||||
required maxlength="100"/>
|
||||
</form>
|
||||
<div class="stack-actions">
|
||||
<button class="icon icon-confirm" ng-if="s.status.editStack"
|
||||
type="submit"></button>
|
||||
<button class="icon-rename" ng-if="!s.status.editStack"
|
||||
<div ng-if="!s.status.editStack" class="stack-actions">
|
||||
<button class="icon-rename"
|
||||
ng-click="s.status.editStack=true"></button>
|
||||
<button class="icon-delete"
|
||||
ng-click="stackservice.delete(s.id)"></button>
|
||||
|
||||
Reference in New Issue
Block a user