Add row numbering to talk vote page
authorMagnus Hagander <magnus@hagander.net>
Fri, 24 Aug 2018 09:32:31 +0000 (11:32 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 24 Aug 2018 09:32:31 +0000 (11:32 +0200)
Since we can now filter out talks, it makes the row numbering a lot more
useful.

template/confreg/sessionvotes.html

index 4ce88ce4321026778c04e075be3e32bc9b400267..ea37e9c40eec9c5c92c8eaf6f343583fffe964dc 100644 (file)
@@ -211,6 +211,7 @@ width: 100%;
 
 <table id="votetable" class="table table-bordered table-condensed" style="display:none">
  <tr>
+  <th style="width: 1%">Seq</th>
   <th class="col-md-6"><a href="?{{urlfilter}}sort=session">Session</a> | <a href="?{{urlfilter}}sort=speakers">Speakers</a></th>
   <th>Status</th>
   {%for u in users%}
@@ -221,6 +222,7 @@ width: 100%;
  </tr>
 {%for s in sessionvotes%}
  <tr>
+   <td class="text-center">{{forloop.counter}}</td>
    <td>
      <div class="talkaccd">
        <h3>{{s.title}} ({{s.speakers}})</h3>