Commit 7c6897cd6bef705107a24743acab24620638c883

Authored by Luigi Serra
1 parent b12826f9

controllets and base datatel behavior update

controllets/create-card-controllet/create-card-controllet.html
... ... @@ -107,6 +107,14 @@
107 107 margin: 20px;
108 108 }
109 109  
  110 + ::content #modify{
  111 + display: none;
  112 + }
  113 +
  114 + ::content #delete{
  115 + display: none;
  116 + }
  117 +
110 118  
111 119 </style>
112 120  
... ...
controllets/generic-cards-container-controllet/generic-cards-container-controllet.html
... ... @@ -93,6 +93,10 @@ Example:
93 93 float: left;
94 94 }
95 95  
  96 + ::content #delete{
  97 + display: none;
  98 + }
  99 +
96 100 </style>
97 101  
98 102 <div id="container" class="layout vertical">
... ...
controllets/paper-card-controllet/paper-card-controllet.html
... ... @@ -111,25 +111,25 @@
111 111  
112 112 <template is="dom-if" if="{{checkType(cardType, 'text')}}">
113 113  
114   - <paper-fab mini icon="create" on-click="_handleDetailsClick"></paper-fab>
  114 + <paper-fab id="modify" mini icon="create" on-click="_handleDetailsClick"></paper-fab>
115 115  
116 116 </template>
117 117  
118 118 <template is="dom-if" if="{{checkType(cardType, 'image')}}">
119 119  
120   - <paper-fab mini icon="perm-media" on-click="_handleDetailsClick"></paper-fab>
  120 + <paper-fab id="modify" mini icon="perm-media" on-click="_handleDetailsClick"></paper-fab>
121 121  
122 122 </template>
123 123  
124 124 <template is="dom-if" if="{{checkType(cardType, 'datalet')}}">
125 125  
126   - <paper-fab mini icon="assessment" on-click="_handleDetailsClick"></paper-fab>
  126 + <paper-fab id="modify" mini icon="assessment" on-click="_handleDetailsClick"></paper-fab>
127 127  
128 128 </template>
129 129  
130 130 <template is="dom-if" if="{{checkType(cardType, 'link')}}">
131 131  
132   - <paper-fab mini icon="link" on-click="_handleDetailsClick"></paper-fab>
  132 + <paper-fab id="modify" mini icon="link" on-click="_handleDetailsClick"></paper-fab>
133 133  
134 134 </template>
135 135  
... ...