app/soc/templates/soc/program/allocation/row.html
author Sverre Rabbelier <srabbelier@gmail.com>
Wed, 08 Apr 2009 22:20:00 +0000
changeset 2129 f6ca1647bff7
parent 2105 eb92d9a6b027
permissions -rw-r--r--
Use slots allocated instead of adjustment in slots view Patch by: Sverre Rabbelier
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1705
1dbce30b5757 Added a slot allocation view
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     1
<tr class="off" onmouseover="this.className='on'" onmouseout="this.className='off'" name="name">
1dbce30b5757 Added a slot allocation view
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     2
  <td><div class="name">{{ list.item.name }}</div></td>
1760
393891d794e2 Hide 'slots' and add 'slots_desired'
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1735
diff changeset
     3
  <td><div class="desired">{{ list.item.slots_desired }}</div></td>
2105
eb92d9a6b027 Add the amount of proposals and mentors to slots view
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1760
diff changeset
     4
  <td><div class="proposals">{{ list.item.nr_applications }}</div></td>
eb92d9a6b027 Add the amount of proposals and mentors to slots view
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1760
diff changeset
     5
  <td><div class="mentors">{{ list.item.nr_mentors }}</div></td>
1735
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1705
diff changeset
     6
  <td>
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1705
diff changeset
     7
      <div class="locked" id="locked_slot_count_{{ list.item.link_id }}">
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1705
diff changeset
     8
      <input type="checkbox" id="id_locked_slot_{{ list.item.link_id }}"
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1705
diff changeset
     9
       onchange="javascript:lockSlots(this);" />
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1705
diff changeset
    10
      </div>
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1705
diff changeset
    11
  </td>
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1705
diff changeset
    12
  <td>
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1705
diff changeset
    13
    <div class="slots" id="id_slot_count_{{ list.item.link_id }}">
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1705
diff changeset
    14
    <input type="text" id="id_spin_slot_count_{{ list.item.link_id }}"
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1705
diff changeset
    15
     size="3" value="0" onchange="javascript:assignSlots(this)"/>
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1705
diff changeset
    16
    </div>
0298b9c87c65 Update the slot allocation view and template
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1705
diff changeset
    17
  </td>
2129
f6ca1647bff7 Use slots allocated instead of adjustment in slots view
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2105
diff changeset
    18
  <td><div class="raw">{{ list.item.slots_calculated }}</div></td>
1705
1dbce30b5757 Added a slot allocation view
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
    19
</tr>