<!doctype html>
<html dir="$i18n{textdirection}" lang="$i18n{language}">
<head>
<meta charset="utf-8">
<title>Predictors</title>
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
<link rel="stylesheet" href="predictors.css">
</head>
<body>
<cr-tab-box id="predictor-page">
<div slot="tab">Autocomplete Action Predictor</div>
<div slot="tab">Resource Prefetch Predictor</div>
<div slot="panel">
<div id="autocompleteActionPredictorEnabledMode" hidden>
<label>
<input id="filter" type="checkbox" disabled>
Filter zero confidences
</label>
<h2 id="countBanner"></h2>
<!-- TODO(dominich): Sorting. -->
<table id="databaseTable">
<thead>
<tr>
<th>User Text</th>
<th>URL</th>
<th>Hit Count</th>
<th>Miss Count</th>
<th>Confidence</th>
</tr>
</thead>
<tbody id="databaseTableBody"></tbody>
</table>
</div>
<div id="autocompleteActionPredictorDisabledMode" hidden>
<p>Autocomplete Action Predictor is disabled.</p>
</div>
</div>
<div slot="panel">
<div id='rpp_enabled'>
<table>
<thead>
<tr>
<th>Host</th>
<th>Origin</th>
<th>Num Hits</th>
<th>Num Misses</th>
<th>Consec Misses</th>
<th>Average Position</th>
<th>Always Access Net</th>
<th>Accessed Net</th>
<th>Score</th>
</tr>
</thead>
<tbody id="rpp_origin_body"></tbody>
</table>
</div>
<div id='rpp_disabled'>
Resource prefetch prediction is disabled.
</div>
</div>
</cr-tab-box>
<script type="module" src="predictors.js"></script>
</body>
</html>