Commit 56d5b0b1 by Torkel Ödegaard

feat(mixed datasource): minor progress

parent a16c63a4
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<span class="dropdown" ng-if="datasource.meta.type === 'mixed'"> <span class="dropdown" ng-if="datasource.meta.type === 'mixed'">
<button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown"> <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-plus"></i>&nbsp; <i class="fa fa-plus"></i>&nbsp;
Query Query &nbsp; <span class="caret"></span>
</button> </button>
<ul class="dropdown-menu" role="menu"> <ul class="dropdown-menu" role="menu">
...@@ -34,12 +34,12 @@ ...@@ -34,12 +34,12 @@
<div class="pull-right dropdown" style="margin-right: 10px;"> <div class="pull-right dropdown" style="margin-right: 10px;">
<button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown" bs-tooltip="'Datasource'"> <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown" bs-tooltip="'Datasource'">
<i class="fa fa-database"></i>&nbsp; <i class="fa fa-database"></i>&nbsp;
{{datasource.name}} <span class="caret"></span> {{datasource.name}} &nbsp; <span class="caret"></span>
</button> </button>
<ul class="dropdown-menu" role="menu"> <ul class="dropdown-menu" role="menu">
<li ng-repeat="datasource in datasources" role="menuitem"> <li ng-repeat="datasource in datasources" role="menuitem">
<a ng-click="setDatasource(datasource.value);">{{datasource.name}}</a> <a ng-click="setDatasource(datasource);">{{datasource.name}}</a>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -358,7 +358,6 @@ div.subnav { ...@@ -358,7 +358,6 @@ div.subnav {
// BUTTONS // BUTTONS
// ----------------------------------------------------- // -----------------------------------------------------
.btn { .btn {
padding: 5px 12px; padding: 5px 12px;
background-image: none; background-image: none;
...@@ -389,13 +388,6 @@ div.subnav { ...@@ -389,13 +388,6 @@ div.subnav {
} }
.btn-group { .btn-group {
& > .btn:first-child,
& > .btn:last-child,
& > .dropdown-toggle {
.border-radius(0);
}
& > .btn + .dropdown-toggle { & > .btn + .dropdown-toggle {
.box-shadow(none); .box-shadow(none);
} }
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
// Components: Buttons & Alerts // Components: Buttons & Alerts
@import "buttons.less"; @import "buttons.less";
// @import "button-groups.less";
@import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less @import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less
// Components: Nav // Components: Nav
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment