Statistics
| Branch: | Tag: | Revision:

root / ui / templates / home.html @ 123fd2f5

History | View | Annotate | Download (24 kB)

1
<!doctype html>
2
<html>
3

    
4
{% load i18n %}
5
<head>
6
    <title>~okeanos</title>
7
    
8
    <!--<meta http-equiv="X-UA-Compatible" content="IE=7">-->
9
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
10

    
11
    <link href="https://fonts.googleapis.com/css?family=Ubuntu&subset=latin,greek" rel="stylesheet" type="text/css" >
12
    <link href='https://fonts.googleapis.com/css?family=Open+Sans&subset=latin,greek' rel='stylesheet' type='text/css'>
13

    
14
    <link rel="shortcut icon" href="{{ SYNNEFO_IMAGES_URL }}favicon.ico" />
15

    
16
    {% comment %}
17
    <script type="text/javascript" src="{% url javascript_catalog %}"></script> 
18
    {% endcomment %}
19

    
20
    <link rel="stylesheet" type="text/css" href="{{ SYNNEFO_CSS_URL }}main.css"/>
21
    <!--[if IE]>
22
        <style type="text/css" media="all">@import url({{ SYNNEFO_CSS_URL }}ie.css);</style>
23
    <![endif]-->
24

    
25
    <script src="{{ SYNNEFO_JS_LIB_URL }}jquery.js"></script>
26
    <script src="{{ SYNNEFO_JS_LIB_URL}}jquery.cookie.js"></script>
27
    <script src="{{ SYNNEFO_JS_LIB_URL}}jquery.client.js"></script>
28
    <script src="{{ SYNNEFO_JS_LIB_URL}}jquery.tools.min.js"></script>
29
    <script src="{{ SYNNEFO_JS_LIB_URL}}jquery.dataTables.min.js"></script>
30
    <script src="{{ SYNNEFO_JS_LIB_URL}}jquery.pagination.js"></script>
31
    <script src="{{ SYNNEFO_JS_LIB_URL}}ZeroClipboard.js"></script>
32

    
33

    
34
    <script src="{{ SYNNEFO_JS_LIB_URL}}underscore.js"></script>
35
    <script src="{{ SYNNEFO_JS_LIB_URL}}underscore.string.js"></script>
36
    <script src="{{ SYNNEFO_JS_LIB_URL}}backbone.js"></script>
37
    <script src="{{ SYNNEFO_JS_LIB_URL}}json2.js"></script>
38
    <script src="{{ SYNNEFO_JS_LIB_URL}}stacktrace.js"></script>
39

    
40
    <!--[if (lt IE 7)]>
41
        <script src="{{ SYNNEFO_JS_LIB_URL}}selectivizr.js"></script>
42
    <! [endif] -->
43

    
44
    <!--[if IE]>
45
        <script src="{{ SYNNEFO_JS_URL}}ui/ie_fixes.js"></script>
46
    <![endif]-->
47
    
48
    <script src="{{ SYNNEFO_JS_URL}}utils.js"></script>
49
    <script src="{{ SYNNEFO_JS_URL}}sync.js"></script>
50
    <script src="{{ SYNNEFO_JS_URL}}models.js"></script>
51
    <script src="{{ SYNNEFO_JS_URL}}views.js"></script>
52

    
53
    <script src="{{ SYNNEFO_JS_WEB_URL}}ui_vms_base_view.js"></script>
54
    <script src="{{ SYNNEFO_JS_WEB_URL}}ui_error_view.js"></script>
55
    <script src="{{ SYNNEFO_JS_WEB_URL}}ui_icon_view.js"></script>
56
    <script src="{{ SYNNEFO_JS_WEB_URL}}ui_single_view.js"></script>
57
    <script src="{{ SYNNEFO_JS_WEB_URL}}ui_list_view.js"></script>
58
    <script src="{{ SYNNEFO_JS_WEB_URL}}ui_networks_view.js"></script>
59
    <script src="{{ SYNNEFO_JS_WEB_URL}}ui_metadata_view.js"></script>
60
    <script src="{{ SYNNEFO_JS_WEB_URL}}ui_feedback_view.js"></script>
61
    <script src="{{ SYNNEFO_JS_WEB_URL}}ui_invitations_view.js"></script>
62
    <script src="{{ SYNNEFO_JS_WEB_URL}}ui_create_view.js"></script>
