Skip to content
Snippets Groups Projects
Commit 0e78cf0e authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Home: In readonly mode, use a blue background color, instead of a dark green

parent 31579e4b
No related branches found
No related tags found
No related merge requests found
Pipeline #8989 failed
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
</button> </button>
</ion-nav-buttons> </ion-nav-buttons>
<ion-content class="circle-bg-dark" <ion-content class="circle-bg-dark positive-900-bg"
ng-class="::{'positive-900-bg': !$root.config.readonly, 'balanced-900-bg': $root.config.readonly}"> ng-class="::{'calm-bg': $root.config.readonly}">
<div class="ribbon" ng-if="::$root.config.demo || $root.config.readonly"> <div class="ribbon" ng-if="::$root.config.demo || $root.config.readonly">
<a class="badge badge-assertive" ng-if="$root.config.demo" ng-click="showHelpModal('demo')">{{:locale:'MODE.DEMO.BADGE'|translate}}</a> <a class="badge badge-assertive" ng-if="::$root.config.demo" ng-click="showHelpModal('demo')">{{:locale:'MODE.DEMO.BADGE'|translate}}</a>
<a class="badge badge-balanced" ng-if="$root.config.readonly" ng-click="showHelpModal('readonly')">{{:locale:'MODE.READONLY.BADGE'|translate}}</a> <a class="badge badge-balanced" ng-if="::$root.config.readonly" ng-click="showHelpModal('readonly')">{{:locale:'MODE.READONLY.BADGE'|translate}}</a>
<a class="badge badge-positive" ng-click="openLink($event, $root.settings.sourceUrl)" title="{{:locale:'HOME.FORK_ME'|translate}}">{{:locale:'HOME.FREE_SOFTWARE'|translate}}</a> <a class="badge badge-positive" ng-click="openLink($event, $root.settings.sourceUrl)" title="{{:locale:'HOME.FORK_ME'|translate}}">{{:locale:'HOME.FREE_SOFTWARE'|translate}}</a>
<a class="badge badge-stable" ng-click="openLink($event, $root.settings.sourceLicenseUrl)" title="{{:locale:'HOME.SHOW_LICENSE'|translate}}">AGPL-3.0</a> <a class="badge badge-stable" ng-click="openLink($event, $root.settings.sourceLicenseUrl)" title="{{:locale:'HOME.SHOW_LICENSE'|translate}}">AGPL-3.0</a>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment