зеркало из https://github.com/mozilla/treeherder.git
add jquery for new bootstrap. more layout fixes
This commit is contained in:
Родитель
681ebd2843
Коммит
e4fec68de7
|
@ -1,12 +1,12 @@
|
|||
body {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 500px;
|
||||
min-width: 1000px;
|
||||
padding-top: 60px;
|
||||
padding-bottom: 500px;
|
||||
min-width: 1000px;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
|
@ -49,10 +49,13 @@ body {
|
|||
|
||||
.revision {
|
||||
font-size: 10px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.platform {
|
||||
font-size: 11px;
|
||||
padding-left: 0;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.selected-job {
|
||||
|
@ -68,45 +71,9 @@ body {
|
|||
}
|
||||
|
||||
.job-btn {
|
||||
/*display: inline-block;*/
|
||||
margin: 0 -2px 0 0;
|
||||
/*text-align: center;*/
|
||||
/*cursor: pointer;*/
|
||||
/*background-color: #f5f5f5;*/
|
||||
/*border-color: #cccccc;*/
|
||||
/*-webkit-border-radius: 3px;*/
|
||||
/*-moz-border-radius: 3px;*/
|
||||
/*border-radius: 3px;*/
|
||||
}
|
||||
|
||||
/*.job-btn-success {*/
|
||||
/*color: #ffffff;*/
|
||||
/*text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);*/
|
||||
/*background-color: #5bb75b;*/
|
||||
/*border-color: #3d7a3d;*/
|
||||
/*}*/
|
||||
|
||||
/*.job-btn-danger {*/
|
||||
/*color: #ffffff;*/
|
||||
/*text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);*/
|
||||
/*background-color: #da4f49;*/
|
||||
/*border-color: #8d403a;*/
|
||||
/*}*/
|
||||
|
||||
/*.job-btn-mini {*/
|
||||
/*padding: 3px;*/
|
||||
/*font-size: 10px;*/
|
||||
/*border-width: 1px;*/
|
||||
/*border-style: solid;*/
|
||||
/*}*/
|
||||
|
||||
/*.job-btn-lg {*/
|
||||
/*padding: 7px;*/
|
||||
/*font-size: 17px;*/
|
||||
/*border: 5px solid black;*/
|
||||
/*z-index: -1;*/
|
||||
/*}*/
|
||||
|
||||
|
||||
/*Log Viewer*/
|
||||
|
||||
|
|
|
@ -10,35 +10,37 @@
|
|||
</head>
|
||||
<body ng-controller="MainCtrl">
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="#">Treeherder</a>
|
||||
<div class="navbar-collapse collapse">
|
||||
<!-- nav begin -->
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown" ng-controller="RepoDropDownCtrl">
|
||||
<a href="" class="dropdown-toggle" data-toggle="dropdown">Repos<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li ng-repeat="item in repos"><a href="" ng-click="changeRepo(item.name)">{{item.name}}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="divider-vertical"></li>
|
||||
<li><a href="">Help</a></li>
|
||||
</ul>
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="#">Treeherder</a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<!-- nav begin -->
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="dropdown" ng-controller="RepoDropDownCtrl">
|
||||
<a href="" class="dropdown-toggle" data-toggle="dropdown">Repos<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li ng-repeat="item in repos"><a href="" ng-click="changeRepo(item.name)">{{item.name}}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="divider-vertical"></li>
|
||||
<li><a href="">Help</a></li>
|
||||
</ul>
|
||||
<span class="navbar-text">
|
||||
<span class="label label-info">{{ repo }}</span>
|
||||
<span class="label label-info">0 unstarred</span>
|
||||
<p class="navbar-text pull-right">
|
||||
Logged in as <a href="#" class="navbar-link">{{ username }}</a>
|
||||
</p>
|
||||
<form class="navbar-form navbar-left pull-right"
|
||||
role="search">
|
||||
<div class="form-group">
|
||||
</span>
|
||||
<p class="navbar-text pull-right">
|
||||
Logged in as <a href="#" class="navbar-link">{{ username }}</a>
|
||||
</p>
|
||||
<form class="navbar-form navbar-left pull-right"
|
||||
role="search">
|
||||
<div class="form-group">
|
||||
<input type="text" ng-model="query" class="form-control" placeholder="Search">
|
||||
</div>
|
||||
</form>
|
||||
<!-- nav end -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- nav end -->
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
<ul class="nav nav-pills nav-stacked">
|
||||
|
@ -72,6 +74,7 @@
|
|||
<script src="vendor/angular/angular.js"></script>
|
||||
<script src="vendor/angular/angular-resource.js"></script>
|
||||
<script src="vendor/ui-bootstrap-tpls-0.6.0.js"></script>
|
||||
<script src="vendor/jquery-2.0.3.js"></script>
|
||||
<script src="vendor/bootstrap.js"></script>
|
||||
<script src="vendor/angular/angular-sanitize.min.js"></script>
|
||||
<script src="js/config/local.conf.js"></script>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</a>
|
||||
<a class="text-left btn btn-info revision-btn"
|
||||
ng-click="isCollapsedRevisions = !isCollapsedRevisions"
|
||||
ng-class="{'col-md-7': (isLoadingResults), 'col-md-9': (isLoadingResults==false)}">
|
||||
ng-class="{'col-md-8': (isLoadingResults), 'col-md-9': (isLoadingResults==false)}">
|
||||
<div class="text-left">{{resultset.push_timestamp*1000|date:'medium'}} - {{resultset.author}} - {{resultset.revision}}</div>
|
||||
</a>
|
||||
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Загрузка…
Ссылка в новой задаче