63
    <script src="{{ SYNNEFO_JS_WEB_URL}}ui_connect_view.js"></script>
64
    <script src="{{ SYNNEFO_JS_WEB_URL}}ui_main_view.js"></script>
65

    
66
    <!-- the following views require refactor -->
67
    <script src="{{ SYNNEFO_JS_URL }}invitations.js"></script>
68
    <script src="{{ SYNNEFO_JS_URL }}synnefo.js"></script>
69
    
70
    <script>
71
        // empty object for console to avoid errors in browsers that don't support it
72
        if (!window.console) {window.console = {}; window.console.log = window.console.info = window.console.debug =
73
            window.console.error = function() {}};
74
        
75
        // initialize zero clipboard
76
        ZeroClipboard.setMoviePath( '{{ SYNNEFO_JS_LIB_URL}}ZeroClipboard.swf' );
77

78
        //populate available image icons array
79
        var os_icons = {{image_icons|safe}};
80
        
81
        // timeout value from settings.py
82
        var TIMEOUT = {{ timeout }};
83
        var TIMEOUTS_OCCURED = 0;
84
        var SKIP_TIMEOUTS = 1;
85
        var UPDATE_INTERVAL = {{ update_interval }};
86
        var LOGOUT_REDIRECT = '{{ logout_redirect }}';
87
        var INVITATIONS_URL = "{% url invitations %}";
88
        var INVITATIONS_TITLE = "{% trans "Invite people" %}";
89
        var APP_DEBUG = {% if DEBUG %}true{% else %}false{% endif %};
90
        var FEEDBACK_URL = "{% url feedback %}";
91
        var FEEDBACK_TITLE = "{% trans "Send feedback" %}";
92
        var API_OVERLAY_TITLE = "{% trans "API access" %}";
93
        var API_OVERLAY_SUBCONTENT = "{% trans "The API key provides full access to your <em>~okeanos</em> account, so always keep it private." %}";
94

95
        STATE_TEXTS = {
96
            'UNKNOWN': '{% trans "Unknown" %}',
97
            'BUILD':  '{% trans "Building..." %}',
98
            'FIREWALL':  '{% trans "Firewall change..." %}',
99
            'REBOOT': '{% trans "Rebooting..." %}',
100
            'STOPPED':'{% trans "Stopped" %}',
101
            'ACTIVE': '{% trans "Running" %}',
102
            'ERROR':  '{% trans "Error" %}',
103
            'DELETE': '',
104
            'DESTROY': '{% trans "Destroying..." %}',
105
            'BUILD_INIT':  '{% trans "Building..." %}',
106
            'BUILD_COPY':  '{% trans "Building..." %}',
107
            'BUILD_FINAL':  '{% trans "Building..." %}',
108
            'SHUTDOWN': '{% trans "Shutting down..." %}',
109
            'START': '{% trans "Starting..." %}',
110
            'CONNECT': '{% trans "Connecting..." %}',
111
            'DISCONNECT': '{% trans "Disconnecting..." %}'
112
        }
113

114

115

116
        // building statuses
117
        var BUILDING_MESSAGES = {
118
            'INIT': '{% trans "Initializing..." %}',
119
            'COPY': '{% trans "{0} of {1} ({2}%)" %}',
120
            'FINAL': '{% trans "Finalizing..." %}'
121
        }
122

123
        var ERROR_OVERRIDES = {
124
            // error message header
125
            'HEADER' : '{% trans "Error" %}',
126
            // default
127
            'DEFAULT' : '{% trans "Could not contact the service. Please check your network connectivity and try again." %}',
128
            // bad request
129
            '400' : '{% trans "Malformed request." %}',
130
            // not found
131
            '404' : '{% trans "Your request has failed. Resource not found." %}',
132
            // internal server error
133
            '500' : '{% trans "There has been an Internal Error. Our administrators have been notified." %}',
134
            // service unavailable
135
            '501' : '{% trans "This server has not been implemented yet." %}',
136
            // service unavailable
137
            '502' : '{% trans "Bad Gateway error." %}',
138
            // service unavailable
139
            '503' : '{% trans "This service is unavailable right now, please try again later." %}',
140
            // no server handshake
141
            '0' : '{% trans "Could not contact the server." %}',
142
            // no images found
143
            '-212' : '{% trans "Cannot show the Create machine wizard: No images found." %}',
144
            // no flavors found
145
            '-213' : '{% trans "Cannot show the Create machine wizard: No machine configurations found." %}',
146
            // error box title
147
            'GENERIC_POPUP_HEADER' : '{% trans "Something seems to have gone wrong :( Here is what happened:" %}',
148
            // no advanced details
149
            'NO_DETAILS' : '{% trans "Νο advanced details provided" %}',
150
            // timeout message
151
            'TIMEOUT' : '{% trans "It seems the server takes too long to respond, please check your network connectivity" %}'
152
        };
