-
Notifications
You must be signed in to change notification settings - Fork 1
/
dashboard.html
268 lines (250 loc) · 11.5 KB
/
dashboard.html
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>API Designer (Mock)</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<!-- Styles -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/patternfly/3.14.0/css/patternfly.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/patternfly/3.14.0/css/patternfly-additions.min.css">
<link rel="stylesheet/less" href="css/api-designer.less" />
<!-- Scripts -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/patternfly/3.14.0/js/patternfly.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/less.js/2.7.1/less.js"></script>
<script type="text/javascript" src="js/api-designer.js"></script>
<script type="text/javascript" src="js/main-nav.js"></script>
</head>
<body class="cards-pf">
<nav class="navbar navbar-default navbar-pf" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html" style="padding-top: 4px; padding-bottom: 2px">
<img class="navbar-brand-logo" src="img/api-designer-logo.png" alt="API Designer">
</a>
</div>
<div class="collapse navbar-collapse navbar-collapse-1">
<ul class="nav navbar-nav navbar-utility">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="pficon pficon-user"></span>
<span>Tom Brady</span>
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="#">Profile</a></li>
<li class="divider"></li>
<li><a href="#">Logout</a></li>
</ul></li>
</ul>
</div>
</nav>
<div id="api-nav-menu-shade" style="display:none">
</div>
<div id="api-vertical-nav">
<div id="api-nav-item-dashboard" class="api-nav-item active">
<span class="fa fa-fw fa-dashboard"></span>
<div>Dashboard</div>
</div>
<div id="api-nav-item-apis" class="api-nav-item">
<span class="fa fa-fw fa-bolt"></span>
<div>APIs</div>
</div>
<div id="api-nav-item-mappings" class="api-nav-item">
<span class="fa fa-fw fa-random"></span>
<div>Mappings</div>
</div>
<div class="api-nav-item-filler">
</div>
</div>
<div id="api-vertical-nav-details" style="display:none">
<div id="api-nav-detail-dashboard" class="api-nav-detail-item" style="display:none">
<h3>Dashboard</h3>
<p>Click below to navigate back to the default API Designer dashboard.</p>
<ul>
<li><a href="dashboard.html">Back to Dashboard</a></li>
</ul>
</div>
<div id="api-nav-detail-apis" class="api-nav-detail-item" style="display:none">
<h3>APIs</h3>
<p class="description">Choose from the actions below or jump directly to one of your starred/favorited APIs.</p>
<h4 class="heading">API Actions</h4>
<div class="action">
<a href="my-apis.html"><span class="fa fa-fw fa-search"></span><span>List All APIs</span></a>
</div>
<div class="action">
<a href="new-api.html"><span class="fa fa-fw fa-plus"></span><span>Create New API</span></a>
</div>
<div class="action">
<a href="add-api.html"><span class="fa fa-fw fa-plus"></span><span>Add Existing API</span></a>
</div>
<h4 class="heading">Starred APIs</h4>
<div>
<a href="api-details.html"><span class="fa fa-fw fa-bolt"></span><span>Gateway Configuration API</span></a>
</div>
<div>
<a href="api-details.html"><span class="fa fa-fw fa-bolt"></span><span>Manager API</span></a>
</div>
</div>
<div id="api-nav-detail-mappings" class="api-nav-detail-item" style="display:none">
<h3>Mappings</h3>
<p class="description">Choose from the actions below or jump directly to one of your starred/favorited Mappings.</p>
<h4 class="heading">Mapping Actions</h4>
<div class="action">
<a href="#"><span class="fa fa-fw fa-search"></span><span>List All Mappings</span></a>
</div>
<div class="action">
<a href="#"><span class="fa fa-fw fa-plus"></span><span>New Mapping</span></a>
</div>
<h4 class="heading">Starred Mappings</h4>
<div>
<a href="#"><span class="fa fa-fw fa-random"></span><span>Invoice API -> SOAP Invoices</span></a>
</div>
<div>
<a href="#"><span class="fa fa-fw fa-random"></span><span>Manager API -> Manager Camel Routes</span></a>
</div>
</div>
</div>
<div id="api-page-body">
<div class="container-fluid">
<div class="row" style="min-height: 35px"></div>
<div class="row row-cards-pf">
<div class="col-xs-12 col-sm-6">
<div class="card-pf card-pf-accented">
<div class="card-pf-heading">
<h2 class="card-pf-title">
<span class="fa fa-fw fa-comment"></span>
<span>Welcome to the <strong>API Designer</strong> Dashboard!</span>
</h2>
</div>
<div class="card-pf-body">
<p>
Hey <strong>Tom</strong>, thanks for logging into the <strong>API Designer</strong> studio. Hopefully
you're finding it easy to use this tool to design and collaborate on new (and existing) APIs.
</p>
<div>
<ul>
<li><a href="#">A link to the project goes here</a></li>
<li><a href="#">Maybe a link to documentation?</a></li>
<li><a href="#">Getting Started with the API Studio!</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
<div style="height: 90px;" class="card-pf card-pf-aggregate-status">
<h2 style="height: 18px;" class="card-pf-title">
<span class="fa fa-bolt"></span><span class="card-pf-aggregate-status-count">3</span> Total APIs
</h2>
<div style="height: 50px;" class="card-pf-body">
<p class="card-pf-aggregate-status-notifications">
<span class="card-pf-aggregate-status-notification"><a data-original-title="Create API" href="#" class="add"
data-toggle="tooltip" data-placement="top" title="Create API"><span class="pficon pficon-add-circle-o"></span></a></span>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
<div style="height: 90px;" class="card-pf card-pf-aggregate-status">
<h2 style="height: 18px;" class="card-pf-title">
<span class="fa fa-bolt"></span><span class="card-pf-aggregate-status-count">6</span> Total Mappings
</h2>
<div style="height: 50px;" class="card-pf-body">
<p class="card-pf-aggregate-status-notifications">
<span class="card-pf-aggregate-status-notification"><a data-original-title="Create API" href="#" class="add"
data-toggle="tooltip" data-placement="top" title="Create API"><span class="pficon pficon-add-circle-o"></span></a></span>
</p>
</div>
</div>
</div>
</div>
<div class="row row-cards-pf">
<div class="col-xs-12 col-sm-6 col-md-6">
<div class="card-pf">
<div class="card-pf-heading">
<h2 class="card-pf-title">Your Recent APIs</h2>
</div>
<div class="card-pf-body api-recent-apis">
<div class="api-item">
<a href="api-details.html">
<span class="fa fa-fw fa-plane"></span><span>Gateway Configuration API</span>
</a>
<p>
Used to directly configure the API Gateway (bypassing the management layer).
</p>
</div>
<div class="api-item">
<a href="api-details.html">
<span class="fa fa-fw fa-puzzle-piece"></span><span>Manager Configuration API</span>
</a>
<p>
Used to manage lifecycle of, and configure policies on, managed APIs.
</p>
</div>
</div>
<div style="font-size: 14px" class="card-pf-footer">
<p>
<a href="my-apis.html" class="">
<span class="fa fa-list"></span><span>List All</span>
</a>
<span></span>
<a href="new-api.html" class="pull-right" style="margin-left: 15px">
<span class="pficon pficon-add-circle-o"></span><span>Create New API</span>
</a>
<a href="add-api.html" class="pull-right" style="margin-left: 15px">
<span class="pficon pficon-add-circle-o"></span><span>Add Existing API</span>
</a>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6">
<div class="card-pf">
<div class="card-pf-heading">
<h2 class="card-pf-title">Your Recent Mappings</h2>
</div>
<div class="card-pf-body api-recent-apis">
<div class="api-item">
<a href="#">
<span class="fa fa-fw fa-plane"></span><span>Invoice API -> SOAP Invoices</span>
</a>
<p>
Maps the invoice REST API onto the legacy SOAP version of the same.
</p>
</div>
<div class="api-item">
<a href="#">
<span class="fa fa-fw fa-puzzle-piece"></span><span>Manager API -> Manager Camel Routes</span>
</a>
<p>
Maps the Manager API onto a set of appropriate camel routes.
</p>
</div>
</div>
<div style="font-size: 14px" class="card-pf-footer">
<p>
<a href="#" class="">
<span class="fa fa-list"></span><span>List All</span>
</a>
<span></span>
<a href="#" class="pull-right">
<span class="pficon pficon-add-circle-o"></span><span>Create a Mapping</span>
</a>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>