anchor.diff:    </div>
   </div>
   
  -<div class="row">
  -  <% unless error_msg.nil? %>
  +<% unless error_msg.nil? %>
     <div class="alert alert-danger">
       <p><%= error_msg %></p>
     </div>
  -  <% end %>
  +<% end %>
  +
  +<div class="row">
  +  <h3>Application Instances</h3>
  +  <table class="table">
  +    <thead>
  +      <tr>
  +        <th title="toggle the application visibility on the Portal">Active</th>
  +        <th title="the name of the application">Name</th>
  +        <th title="the URL of the application">URL</th>
  +        <th title="the desciption that will be shown on the application tile on the Portal">Description</th>
  +        <th title="the parent application">Parent Application</th>
  +        <th title="overall clicks for the application">Click Counter</th>
  +        <th title="actions that can be performed on the application" class='text-center'>Actions</th>
  +      </tr>
  +    </thead>
  +    <tbody>
  +      <% application_instances.each do |app| %>
  +      <tr class="app_inst_tr" id="app_tr_<%= app.id.to_s %>">
  +        <td scope="row">
  +          <label class="switch" title="<%= app.enabled ? 'disable' : 'enable' %> the application">
  +            <input type="checkbox" <%= app.enabled ? 'checked' : '' %>>
  +            <div class="slider round enabled-instance-switch" id='enabled-instance-switch_<%= app.id %>'></div>
  +          </label>
  +        </td>
  +        <td><%= app.name %></td>
  +        <td><%= app.url %></td>
  +        <td><%= app.description %></td>
  +        <td><%= app.application.name %></td>
  +        <td><%= app.click_counter %></td>
  +        <td>
  +          <div class="text-center">
  +            <div class="btn-group pull-center">
  +              <a class="btn btn-info edit_app" id='edit_app_<%= app.id %>' data-toggle="modal" data-target="#edit-application-instance-modal-<%= app.id %>" title="Edit Application">
  +                <i class="fa fa-pencil"></i>
  +              </a>
  +              <a class="btn btn-danger del_app_inst" id='del_app_inst_<%= app.id %>' title="Delete Application Instance">
  +                <i class="fa fa-times"></i>
  +              </a>
  +            </div>
  +          </div>
  +        </td>
  +      </tr>
  +      <% end %> 
  +    </tbody>
  +    <tfoot>
  +      <tr>
  +        <td></td>
  +        <td></td>
  +        <td></td>
  +        <td></td>
  +        <td></td>
  +        <td></td>
  +        <td><a class="btn btn-success teal-text pull-right" data-toggle="modal" data-target="#new-application-instance-modal"  title="Create New Application Instance"><i class="fa fa-plus"></i></a></td>
  +      </tr>
  +    </tfoot>
  +</table>
  +</div>
  +
  +<div class="row">
  +  <h3>Installed Applications</h3>
     <table class="table">
       <thead>
         <tr>
  
positive.code:         <td></td>
          <td></td>
          <td><!-- <a class="btn btn-success teal-text pull-right" data-toggle="modal" data-target="#new-application-modal"  title="Create New Application"><i class="fa fa-plus"></i></a> --></td>
        </tr>
      </tfoot>
  </table>
  </div>
  
  <div class="row">
    <h2>Application Instances</h2>
    <table class="table">
      <thead>
        <tr>
          <th title="toggle the application visibility on the Portal">Active</th>
          <th title="the name of the application">Name</th>
          <th title="the URL of the application">URL</th>
          <th title="the desciption that will be shown on the application tile on the Portal">Description</th>
          <th title="the parent application">Parent Application</th>
          <th title="overall clicks for the application">Click Counter</th>
          <th title="actions that can be performed on the application" class='text-center'>Actions</th>
        </tr>
      </thead>
      <tbody>
        <% application_instances.each do |app| %>
        <tr class="app_inst_tr" id="app_tr_<%= app.id.to_s %>">
          <td scope="row">
            <label class="switch" title="<%= app.enabled ? 'disable' : 'enable' %> the application">
              <input type="checkbox" <%= app.enabled ? 'checked' : '' %>>
              <div class="slider round enabled-instance-switch" id='enabled-instance-switch_<%= app.id %>'></div>
            </label>
          </td>
          <td><%= app.name %></td>
          <td><%= app.url %></td>
          <td><%= app.description %></td>
          <td><%= app.application.name %></td>
          <td><%= app.click_counter %></td>
          <td>
            <div class="text-center">
              <div class="btn-group pull-center">
                <a class="btn btn-info edit_app" id='edit_app_<%= app.id %>' data-toggle="modal" data-target="#edit-application-instance-modal-<%= app.id %>" title="Edit Application">
                  <i class="fa fa-pencil"></i>
                </a>
                <a class="btn btn-danger del_app_inst" id='del_app_inst_<%= app.id %>' title="Delete Application Instance">
                  <i class="fa fa-times"></i>
                </a>
              </div>
            </div>
          </td>
        </tr>
        <% end %> 
      </tbody>
      <tfoot>
        <tr>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td><a class="btn btn-success teal-text pull-right" data-toggle="modal" data-target="#new-application-instance-modal"  title="Create New Application Instance"><i class="fa fa-plus"></i></a></td>
        </tr>
      </tfoot>
  </table>
  
negative.code:         <td>
            <div class="text-center">
              <div class="btn-group pull-center">
                <% if web_app %>
                  <i class="fa fa-info-circle fa-2x pull-right" title="Starting/Stopping this application will not affect the performance of your mazizone."></i>
                <% else %>
                <a class="btn btn-success start_app" id='start_app_<%= app.id %>' <%= 'disabled' if status == 'ON' || web_app %> title="<%= !web_app ? 'Start Application' : 'This is a web application, it always runs.' %>">
                  <i class="fa fa-play"></i>
                </a>
                <a class="btn btn-warning stop_app" id='stop_app_<%= app.id %>' <%= 'disabled' if status == 'OFF' || web_app %> title="<%= !web_app ? 'Stop Application' : 'This is a web application, it always runs.' %>">
                  <i class="fa fa-stop"></i>
                </a>
                <% end %>
  <!--               <a class="btn btn-info edit_app" id='edit_app_<%= app.id %>' data-toggle="modal" data-target="#edit-application-modal-<%= app.id %>" title="Edit Application">
                  <i class="fa fa-pencil"></i>
                </a>
  