153

154
        var SUGGESTED_FLAVORS = {{ suggested_flavors|safe }};
155
        var SUGGESTED_ROLES = {{ suggested_roles|safe }}
156

157
        var SUCCESS = {
158
            'HEADER' : '{% trans "Success" %}',
159
            'DEFAULT' : '{% trans "Your request has been succefully executed." %}',
160
            'PASSWORD' : '{% trans "Password:" %}',
161
            'CREATE_VM_SUCCESS' : '{% trans "Success" %}',
162
            'CREATE_VM_SUCCESS_ONE' : '{% trans "Your new machine is now buidling... (this might take a few minutes)" %}',
163
            'CREATE_VM_SUCCESS_TWO' : '{% trans "Write down your password now:" %}',
164
            'CREATE_VM_SUCCESS_THREE' : '{% trans "You will need this later to connect to your machine." %}',
165
            'CREATE_VM_SUCCESS_FOUR' : '{% trans "After closing this window you will NOT be able to retrieve it again." %}'
166
        };
167

168
        var VARIOUS = {
169
            'CONFIRM' : '{% trans "Confirm" %}',
170
            'CANCEL' : '{% trans "Cancel" %}',
171
            'APPLY' : '{% trans "Apply" %}',
172
            'OFF' : '{% trans "Off" %}',
173
            'ON' : '{% trans "On" %}'
174
        };
175

    
176
    </script>
177
</head>
178

    
179
<body id="app">
180
    <!--<img id="okeanos-image" src="{{ SYNNEFO_IMAGES_URL }}body-bg2.png" />-->
181
    <div id="container">
182
        <div id="header">
183
            <div id="user">
184
                <div class="usermenu">
185
                    <div class="username">{{ request.user.uniq }}</div>
186
                    <ul class="useractions">
187
                        <li class="invitations"><a class="action" href="#">{% trans "invite friends..." %}</a></li>
188
                        <li class="feedback"><a class="action" href="#">{% trans "send feedback..." %}</a></li>
189
                        <li class="api"><a class="action" href="#">{% trans "API access..." %}</a></li>
190
                        <li class="logout last"><a class="action" href="#">{% trans "logout" %}</a></li>
191
                    </ul>
192
                </div>
193
                <div class="langmenu">
194
                    <a class="current_lang">en</a>
195
                    {% comment %}
196
                {% get_available_languages as LANGUAGES %}
197
                {% for lang in LANGUAGES %}
198
                <a {% if  == lang.0 %}
199
                    class="current_lang" {% else %}  href="/lang/?l={{lang.0}}" {% endif %}>{{lang.0}}</a>
200

    
201
                    {% if not forloop.last %}<span class="sep">~</span>{% endif %}
202
                    {% endfor %}
203
                {% endcomment %}
204
                </div>
205
            </div>
206
            <div class="header-logo">
207
                <a href="/">
208
                    <img src="{{ SYNNEFO_IMAGES_URL }}okeanos-logo-alpha.png" alt="okeanos (alpha)"/>
209
                </a>
210
            </div>
211
        </div>
212
        <div id="content">
213
            <div id="wrapper" class="clearfix">
214

    
215
                <div class="panes-menu clearfix">
216
                <!-- tabs -->
217
                <div class="tab-name">{% trans "machines" %}</div>
218
                <ul class="css-tabs">
219
                    <li><a href="machines" title="{% trans "manage  virtual " %}"
220
                        class="primary" id="machines_view_link">
221
                        <img src="{{ SYNNEFO_IMAGES_URL }}machines-icon.png" /></a></li>
222
                    <li><a href="networks" title="{% trans "configure " %}"
223
                        class="primary" id="networks_view_link">
224
                        <img src="{{ SYNNEFO_IMAGES_URL }}networks-icon.png" /></a></li>
225
                    <li class="hidden"><a href="disks" title="{% trans "manage  storage " %}"
226
                        class="primary" id="disks_view_link">
