зеркало из https://github.com/mozilla/treeherder.git
Bug 1162201 - Tweaks to frontend UI
This commit is contained in:
Родитель
bd362bd716
Коммит
3af53ecf6f
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 330 B |
|
@ -29,6 +29,7 @@ perf.config(function($stateProvider, $urlRouterProvider) {
|
|||
})
|
||||
// define the interception
|
||||
.run(function ($rootScope, $urlRouter, $location, $state) {
|
||||
$rootScope.$state = $state;
|
||||
$rootScope.$on('$locationChangeSuccess', function(e, newUrl, oldUrl) {
|
||||
// Prevent $urlRouter's default handler from firing
|
||||
e.preventDefault();
|
||||
|
|
|
@ -1,14 +1,3 @@
|
|||
<nav class="navbar navbar-default" role="navigation">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="#">Perfherder</a>
|
||||
</div>
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="#/graphs">Graphs</a></li>
|
||||
<li class="active"><a href="#/comparechooser">Compare</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="container-fluid">
|
||||
<form class="compare-form">
|
||||
<div class="form-group">
|
||||
|
|
|
@ -1,14 +1,3 @@
|
|||
<nav class="navbar navbar-default" role="navigation">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="#">Perfherder</a>
|
||||
</div>
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="#/graphs">Graphs</a></li>
|
||||
<li class="active"><a href="#/comparechooser">Compare</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="container-fluid">
|
||||
<div id="datapoint-detail" ng-show="originalRevision && newRevision">
|
||||
<div ng-if="dataLoading">
|
||||
|
|
|
@ -1,14 +1,3 @@
|
|||
<nav class="navbar navbar-default" role="navigation">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="#">Perfherder</a>
|
||||
</div>
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="#/graphs">Graphs</a></li>
|
||||
<li class="active"><a href="#/comparechooser">Compare</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="container-fluid">
|
||||
<div ng-if="dataLoading">
|
||||
Loading all results, please wait a minute...
|
||||
|
|
|
@ -1,14 +1,3 @@
|
|||
<nav class="navbar navbar-default" role="navigation">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="#">Perfherder</a>
|
||||
</div>
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="active"><a href="#/graphs">Graphs</a></li>
|
||||
<li><a href="#/comparechooser">Compare</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="container-fluid">
|
||||
<div class="ph-horizontal-layout">
|
||||
<div id="graph-chooser">
|
||||
|
|
15
ui/perf.html
15
ui/perf.html
|
@ -1,16 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html ng-app="perf">
|
||||
<head>
|
||||
<title>Perfherder Graphs</title>
|
||||
<title>Perfherder</title>
|
||||
<!-- build:css css/perf.min.css -->
|
||||
<link href="css/bootstrap.css" rel="stylesheet" media="screen">
|
||||
<link href="css/perf.css" rel="stylesheet" media="screen">
|
||||
<!-- endbuild -->
|
||||
<link id="favicon" type="image/png" rel="shortcut icon" href="img/tree_open.png">
|
||||
<link id="favicon" type="image/png" rel="shortcut icon" href="img/line_chart.png">
|
||||
<style>
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default" role="navigation">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="#">Perfherder</a>
|
||||
</div>
|
||||
<ul class="nav navbar-nav">
|
||||
<li ng-class="{active: $state.includes('graphs')}"><a href="#/graphs">Graphs</a></li>
|
||||
<li ng-class="{active: $state.current.name.indexOf('compare') >= 0}"><a href="#/comparechooser">Compare</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<section ui-view>
|
||||
</section>
|
||||
|
|
Загрузка…
Ссылка в новой задаче