Removed trailing spaces

Change-Id: Ie827f1915246863c1a959e5c74fff92f2e648318
This commit is contained in:
aviau 2015-05-20 12:12:16 -04:00
parent a108997f03
commit 59a5fb561d
21 changed files with 64 additions and 64 deletions

View File

@ -2,9 +2,9 @@ FROM ubuntu:trusty
MAINTAINER Philippe Pepos Petitclerc <philippe.pepos-petitclerc@savoirfairelinux.com> MAINTAINER Philippe Pepos Petitclerc <philippe.pepos-petitclerc@savoirfairelinux.com>
# Set the locale # Set the locale
RUN locale-gen en_US.UTF-8 RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
RUN apt-get update && apt-get install -yq git apache2 npm nodejs-legacy ruby RUN apt-get update && apt-get install -yq git apache2 npm nodejs-legacy ruby

View File

@ -28,11 +28,11 @@ var AdagiosUI = (function() {
$activeHostCell $activeHostCell
.prev('th') .prev('th')
.css('background-color', activeHostCell_bkgColor); .css('background-color', activeHostCell_bkgColor);
}; };
var closeSidebar = function() { var closeSidebar = function() {
$('.sidebar__close').on('click', function() { $('.sidebar__close').on('click', function() {
$('.topbar__toggle-sidebar').find('.topbar__button').trigger('click'); $('.topbar__toggle-sidebar').find('.topbar__button').trigger('click');
}); });
}; };
@ -44,5 +44,5 @@ var AdagiosUI = (function() {
syncBkgCheckbox : syncBkgCheckbox, syncBkgCheckbox : syncBkgCheckbox,
closeSidebar : closeSidebar closeSidebar : closeSidebar
}; };
})(); })();

View File

@ -10,7 +10,7 @@
// Dark Scheme // Dark Scheme
//----------------------------------*/ //----------------------------------*/
.color-scheme--dark { .color-scheme--dark {
%colorTxtCurrent { %colorTxtCurrent {
color:$_color_dark_delta; color:$_color_dark_delta;
} }
@ -41,12 +41,12 @@
%colorBkgTopbar { %colorBkgTopbar {
background:$_color_dark_beta; background:$_color_dark_beta;
} }
%colorBkgTopbarPanel { %colorBkgTopbarPanel {
background:$_color_dark_alpha; background:$_color_dark_alpha;
} }
%colorBkgTopbarButton { %colorBkgTopbarButton {
background:$_color_dark_beta; background:$_color_dark_beta;
} }
} }

View File

@ -208,7 +208,7 @@ table {
//@include medium-and-up-screen { //@include medium-and-up-screen {
// display:table; // display:table;
// overflow-x:visible; // overflow-x:visible;
//} //}
} }

View File