227
                        <img src="{{ SYNNEFO_IMAGES_URL }}disks-icon.png" /></a></li>
228
                </ul>
229
                </div>
230
                <div class="css-panes">
231
                    <div id="machines-pane" class="pane" style="display:block;">
232
                        {% include "partials/machines.html" %}
233
                    </div>
234
                    <div id="networks-pane" class="pane">
235
                        {% include "partials/networks.html" %}
236
                    </div>
237
                    <div id="disks-pane" class="pane"></div>
238

    
239
                    <div class="confirm_multiple clearfix" id="multiple_actions_container">
240
                        <div class="confirm_multiple_actions confirm_multiple_cont clearfix">
241
                            <p>{% trans "Your actions will affect" %} <span class="actionLen">XX</span> {% trans "machines" %}</p>
242
                            <button class="yes">{% trans "Confirm All" %}</button>
243
                            <button class="no">{% trans "Cancel All" %}</button>
244
                        </div>
245
                        <div class="confirm_reboot_required confirm_multiple_cont clearfix">
246
                            <p><span class="actionLen"></span> {% trans "machines needs to be rebooted for changes to apply" %}</p>
247
                            <button class="yes">{% trans "Reboot All" %}</button>
248
                            <button class="no">{% trans "Cancel All" %}</button>
249
                            <div class="reboot-machines-list"></div>
250
                        </div>
251
                    </div>
252

    
253
                </div>
254
            </div>
255
        </div>
256
    </div>
257

    
258
    <!-- activate tabs with JavaScript -->
259
    <script>
260

261
        //load opera css fixes
262
        if ($.browser.opera) {
263
            $("<link/>", {
264
               rel: "stylesheet",
265
               type: "text/css",
266
               href: "{{ SYNNEFO_CSS_URL }}opera.css"
267
            }).appendTo("head");
268
        }
269

270
        $(document).ready(function(){
271

272
            {% if current_lang == "el" and not DEBUG %}
273
                window.location = "/lang/?l=en";
274
            {% endif %}
275

276
            // user menu interaction
277
            var resetUserMenu = function() {
278
                $(this).removeClass("hovered");
279
                $(this).removeClass("active");
280
            }
281

282
            $(".usermenu").live("click", function(){
283
                $(this).addClass("active");
284
            });
285
            $(".usermenu").bind('mouseleave', resetUserMenu);
286
            $(".usermenu").live("mouseover", function(){
287
                $(this).addClass("hovered");
288
            });
289

290
            $(".usermenu li").mouseenter(function(){$(this).addClass("hovered")})
291
            $(".usermenu li").mouseleave(function(){$(this).removeClass("hovered")});
292

293
            // bind menu actions
294
            $(".usermenu .logout").click(function() {
295
                synnefo.ui.logout();
296
            });
297

298
            $(".usermenu .api").click(function(){
299
                synnefo.ui.main.api_info_view.show();
300
            });
301

302
        });
303
        
304
        function positionBottomMessages() {
305
            var el = $("#multiple_actions_container");
306
        }
307

308
        $(window).bind("load", function() { 
309
               var footerHeight = 0;
310
               var footerTop = 0;
311
               var $footer = $("#footer-container");
312

313
               positionFooter();
314
               function positionFooter() {
315
                   footerHeight = 80;
316
                   footerTop = ($(window).scrollTop()+$(window).height()-footerHeight)+"px";
317
                   if (($(document.body).height()+footerHeight) < $(window).height()) {
318

319
                       $footer.css({
320
                            position: "absolute"
321
                       }).css({
322
                            top: footerTop
323
                       })
324
                    } else {
325
                    
326
                       if ($footer.css("position") == "static") {
327
                           if ($(document.body).height() < $(window).height()) {    
328
                               $footer.css({
329
                                    position: "absolute"
330
                               }).css({
331
                                    top: footerTop
332
                                })
333
                            }
334
                        } else {
335

336
                           $footer.css({
337
                               position: "static"
338
                           })
339
                       }
340
                   }
341

342
                   }
343
               window.positionFooter = _.throttle(positionFooter, 100);
344
               $(window).scroll(positionFooter).resize(positionFooter)
345
        });
346
    </script>
347

    
348
    <!-- base notification for error/success reporting -->
349
    <a id="notification" rel="#error-success" href="#"></a>
350
    <a id="msgbox" rel="#notification-box" href="#"></a>
