Commit 0fc2aafe1dc3cced602183b25eb023f836e54721
1 parent
b047d169
updates
Showing
2 changed files
with
6 additions
and
6 deletions
controllets/create-card-controllet/create-card-controllet.html
| @@ -269,7 +269,7 @@ | @@ -269,7 +269,7 @@ | ||
| 269 | ' height="300"' + | 269 | ' height="300"' + |
| 270 | ' type="'+ this.type + '"' + | 270 | ' type="'+ this.type + '"' + |
| 271 | ' comment="'+ this.comment + '"' + | 271 | ' comment="'+ this.comment + '"' + |
| 272 | - ' title="'+ this.title + '">'; | 272 | + ' card-title="'+ this.title + '">'; |
| 273 | if(this.type == 'link'){ | 273 | if(this.type == 'link'){ |
| 274 | card += '<preview-datalet data-url="'+ this.link + '" url="'+ this.link + '"></preview-datalet>'; | 274 | card += '<preview-datalet data-url="'+ this.link + '" url="'+ this.link + '"></preview-datalet>'; |
| 275 | }else{ | 275 | }else{ |
controllets/paper-card-controllet/paper-card-controllet.html
| @@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
| 33 | height: 21px; | 33 | height: 21px; |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | - .title { | 36 | + .legend { |
| 37 | position: relative; | 37 | position: relative; |
| 38 | top: -50px; | 38 | top: -50px; |
| 39 | background: rgba(0,0,0,0.8); | 39 | background: rgba(0,0,0,0.8); |
| @@ -103,10 +103,10 @@ | @@ -103,10 +103,10 @@ | ||
| 103 | <content></content> | 103 | <content></content> |
| 104 | </div> | 104 | </div> |
| 105 | 105 | ||
| 106 | - <template is="dom-if" if="{{title}}"> | 106 | + <template is="dom-if" if="{{cardTitle}}"> |
| 107 | 107 | ||
| 108 | - <div class="title horizontal layout center"> | ||
| 109 | - <span>{{title}}</span> | 108 | + <div class="legend horizontal layout center"> |
| 109 | + <span>{{cardTitle}}</span> | ||
| 110 | <!-- Adding icon based on card type --> | 110 | <!-- Adding icon based on card type --> |
| 111 | 111 | ||
| 112 | <template is="dom-if" if="{{checkType(type, 'text')}}"> | 112 | <template is="dom-if" if="{{checkType(type, 'text')}}"> |
| @@ -170,7 +170,7 @@ | @@ -170,7 +170,7 @@ | ||
| 170 | type: String, | 170 | type: String, |
| 171 | value: undefined | 171 | value: undefined |
| 172 | }, | 172 | }, |
| 173 | - title:{ | 173 | + cardTitle:{ |
| 174 | type: String, | 174 | type: String, |
| 175 | value: undefined | 175 | value: undefined |
| 176 | }, | 176 | }, |