Project

General

Profile

« Previous | Next » 

Revision 82e47ae0

Added by Amos Benari about 12 years ago

  • ID 82e47ae0f86994702c3a084cc6150250a81034ee

updates UI to bootstrap v2

View differences:

app/views/hypervisors/show.html.erb
<% fields = %w{cores cpus memory mhz model nodes sockets threads} -%>
<div class='row'>
<div class='span16'>
<table class="list zebra-striped">
<div class='span12'>
<table class="table table-bordered table-striped">
<tr><th colspan="2">Properties</th></tr>
<% fields.each do |key| -%>
<tr>
......
</div>
<br>
<%= link_to "Guests", hypervisor_guests_path(@hypervisor), :class => "btn primary" %>
<%= link_to "Guests", hypervisor_guests_path(@hypervisor), :class => "btn btn-primary" %>
<%= link_to "Back", hypervisors_path, :class => "btn" %>

Also available in: Unified diff