Browse Source

UI: Add 'powered by' footer to dashboards

pull/68/head
Igor Kulikov 10 years ago
parent
commit
007a12f5c2
  1. 21
      ui/src/app/dashboard/dashboard.scss
  2. 3
      ui/src/app/dashboard/dashboard.tpl.html

21
ui/src/app/dashboard/dashboard.scss

@ -134,3 +134,24 @@ section.tb-dashboard-toolbar {
@include transition(margin-top .3s cubic-bezier(.55,0,.55,.2) .2s);
}
}
/*****************************
* dashboard powered by footer
****************************/
section.tb-powered-by-footer {
position: absolute;
right: 25px;
bottom: 5px;
z-index: 3;
pointer-events: none;
span {
font-size: 12px;
a {
font-weight: bold;
text-decoration: none;
border: none;
pointer-events: all;
}
}
}

3
ui/src/app/dashboard/dashboard.tpl.html

@ -292,4 +292,7 @@
</md-button>
</section>
</section>
<section class="tb-powered-by-footer" ng-style="{'color': vm.dashboard.configuration.gridSettings.titleColor}">
<span>Powered by <a href="https://thingsboard.io" target="_blank">Thingsboard</a></span>
</section>
</md-content>

Loading…
Cancel
Save