![Thierry Carrez](/assets/img/avatar_default.png)
A long-wanted feature! Since the MOTD can only be controlled by an admin, the risk of abuse is very limited. Change-Id: Iff6263059d76c9b75ae26e029e3063992ab7cb76
168 lines
6.2 KiB
HTML
168 lines
6.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="refresh" content="180">
|
|
<title>Project Teams Gathering - Currently at the PTG</title>
|
|
<!-- Latest compiled and minified CSS -->
|
|
<link rel="stylesheet" href="bootstrap-3.3.7.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<nav class="navbar navbar-default">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header navbar-brand"><img src="/logo.png" height="22"></div>
|
|
<div class="navbar-header navbar-brand">Project Teams Gathering</div>
|
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
|
<ul class="nav navbar-nav">
|
|
<li class="active"><a href="ptg.html">Currently at the PTG</a></li>
|
|
<li><a href="etherpads.html">List of Etherpads</a></li>
|
|
<li><a href="index.html">Useful links</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<script id="MOTDTemplate" type="text/x-handlebars-template">
|
|
{{#each motd}}
|
|
<div class="alert alert-{{this.level}}" role="alert">{{ linkify this.message }}</div>
|
|
{{/each}}
|
|
</script>
|
|
<div id="MOTD"></div>
|
|
|
|
<p>See what is being discussed currently at the PTG, and what's coming next.<p>
|
|
<div id="PTGsessions">
|
|
</div>
|
|
</div>
|
|
<script id="PTGtemplate" type="text/x-handlebars-template">
|
|
<style>
|
|
.bot-help {
|
|
font-size: 85%;
|
|
font-style: italic;
|
|
padding-left: 8px;
|
|
padding-bottom: 4px;
|
|
}
|
|
{{#each colors as |color track|}}
|
|
.{{track}} {
|
|
background-color: {{color}};
|
|
}
|
|
{{/each}}
|
|
</style>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading"><h3 class="panel-title">Current discussion topics</h3></div>
|
|
<table class="table">
|
|
{{#each tracks as |track| }}
|
|
{{#if (lookup @root.now track) }}
|
|
<tr>
|
|
<td class="col-sm-1">{{trackbadge @root.urls @root.location @root.schedule track}}</span></td>
|
|
<td>{{#trackContentLine}}{{lookup @root.now track}}{{/trackContentLine}}</td>
|
|
<td>
|
|
{{#if (checkins track)}}
|
|
<a href="#" title="{{checkedin track}}">
|
|
<span class="badge">{{checkins track}}</span>
|
|
</a>
|
|
{{/if}}
|
|
</td>
|
|
</tr>
|
|
{{/if}}
|
|
{{else}}
|
|
<tr><td><small><i>Nothing yet</i></small><td></tr>
|
|
{{/each}}
|
|
</table>
|
|
<div class="bot-help">
|
|
Use <code>#TRACK now INFO</code> to set;
|
|
this also clears "Coming up next..." info below.
|
|
<a href="https://opendev.org/openstack/ptgbot/src/branch/master/README.rst">(more help)</a>
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading"><h3 class="panel-title">Coming up next...</h3></div>
|
|
<table class="table">
|
|
{{#each tracks as |track| }}
|
|
{{#if (lookup @root.next track) }}
|
|
<tr>
|
|
<td class="col-sm-1">{{trackbadge @root.urls @root.location @root.schedule track}}</span></td>
|
|
<td>
|
|
{{#each (lookup @root.next track) as |item|}}
|
|
{{#trackContentLine}}{{item}}{{/trackContentLine}} <br/>
|
|
{{/each}}
|
|
</td>
|
|
</tr>
|
|
{{/if}}
|
|
{{else}}
|
|
<tr><td><small><i>Nothing yet</i></small><td></tr>
|
|
{{/each}}
|
|
</table>
|
|
<div class="bot-help">
|
|
Use <code>#TRACK next INFO</code> to append.
|
|
<a href="https://opendev.org/openstack/ptgbot/src/branch/master/README.rst">(more help)</a>
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading"><h3 class="panel-title">Scheduled tracks</h3></div>
|
|
<div class="panel-body">
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
{{#each slots as |times day|}}
|
|
<li role="presentation"><a id='st{{day}}' href="#s{{day}}" aria-controls="s{{day}}" role="tab" data-toggle="tab">{{day}}</a></li>
|
|
{{/each}}
|
|
</ul>
|
|
<!-- Tab panes -->
|
|
<div class="tab-content">
|
|
{{#each slots as |times day|}}
|
|
<div role="tabpanel" class="tab-pane" id="s{{day}}">
|
|
<table class="table table-condensed">
|
|
<thead><tr><th></th>
|
|
{{#each times as |time|}}
|
|
<th {{ activetime time }}>{{ displaytime time }}</th>
|
|
{{/each}}
|
|
</tr></thead>
|
|
{{#each @root.schedule as |sched room|}}
|
|
{{#if (roomactive @root.schedule room times)}}
|
|
<tr><td>{{room}}{{#if sched.cap_icon}}
|
|
<span class="glyphicon glyphicon-{{sched.cap_icon}}"
|
|
title="{{sched.cap_desc}}"></span>{{/if}}</td>
|
|
{{#each (lookup @root.slots day) as |time|}}
|
|
<td {{ activetime time }}">{{ roomcode @root.urls @root.schedule room time.name 0 }}</td>
|
|
{{/each}}
|
|
</tr>
|
|
{{/if}}
|
|
{{/each}}
|
|
</table>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
<div class="bot-help">
|
|
Use <code>#TRACK book SLOTREF</code> to book one of the empty slots with the ptgbot.
|
|
<a href="https://opendev.org/openstack/ptgbot/src/branch/master/README.rst">(more help)</a>
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading"><h3 class="panel-title">Worried about missing discussions on your favourite topic?</h3></div>
|
|
<div class="bot-help">
|
|
Message the bot with <code>#subscribe REGEXP</code> to get a
|
|
notification message when any topic matching that REGEXP is being
|
|
discussed or up next.
|
|
<a href="https://opendev.org/openstack/ptgbot/src/branch/master/README.rst">(more help)</a>
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading"><h3 class="panel-title">Looking for someone, or want to be easy to find?</h3></div>
|
|
<div class="bot-help">
|
|
Use <code>#seen NICK</code> to see if a user has checked in to a particular location.
|
|
Use <code>#in LOCATION</code> to check in somewhere, and <code>#out</code> to check out.
|
|
<br />
|
|
Presence-tracking commands can also be sent privately to the bot.
|
|
<a href="https://opendev.org/openstack/ptgbot/src/branch/master/README.rst">(more help)</a>
|
|
</div>
|
|
</div>
|
|
<p class="text-muted">Content on this page is being driven by room operators through the <a href="https://opendev.org/openstack/ptgbot/src/branch/master/README.rst">openstackptg bot</a> on the <a href="http://eavesdrop.openstack.org/irclogs/%23openstack-ptg/">#openstack-ptg IRC channel</a>. It was last refreshed on {{timestamp}}.</p>
|
|
</script>
|
|
|
|
<script src="jquery-1.9.1.min.js"></script>
|
|
<script src="handlebars-4.0.6.js"></script>
|
|
<script src="bootstrap-3.3.7.min.js"></script>
|
|
<script src="motd.js"></script>
|
|
<script src="ptg.js"></script>
|
|
</body>
|
|
</html>
|