Skip to content

Instantly share code, notes, and snippets.

View tnt501muzinjomane's full-sized avatar

Muzi tnt501muzinjomane

View GitHub Profile
#Installation of twitter bootstrap
#On Gemfile
gem "therubyracer"
gem "less-rails"
gem "twitter-boostrap-rails"
#On the terminal
$bundle install
<tbody>
<% @active_xfers.each do |active_xfer| %>
<tr>
<td><%= active_xfer.name %></td>
<td><%= active_xfer.status %></td>
<td><div class="progress">
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="<%= active_xfer.progress %>" aria-valuemin="0" aria-valuemax="100" style="width: <%= active_xfer.progress %>;">
<%= active_xfer.progress %>