зеркало из https://github.com/mozilla/treeherder.git
Bug 1451428 - Remove unused settings panel (#3395)
Since it's hidden and has never been used. The `thSettingsPanel.html` partial is a leftover from when this feature was first added in3e625f3
/6b0c56e
.
This commit is contained in:
Родитель
3d50e32d4d
Коммит
163a94a2f6
|
@ -1,16 +1,3 @@
|
|||
/*
|
||||
* Shared navbar panel settings
|
||||
*/
|
||||
|
||||
.th-top-nav-options-panel {
|
||||
background-color: white;
|
||||
padding: 10px 10px 0;
|
||||
border-bottom: 1px solid black;
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Update notification panel
|
||||
*/
|
||||
|
|
|
@ -61,7 +61,6 @@ import './js/models/bug_suggestions';
|
|||
import './js/models/text_log_step';
|
||||
import './js/models/perf/series';
|
||||
import './js/controllers/main';
|
||||
import './js/controllers/settings';
|
||||
import './js/controllers/repository';
|
||||
import './js/controllers/notification';
|
||||
import './js/controllers/filters';
|
||||
|
|
|
@ -402,7 +402,6 @@ treeherderApp.controller('MainCtrl', [
|
|||
|
||||
// Shortcut: escape closes any open panels and clears selected job
|
||||
['escape', function () {
|
||||
$scope.$evalAsync($scope.setSettingsPanelShowing(false));
|
||||
$scope.$evalAsync($scope.closeJob());
|
||||
$scope.$evalAsync($scope.setOnscreenShortcutsShowing(false));
|
||||
}],
|
||||
|
@ -695,11 +694,6 @@ treeherderApp.controller('MainCtrl', [
|
|||
$scope.onscreenOverlayShowing = tf;
|
||||
};
|
||||
|
||||
$scope.isSettingsPanelShowing = false;
|
||||
$scope.setSettingsPanelShowing = function (tf) {
|
||||
$scope.isSettingsPanelShowing = tf;
|
||||
};
|
||||
|
||||
$scope.pinboardCount = thPinboard.count;
|
||||
$scope.pinnedJobs = thPinboard.pinnedJobs;
|
||||
$scope.jobFilters = thJobFilters;
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
import treeherderApp from '../treeherder_app';
|
||||
|
||||
treeherderApp.controller('SettingsCtrl',
|
||||
function SheriffController() {
|
||||
}
|
||||
);
|
|
@ -174,19 +174,6 @@
|
|||
</ul>
|
||||
</span>
|
||||
|
||||
<!-- Settings Button - currently suppressed -->
|
||||
<span ng-show="false"
|
||||
class="btn btn-view-nav btn-right-navbar nav-menu-btn"
|
||||
ng-class="{'active': (isSettingsPanelShowing)}"
|
||||
ng-click="setSettingsPanelShowing(!isSettingsPanelShowing)"
|
||||
tabindex="0"
|
||||
role="button"><span>Settings</span>
|
||||
<i class="fa fa-angle-down lightgray"
|
||||
ng-hide="isSettingsPanelShowing"></i>
|
||||
<i class="fa fa-angle-up lightgray"
|
||||
ng-show="isSettingsPanelShowing"></i>
|
||||
</span>
|
||||
|
||||
<!-- Login/Register Button -->
|
||||
<login on-user-change="$root.user = $event.user"></login>
|
||||
</span>
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
<div class="th-top-nav-options-panel" id="settings_panel" ng-controller="SettingsCtrl">
|
||||
<span>{{user}}</span>
|
||||
</div>
|
Загрузка…
Ссылка в новой задаче