351
    <a id="feedbackbox" rel="#feedback-form" href="#"></a>
352

    
353
    <div class="overlay" id="generic-overlay-tpl">
354
        <div class="overlay-inner">
355
            <h3 class="header clearfix">
356
                <span class="subtitle"></span>
357
                <span class="title"></span>
358
                <span class="closeme">close</span></h3>
359
            <div class="container">
360
                <div class="content">
361
                </div>
362
            </div>
363
            <div class="footer"></div>
364
        </div>
365
    </div>
366

    
367
    <div id="error-overlay-content" class="hidden">
368
        <div class="error-nav hidden clearfix">
369
            <span class="indicator"><span class="num">1</span> <span
370
                    class="ind-msg">new error occured</span></span>
371
            <span class="show-next nav-btn">{% trans "next" %}</span>
372
            <span class="show-prev nav-btn">{% trans "previous" %}</span>
373
        </div>
374
        <div class="message"><p></p></div>
375
        <div class="error-details">
376
            <span class="key">{% trans "Module" %}</span>
377
            <span class="value error-module"></span>
378

    
379
            <span class="key">{% trans "Code" %}</span>
380
            <span class="value error-code"></span>
381

    
382
            <span class="key">{% trans "Type" %}</span>
383
            <span class="value error-type"></span>
384

    
385
            <span class="key details">{% trans "Details" %}</span>
386
            <div class="value error-more-details"><p></p></div>
387
        </div>
388
        
389
        <!--<div class="navigation">-->
390
            <!--<span class="next-error">{% trans "next error" %}</span>-->
391
            <!--<span class="previous-error">{% trans "previous error" %}</span>-->
392
        <!--</div>-->
393
        
394
        <!--<div class="date">-->
395
            <!--<span class="error-date"></span>-->
396
        <!--</div>-->
397

    
398
        <div class="actions">
399
            <span class="show-details">{% trans "Show details" %}</span>
400
            <span class="hide-details">{% trans "Hide details" %}</span>
401
            <span class="report-error">{% trans "Send report" %}</span>
402
            <span class="reload-app">{% trans "Reload" %}</span>
403
        </div>
404
    </div>
405
    {% include "partials/invitations.html" %}
406
    <div id="feedback-overlay-content" class="hidden overlay-content feedback-form">
407
        <div class="description">
408
            <p>
409
                {% blocktrans %}~okeanos is currently in alpha test and we would appreciate any kind of feedback.
410
                We welcome any suggestions, questions and bug reports you may have.{% endblocktrans %}
411
            </p>
412
        </div>
413
        <div class="description messages noborder">
414
            <p class="success-message hidden">
415
            {% trans "thank you for submiting your feedback" %}
416
            </p>
417
            <p class="error-message hidden">
418
                {% trans "some error occured submiting submiting your feedback, please try again later" %}
419
            </p>
420
            <p class="sending-message hidden">
421
            {% blocktrans %}Sending feedback...{% endblocktrans %}
422
            </p>
423
        </div>
424
        <div class="form">
425
            <div class="form-field">
426
                <label for{% trans "Please  your  here, provide  many  as " %}</label
427
                <textarea ="feedback-message"> 
428
                </textarea>
429
            </div>
430
            <div class="form-actions clearfix noborder">
431
                <span class="form-action submit">{% trans "send feedback" %}</span>
432
            </div>
433
        </div>
434
    </div>
435
    <div class="modal" id="feedback-form" class="feedback notification-box">
436
        <h3 class="popup-header">
437
            <span class="header-box">{% trans "Send feedback" %}</span>
438
        </h3>
439
        <div class="popup-body">
440
            <div class="popup-body-inner">
441
                <div class="form-container">
442
                <p class="feedback-intro">
443
                {% blocktrans %}~okeanos is currently in alpha test and we would appreciate any kind of feedback.
444
We welcome any suggestions, questions and bug reports you may have.{% endblocktrans %}</p>
445
                <form id="feedback-form">
446
                    <label for="feedback-msg">{% trans "Please describe your problem here, provide as many details as possible" %}</label>
447
                    <div class="description"></div>
448
                    <div class="empty-error-msg">{% trans "Please provide some feedback" %}</div>
449
                    <textarea name="feedback-msg" class="feedback-text"></textarea>
450

    
451
                    <input type="checkbox" name="submit-submit-data" class='submit-data' />
