sunstone.patch

Rolandas Naujikas, 03/26/2011 01:41 PM

Download (26.5 KB)

View differences:

sunstone/public/js/layout.js 2011-03-26 14:38:52.767221455 +0200
27 27
}
28 28

  
29 29
function popDialogLoading(){
30
    var loading = '<div style="margin-top:'+Math.round($("#dialog").height()/6)+'px; text-align: center; width: 100%"><img src="/images/pbar.gif" alt="loading..."/></div>';
30
    var loading = '<div style="margin-top:'+Math.round($("#dialog").height()/6)+'px; text-align: center; width: 100%"><img src="images/pbar.gif" alt="loading..."/></div>';
31 31
    popDialog(loading);
32 32
}
33 33

  
sunstone/public/js/login.js 2011-03-26 14:31:12.875221552 +0200
15 15
/* -------------------------------------------------------------------------- */
16 16

  
17 17
function auth_success(req, response){
18
    window.location.href = "/";
18
    window.location.href = ".";
19 19
}
20 20

  
21 21
function auth_error(req, error){
sunstone/public/js/one-ui_views.js 2011-03-26 14:28:17.875221684 +0200
121 121
    $("#user").html(username);
122 122
    $("#logout").click(function(){
123 123
        OpenNebula.Auth.logout({success:function(){
124
                                    window.location.href = "/login";
124
                                    window.location.href = "login";
125 125
                                    }
126 126
                                });
127 127
        return false;
......
2636 2636

  
2637 2637
    //redirect to login if unauthenticated
2638 2638
    if (error_json.error.http_status=="401") {
2639
      window.location.href = "/login";
2639
      window.location.href = "login";
2640 2640
    };
2641 2641

  
2642 2642
    //Parse known errors:
sunstone/public/js/one-ui_views.templates.js 2011-03-26 14:40:30.831221273 +0200
157 157
'<form id="form_hosts" action="javascript:alert(\'js errors?!\')">\
158 158
  <div class="action_blocks">\
159 159
	<div class="action_block">\
160
        <img src="/images/Refresh-icon.png" class="refresh_image" alt="OpenNebula.Host.list" />\
160
        <img src="images/Refresh-icon.png" class="refresh_image" alt="OpenNebula.Host.list" />\
161 161
	</div>\
162 162
	<div class="action_block">\
163 163
		  <button class="create_host_button top_button new_button">+ New Host</button>\
......
243 243
//~ '<form id="form_clusters" action="javascript:alert(\'js error!\');">\
244 244
  //~ <div class="action_blocks">\
245 245
		//~ <div class="action_block">\
246
		   //~ <img src="/images/Refresh-icon.png" class="refresh_image" alt="OpenNebula.Cluster.list" />\
246
		   //~ <img src="images/Refresh-icon.png" class="refresh_image" alt="OpenNebula.Cluster.list" />\
247 247
		//~ </div>\
248 248
		//~ <div class="action_block">\
249 249
			//~ <button class="create_cluster_button top_button">+ New</button>\
......
285 285
'<form id="virtualMachine_list" action="javascript:alert(\'js error!\');">\
286 286
  <div class="action_blocks">\
287 287
	<div class="action_block">\
288
		<img src="/images/Refresh-icon.png" class="refresh_image" alt="OpenNebula.VM.list" />\
288
		<img src="images/Refresh-icon.png" class="refresh_image" alt="OpenNebula.VM.list" />\
289 289
	</div>\
290 290
	<div class="action_block">\
291 291
		  <button class="create_vm_button top_button new_button" value="">+ New</button>\
......
777 777
'<form id="virtualNetworks_form" action="javascript:alert(\'js error!\');">\
778 778
  <div class="action_blocks">\
779 779
     <div class="action_block">\
780
        <img src="/images/Refresh-icon.png" class="refresh_image" alt="OpenNebula.Network.list" />\
780
        <img src="images/Refresh-icon.png" class="refresh_image" alt="OpenNebula.Network.list" />\
781 781
     </div>\
782 782
     <div class="action_block">\
783 783
		  <button class="create_vn_button top_button new_button" value="OpenNebula.Network.create">\
......
895 895
'<form id="user_form" action="" action="javascript:alert(\'js error!\');">\
896 896
  <div class="action_blocks">\
897 897
    <div class="action_block">\
898
       <img src="/images/Refresh-icon.png" class="refresh_image" alt="OpenNebula.User.list" />\
898
       <img src="images/Refresh-icon.png" class="refresh_image" alt="OpenNebula.User.list" />\
899 899
    </div>\
900 900
    <div class="action_block">\
901 901
		<button class="create_user_button top_button new_button">+ New</button>\
......
940 940
'<form id="image_form" action="" action="javascript:alert(\'js error!\');">\
941 941
  <div class="action_blocks">\
942 942
    <div class="action_block">\
943
       <img src="/images/Refresh-icon.png" class="refresh_image" alt="OpenNebula.Image.list" />\
943
       <img src="images/Refresh-icon.png" class="refresh_image" alt="OpenNebula.Image.list" />\
944 944
    </div>\
945 945
    <div class="action_block">\
946 946
		<button class="create_image_button top_button new_button">+ New</button>\
sunstone/public/js/opennebula.js 2011-03-26 14:24:35.091221364 +0200
186 186
            var request = OpenNebula.Helper.request(this.resource,"login");
187 187

  
188 188
            $.ajax({
189
                url: "/login",
189
                url: "login",
190 190
                type: "POST",
191 191
                data: {remember: remember},
192 192
                beforeSend : function(req) {
......
220 220
            var request = OpenNebula.Helper.request(this.resource,"logout");
221 221

  
222 222
            $.ajax({
223
                url: "/logout",
223
                url: "logout",
224 224
                type: "POST",
225 225
                success: function(response)
226 226
                {
......
252 252
            var request = OpenNebula.Helper.request(this.resource,"list");
253 253

  
254 254
            $.ajax({
255
                url: "/config",
255
                url: "config",
256 256
                type: "GET",
257 257
                dataType: "json",
258 258
                success: function(response)
......
285 285
            var request = OpenNebula.Helper.request(this.resource,"create", data);
286 286

  
287 287
            $.ajax({
288
                url: "/host",
288
                url: "host",
289 289
                type: "POST",
290 290
                dataType: "json",
291 291
                data: JSON.stringify(data),
......
316 316
            var request = OpenNebula.Helper.request(this.resource,"delete", id);
317 317

  
318 318
            $.ajax({
319
                url: "/host/" + id,
319
                url: "host/" + id,
320 320
                type: "DELETE",
321 321
                success: function()
322 322
                {
......
345 345
            var request = OpenNebula.Helper.request(this.resource,"list");
346 346

  
347 347
            $.ajax({
348
                url: "/host",
348
                url: "host",
349 349
                type: "GET",
350 350
                data: {timeout: timeout},
351 351
                dataType: "json",
......
378 378
            var request = OpenNebula.Helper.request(this.resource,"show", id);
379 379

  
380 380
            $.ajax({
381
                url: "/host/" + id,
381
                url: "host/" + id,
382 382
                type: "GET",
383 383
                dataType: "json",
384 384
                success: function(response)
......
409 409
            var request = OpenNebula.Helper.request(this.resource,method, id);
410 410

  
411 411
            $.ajax({
412
                url: "/host/" + id + "/action",
412
                url: "host/" + id + "/action",
413 413
                type: "POST",
414 414
                data: JSON.stringify(action),
415 415
                success: function()
......
440 440
            var request = OpenNebula.Helper.request(this.resource,method, id);
441 441

  
442 442
            $.ajax({
443
                url: "/host/" + id + "/action",
443
                url: "host/" + id + "/action",
444 444
                type: "POST",
445 445
                data: JSON.stringify(action),
446 446
                success: function()
......
473 473
            var request = OpenNebula.Helper.request(this.resource,"create",data);
474 474

  
475 475
            $.ajax({
476
                url: "/vnet",
476
                url: "vnet",
477 477
                type: "POST",
478 478
                dataType: "json",
479 479
                data: JSON.stringify(data),
......
503 503
            var request = OpenNebula.Helper.request(this.resource,"delete", id);
504 504

  
505 505
            $.ajax({
506
                url: "/vnet/" + id,
506
                url: "vnet/" + id,
507 507
                type: "DELETE",
508 508
                success: function()
509 509
                {
......
532 532
            var request = OpenNebula.Helper.request(this.resource,"list");
533 533

  
534 534
            $.ajax({
535
                url: "/vnet",
535
                url: "vnet",
536 536
                type: "GET",
537 537
                dataType: "json",
538 538
                data: {timeout: timeout},
......
563 563
            var request = OpenNebula.Helper.request(this.resource,"show", id);
564 564

  
565 565
            $.ajax({
566
                url: "/vnet/" + id,
566
                url: "vnet/" + id,
567 567
                type: "GET",
568 568
                dataType: "json",
569 569
                success: function(response)
......
594 594
            var request = OpenNebula.Helper.request(this.resource,method, id);
595 595

  
596 596
            $.ajax({
597
                url: "/vnet/" + id + "/action",
597
                url: "vnet/" + id + "/action",
598 598
                type: "POST",
599 599
                data: JSON.stringify(action),
600 600
                success: function()
......
625 625
            var request = OpenNebula.Helper.request(this.resource,method, id);
626 626

  
627 627
            $.ajax({
628
                url: "/vnet/" + id + "/action",
628
                url: "vnet/" + id + "/action",
629 629
                type: "POST",
630 630
                data: JSON.stringify(action),
631 631
                success: function()
......
658 658
            var request = OpenNebula.Helper.request(this.resource,"create",data);
659 659

  
660 660
            $.ajax({
661
                url: "/vm",
661
                url: "vm",
662 662
                type: "POST",
663 663
                dataType: "json",
664 664
                data: JSON.stringify(data),
......
688 688
            var request = OpenNebula.Helper.request(this.resource,"delete", id);
689 689

  
690 690
            $.ajax({
691
                url: "/vm/" + id,
691
                url: "vm/" + id,
692 692
                type: "DELETE",
693 693
                success: function()
694 694
                {
......
717 717
            var request = OpenNebula.Helper.request(this.resource,"list");
718 718

  
719 719
            $.ajax({
720
                url: "/vm",
720
                url: "vm",
721 721
                type: "GET",
722 722
                dataType: "json",
723 723
                data: {timeout: timeout},
......
748 748
            var request = OpenNebula.Helper.request(this.resource,"log", id);
749 749

  
750 750
            $.ajax({
751
                url: "/vm/" + id + "/log",
751
                url: "vm/" + id + "/log",
752 752
                type: "GET",
753 753
                success: function(response)
754 754
                {
......
776 776
            var request = OpenNebula.Helper.request(this.resource,"show", id);
777 777

  
778 778
            $.ajax({
779
                url: "/vm/" + id,
779
                url: "vm/" + id,
780 780
                type: "GET",
781 781
                dataType: "json",
782 782
                success: function(response)
......
808 808
            var request = OpenNebula.Helper.request(this.resource,method, [id, host]);
809 809

  
810 810
            $.ajax({
811
                url: "/vm/" + id + "/action",
811
                url: "vm/" + id + "/action",
812 812
                type: "POST",
813 813
                data: JSON.stringify(action),
814 814
                success: function()
......
839 839
            var request = OpenNebula.Helper.request(this.resource,method, id);
840 840

  
841 841
            $.ajax({
842
                url: "/vm/" + id + "/action",
842
                url: "vm/" + id + "/action",
843 843
                type: "POST",
844 844
                data: JSON.stringify(action),
845 845
                success: function()
......
871 871
            var request = OpenNebula.Helper.request(this.resource,method, [id, host]);
872 872

  
873 873
            $.ajax({
874
                url: "/vm/" + id + "/action",
874
                url: "vm/" + id + "/action",
875 875
                type: "POST",
876 876
                data: JSON.stringify(action),
877 877
                success: function()
......
903 903
            var request = OpenNebula.Helper.request(this.resource,method, [id, host]);
904 904

  
905 905
            $.ajax({
906
                url: "/vm/" + id + "/action",
906
                url: "vm/" + id + "/action",
907 907
                type: "POST",
908 908
                data: JSON.stringify(action),
909 909
                success: function()
......
934 934
            var request = OpenNebula.Helper.request(this.resource,method, id);
935 935

  
936 936
            $.ajax({
937
                url: "/vm/" + id + "/action",
937
                url: "vm/" + id + "/action",
938 938
                type: "POST",
939 939
                data: JSON.stringify(action),
940 940
                success: function()
......
965 965
            var request = OpenNebula.Helper.request(this.resource,method, id);
966 966

  
967 967
            $.ajax({
968
                url: "/vm/" + id + "/action",
968
                url: "vm/" + id + "/action",
969 969
                type: "POST",
970 970
                data: JSON.stringify(action),
971 971
                success: function()
......
996 996
            var request = OpenNebula.Helper.request(this.resource,method, id);
997 997

  
998 998
            $.ajax({
999
                url: "/vm/" + id + "/action",
999
                url: "vm/" + id + "/action",
1000 1000
                type: "POST",
1001 1001
                data: JSON.stringify(action),
1002 1002
                success: function()
......
1027 1027
            var request = OpenNebula.Helper.request(this.resource,method, id);
1028 1028

  
1029 1029
            $.ajax({
1030
                url: "/vm/" + id + "/action",
1030
                url: "vm/" + id + "/action",
1031 1031
                type: "POST",
1032 1032
                data: JSON.stringify(action),
1033 1033
                success: function()
......
1058 1058
            var request = OpenNebula.Helper.request(this.resource,method, id);
1059 1059

  
1060 1060
            $.ajax({
1061
                url: "/vm/" + id + "/action",
1061
                url: "vm/" + id + "/action",
1062 1062
                type: "POST",
1063 1063
                data: JSON.stringify(action),
1064 1064
                success: function()
......
1089 1089
            var request = OpenNebula.Helper.request(this.resource,method, id);
1090 1090

  
1091 1091
            $.ajax({
1092
                url: "/vm/" + id + "/action",
1092
                url: "vm/" + id + "/action",
1093 1093
                type: "POST",
1094 1094
                data: JSON.stringify(action),
1095 1095
                success: function()
......
1129 1129
            var request = OpenNebula.Helper.request(this.resource,method, [vm_id, disk_id, image_name, type]);
1130 1130

  
1131 1131
            $.ajax({
1132
                url: "/vm/" + id + "/action",
1132
                url: "vm/" + id + "/action",
1133 1133
                type: "POST",
1134 1134
                data: JSON.stringify(action),
1135 1135
                success: function()
......
1160 1160
            var request = OpenNebula.Helper.request(this.resource,method, id);
1161 1161

  
1162 1162
            $.ajax({
1163
                url: "/vm/" + id + "/action",
1163
                url: "vm/" + id + "/action",
1164 1164
                type: "POST",
1165 1165
                data: JSON.stringify(action),
1166 1166
                success: function()
......
1193 1193
            var request = OpenNebula.Helper.request(this.resource,"create", name);
1194 1194

  
1195 1195
            $.ajax({
1196
                url: "/cluster",
1196
                url: "cluster",
1197 1197
                type: "POST",
1198 1198
                dataType: "json",
1199 1199
                data: JSON.stringify(data),
......
1223 1223
            var request = OpenNebula.Helper.request(this.resource,"delete", id);
1224 1224

  
1225 1225
            $.ajax({
1226
                url: "/cluster/" + id,
1226
                url: "cluster/" + id,
1227 1227
                type: "DELETE",
1228 1228
                success: function()
1229 1229
                {
......
1252 1252
            var request = OpenNebula.Helper.request(this.resource,"list");
1253 1253

  
1254 1254
            $.ajax({
1255
                url: "/cluster",
1255
                url: "cluster",
1256 1256
                type: "GET",
1257 1257
                dataType: "json",
1258 1258
                data: {timeout: timeout},
......
1288 1288
            var request = OpenNebula.Helper.request(this.resource,method, [host_id, cluster_id]);
1289 1289

  
1290 1290
            $.ajax({
1291
                url: "/cluster/" + cluster_id + "/action",
1291
                url: "cluster/" + cluster_id + "/action",
1292 1292
                type: "POST",
1293 1293
                data: JSON.stringify(action),
1294 1294
                success: function(response)
......
1322 1322
            var request = OpenNebula.Helper.request(this.resource,method, [host_id, cluster_id]);
1323 1323

  
1324 1324
            $.ajax({
1325
                url: "/cluster/" + cluster_id + "/action",
1325
                url: "cluster/" + cluster_id + "/action",
1326 1326
                type: "POST",
1327 1327
                data: JSON.stringify(action),
1328 1328
                success: function(response)
......
1355 1355
            var request = OpenNebula.Helper.request(this.resource,"create",data);
1356 1356

  
1357 1357
            $.ajax({
1358
                url: "/user",
1358
                url: "user",
1359 1359
                type: "POST",
1360 1360
                dataType: "json",
1361 1361
                data: JSON.stringify(data),
......
1385 1385
            var request = OpenNebula.Helper.request(this.resource,"delete", id);
1386 1386

  
1387 1387
            $.ajax({
1388
                url: "/user/" + id,
1388
                url: "user/" + id,
1389 1389
                type: "DELETE",
1390 1390
                success: function()
1391 1391
                {
......
1414 1414
            var request = OpenNebula.Helper.request(this.resource,"list");
1415 1415

  
1416 1416
            $.ajax({
1417
                url: "/user",
1417
                url: "user",
1418 1418
                type: "GET",
1419 1419
                dataType: "json",
1420 1420
                data: {timeout: timeout},
......
1450 1450
            var request = OpenNebula.Helper.request(this.resource,method, passwd);
1451 1451

  
1452 1452
            $.ajax({
1453
                url: "/user/" + id + "/action",
1453
                url: "user/" + id + "/action",
1454 1454
                type: "POST",
1455 1455
                data: JSON.stringify(action),
1456 1456
                success: function(response)
......
1483 1483
            var request = OpenNebula.Helper.request(this.resource,"register",data);
1484 1484

  
1485 1485
            $.ajax({
1486
                url: "/image",
1486
                url: "image",
1487 1487
                type: "POST",
1488 1488
                dataType: "json",
1489 1489
                data: JSON.stringify(data),
......
1513 1513
            var request = OpenNebula.Helper.request(this.resource,"delete", id);
1514 1514

  
1515 1515
            $.ajax({
1516
                url: "/image/" + id,
1516
                url: "image/" + id,
1517 1517
                type: "DELETE",
1518 1518
                success: function()
1519 1519
                {
......
1542 1542
            var request = OpenNebula.Helper.request(this.resource,"list");
1543 1543

  
1544 1544
            $.ajax({
1545
                url: "/image",
1545
                url: "image",
1546 1546
                type: "GET",
1547 1547
                dataType: "json",
1548 1548
                data: {timeout: timeout},
......
1573 1573
            var request = OpenNebula.Helper.request(this.resource,"show", id);
1574 1574

  
1575 1575
            $.ajax({
1576
                url: "/image/" + id,
1576
                url: "image/" + id,
1577 1577
                type: "GET",
1578 1578
                dataType: "json",
1579 1579
                success: function(response)
......
1609 1609
            var request = OpenNebula.Helper.request(this.resource,method, [id, name, value]);
1610 1610

  
1611 1611
            $.ajax({
1612
                url: "/image/" + id + "/action",
1612
                url: "image/" + id + "/action",
1613 1613
                type: "POST",
1614 1614
                data: JSON.stringify(action),
1615 1615
                success: function(response)
......
1644 1644
            var request = OpenNebula.Helper.request(this.resource,method, [id, name]);
1645 1645

  
1646 1646
            $.ajax({
1647
                url: "/image/" + id + "/action",
1647
                url: "image/" + id + "/action",
1648 1648
                type: "POST",
1649 1649
                data: JSON.stringify(action),
1650 1650
                success: function(response)
......
1675 1675
            var request = OpenNebula.Helper.request(this.resource,method, id);
1676 1676

  
1677 1677
            $.ajax({
1678
                url: "/image/" + id + "/action",
1678
                url: "image/" + id + "/action",
1679 1679
                type: "POST",
1680 1680
                data: JSON.stringify(action),
1681 1681
                success: function()
......
1706 1706
            var request = OpenNebula.Helper.request(this.resource,method, id);
1707 1707

  
1708 1708
            $.ajax({
1709
                url: "/image/" + id + "/action",
1709
                url: "image/" + id + "/action",
1710 1710
                type: "POST",
1711 1711
                data: JSON.stringify(action),
1712 1712
                success: function()
......
1737 1737
            var request = OpenNebula.Helper.request(this.resource,method, id);
1738 1738

  
1739 1739
            $.ajax({
1740
                url: "/image/" + id + "/action",
1740
                url: "image/" + id + "/action",
1741 1741
                type: "POST",
1742 1742
                data: JSON.stringify(action),
1743 1743
                success: function()
......
1768 1768
            var request = OpenNebula.Helper.request(this.resource,method, id);
1769 1769

  
1770 1770
            $.ajax({
1771
                url: "/image/" + id + "/action",
1771
                url: "image/" + id + "/action",
1772 1772
                type: "POST",
1773 1773
                data: JSON.stringify(action),
1774 1774
                success: function()
......
1799 1799
            var request = OpenNebula.Helper.request(this.resource,method, id);
1800 1800

  
1801 1801
            $.ajax({
1802
                url: "/image/" + id + "/action",
1802
                url: "image/" + id + "/action",
1803 1803
                type: "POST",
1804 1804
                data: JSON.stringify(action),
1805 1805
                success: function()
......
1830 1830
            var request = OpenNebula.Helper.request(this.resource,method, id);
1831 1831

  
1832 1832
            $.ajax({
1833
                url: "/image/" + id + "/action",
1833
                url: "image/" + id + "/action",
1834 1834
                type: "POST",
1835 1835
                data: JSON.stringify(action),
1836 1836
                success: function()
sunstone/sunstone-server.rb 2011-03-26 14:34:24.639221539 +0200
96 96
# HTML Requests
97 97
##############################################################################
98 98
get '/' do
99
    redirect '/login' unless authorized?
99
    redirect 'login' unless authorized?
100 100

  
101 101
    time = Time.now + 60
102 102
    response.set_cookie("one-user",
sunstone/templates/index.html 2011-03-26 14:17:24.291221882 +0200
5 5
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
6 6

  
7 7
    <!-- Vendor Libraries -->
8
    <link rel="stylesheet" type="text/css" href="/vendor/dataTables/demo_table_jui.css" />
9
    <link rel="stylesheet" type="text/css" href="/vendor/jQueryUI/jquery-ui-1.8.7.custom.css" />
10
    <link rel="stylesheet" type="text/css" href="/vendor/jGrowl/jquery.jgrowl.css" />
11
    <link rel="stylesheet" type="text/css" href="/vendor/jQueryLayout/layout-default-latest.css" />
12

  
13
    <script type="text/javascript" src="/vendor/jQuery/jquery-1.4.4.min.js"></script>
14
    <script type="text/javascript" src="/vendor/jGrowl/jquery.jgrowl_minimized.js"></script>
15
    <script type="text/javascript" src="/vendor/jQueryUI/jquery-ui-1.8.7.custom.min.js"></script>
16
    <script type="text/javascript" src="/vendor/jQueryLayout/jquery.layout.min-1.2.0.js"></script>
17
    <script type="text/javascript" src="/vendor/dataTables/jquery.dataTables.min.js"></script>
8
    <link rel="stylesheet" type="text/css" href="vendor/dataTables/demo_table_jui.css" />
9
    <link rel="stylesheet" type="text/css" href="vendor/jQueryUI/jquery-ui-1.8.7.custom.css" />
10
    <link rel="stylesheet" type="text/css" href="vendor/jGrowl/jquery.jgrowl.css" />
11
    <link rel="stylesheet" type="text/css" href="vendor/jQueryLayout/layout-default-latest.css" />
12

  
13
    <script type="text/javascript" src="vendor/jQuery/jquery-1.4.4.min.js"></script>
14
    <script type="text/javascript" src="vendor/jGrowl/jquery.jgrowl_minimized.js"></script>
15
    <script type="text/javascript" src="vendor/jQueryUI/jquery-ui-1.8.7.custom.min.js"></script>
16
    <script type="text/javascript" src="vendor/jQueryLayout/jquery.layout.min-1.2.0.js"></script>
17
    <script type="text/javascript" src="vendor/dataTables/jquery.dataTables.min.js"></script>
18 18
    <!-- End Vendor Libraries -->
19 19

  
20
    <link rel="stylesheet" type="text/css" href="/css/application.css" />
21
    <link rel="stylesheet" type="text/css" href="/css/layout.css" />
22
    <script type="text/javascript" src="/js/opennebula.js"></script>
23
    <script type="text/javascript" src="/js/one-ui_views.templates.js"></script>
24
    <script type="text/javascript" src="/js/one-ui_views.js"></script>
25
    <script type="text/javascript" src="/js/layout.js"></script>
20
    <link rel="stylesheet" type="text/css" href="css/application.css" />
21
    <link rel="stylesheet" type="text/css" href="css/layout.css" />
22
    <script type="text/javascript" src="js/opennebula.js"></script>
23
    <script type="text/javascript" src="js/one-ui_views.templates.js"></script>
24
    <script type="text/javascript" src="js/one-ui_views.js"></script>
25
    <script type="text/javascript" src="js/layout.js"></script>
26 26
</head>
27 27
<body>
28 28
<div class="outer-center">
......
50 50

  
51 51
<div id="header" class="ui-layout-north">
52 52
    <div id="logo">
53
        <img src="/images/opennebula-sunstone-small.png"/>
53
        <img src="images/opennebula-sunstone-small.png"/>
54 54
    </div>
55 55
    <div id="login-info">
56 56
        Welcome <span id="user"></span>&nbsp;|&nbsp;<a href="#" id="logout">Sign Out</a>
sunstone/templates/login.html 2011-03-26 14:10:34.567221492 +0200
2 2
<head>
3 3
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 4
    <title>OpenNebula Admin Console Login</title>
5
    <link rel="stylesheet" type="text/css" href="/css/login.css" />
5
    <link rel="stylesheet" type="text/css" href="css/login.css" />
6 6

  
7 7
    <!-- Vendor Libraries -->
8
    <script type="text/javascript" src="/vendor/jQuery/jquery-1.4.4.min.js"></script>
8
    <script type="text/javascript" src="vendor/jQuery/jquery-1.4.4.min.js"></script>
9 9
    <!-- End Vendor Libraries -->
10 10

  
11
    <script type="text/javascript" src="/js/opennebula.js"></script>
12
    <script type="text/javascript" src="/js/login.js"></script>
11
    <script type="text/javascript" src="js/opennebula.js"></script>
12
    <script type="text/javascript" src="js/login.js"></script>
13 13

  
14 14
</head>
15 15