Revision 99721d83

b/ui/static/main.css
592 592
    float: none;
593 593
    margin: 0 0 0 10px;
594 594
    border: 1px solid #999;
595
    color: #222222;
595 596
}
596 597

  
597 598
div.machine {
b/ui/templates/machines.html
120 120
                        </li>
121 121
                        <li>
122 122
                            <div class="cost">
123
                                <span> {% trans "Your wallet:" %} 10,000 Credits </span> | <span>{% trans "This setup will cost you:" %}<input type="text" id="credits-indicator" value="20" class="range" /> {% trans "C/hour" %}</span>
123
                                <span> {% trans "Your wallet:" %} 10,000 Credits </span> | <span>{% trans "This setup will cost you:" %}<input type="text" id="credits-indicator" value="20" class="range" disabled="disabled" /> {% trans "C/hour" %}</span>
124 124
                            </div>
125 125
                        </li>
126 126
                    </div>
......
541 541
    $("#small").removeClass("active");  
542 542
});
543 543

  
544
//when textbox gains focus, add selection in css
545
$('#cpu-indicator').focus(function() {
546
    $(this).addClass('selectedrange');
547
});
548
$('#ram-indicator').focus(function() {
549
    $(this).addClass('selectedrange');
550
});
551
$('#storage-indicator').focus(function() {
552
    $(this).addClass('selectedrange');
553
});
554

  
555
//when textbox loses focus, clear selection in css
556
$('#cpu-indicator').blur(function() {
557
    $(this).removeClass('selectedrange');
558
});
559
$('#ram-indicator').blur(function() {
560
    $(this).removeClass('selectedrange');
561
});
562
$('#storage-indicator').blur(function() {
563
    $(this).removeClass('selectedrange');
564
});
565

  
544 566
// exit the wizard
545 567
$("#cancel").click(function(){
546 568
    $("a#create").overlay().close();

Also available in: Unified diff