]> git.sesse.net Git - ultimatescore/blobdiff - score.html
Check in some scripts based on OR-tools to try to generate good group schedules.
[ultimatescore] / score.html
index 8f535a43d1da050920f48583630dc429a215177c..3985d78fc62bb5d99ed70fbd1345aafd244aca95 100644 (file)
       <table class="scorebug">
         <tr>
           <td class="team1color" id="team1color"></td>
-          <td class="team1" id="team1">PCL</td>
-          <td class="score" id="score">17&nbsp;–&nbsp;11</td>
-          <td class="team2" id="team2">NMBUI</td>
+          <td class="team1" id="team1">TM1</td>
+          <td class="score" id="score">0&nbsp;–&nbsp;0</td>
+          <td class="team2" id="team2">TM2</td>
           <td class="team2color" id="team2color"></td>
         </tr>
       </table>
       <table class="clockbug clockbug-hidden" id="clockbug">
         <tr>
-          <td class="clock" id="clock">25:00</td>
+          <td class="clock" id="clock">0:00</td>
         </tr>
       </table>
       <table class="commentbug commentbug-hidden" id="commentbug">
           <td class="comment" id="comment">Pagacap: First to 9 points</td>
         </tr>
       </table>
+      <table class="scorebug scorebug2" id="scorebug2" style="display: none">
+        <tr>
+          <td class="team1" id="score2_team1">TM3</td>
+          <td class="score" id="score2_score">0&nbsp;–&nbsp;0</td>
+          <td class="team2" id="score2_team2">TM4</td>
+        </tr>
+      </table>
+      <table class="clockbug2 clockbug-hidden" id="clockbug2" style="display: none">
+        <tr>
+          <td class="clock" id="clock2">0:00</td>
+        </tr>
+      </table>
     </div>
     <div class="lowerthird-headline lowerthird-headline-hidden" id="lowerthird-headline"><div class="lowerthird-headline-content lowerthird-headline-content-hidden" id="lowerthird-headline-content">
-      John Doe<br>Ola Nordmann
+      Call on the field: Foul
     </div></div>
     <div class="lowerthird-subheading lowerthird-subheading-hidden" id="lowerthird-subheading"><div class="lowerthird-subheading-content lowerthird-subheading-content-hidden" id="lowerthird-subheading-content">
-      Commentators, Trøndisk 2016
+      Commentators, Trøndisk 2018
+    </div></div>
+    <div class="lowerthird-picture lowerthird-picture-hidden" id="lowerthird-picture"><div class="lowerthird-picture-content lowerthird-picture-content-hidden" id="lowerthird-picture-content">
+      <img src="foul.png" id="lowerthird-img" style="display: none">
     </div></div>
     <table id="carousel">
     </table>
@@ -42,7 +57,7 @@
       <p>
         <a href="javascript:startclock()">start clock</a>
         <a href="javascript:stopclock()">stop clock</a>
-        <a href="javascript:setclock(25*60)">reset clock</a>
+        <a href="javascript:setclock(0)">reset clock</a>
         <a href="javascript:showclock()">show clock</a>
         <a href="javascript:hideclock()">hide clock</a>
       </p>
       <p>
         <a href="javascript:showlowerthird()">show lower third</a>
         <a href="javascript:hidelowerthird()">hide lower third</a>
+        <a href="javascript:showmatch2()">show match 2</a>
+        <a href="javascript:hidematch2()">hide match 2</a>
       </p>
       <p>
         <a href="javascript:stopcarousel();hidetable();showscorebug()">show scorebug</a>
+        <a href="javascript:stopcarousel();showroster('TFK')">show roster 1</a>
+        <a href="javascript:stopcarousel();showroster('ESK')">show roster 2</a>
+        <a href="javascript:stopcarousel();showrostercarousel('TFK', 'ESK')">show roster 1+2</a>
         <a href="javascript:stopcarousel();showgroup('Group A')">show group A</a>
         <a href="javascript:stopcarousel();showgroup('Group B')">show group B</a>
         <a href="javascript:stopcarousel();showschedule()">show schedule</a>
       </p>
     </div>
 
+<script src="jsrsasign-all-min.js" type="text/javascript"></script>
+
 <script src="carousel.js" type="text/javascript"></script>
 <script src="score.js" type="text/javascript"></script>
+<script src="quickl3.js" type="text/javascript"></script>
+<script src="roster.js" type="text/javascript"></script>
+<script src="update_sheets.js" type="text/javascript"></script>
   </body>
 </html>