Added actions to the Apps view of web/gui2
Change-Id: I3d96a324590bee4de0875d4f533cc723c7f6ba52
diff --git a/web/gui2/src/main/webapp/app/fw/layer/flash/flash.component.html b/web/gui2/src/main/webapp/app/fw/layer/flash/flash.component.html
index 5566013..46b6de9 100644
--- a/web/gui2/src/main/webapp/app/fw/layer/flash/flash.component.html
+++ b/web/gui2/src/main/webapp/app/fw/layer/flash/flash.component.html
@@ -13,15 +13,9 @@
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
-<div id="flash">
- <svg *ngIf="enabled" [attr.width]="width" [attr.height]="height" [attr.viewBox]="vbox" >
- <g class="flashItem" [@flashState]="enabled?'active':'inactive'">
- <text #flashtext>{{ message }}</text>
- <rect [attr.opacity]="0.5" [attr.rx]="rx"
- [attr.x]="-flashtext.getBBox().width/2-xpad"
- [attr.y]="flashtext.getBBox().y-ypad"
- [attr.height]="flashtext.getBBox().height+ypad*2"
- [attr.width]="flashtext.getBBox().width+xpad*2"></rect>
- </g>
- </svg>
+<div id="flash" class="dialog" [ngClass]="warning?'warning':''" [@flashState]="visible">
+ <div id="flashBox" *ngIf="visible">
+ <p id="flashText">{{ message }}</p>
+ <div class="dialog-button" *ngIf="dwell>1200" (click)="closeNow()">Dismiss</div>
+ </div>
</div>
\ No newline at end of file