618236c2ca42c0d5166e4cd09340d29ef0bef457
[archive/20170607/tools/tic.git] / public / src / index.html
1 <!doctype html>
2 <html>
3     <head>
4         <meta charset="utf-8">
5         <meta http-equiv="X-UA-Compatible" content="IE=edge">
6         <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
8         <title>Tizen Image Creator (TIC)</title>
9
10         <link rel="shortcut icon" href="/image/tizen.ico">
11         <link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.css">
12         <link rel="stylesheet" href="/lib/bootstrap-treeview/bootstrap-treeview.min.css">
13         <link rel="stylesheet" href="/lib/components-font-awesome/css/font-awesome.min.css">
14         <link rel="stylesheet" href="/css/style.css">
15         <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
16         <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
17         <!--[if lt IE 9]>
18         <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
19         <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
20         <![endif]-->
21     </head>
22
23     <body data-spy="scroll" data-target=".navbar-fixed-top">
24         <!-- Navigation -->
25         <nav class="navbar navbar-inverse navbar-fixed-top">
26             <div class="container">
27                 <div class="navbar-header">
28                     <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
29                         <span class="sr-only">Toggle navigation</span>
30                         <span class="icon-bar"></span>
31                         <span class="icon-bar"></span>
32                         <span class="icon-bar"></span>
33                     </button>
34                     <a class="navbar-brand tic-page-scroll" href="#tic-package-section"><img id="tic-brand-img" src="image/tizen_32.png"/> Tizen Image Creator (TIC)</a>
35                 </div>
36
37                 <!-- Collect the nav links, forms, and other content for toggling -->
38                 <div id="navbar" class="collapse navbar-collapse">
39                     <ul class="nav navbar-nav">
40                         <li>
41                             <a class="tic-page-scroll" href="#tic-package-section">Packages</a>
42                         </li>
43                         <li>
44                             <a class="tic-page-scroll"href="#tic-job-section">Jobs</a>
45                         </li>
46                         <li>
47                             <a class="tic-page-scroll"href="#tic-image-section">Images</a>
48                         </li>
49                         <li>
50                             <a class="tic-page-scroll"href="#tic-settings-section">Settings</a>
51                         </li>
52                     </ul>
53                     <!-- Log in -->
54                     <ul id="tic-navbar-login" class="nav navbar-nav navbar-right">
55                         <li class="dropdown">
56                             <a id="tic-page-login-dropdown-toggle" href="#" class="dropdown-toggle" data-toggle="dropdown">Login<span class="caret"></span></a>
57                             <ul id="tic-page-login-dropdown-menu" class="dropdown-menu">
58                                 <li>
59                                     <div class="row">
60                                         <div class="col-md-12">
61                                             <form id="tic-page-login-form" class="form" role="form" method="get" accept-charset="UTF-8" data-toggle="validator" data-validate="true">
62                                                 <div id="tic-page-form-group-email" class="form-group">
63                                                     <label class="sr-only" for="tic-page-login-form-email">Email address</label>
64                                                     <input type="email" id="tic-page-login-form-email" class="form-control" name="email" placeholder="Email address"
65                                                         data-required-error="Please enter an email address." required>
66                                                     <div id="tic-page-form-help-email" class="help-block with-errors"></div>
67                                                 </div>
68                                                 <div id="tic-page-form-group-password" class="form-group">
69                                                     <label class="sr-only" for="tic-page-login-form-password">Password</label>
70                                                     <input type="password" id="tic-page-login-form-password" class="form-control" name="password" placeholder="Password"
71                                                         data-required-error="Please enter your password." required>
72                                                     <div id="tic-page-form-help-password" class="help-block with-errors"></div>
73                                                 </div>
74                                                 <div class="form-group">
75                                                     <button type="submit" class="btn btn-primary btn-block">Log in</button>
76                                                 </div>
77                                             </form>
78                                         </div>
79                                     </div>
80                                 </li>
81                             </ul>
82                         </li>
83                     </ul>
84                     <!-- Log out -->
85                     <ul id="tic-navbar-logout" class="nav navbar-nav navbar-right hidden">
86                         <li class="dropdown">
87                             <a id="tic-page-logout-dropdown-toggle" href="#" class="dropdown-toggle" data-toggle="dropdown">email<span class="caret"></span></a>
88                             <ul id="tic-page-logout-dropdown-menu" class="dropdown-menu">
89                                 <li>
90                                     <div class="row">
91                                         <div class="col-md-12">
92                                             <form id="tic-page-logout-form" class="form" role="form" method="get" accept-charset="UTF-8">
93                                                 <div class="form-group">
94                                                     <button type="submit" class="btn btn-primary btn-block">Logout</button>
95                                                 </div>
96                                             </form>
97                                         </div>
98                                     </div>
99                                 </li>
100                             </ul>
101                         </li>
102                     </ul>
103                 </div><!--/.nav-collapse -->
104             </div><!-- /.container -->
105         </nav>
106
107         <!-- Package Section -->
108         <section id="tic-package-section">
109             <div class="container">
110                 <div class="row">
111                     <!-- Package Left Column -->
112                     <div class="col-md-6">
113                         <div class="panel panel-primary">
114                             <div class="panel-heading">
115                                 <h3 class="panel-title">Package List</h3>
116                             </div>
117                             <div class="panel-body">
118                                 <!-- Package Tree Toolbar -->
119                                 <div id="tic-package-left-col-tree-toolbar">
120                                     <div class="input-group">
121                                         <div class="form-group has-feedback has-clear">
122                                             <input type="text" class="form-control" placeholder="Start typing to filter list of packages" id="tic-package-toolbar-input"/>
123                                             <span class="form-control-clear glyphicon glyphicon-remove form-control-feedback hidden" id="tic-package-toolbar-input-clear"></span>
124                                         </div>
125                                         <div class="input-group-btn">
126                                             <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
127                                                 <i class="fa fa-navicon"></i>
128                                             </button>
129                                             <ul class="dropdown-menu dropdown-menu-right">
130                                                 <li><a href="#" tabIndex="-1"><input type="checkbox" id="tic-package-toolbar-debug"/> Hide Debug Packages</a></li>
131                                                 <li><a href="#" tabIndex="-1"><input type="checkbox" id="tic-package-toolbar-devel"/> Hide Develop Packages</a></li>
132                                             </ul>
133                                             <button type="button" class="btn btn-default" id="tic-package-left-col-tree-toolbar-collapse-all">
134                                                 <i class="fa fa-minus"></i>
135                                             </button>
136                                             <button type="button" class="btn btn-default" id="tic-package-left-col-tree-toolbar-expand-all">
137                                                 <i class="fa fa-plus"></i>
138                                             </button>
139                                         </div>
140                                     </div>
141                                 </div>
142                                 <!-- Package Tree -->
143                                 <div id="tic-package-left-col-tree">
144                                 </div>
145                             </div>
146                         </div>
147                     </div><!-- /End Package Left Column -->
148
149                     <!-- Package Right Column -->
150                     <div class="col-md-6">
151                         <!-- Package Information -->
152                         <div class="panel panel-primary">
153                             <div class="panel-heading">Package Information</div>
154                             <div class="panel-body">
155                                 <table id="tic-package-info-table" class="table table-condensed">
156                                     <tbody>
157                                         <tr><td>Name</td><td id="tic-package-info-text"></td></tr>
158                                         <tr><td>Version</td><td id="tic-package-info-version"></td></tr>
159                                         <tr><td>Architecture</td><td id="tic-package-info-arch"></td></tr>
160                                         <tr><td>Size</td><td id="tic-package-info-size"></td></tr>
161                                         <tr><td>Installed Size</td><td id="tic-package-info-installed-size"></td></tr>
162                                         <tr><td>Summary</td><td id="tic-package-info-summary"></td></tr>
163                                         <tr><td>Description</td><td id="tic-package-info-description"></td></tr>
164                                     </tbody>
165                                 </table>
166                             </div>
167                         </div>
168                         <!-- Package Summary -->
169                         <div class="panel panel-primary">
170                             <div class="panel-heading">Summary</div>
171                             <div class="panel-body">
172                                 <table id="tic-package-summary" class="table table-condensed">
173                                     <tbody>
174                                         <tr><td>Image Size</td><td id="tic-package-image-size"></td></tr>
175                                         <tr><td>Image Installed Size</td><td id="tic-package-image-installed-size"></td></tr>
176                                         <tr><td>Package List <span class="badge" id="tic-package-list-badge"></span></td><td id="tic-package-list"></td></tr>
177                                     </tbody>
178                                 </table>
179                             </div>
180                             <div class="panel-footer">
181                                 <a type="button" id="tic-package-create" class="btn btn-primary disabled" href="#">Image Creation</a>
182                             </div>
183                         </div>
184                     </div><!-- /End Package Right Column -->
185                 </div>
186             </div><!-- /.container -->
187         </section>
188
189         <!-- Job Section -->
190         <section id="tic-job-section">
191             <div class="container">
192                 <div class="row">
193                     <!-- Job List Column -->
194                     <div class="col-md-12">
195                         <div class="panel panel-primary">
196                             <div class="panel-heading">
197                                 <h3 class="panel-title">Job List</h3>
198                             </div>
199                             <div class="panel-body">
200                                 <div id="tic-job-list">
201                                     <div id="tic-job-list-content">
202                                         <div>
203                                             <table class="table table-hover table-bordered ui-responsive" id="tic-job-table">
204                                                 <thead>
205                                                     <tr class="filters text-center">
206                                                         <th>#</th>
207                                                         <th>Status</th>
208                                                         <th>Image</th>
209                                                         <th>Image Size</th>
210                                                         <th>Updated</th>
211                                                         <th>Action</th>
212                                                         <th>KS</th>
213                                                         <th>Log</th>
214                                                     </tr>
215                                                 </thead>
216                                                 <tbody>
217                                                 </tbody>
218                                             </table>
219                                         </div>
220                                     </div>
221                                 </div>
222                                 <div id="tic-job-list-pagination">
223                                     <ul class="pagination pagination-sm">
224                                         <li class="disabled"><a href="#"><span class="glyphicon glyphicon-chevron-left"></span></a></li>
225                                         <li class="disabled"><a href="#"><span class="glyphicon glyphicon-chevron-right"></span></a></li>
226                                     </ul>
227                                 </div>
228                             </div>
229                         </div>
230                     </div><!-- /End Job List Column -->
231                 </div>
232             </div><!-- /.container -->
233         </section>
234
235         <!-- Image Section -->
236         <section id="tic-image-section">
237             <div class="container">
238                 <div class="row">
239                     <!-- Image List Column -->
240                     <div class="col-md-12">
241                         <div class="panel panel-primary">
242                             <div class="panel-heading">Image List</div>
243                             <div class="panel-body">
244                                 <div id="tic-image-list-content">
245                                     <ul class="list-group" id="tic-image-list"></ul>
246                                 </div>
247                                 <div id="tic-image-list-pagination">
248                                     <ul class="pagination pagination-sm">
249                                         <li class="disabled"><a href="#"><span class="glyphicon glyphicon-chevron-left"></span></a></li>
250                                         <li class="disabled"><a href="#"><span class="glyphicon glyphicon-chevron-right"></span></a></li>
251                                     </ul>
252                                 </div>
253                             </div>
254                         </div>
255                     </div><!-- /End Image List Column -->
256                 </div>
257             </div><!-- /.container -->
258         </section>
259
260
261         <!-- Settings Section -->
262         <section id="tic-settings-section">
263             <div class="container">
264                 <div class="row">
265                     <!-- Settings Column -->
266                     <div class="col-md-12">
267                         <div class="panel panel-primary">
268                             <div class="panel-heading">Settings</div>
269                             <div class="panel-body">
270                                 <!-- Settings Toolbar -->
271                                 <div id="tic-repository-toolbar">
272                                     <button type="button" id="tic-repository-recipe-import" class="btn btn-default"><i class="fa fa-download"></i> Recipe Import</button>
273                                     <button type="button" id="tic-repository-recipe-export" class="btn btn-default"><i class="fa fa-upload"></i> Recipe Export</button>
274                                 </div>
275
276                                 <!-- Repository Column -->
277                                 <div class="panel panel-primary">
278                                     <div class="panel-heading">Repository</div>
279                                     <div class="panel-body">
280                                         <div class="input-group">
281                                             <div class="form-group has-feedback has-clear">
282                                                 <input id="tic-repository-input" type="text" class="form-control" placeholder="Enter repository URL">
283                                                 <span id="tic-repository-input-clear" class="form-control-clear glyphicon glyphicon-remove form-control-feedback hidden"></span>
284                                             </div>
285                                             <span class="input-group-btn">
286                                                 <button type="button" id="tic-repository-add"class="btn btn-default">Add Repository</button>
287                                             </span>
288                                         </div>
289                                         <ol id="tic-repository-list" class="list-group"></ol>
290                                     </div>
291                                 </div>
292                             </div>
293
294                             <div class="panel-footer">
295                                 <a id="tic-repository-apply" type="button" class="btn btn-primary" href="#tic-package-section">Apply</a>
296                             </div>
297                         </div>
298                     </div><!-- /End Settings Column -->
299                 </div>
300             </div><!-- /.container -->
301         </section>
302
303
304         <!-- Loading Dialog -->
305         <div class="modal fade" id="tic-load-dialog" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
306             <i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>
307         </div><!-- /End Loading Dialog -->
308
309         <!-- Info Dialog -->
310         <div class="modal fade" id="tic-info-dialog" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
311             <div class="modal-dialog modal-sm">
312                 <div class="modal-content">
313                     <div class="modal-body">
314                         <p id="tic-info-content"></p>
315                     </div>
316                     <div class="modal-footer">
317                         <button type="button" class="btn btn-success" data-dismiss="modal">Close</button>
318                 </div>
319                 </div>
320             </div>
321         </div><!-- /End Info Dialog -->
322
323         <!-- Alert Dialog -->
324         <div class="modal fade" id="tic-alert-dialog" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
325             <div class="modal-dialog modal-sm">
326                 <div class="modal-content">
327                     <div class="modal-body">
328                         <p id="tic-alert-content"></p>
329                     </div>
330                     <div class="modal-footer">
331                         <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
332                 </div>
333                 </div>
334             </div>
335         </div><!-- /End Alert Dialog -->
336
337         <!-- Confirm Dialog -->
338         <div class="modal fade" id="tic-confirm-dialog" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
339             <div class="modal-dialog modal-sm">
340                 <div class="modal-content">
341                     <div class="modal-body">
342                         <p id="tic-confirm-content"></p>
343                     </div>
344                     <div class="modal-footer">
345                         <button id="tic-confirm-ok" type="button" class="btn btn-primary" data-dismiss="modal">OK</button>
346                         <button id="tic-confirm-cancel" type="button" class="btn btn-danger" data-dismiss="modal">Cancel</button>
347                    </div>
348                 </div>
349             </div>
350         </div><!-- /End Confirm Dialog -->
351
352         <!-- Log View -->
353         <div id="log-view-content" class="log-view-content">
354             <div class="log-view-content-header">
355                 <button type="button" class="close log-view-content-close">x</button>
356                 <h4 class="log-view-content-header-title">Log</h4>
357                 <a type="button" id="log-view-content-download" class="fa fa-download log-view-content-download"> Download</a>
358             </div>
359             <div id="log-view-content-body" class="log-view-content-body"></div>
360         </div><!-- /End Log View -->
361
362         <!-- Context menu in package tree -->
363         <div id="tic-package-context-menu">
364             <ul class="dropdown-menu" role="menu">
365                 <li><a id="tic-package-context-menu-uncheck-all" tabindex="-1">Uncheck All</a></li>
366                 <!--
367                 <li class="divider"></li>
368                 -->
369             </ul>
370         </div><!-- /Context menu in package tree -->
371
372         <!-- library loading -->
373         <script src="/socket.io/socket.io.js"></script>
374         <script src="/js/config.js"></script>
375         <script src="/lib/requirejs/require.js" data-main="js/main"></script>
376     </body>
377 </html>