Removed trailing spaces
Change-Id: Ie827f1915246863c1a959e5c74fff92f2e648318
This commit is contained in:
parent
a108997f03
commit
59a5fb561d
@ -2,9 +2,9 @@ FROM ubuntu:trusty
|
||||
MAINTAINER Philippe Pepos Petitclerc <philippe.pepos-petitclerc@savoirfairelinux.com>
|
||||
|
||||
# Set the locale
|
||||
RUN locale-gen en_US.UTF-8
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
RUN locale-gen en_US.UTF-8
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
RUN apt-get update && apt-get install -yq git apache2 npm nodejs-legacy ruby
|
||||
|
@ -28,11 +28,11 @@ var AdagiosUI = (function() {
|
||||
|
||||
$activeHostCell
|
||||
.prev('th')
|
||||
.css('background-color', activeHostCell_bkgColor);
|
||||
.css('background-color', activeHostCell_bkgColor);
|
||||
};
|
||||
|
||||
var closeSidebar = function() {
|
||||
$('.sidebar__close').on('click', function() {
|
||||
$('.sidebar__close').on('click', function() {
|
||||
$('.topbar__toggle-sidebar').find('.topbar__button').trigger('click');
|
||||
});
|
||||
};
|
||||
@ -44,5 +44,5 @@ var AdagiosUI = (function() {
|
||||
syncBkgCheckbox : syncBkgCheckbox,
|
||||
closeSidebar : closeSidebar
|
||||
};
|
||||
|
||||
|
||||
})();
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// Dark Scheme
|
||||
//----------------------------------*/
|
||||
.color-scheme--dark {
|
||||
.color-scheme--dark {
|
||||
%colorTxtCurrent {
|
||||
color:$_color_dark_delta;
|
||||
}
|
||||
@ -41,12 +41,12 @@
|
||||
%colorBkgTopbar {
|
||||
background:$_color_dark_beta;
|
||||
}
|
||||
|
||||
|
||||
%colorBkgTopbarPanel {
|
||||
background:$_color_dark_alpha;
|
||||
}
|
||||
|
||||
%colorBkgTopbarButton {
|
||||
background:$_color_dark_beta;
|
||||
background:$_color_dark_beta;
|
||||
}
|
||||
}
|
||||
|
@ -208,7 +208,7 @@ table {
|
||||
|
||||
//@include medium-and-up-screen {
|
||||
// display:table;
|
||||
// overflow-x:visible;
|
||||
// overflow-x:visible;
|
||||
//}
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
border: 0;
|
||||
overflow: hidden;
|
||||
text-indent: -9999px;
|
||||
|
||||
|
||||
&:before {
|
||||
content: "";
|
||||
display: block;
|
||||
|
@ -24,34 +24,34 @@
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
[class^="ico-"]:before, [class*=" ico-"]:before {
|
||||
font-family: "adagios-fontawesome";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
speak: none;
|
||||
|
||||
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
width: 1em;
|
||||
margin-right: .2em;
|
||||
text-align: center;
|
||||
/* opacity: .8; */
|
||||
|
||||
|
||||
/* For safety - reset parent styles, that can break glyph codes*/
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
|
||||
|
||||
/* fix buttons height, for twitter bootstrap */
|
||||
line-height: 1em;
|
||||
|
||||
|
||||
/* Animation center compensation - margins should be symmetric */
|
||||
/* remove if not needed */
|
||||
margin-left: .2em;
|
||||
|
||||
|
||||
/* you can be more comfortable with increased icons size */
|
||||
/* font-size: 120%; */
|
||||
|
||||
|
||||
/* Uncomment for 3D effect */
|
||||
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
.layout__main {
|
||||
width:100%;
|
||||
|
||||
|
||||
@include medium-and-up-screen {
|
||||
display:table-cell;
|
||||
vertical-align:top;
|
||||
|
@ -119,7 +119,7 @@
|
||||
.main__content__header {
|
||||
|
||||
.main__content__title,
|
||||
.main__content__alert {
|
||||
.main__content__alert {
|
||||
|
||||
@include large-xlarge-screen {
|
||||
float:left;
|
||||
|
@ -3,7 +3,7 @@
|
||||
//----------------------------------*/
|
||||
.panes {
|
||||
//background:aquamarine;
|
||||
//border:5px solid red;
|
||||
//border:5px solid red;
|
||||
display:block;
|
||||
overflow-x:auto;
|
||||
width:auto;
|
||||
@ -26,15 +26,15 @@
|
||||
}
|
||||
|
||||
.panes__container {
|
||||
//background:indigo;
|
||||
display:table;
|
||||
//background:indigo;
|
||||
display:table;
|
||||
width:auto;
|
||||
width:840px;
|
||||
|
||||
@include medium-and-up-screen {
|
||||
display:table-row;
|
||||
min-width:0;
|
||||
position:static;
|
||||
position:static;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@
|
||||
.problems__name {
|
||||
&:after {
|
||||
background:transparent;
|
||||
border:1px solid;
|
||||
border:1px solid;
|
||||
border-radius:0 0 0 5px;
|
||||
content:"";
|
||||
display:block;
|
||||
@ -174,6 +174,6 @@
|
||||
|
||||
.color-scheme--light & {
|
||||
background:$_color_light_gamma;
|
||||
color:$_color_alpha;
|
||||
color:$_color_alpha;
|
||||
}
|
||||
}
|
@ -12,7 +12,7 @@
|
||||
.tabpanel__tab {
|
||||
border-style:solid;
|
||||
border-width:0 0 1px;
|
||||
display:block;
|
||||
display:block;
|
||||
line-height:1;
|
||||
margin:0 0 0 ($_space / 3);
|
||||
padding:0 $_space .5em 0;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// BUTTON MODULE
|
||||
//----------------------------------*/
|
||||
%button-reset {
|
||||
background:transparent;
|
||||
background:transparent;
|
||||
border:0;
|
||||
display:inline-block;
|
||||
padding:0;
|
||||
|
@ -3,7 +3,7 @@
|
||||
//----------------------------------*/
|
||||
.sidebar-wrapper {
|
||||
@extend %colorBkgPanel;
|
||||
padding-bottom:em(72+$_space, $_base_font_size);
|
||||
padding-bottom:em(72+$_space, $_base_font_size);
|
||||
}
|
||||
|
||||
//.sidebar {}
|
||||
|
@ -27,7 +27,7 @@
|
||||
margin: 0px;
|
||||
line-height: 35px;
|
||||
cursor: pointer;
|
||||
/*
|
||||
/*
|
||||
.collapsed{
|
||||
.arrow:before{
|
||||
font-family: FontAwesome;
|
||||
|
@ -17,4 +17,4 @@
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<th>Hosts</th>
|
||||
<td>{{totalHosts}}</td>
|
||||
<td class="state--error alerts">{{hostProblems}}</td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Services</th>
|
||||
<td>{{totalServices}}</td>
|
||||
|
@ -3,11 +3,11 @@
|
||||
<div class="panes__pane" ng-if="statusOverview">
|
||||
<bansho-status-overview></bansho-status-overview>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="panes__pane" ng-if="currentHealth">
|
||||
<bansho-current-health></bansho-current-health>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="panes__pane" ng-if="topAlertProducers">
|
||||
<bansho-top-alert-producers></bansho-top-alert-producers>
|
||||
</div>
|
||||
|
@ -9,6 +9,6 @@
|
||||
<tr ng-repeat="host in hosts">
|
||||
<th>{{ host.host_name }}</th>
|
||||
<td class="state--error">{{ host.problems }}</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -87,7 +87,7 @@
|
||||
&.topbar__button--hover {
|
||||
transition-duration: 0.5s;
|
||||
transition-property: color, background-color;
|
||||
|
||||
|
||||
&[aria-expanded="true"],
|
||||
&:hover {
|
||||
.color-scheme--dark & {
|
||||
@ -128,9 +128,9 @@
|
||||
}
|
||||
|
||||
.topbar__notifications {
|
||||
|
||||
|
||||
.ico-bell-alt {
|
||||
|
||||
|
||||
&:after {
|
||||
background:$_color_error;
|
||||
border-radius:100%;
|
||||
@ -169,7 +169,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.topbar__settings {
|
||||
.topbar__settings {
|
||||
|
||||
.ico-sliders:before {
|
||||
@include vendor(transform, rotate(90deg));
|
||||
|
@ -22,7 +22,7 @@
|
||||
<span class="visuallyhidden">Voir les notifications</span>
|
||||
<i class="ico-bell-alt" data-notifications="{{allProblems}}"></i>
|
||||
</button>
|
||||
|
||||
|
||||
<div class="topbar__panel--fromleft collapse" id="notificationsPanel">
|
||||
<div class="topbar__panel__content tabpanel">
|
||||
<ul class="tablist clearfix">
|
||||
@ -47,13 +47,13 @@
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="tab-content">
|
||||
<div role="tabpanel" class="problems tab-pane active" id="topOpenProblems">
|
||||
<ol class="problems__list">
|
||||
<li class="problems__item">
|
||||
<strong class="problems__host state--ok">localhost</strong>
|
||||
|
||||
|
||||
<dl class="problems__desclist">
|
||||
<dt class="problems__name state--warning">
|
||||
<span>Root partition</span>
|
||||
@ -64,7 +64,7 @@
|
||||
</li>
|
||||
<li class="problems__item">
|
||||
<strong class="problems__host state--warning">www.theatlantic.com</strong>
|
||||
|
||||
|
||||
<dl class="problems__desclist">
|
||||
<dt class="problems__name state--warning">
|
||||
<span>HTTP www.theatlantic.com</span>
|
||||
@ -75,20 +75,20 @@
|
||||
</li>
|
||||
<li class="problems__item">
|
||||
<strong class="problems__host state--error">www.savoirfairelinux.com</strong>
|
||||
|
||||
|
||||
<dl class="problems__desclist">
|
||||
<dt class="problems__name state--warning">
|
||||
<span>Verbis se superiores opere enim</span>
|
||||
<small class="problems__duration">8 days, 5 hours</small>
|
||||
</dt>
|
||||
<dd class="problems__description">Check_http: invalid onedirection option - $</dd>
|
||||
|
||||
|
||||
<dt class="problems__name state--error">
|
||||
<span>CPU utilization</span>
|
||||
<small class="problems__duration">1 days, 3 hours</small>
|
||||
</dt>
|
||||
<dd class="problems__description">NRPE: Command checkCPU not defined</dd>
|
||||
|
||||
|
||||
<dt class="problems__name state--ok">
|
||||
<span>Runnning services</span>
|
||||
<small class="problems__duration">1 days, 12 hours</small>
|
||||
@ -97,10 +97,10 @@
|
||||
</dl>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
|
||||
<button class="problems__viewall" type="button">View all open problems</button>
|
||||
</div>
|
||||
|
||||
|
||||
<div role="tabpanel" class="tab-pane" id="topAllProblems">
|
||||
ALL PROBLEMS
|
||||
</div>
|
||||
@ -108,7 +108,7 @@
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<ul class="topbar__list topbar__list--right">
|
||||
<li class="topbar__item topbar__settings">
|
||||
<button class="topbar__button topbar__button--hover"
|
||||
@ -120,13 +120,13 @@
|
||||
<span class="visuallyhidden">Afficher la liste des paramètres</span>
|
||||
<i class="ico-sliders"></i>
|
||||
</button>
|
||||
|
||||
|
||||
<div class="topbar__panel--fromright collapse" id="settingsPanel">
|
||||
<nav class="topbar__panel__content" role="navigation">
|
||||
<ul class="topbar__settings__list">
|
||||
<li class="topbar__settings__item">
|
||||
<span class="topbar__settings__category">Bansho</span>
|
||||
|
||||
|
||||
<ul class="topbar__settings__sublist">
|
||||
<li class="topbar__settings__subitem"><a href="#">Missing Plugins</a></li>
|
||||
<li class="topbar__settings__subitem"><a href="#">Object History</a></li>
|
||||
@ -144,7 +144,7 @@
|
||||
<span class="visuallyhidden">Lancer une recherche</span>
|
||||
<i class="ico-search"></i>
|
||||
</button>
|
||||
|
||||
|
||||
<label class="visuallyhidden" for="searchfield">Recherche</label>
|
||||
<input id="searchfield" type="search" class="topbar__searchfield form-control" placeholder="Search hosts, services, ...">
|
||||
</form>
|
||||
|
@ -1,14 +1,14 @@
|
||||
<article ng-controller="DashboardCtrl" id="tactical">
|
||||
<header class="main__overview">
|
||||
<h2 class="main__overview__title">{{dashboardTactical[0].title}}</h2>
|
||||
|
||||
|
||||
<bansho-tactical status-overview="{{dashboardTactical[0].statusOverview}}"
|
||||
current-health="{{dashboardTactical[0].currentHealth}}"
|
||||
top-alert-producers="{{dashboardTactical[0].topAlertProducers}}"
|
||||
refresh-interval="{{dashboardRefreshInterval}}"></bansho-tactical>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
|
||||
<section class="main__content tabpanel">
|
||||
<nav>
|
||||
<ul class="tablist clearfix">
|
||||
@ -34,16 +34,16 @@
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
<bansho-table-actionbar></bansho-table-actionbar>
|
||||
|
||||
|
||||
<div class="tab-content">
|
||||
<div role="tabpanel" class="problems tab-pane active" id="openProblems">
|
||||
<span ng-hide="nbHostOpenProblems == 0">
|
||||
<header class="main__content__header clearfix">
|
||||
<h2 class="main__content__title">{{dashboardTables[0].title}}</h2>
|
||||
<p class="main__content__alert state--error">
|
||||
There
|
||||
There
|
||||
<ng-pluralize count="nbHostOpenProblems" when="{'0':'is', '1': 'is', 'other': 'are'}">
|
||||
</ng-pluralize>
|
||||
are {{nbHostOpenProblems}} host
|
||||
@ -68,7 +68,7 @@
|
||||
<header class="main__content__header clearfix">
|
||||
<h2 class="main__content__title">{{dashboardTables[1].title}}</h2>
|
||||
<p class="main__content__alert state--error">
|
||||
There
|
||||
There
|
||||
<ng-pluralize count="nbServiceOpenProblems" when="{'0':'is', '1': 'is', 'other': 'are'}">
|
||||
</ng-pluralize>
|
||||
{{nbServiceOpenProblems}} service
|
||||
@ -86,16 +86,16 @@
|
||||
refresh-interval="{{dashboardRefreshInterval}}"
|
||||
additionnal-query-fields="{{dashboardTables[1].additionnalQueryFields}}"
|
||||
table-id="1"></bansho-table>
|
||||
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
<div role="tabpanel" class="problems tab-pane" id="allProblems">
|
||||
<span ng-hide="nbHostProblems == 0">
|
||||
<header class="main__content__header clearfix">
|
||||
<h2 class="main__content__title">{{dashboardTables[2].title}}</h2>
|
||||
<p class="main__content__alert state--error">
|
||||
There
|
||||
There
|
||||
<ng-pluralize count="nbHostProblems" when="{'0':'is', '1': 'is', 'other': 'are'}"/>
|
||||
</ng-pluralize>
|
||||
{{nbHostProblems}} host
|
||||
@ -118,7 +118,7 @@
|
||||
<header class="main__content__header clearfix">
|
||||
<h2 class="main__content__title">{{dashboardTables[3].title}}</h2>
|
||||
<p class="main__content__alert state--error">
|
||||
There
|
||||
There
|
||||
<ng-pluralize count="nbServiceProblems" when="{'0':'is', '1': 'is', 'other': 'are'}"/>
|
||||
</ng-pluralize>
|
||||
{{nbServiceProblems}} service
|
||||
@ -138,6 +138,6 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
</article>
|
||||
|
Loading…
x
Reference in New Issue
Block a user