@ -8,7 +8,7 @@
border: 0; border: 0;
overflow: hidden; overflow: hidden;
text-indent: -9999px; text-indent: -9999px;
&:before { &:before {
content: ""; content: "";
display: block; display: block;

View File

@ -24,34 +24,34 @@
} }
} }
*/ */
[class^="ico-"]:before, [class*=" ico-"]:before { [class^="ico-"]:before, [class*=" ico-"]:before {
font-family: "adagios-fontawesome"; font-family: "adagios-fontawesome";
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
speak: none; speak: none;
display: inline-block; display: inline-block;
text-decoration: inherit; text-decoration: inherit;
width: 1em; width: 1em;
margin-right: .2em; margin-right: .2em;
text-align: center; text-align: center;
/* opacity: .8; */ /* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes*/ /* For safety - reset parent styles, that can break glyph codes*/
font-variant: normal; font-variant: normal;
text-transform: none; text-transform: none;
/* fix buttons height, for twitter bootstrap */ /* fix buttons height, for twitter bootstrap */
line-height: 1em; line-height: 1em;
/* Animation center compensation - margins should be symmetric */ /* Animation center compensation - margins should be symmetric */
/* remove if not needed */ /* remove if not needed */
margin-left: .2em; margin-left: .2em;
/* you can be more comfortable with increased icons size */ /* you can be more comfortable with increased icons size */
/* font-size: 120%; */ /* font-size: 120%; */
/* Uncomment for 3D effect */ /* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
} }

View File

@ -19,7 +19,7 @@
.layout__main { .layout__main {
width:100%; width:100%;
@include medium-and-up-screen { @include medium-and-up-screen {
display:table-cell; display:table-cell;
vertical-align:top; vertical-align:top;

View File

@ -119,7 +119,7 @@
.main__content__header { .main__content__header {
.main__content__title, .main__content__title,
.main__content__alert { .main__content__alert {
@include large-xlarge-screen { @include large-xlarge-screen {
float:left; float:left;

View File

@ -3,7 +3,7 @@
//----------------------------------*/ //----------------------------------*/
.panes { .panes {
//background:aquamarine; //background:aquamarine;
//border:5px solid red; //border:5px solid red;
display:block; display:block;
overflow-x:auto; overflow-x:auto;
width:auto; width:auto;
@ -26,15 +26,15 @@
} }
.panes__container { .panes__container {
//background:indigo; //background:indigo;
display:table; display:table;
width:auto; width:auto;
width:840px; width:840px;
@include medium-and-up-screen { @include medium-and-up-screen {
display:table-row; display:table-row;
min-width:0; min-width:0;
position:static; position:static;
} }
} }

View File

@ -108,7 +108,7 @@
.problems__name { .problems__name {
&:after { &:after {
background:transparent; background:transparent;
border:1px solid; border:1px solid;
border-radius:0 0 0 5px; border-radius:0 0 0 5px;
content:""; content:"";
display:block; display:block;
@ -174,6 +174,6 @@
.color-scheme--light & { .color-scheme--light & {
background:$_color_light_gamma; background:$_color_light_gamma;
color:$_color_alpha; color:$_color_alpha;
} }
} }

View File

@ -12,7 +12,7 @@
.tabpanel__tab { .tabpanel__tab {
border-style:solid; border-style:solid;
border-width:0 0 1px; border-width:0 0 1px;
display:block; display:block;
line-height:1; line-height:1;
margin:0 0 0 ($_space / 3); margin:0 0 0 ($_space / 3);
padding:0 $_space .5em 0; padding:0 $_space .5em 0;

View File

@ -2,7 +2,7 @@
// BUTTON MODULE // BUTTON MODULE
//----------------------------------*/ //----------------------------------*/
%button-reset { %button-reset {
background:transparent; background:transparent;
border:0; border:0;
display:inline-block; display:inline-block;
padding:0; padding:0;

View File

@ -3,7 +3,7 @@
//----------------------------------*/ //----------------------------------*/
.sidebar-wrapper { .sidebar-wrapper {
@extend %colorBkgPanel; @extend %colorBkgPanel;
padding-bottom:em(72+$_space, $_base_font_size); padding-bottom:em(72+$_space, $_base_font_size);
} }
//.sidebar {} //.sidebar {}

View File

@ -27,7 +27,7 @@
margin: 0px; margin: 0px;
line-height: 35px; line-height: 35px;
cursor: pointer; cursor: pointer;
/* /*
.collapsed{ .collapsed{
.arrow:before{ .arrow:before{
font-family: FontAwesome; font-family: FontAwesome;

View File

@ -17,4 +17,4 @@
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -16,7 +16,7 @@
<th>Hosts</th> <th>Hosts</th>
<td>{{totalHosts}}</td> <td>{{totalHosts}}</td>
<td class="state--error alerts">{{hostProblems}}</td> <td class="state--error alerts">{{hostProblems}}</td>
</tr> </tr>
<tr> <tr>
<th>Services</th> <th>Services</th>
<td>{{totalServices}}</td> <td>{{totalServices}}</td>

View File

@ -3,11 +3,11 @@
<div class="panes__pane" ng-if="statusOverview"> <div class="panes__pane" ng-if="statusOverview">
<bansho-status-overview></bansho-status-overview> <bansho-status-overview></bansho-status-overview>
</div> </div>
<div class="panes__pane" ng-if="currentHealth"> <div class="panes__pane" ng-if="currentHealth">
<bansho-current-health></bansho-current-health> <bansho-current-health></bansho-current-health>
</div> </div>
<div class="panes__pane" ng-if="topAlertProducers"> <div class="panes__pane" ng-if="topAlertProducers">
<bansho-top-alert-producers></bansho-top-alert-producers> <bansho-top-alert-producers></bansho-top-alert-producers>
</div> </div>

View File

@ -9,6 +9,6 @@
<tr ng-repeat="host in hosts"> <tr ng-repeat="host in hosts">
<th>{{ host.host_name }}</th> <th>{{ host.host_name }}</th>
<td class="state--error">{{ host.problems }}</td> <td class="state--error">{{ host.problems }}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -87,7 +87,7 @@
&.topbar__button--hover { &.topbar__button--hover {
transition-duration: 0.5s; transition-duration: 0.5s;
transition-property: color, background-color; transition-property: color, background-color;
&[aria-expanded="true"], &[aria-expanded="true"],
&:hover { &:hover {
.color-scheme--dark & { .color-scheme--dark & {
@ -128,9 +128,9 @@
} }
.topbar__notifications { .topbar__notifications {
.ico-bell-alt { .ico-bell-alt {
&:after { &:after {
background:$_color_error; background:$_color_error;
border-radius:100%; border-radius:100%;
@ -169,7 +169,7 @@
} }
} }
.topbar__settings { .topbar__settings {
.ico-sliders:before { .ico-sliders:before {
@include vendor(transform, rotate(90deg)); @include vendor(transform, rotate(90deg));

View File

@ -22,7 +22,7 @@
<span class="visuallyhidden">Voir les notifications</span> <span class="visuallyhidden">Voir les notifications</span>
<i class="ico-bell-alt" data-notifications="{{allProblems}}"></i> <i class="ico-bell-alt" data-notifications="{{allProblems}}"></i>
</button> </button>
<div class="topbar__panel--fromleft collapse" id="notificationsPanel"> <div class="topbar__panel--fromleft collapse" id="notificationsPanel">
<div class="topbar__panel__content tabpanel"> <div class="topbar__panel__content tabpanel">
<ul class="tablist clearfix"> <ul class="tablist clearfix">
@ -47,13 +47,13 @@
</a> </a>
</li> </li>
</ul> </ul>
<div class="tab-content"> <div class="tab-content">
<div role="tabpanel" class="problems tab-pane active" id="topOpenProblems"> <div role="tabpanel" class="problems tab-pane active" id="topOpenProblems">
<ol class="problems__list"> <ol class="problems__list">
<li class="problems__item"> <li class="problems__item">
<strong class="problems__host state--ok">localhost</strong> <strong class="problems__host state--ok">localhost</strong>
<dl class="problems__desclist"> <dl class="problems__desclist">
<dt class="problems__name state--warning"> <dt class="problems__name state--warning">
<span>Root partition</span> <span>Root partition</span>
@ -64,7 +64,7 @@
</li> </li>
<li class="problems__item"> <li class="problems__item">
<strong class="problems__host state--warning">www.theatlantic.com</strong> <strong class="problems__host state--warning">www.theatlantic.com</strong>
<dl class="problems__desclist"> <dl class="problems__desclist">
<dt class="problems__name state--warning"> <dt class="problems__name state--warning">
<span>HTTP www.theatlantic.com</span> <span>HTTP www.theatlantic.com</span>
@ -75,20 +75,20 @@
</li> </li>
<li class="problems__item"> <li class="problems__item">
<strong class="problems__host state--error">www.savoirfairelinux.com</strong> <strong class="problems__host state--error">www.savoirfairelinux.com</strong>
<dl class="problems__desclist"> <dl class="problems__desclist">
<dt class="problems__name state--warning"> <dt class="problems__name state--warning">
<span>Verbis se superiores opere enim</span> <span>Verbis se superiores opere enim</span>
<small class="problems__duration">8 days, 5 hours</small> <small class="problems__duration">8 days, 5 hours</small>
</dt> </dt>
<dd class="problems__description">Check_http: invalid onedirection option - $</dd> <dd class="problems__description">Check_http: invalid onedirection option - $</dd>
<dt class="problems__name state--error"> <dt class="problems__name state--error">
<span>CPU utilization</span> <span>CPU utilization</span>
<small class="problems__duration">1 days, 3 hours</small> <small class="problems__duration">1 days, 3 hours</small>
</dt> </dt>
<dd class="problems__description">NRPE: Command checkCPU not defined</dd> <dd class="problems__description">NRPE: Command checkCPU not defined</dd>
<dt class="problems__name state--ok"> <dt class="problems__name state--ok">
<span>Runnning services</span> <span>Runnning services</span>
<small class="problems__duration">1 days, 12 hours</small> <small class="problems__duration">1 days, 12 hours</small>
@ -97,10 +97,10 @@
</dl> </dl>
</li> </li>
</ol> </ol>
<button class="problems__viewall" type="button">View all open problems</button> <button class="problems__viewall" type="button">View all open problems</button>
</div> </div>
<div role="tabpanel" class="tab-pane" id="topAllProblems"> <div role="tabpanel" class="tab-pane" id="topAllProblems">
ALL PROBLEMS ALL PROBLEMS
</div> </div>
@ -108,7 +108,7 @@
</div> </div>
</li> </li>
</ul> </ul>
<ul class="topbar__list topbar__list--right"> <ul class="topbar__list topbar__list--right">
<li class="topbar__item topbar__settings"> <li class="topbar__item topbar__settings">
<button class="topbar__button topbar__button--hover" <button class="topbar__button topbar__button--hover"
@ -120,13 +120,13 @@
<span class="visuallyhidden">Afficher la liste des paramètres</span> <span class="visuallyhidden">Afficher la liste des paramètres</span>
<i class="ico-sliders"></i> <i class="ico-sliders"></i>
</button> </button>
<div class="topbar__panel--fromright collapse" id="settingsPanel"> <div class="topbar__panel--fromright collapse" id="settingsPanel">
<nav class="topbar__panel__content" role="navigation"> <nav class="topbar__panel__content" role="navigation">
<ul class="topbar__settings__list"> <ul class="topbar__settings__list">
<li class="topbar__settings__item"> <li class="topbar__settings__item">
<span class="topbar__settings__category">Bansho</span> <span class="topbar__settings__category">Bansho</span>
<ul class="topbar__settings__sublist"> <ul class="topbar__settings__sublist">
<li class="topbar__settings__subitem"><a href="#">Missing Plugins</a></li> <li class="topbar__settings__subitem"><a href="#">Missing Plugins</a></li>
<li class="topbar__settings__subitem"><a href="#">Object History</a></li> <li class="topbar__settings__subitem"><a href="#">Object History</a></li>
@ -144,7 +144,7 @@
<span class="visuallyhidden">Lancer une recherche</span> <span class="visuallyhidden">Lancer une recherche</span>
<i class="ico-search"></i> <i class="ico-search"></i>
</button> </button>
<label class="visuallyhidden" for="searchfield">Recherche</label> <label class="visuallyhidden" for="searchfield">Recherche</label>
<input id="searchfield" type="search" class="topbar__searchfield form-control" placeholder="Search hosts, services, ..."> <input id="searchfield" type="search" class="topbar__searchfield form-control" placeholder="Search hosts, services, ...">
</form> </form>

View File

@ -1,14 +1,14 @@
<article ng-controller="DashboardCtrl" id="tactical"> <article ng-controller="DashboardCtrl" id="tactical">
<header class="main__overview"> <header class="main__overview">
<h2 class="main__overview__title">{{dashboardTactical[0].title}}</h2> <h2 class="main__overview__title">{{dashboardTactical[0].title}}</h2>
<bansho-tactical status-overview="{{dashboardTactical[0].statusOverview}}" <bansho-tactical status-overview="{{dashboardTactical[0].statusOverview}}"
current-health="{{dashboardTactical[0].currentHealth}}" current-health="{{dashboardTactical[0].currentHealth}}"
top-alert-producers="{{dashboardTactical[0].topAlertProducers}}" top-alert-producers="{{dashboardTactical[0].topAlertProducers}}"
refresh-interval="{{dashboardRefreshInterval}}"></bansho-tactical> refresh-interval="{{dashboardRefreshInterval}}"></bansho-tactical>
</header> </header>
<section class="main__content tabpanel"> <section class="main__content tabpanel">
<nav> <nav>
<ul class="tablist clearfix"> <ul class="tablist clearfix">
@ -34,16 +34,16 @@
</li> </li>
</ul> </ul>
</nav> </nav>
<bansho-table-actionbar></bansho-table-actionbar> <bansho-table-actionbar></bansho-table-actionbar>
<div class="tab-content"> <div class="tab-content">
<div role="tabpanel" class="problems tab-pane active" id="openProblems"> <div role="tabpanel" class="problems tab-pane active" id="openProblems">
<span ng-hide="nbHostOpenProblems == 0"> <span ng-hide="nbHostOpenProblems == 0">
<header class="main__content__header clearfix"> <header class="main__content__header clearfix">
<h2 class="main__content__title">{{dashboardTables[0].title}}</h2> <h2 class="main__content__title">{{dashboardTables[0].title}}</h2>
<p class="main__content__alert state--error"> <p class="main__content__alert state--error">
There There
<ng-pluralize count="nbHostOpenProblems" when="{'0':'is', '1': 'is', 'other': 'are'}"> <ng-pluralize count="nbHostOpenProblems" when="{'0':'is', '1': 'is', 'other': 'are'}">
</ng-pluralize> </ng-pluralize>
are {{nbHostOpenProblems}} host are {{nbHostOpenProblems}} host
@ -68,7 +68,7 @@
<header class="main__content__header clearfix"> <header class="main__content__header clearfix">
<h2 class="main__content__title">{{dashboardTables[1].title}}</h2> <h2 class="main__content__title">{{dashboardTables[1].title}}</h2>
<p class="main__content__alert state--error"> <p class="main__content__alert state--error">
There There
<ng-pluralize count="nbServiceOpenProblems" when="{'0':'is', '1': 'is', 'other': 'are'}"> <ng-pluralize count="nbServiceOpenProblems" when="{'0':'is', '1': 'is', 'other': 'are'}">
</ng-pluralize> </ng-pluralize>
{{nbServiceOpenProblems}} service {{nbServiceOpenProblems}} service
@ -86,16 +86,16 @@
refresh-interval="{{dashboardRefreshInterval}}" refresh-interval="{{dashboardRefreshInterval}}"
additionnal-query-fields="{{dashboardTables[1].additionnalQueryFields}}" additionnal-query-fields="{{dashboardTables[1].additionnalQueryFields}}"
table-id="1"></bansho-table> table-id="1"></bansho-table>
</span> </span>
</div> </div>
<div role="tabpanel" class="problems tab-pane" id="allProblems"> <div role="tabpanel" class="problems tab-pane" id="allProblems">
<span ng-hide="nbHostProblems == 0"> <span ng-hide="nbHostProblems == 0">
<header class="main__content__header clearfix"> <header class="main__content__header clearfix">
<h2 class="main__content__title">{{dashboardTables[2].title}}</h2> <h2 class="main__content__title">{{dashboardTables[2].title}}</h2>
<p class="main__content__alert state--error"> <p class="main__content__alert state--error">
There There
<ng-pluralize count="nbHostProblems" when="{'0':'is', '1': 'is', 'other': 'are'}"/> <ng-pluralize count="nbHostProblems" when="{'0':'is', '1': 'is', 'other': 'are'}"/>
</ng-pluralize> </ng-pluralize>
{{nbHostProblems}} host {{nbHostProblems}} host
@ -118,7 +118,7 @@
<header class="main__content__header clearfix"> <header class="main__content__header clearfix">
<h2 class="main__content__title">{{dashboardTables[3].title}}</h2> <h2 class="main__content__title">{{dashboardTables[3].title}}</h2>
<p class="main__content__alert state--error"> <p class="main__content__alert state--error">
There There
<ng-pluralize count="nbServiceProblems" when="{'0':'is', '1': 'is', 'other': 'are'}"/> <ng-pluralize count="nbServiceProblems" when="{'0':'is', '1': 'is', 'other': 'are'}"/>
</ng-pluralize> </ng-pluralize>
{{nbServiceProblems}} service {{nbServiceProblems}} service
@ -138,6 +138,6 @@
</span> </span>
</div> </div>
</div> </div>
</section> </section>
</article> </article>