~gary/juju-gui/hideInspectorOnRelationClick

« back to all changes in this revision

Viewing changes to app/index.html

Merged trunk, resolved conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html>
3
3
  <head>
4
4
    <meta charset="utf-8">
5
 
    <!-- GENERATED FROM lib/views/index.handlebars -->
6
5
    <title>Juju Admin</title>
7
6
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
8
7
    <meta name="description" content="">
44
43
    <!-- javascript away -->
45
44
    <script src="/assets/javascripts/yui/yui/yui-debug.js"></script>
46
45
    <script src="/modules.js"></script>
 
46
    <script src="/config.js"></script>
47
47
    <script>
48
 
      YUI(GlobalConfig).use("juju-gui", function(Y) {
49
 
      app = new Y.juju.App({
50
 
              serverRouting: false,
51
 
              html5: true,
52
 
              socket_url: 'ws://localhost:8081/ws',
53
 
              contain : "#main",
54
 
              viewContainer: "#main",
55
 
              // FIXME: turn off transitions until they are fixed.
56
 
              transitions: false,
57
 
              charm_store: new Y.DataSource.IO({
58
 
                  source: 'http://jujucharms.com/'})
59
 
          });
 
48
      YUI(GlobalConfig).use(["juju-gui"], function(Y) {
 
49
        app = new Y.juju.App(juju_config);
60
50
      });
61
51
    </script>
62
52
  </body>