Changeset 241
- Timestamp:
- 08/31/08 22:32:31 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nethorus/app/controllers/bridge_management_controller.rb
r219 r241 158 158 def show_bridge_group 159 159 160 @subtitle = "Show Bridge Group" 161 160 162 161 163 # Check that we've been given a valid root bridge ID nethorus/app/views/bridge_management/show_bridge_group.html.erb
r219 r241 1 <h1>Spanning Tree Information for<%=h params[:root_bridge] %></h1>1 <h1>Spanning Tree Bridges with root bridge <%=h params[:root_bridge] %></h1> 2 2 3 3 <h2>Bridges</h2> 4 5 4 6 5 7 <table class="vert"> … … 10 12 11 13 <% @bridges.each do |bridge| %> 14 <% if bridge.is_the_root_bridge? == :true %> 15 <tr style="font-weight: bold;"> 16 <% else %> 12 17 <tr> 18 <% end %> 13 19 <td> 14 20 <%=h bridge.device.hostname %> 15 <% if bridge.is_the_root_bridge? %>16 <% end %>17 21 </td> 18 22 <td><%=h bridge.dot1d_base_bridge_address %></td>
