Source code for the PTG event scheduling bot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.8KB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Currently at the PTG</title>
  6. <!-- Latest compiled and minified CSS -->
  7. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
  8. </head>
  9. <body>
  10. <div class="container">
  11. <h2>OpenStack Project Teams Gathering</h2>
  12. <p>See what is being discussed currently at the PTG, and what's coming next.<p>
  13. <div id="PTGsessions">
  14. </div>
  15. <p class="text-muted">Content on this page is being driven by room operators through the ptgbot on the #openstack-ptg IRC channel.</p>
  16. </div>
  17. <script id="PTGtemplate" type="text/x-handlebars-template">
  18. <div class="panel panel-default">
  19. <div class="panel-heading"><h3 class="panel-title">Currently playing...</h3></div>
  20. <table class="table">
  21. {{#each now}}
  22. <tr>
  23. <td class="col-sm-1"><span class="label label-primary">{{@key}}</span></td>
  24. <td>{{this}}</td>
  25. </tr>
  26. {{else}}
  27. <tr><td><small><i>Nothing yet</i></small><td></tr>
  28. {{/each}}
  29. </table>
  30. </div>
  31. <div class="panel panel-default">
  32. <div class="panel-heading"><h3 class="panel-title">Coming up next...</h3></div>
  33. <table class="table">
  34. {{#each next as |sessions room|}}
  35. <tr>
  36. <td class="col-sm-1"><span class="label label-primary">{{room}}</span></td>
  37. <td>
  38. {{#each sessions}}
  39. {{ this }}<br/>
  40. {{/each}}
  41. </td>
  42. </tr>
  43. {{else}}
  44. <tr><td><small><i>Nothing yet</i></small><td></tr>
  45. {{/each}}
  46. </table>
  47. </div>
  48. </script>
  49. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
  50. <script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.6/handlebars.js"></script>
  51. <script src="ptg.js"></script>
  52. </body>
  53. </html>