mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-11 03:28:36 +01:00
top bar + select mode styling
This commit is contained in:
parent
5a374751e9
commit
d6275e2ffc
4 changed files with 51 additions and 22 deletions
27
luciexpress/htdocs/plugins/core/css/top-bar.css
Normal file
27
luciexpress/htdocs/plugins/core/css/top-bar.css
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
.top-bar .box-model {
|
||||
font-size: 26px;
|
||||
padding-top: 15px;
|
||||
font-family: 'vodafont';"
|
||||
}
|
||||
|
||||
.top-bar .outer-select {
|
||||
float: right;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.top-bar .inner-select {
|
||||
width: 200px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.top-bar .inner-select .btn {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.top-bar .inner-select .dropdown-menu {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.ui-select-bootstrap .ui-select-choices-row.active>a {
|
||||
background-color: #777 !important;
|
||||
}
|
||||
|
|
@ -1,22 +1,23 @@
|
|||
|
||||
<div class="top-bar">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-5" style="font-size: 28px; padding-top: 10px;">{{ model }}</div>
|
||||
<div style="float: right; margin-top: 10px; ">
|
||||
<ui-select ng-model="selectedMode"
|
||||
theme="bootstrap"
|
||||
search-enabled="false"
|
||||
on-select="onChangeMode($item, $model)"
|
||||
style="width: 150px;"
|
||||
>
|
||||
<ui-select-match placeholder="{{'Basic'|translate}}">{{$select.selected.label}}</ui-select-match>
|
||||
<ui-select-choices repeat="mode in guiModes"
|
||||
refresh-delay="0">
|
||||
<div >{{mode.label}}</div>
|
||||
</ui-select-choices>
|
||||
</ui-select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-1"></div>
|
||||
<div class="col-xs-10">
|
||||
<div class="outer-select">
|
||||
<ui-select ng-model="selectedMode"
|
||||
theme="bootstrap"
|
||||
search-enabled="false"
|
||||
on-select="onChangeMode($item, $model)"
|
||||
class="inner-select" >
|
||||
<ui-select-match placeholder="{{'Basic'|translate}}">{{$select.selected.label}}</ui-select-match>
|
||||
<ui-select-choices repeat="mode in guiModes" refresh-delay="0">
|
||||
<div>{{mode.label}}</div>
|
||||
</ui-select-choices>
|
||||
</ui-select>
|
||||
</div>
|
||||
<div class="box-model">{{ model }}</div>
|
||||
</div>
|
||||
<div class="col-xs-1"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -230,4 +230,5 @@ h1, h2 {
|
|||
|
||||
.wifi-enabled {
|
||||
color: #a8b400;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ angular.module("luci").config(function($provide){
|
|||
"luciLayoutSingleColumnDirective": "/widgets/luci.layout.single_column.html",
|
||||
"luciLayoutWithSidebarDirective": "/widgets/luci.layout.with_sidebar.html",
|
||||
"luciNavbarDirective": "/widgets/luci.navbar.html",
|
||||
"luciTopBarDirective": "/widgets/luci.top_bar.html"
|
||||
//"luciTopBarDirective": "/widgets/luci.top_bar.html"
|
||||
};
|
||||
var plugin_root = "/themes/vodafone/";
|
||||
Object.keys(overrides).map(function(k){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue