aboutsummaryrefslogtreecommitdiffstats
path: root/ui/imports/ui/components/environment-dashboard/environment-dashboard.html
blob: 0d2c8f64a12cd42083ebb58f014d81fa59d58592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!-- 
########################################################################################
# Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems) and others #
#                                                                                      #
# All rights reserved. This program and the accompanying materials                     #
# are made available under the terms of the Apache License, Version 2.0                #
# which accompanies this distribution, and is available at                             #
# http://www.apache.org/licenses/LICENSE-2.0                                           #
########################################################################################
 -->
<template name="EnvironmentDashboard">

<div class="os-environment-dashboard mainContentData flex">
  <div class="sm-env-header-line cards white title">
    <div class="sm-env-header-name-cmp">
      <h4>Enviroment name: {{ getState 'envName' }}</h4>
    </div>

    <a class="sm-scan-button cl-action-button btn btn-app"
       ><i class="fa fa-search-plus" aria-hidden="true"></i></a>

    <a class="sm-edit-button cl-action-button btn btn-app {{#if notAllowEdit}}cl-action-disabled{{/if}}"
       ><i class="fa fa-fw fa-edit"></i></a>

    <a class="sm-delete-button cl-action-button btn btn-app {{#if notAllowEdit}}cl-action-disabled{{/if}}"
      href="#" >
      <i class="fa fa-trash-o" aria-hidden="true"></i>
    </a>
  </div>

  <div class="sm-items-segment mainContentData flex-box">

  {{#each briefInfo in (getBriefInfoList) }}
    {{> DataCubic (argsBriefInfo briefInfo) }}
  {{/each }}

  </div>

  <div class="sm-messages-section mainContentData">
    {{#if (getState 'envName') }}
      {{#each messagesInfoBox in (getListMessagesInfoBox) }}
    <div class="sm-message-box">
        {{> MessagesInfoBox (argsMessagesInfoBox messagesInfoBox (getState 'envName')) }}
    </div>
      {{/each }}
    {{/if}}
  </div>

  <div class="sm-list-info-boxes mainContentData">
  {{#each listInfoBox in (getListInfoBoxes) }}
    {{> ListInfoBox (argsListInfoBox listInfoBox) }}
  {{/each }}
  </div>

  {{> EnvDeleteModal argsEnvDeleteModal }}

</div>

</template>