summaryrefslogtreecommitdiffstats
path: root/ui/imports/ui/components/env-os-api-endpoint-info/env-os-api-endpoint-info.html
blob: 26594e445979f1c58fb5e0ea44d2b20a1d151fdc (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!-- 
########################################################################################
# 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="EnvOsApiEndpointInfo">
<div class="form-horizontal">
  <!-- Host -->
  <div class="form-group">
    <label for="apiHost" 
      class="col-sm-2 control-label">API host</label>

    <div class="col-sm-3">
      {{> InputModel(createInputArgs
            value=model.host 
            key="host"
            type="text"
            disabled=disabled
            placeholder="API Host")
      }}
    </div>

    <div class="col-sm-4">
      <p>This is API server</p>
    </div>
  </div>

  <!-- Port -->
  <div class="form-group">
    <label for="dbPort" 
      class="col-sm-2 control-label"
      >Port</label>

    <div class="col-sm-3">
      {{> InputModel(createInputArgs
            value=model.port 
            key="port"
            type="text"
            disabled=disabled
            placeholder="Port")
      }}
    </div>

    <div class="col-sm-4">
      <p>This is API port</p>
    </div>
  </div>

  <div class="form-group">
    <label for="adminToken" 
      class="col-sm-2 control-label"
      >Admin Token</label>

    <div class="col-sm-3">
      {{> InputModel(createInputArgs
            value=model.admin_token 
            key="admin_token"
            type="text"
            disabled=disabled
            placeholder="Admin Token")
      }}
    </div>

    <div class="col-sm-4">
      <p>This is API admin token</p>
    </div>
  </div>

  <div class="form-group">
    <label for="Username" 
      class="col-sm-2 control-label"
      >Username</label>

    <div class="col-sm-3">
      {{> InputModel(createInputArgs
            value=model.user 
            key="user"
            type="text"
            disabled=disabled
            placeholder="Username")
      }}
    </div>

    <div class="col-sm-4">
      <p>This is API user name</p>
    </div>
  </div>

  <div class="form-group">
    <label for="apiPassword" class="col-sm-2 control-label"
      >Password</label>

    <div class="col-sm-3">
      {{> InputModel(createInputArgs
            value=model.pwd 
            key="pwd"
            type="password"
            disabled=disabled
            placeholder="Password")
      }}
    </div>

    <div class="col-sm-4">
      <p>This is API password</p>
    </div>
  </div>

  <div class="form-group">
    <div class="col-sm-offset-2">
      <button type="button" 
        class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored js-test-connection toast js-test-connection">Test connection</button>
    </div>

    <div class="col-sm-offset-2 col-sm-10 btn-mgt-5">
      <button type="button" class="mdl-button mdl-js-button btnNext sm-next-button">Next</button>
    </div>

  </div>
</div>
</template>