mirror of
https://github.com/farcasclaudiu/kanban2.git
synced 2026-06-22 09:01:38 +03:00
update docs
This commit is contained in:
@@ -50,6 +50,13 @@
|
||||
.formfields{
|
||||
margin-top: 10px;
|
||||
}
|
||||
.inline{
|
||||
display: inline-block;
|
||||
}
|
||||
.listTitle{
|
||||
font-weight: bold;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4,13 +4,15 @@
|
||||
(onDropSuccess)="cardDropped($event)"
|
||||
>
|
||||
<div class="panel-heading">
|
||||
<h4>
|
||||
{{item.name}}
|
||||
|
||||
<button type="button" class="btn btn-default btn-xs" (click)="showAddCard()">
|
||||
<i class="fa fa-plus"></i>
|
||||
</button>
|
||||
</h4>
|
||||
<div>
|
||||
<i class="fa fa-1 fa-circle inline" aria-hidden="true" [style.color]="item.color"></i>
|
||||
<span class="inline listTitle">
|
||||
{{item.name}}
|
||||
</span>
|
||||
<button type="button" class="btn btn-default btn-xs inline" (click)="showAddCard()">
|
||||
<i class="fa fa-plus"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="">
|
||||
<ul class="list-group">
|
||||
@@ -41,7 +43,8 @@
|
||||
<label for="taskname">Name</label>
|
||||
<input type="text" class="form-control" id="taskname" placeholder="task name" [(ngModel)]="cardname">
|
||||
<label for="taskdescription">Description</label>
|
||||
<input type="text" class="form-control" id="taskdescription" placeholder="description" [(ngModel)]="carddescription">
|
||||
<textarea cols="39" rows="6" class="form-control" id="taskdescription" placeholder="description" [(ngModel)] = "carddescription"></textarea>
|
||||
<!--<input type="text" class="form-control" id="taskdescription" placeholder="description" [(ngModel)]="carddescription">-->
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<button type="button" class="btn btn-primary" (click)="saveAddCard()">CREATE</button>
|
||||
|
||||
@@ -32,7 +32,11 @@ export class DataService {
|
||||
|
||||
|
||||
getCardLists(){
|
||||
this.cardlists = this.af.database.list('/cardlist') as
|
||||
this.cardlists = this.af.database.list('/cardlist',{
|
||||
query: {
|
||||
orderByChild: 'order'
|
||||
}}
|
||||
) as
|
||||
FirebaseListObservable<CardList[]>;
|
||||
return this.cardlists;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user