Revision f87e79a4

b/ui/static/main.css
584 584
}
585 585

  
586 586
.selectedrange {
587
    border: 1px solid #5599FF;
587
    border: 1px inset #5599FF;
588 588
}
589 589

  
590 590
#credits-indicator {
......
868 868

  
869 869
#machinesview_wrapper {
870 870
    min-height: 270px;
871
}
872

  
873
#machinesview_content {
871 874
    display:none;
872 875
}
873 876

  
b/ui/templates/list.html
2 2

  
3 3
<div id="machinesview_wrapper" class="list">
4 4
    <div id="spinner"></div>
5
    <div class="actions">
6
        <a id="action-start">{% trans "Start" %}</a>
7
        <a id="action-reboot">{% trans "Reboot" %}</a>
8
        <a id="action-shutdown">{% trans "Shutdown" %}</a>
9
        <br />
10
        <a id="action-destroy">{% trans "Destroy" %}</a>
11
        <br />
12
        <a id="action-details">{% trans "Show Details" %}</a>
13
        <a id="action-group">{% trans "Add to group" %}</a>
14
        <br />
15
        <a id="action-band">{% trans "Out of band" %}</a>
16
        <br />
17
        <a id="action-attach">{% trans "Attach disk" %}</a>
18
        <a id="action-detach">{% trans "Detach disk" %}</a>
19
        <br />
20
        <a id="action-connect">{% trans "Connect to network" %}</a>
21
        <a id="action-disconnect">{% trans "Disconnect from net" %}</a>
5
    <div id="machinesview_content">
6
        <div class="actions">
7
            <a id="action-start">{% trans "Start" %}</a>
8
            <a id="action-reboot">{% trans "Reboot" %}</a>
9
            <a id="action-shutdown">{% trans "Shutdown" %}</a>
10
            <br />
11
            <a id="action-destroy">{% trans "Destroy" %}</a>
12
            <br />
13
            <a id="action-details">{% trans "Show Details" %}</a>
14
            <a id="action-group">{% trans "Add to group" %}</a>
15
            <br />
16
            <a id="action-band">{% trans "Out of band" %}</a>
17
            <br />
18
            <a id="action-attach">{% trans "Attach disk" %}</a>
19
            <a id="action-detach">{% trans "Detach disk" %}</a>
20
            <br />
21
            <a id="action-connect">{% trans "Connect to network" %}</a>
22
            <a id="action-disconnect">{% trans "Disconnect from net" %}</a>
23
        </div>
24
        <table class="list-machines" style="display: none">
25
            <thead> 
26
                <tr> 
27
                    <th id="selection" class="select-running">
28
                        <input type="checkbox"/>
29
                        <div class="expand-icon"></div>          
30
                    </th>
31
                    <th id="os">{% trans "OS" %}</th> 
32
                    <th id="name">{% trans "Name" %}</th> 
33
                    <th id="flavor">{% trans "Flavor" %}</th> 
34
                    <th id="group">{% trans "Group" %}</th>
35
                    <th id="status">{% trans "Status" %}</th> 
36
                </tr>
37
            </thead> 
38
            <tbody class="machines"></tbody>
39
        </table>
40
	    <ul class="dropdown-selector" style="display: none">
41
		    <li class="select-all" ><a href="#">{% trans "all" %}</a></li>
42
		    <li class="select-none"><a href="#">{% trans "none" %}</a></li>
43
		    <li class="select-group"><a href="#">{% trans "group" %}</a></li>
44
	    </ul>  
22 45
    </div>
23
    <table class="list-machines" style="display: none">
24
        <thead> 
25
            <tr> 
26
                <th id="selection" class="select-running">
27
                    <input type="checkbox"/>
28
                    <div class="expand-icon"></div>          
29
                </th>
30
                <th id="os">{% trans "OS" %}</th> 
31
                <th id="name">{% trans "Name" %}</th> 
32
                <th id="flavor">{% trans "Flavor" %}</th> 
33
                <th id="group">{% trans "Group" %}</th>
34
                <th id="status">{% trans "Status" %}</th> 
35
            </tr>
36
        </thead> 
37
        <tbody class="machines"></tbody>
38
    </table>
39
	<ul class="dropdown-selector" style="display: none">
40
		<li class="select-all" ><a href="#">{% trans "all" %}</a></li>
41
		<li class="select-none"><a href="#">{% trans "none" %}</a></li>
42
		<li class="select-group"><a href="#">{% trans "group" %}</a></li>
43
	</ul>  
44 46
</div>
45 47

  
46 48
<script>
......
291 293
        showWelcome()
292 294
    } else {
293 295
        hideWelcome()
294
        $("#machinesview_wrapper").fadeIn("fast")
296
        $("#machinesview_content").fadeIn("fast")
295 297
    }      
296 298
	
297 299
	// set confirm box position
b/ui/templates/machines.html
300 300
        }    
301 301
    });
302 302
    // if tab is pressed on the next button seek to next page
303
    root.find("button.next").keydown(function(e) {
304
	    if (e.keyCode == 9) {
305
		    // seeks to next tab by executing our validation routine
306
		    api.next();
307
		    e.preventDefault();
308
	    }
303
    $(root).live('keydown', function (e) {
304
       if ( e.keyCode == 9 ){
305
           if(e.preventDefault) {
306
               e.preventDefault();
307
           }
308
           api.next();
309
        }
309 310
    });
310 311
    $("#name").keypress(function (e) {
311 312
		if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) {

Also available in: Unified diff