Sha256: fa19d828507694562220f33784101b2df621c74ac849b98518598b7e11793325

Contents?: true

Size: 1.96 KB

Versions: 68

Compression:

Stored size: 1.96 KB

Contents

<div class="panel panel-default cdb_panel" id="activities-future-container">
  <div class="panel-heading">
    <h3 id="activities_future_h3" class="panel-title adjusted-panel-title">
      <a data-toggle="collapse" data-parent="#accordion" href="#activity_futureCollapse">
        Activities - Future
      </a>
    </h3>
  </div>
  <div id="activity_futureCollapse" class="panel-collapse collapse in">
    <div class="panel-body">
      <div class="table-responsive div-table-viz">
        <table class="table table-hover  data-table" id="activities_future">
          <thead>
          <tr>
            <th class="not-displayed"></th>
            <th class="not-displayed"></th>
            <th>Activity</th>
            <th>Predicted Pleasure Rating</th>
            <th>Predicted Accomplishment Rating</th>
            <th>Scheduled Date</th>
            <th>Created Date</th>
          </tr>
          </thead>
          <tbody>
          <%= render partial: "think_feel_do_engine/activities/activity_coach_view_future", collection: @participant.activities.unscheduled_or_in_the_future, as: :activity %>
          </tbody>
        </table>

        <table id="activities_legend" class="table">
          <tr>
            <td class="success">High Pleasure/Accomplishment</td>
            <td class="info">Low Pleasure, High Accomplishment</td>
            <td class="warning">High Pleasure, Low Accomplishment</td>
            <td class="danger">Low Pleasure/Accomplishment</td>
          </tr>
        </table>
      </div>
    </div>
  </div>
</div>

<script type="text/javascript">
  $(function() {
    return $('#activities_future').dataTable({
      order: [[6, 'desc']],
      columnDefs: [
        {
          targets: [0],
          visible: false
        },
        {
          targets: [5],
          orderData: [0]
        },
        {
          targets: [1],
          visible: false
        },
        {
          targets: [6],
          orderData: [1]
        }
      ]
    });
  });
</script>

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.22.8 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.22.7 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.22.6 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.22.5 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.22.4 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.22.2 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.22.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.22.0 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.21.2 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.21.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.21.0 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.20.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.19.9 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.19.8 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.19.7 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.19.6 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.19.5 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.19.4 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb
think_feel_do_engine-3.19.3 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_future_activities_table.html.erb