stackviz/app/views/timeline.html
Tim Buckley 756d281ee4 Allow sharing of selected item by page URL.
This patch adds the ability for users to share a selected timeline
item via the page URL. When an item is selected, the page address
is updated to include the current test name as a parameter. If
this link is shared, the test named in the URL will automatically
be highlighed when the page is loaded.

Change-Id: I228d58e68ee986f621a3763bba1a565300c79023
2015-11-30 16:39:45 -07:00

44 lines
1.5 KiB
HTML

<header class="bs-header">
<div class="container">
<h1 class="page-header">
Timeline: {{ timeline.dataset.name }}
<small>#{{ timeline.dataset.id }}</small>
</h1>
</div>
</header>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="alert alert-danger" ng-if="!!timeline.error">
{{ timeline.error }}
</div>
</div>
</div>
<div class="row" ng-if="!timeline.error">
<div class="col-lg-8">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><fa name="clock-o" fw></fa> Timeline</h3>
</div>
<timeline class="panel-body"
dataset="timeline.dataset"
hovered-item="timeline.hoveredItem"
selected-item="timeline.selectedItem"
preselect="timeline.preselect"></timeline>
</div>
</div>
<div class="col-lg-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><fa name="info" fw></fa> Details</h3>
</div>
<timeline-details hovered-item="timeline.hoveredItem"
selected-item="timeline.selectedItem"></timeline-details>
</div>
</div>
</div>
</div>