452
                    <input type="submit" value="{% trans "submit " %}" class="submit" />
453
                    <textarea name="feedback-data" class="data-text"></textarea>
454
                </form>
455
            </div>
456

    
457
            <div class="message sending">{% trans "submiting your data....." %}</div>
458
            <div class="message success">
459
                {% trans "thank you for submiting your feedback" %}
460
                <span class="close-msg-box"> {% trans "close feedback" %}</span></div>
461
            <div class="message errormsg">
462
                {% trans "some error occured submiting submiting your feedback, please try again later" %}
463
                <span class="close-msg-box"> {% trans "close feedback" %}</span></div>
464
            </div>
465
            </div>
466
        </div>
467
    </div>
468
    
469
    <div id="api-info-overlay" class="overlay-content overlay-info hidden">
470
        <div class="description">
471
            <p>{% blocktrans with EXTERNAL_CLIENT_URL as EXTERNAL_CLIENT_URL %}Use the following API key along with the <a
472
                href="{{ EXTERNAL_CLIENT_URL }}">./kamaki</a> client to manage
473
            your cloud resources from outside this page.{% endblocktrans %}</p>
474
        </div>
475
        <div class="copy-content">
476
            <p></p>
477
        </div>
478
        <div class="description subinfo">
479
            <p>
480
            {% trans "The API key provides full access to your <em>~okeanos</em> account, so always keep it private." %}
481
            </p>
482
        </div>
483
    </div>
484

    
485
    <div class="api_overlay_template">
486
        <div class="api_overlay_content">
487
            <p>Use the following API key along with the <a href="{{ EXTERNAL_CLIENT_URL }}">./kamaki</a> client to manage your cloud resources from outside this page.</p>
488
        </div>
489
    </div>
490

    
491
    <div class="modal" id="notification-box" class="notification-box">
492
        <h3 class="popup-header">
493
            <span class="header-box"></span>
494
        </h3>
495
        <div class="popup-body">
496
            <div class="popup-body-inner">
497
                <div class="machine-now-building"></div>
498
                <div class="popup-separator"></div>
499
                <div class="password-container">
500
                    <div class="password"></div>
501
                </div>
502
                <div class="sub-text"></div>
503
            </div>
504
        </div>
505
    </div>
506
    
507
    <div id="loading-view" class="hidden">
508
        <img src="{{ SYNNEFO_IMAGES_URL }}icons/indicators/small/progress.gif" />
509
        <div class="header">Loading <span>~okeanos</span></div>
510
        <div class="info hidden"></div>
511
    </div>
512
    {% include "footer.html" %}
513

    
514
    <script>
515
        $(document).ready(function() {
516
            $(".css-panes").hide();
517

518
            // TODO: match <= 1.9.1
519
            if ($.browser.mozilla && $.browser.version.substr(0,3) == "1.9") {
520
                synnefo.config.overlay_speed = 0;
521
                $.fx.off = true;
522
            }
523
            
524
            // synnefo js config
525
            synnefo.config.update_interval = {{ update_interval }};
526
            synnefo.config.delay_on_blur = {{ delay_on_blur }};
527
            synnefo.config.blur_delay = {{ blur_delay }};
528
            synnefo.config.update_hidden_views = {{ update_hidden_views }};
529
            synnefo.config.handle_window_exceptions = {{ handle_window_exceptions }};
530
            synnefo.config.ajax_timeout = {{ timeout }};
531
            synnefo.config.skip_timeouts = {{ skip_timeouts }};
532
            synnefo.config.invitations_url = "{% url invitations %}";
533
            synnefo.VERSION = "{{ synnefo_version }}";
534

535
            // TODO: make it dynamic
536
            synnefo.config.api_url = '/api/v1.1';
537
            synnefo.config.logout_url = '{{ logout_redirect }}';
538

539
            synnefo.config.media_url = '{{ UI_MEDIA_URL }}';
540
            synnefo.config.js_url = '{{ SYNNEFO_JS_URL }}';
541
            synnefo.config.indicators_icons_url = '{{ SYNNEFO_IMAGES_URL }}icons/indicators/';
542
            synnefo.config.machines_icons_url = '{{ SYNNEFO_IMAGES_URL }}icons/machines/';
543

544
            synnefo.ui.init();
545

546
            synnefo.ui.main.bind("initial", function(){
547
            })
548

549
        })
550
    </script>
551
</body>
552
</html>