Square corners

This commit is contained in:
Stuart Nelson 2015-01-09 14:23:00 +01:00
parent 7b9bf8d3e5
commit 071d98f3d0
2 changed files with 10 additions and 7 deletions

View File

@ -207,7 +207,11 @@ input[name="end_input"], input[name="range_input"] {
margin: 2px; margin: 2px;
} }
.btn { .btn, .form-control {
border-radius: 0;
}
.square_corners {
border-radius: 0; border-radius: 0;
} }

View File

@ -1,6 +1,6 @@
<div id="graph_wrapper{{id}}" class="graph_wrapper"> <div id="graph_wrapper{{id}}" class="graph_wrapper">
<form action="/api/query_range" method="GET" class="query_form form-inline"> <form action="/api/query_range" method="GET" class="query_form form-inline">
<div class="grouping_box"> <div class="grouping_box square_corners">
<div class="head"> <div class="head">
<div class="form-group"> <div class="form-group">
<span class="input-group"> <span class="input-group">
@ -24,10 +24,10 @@
TODO: Convert this to Bootstrap navbar. This requires Javascript TODO: Convert this to Bootstrap navbar. This requires Javascript
refresh. refresh.
--> -->
<div class="grouping_box tabs"> <div class="grouping_box tabs square_corners">
<ul> <ul class="square_corners">
<li><a href="#graph{{id}}">Graph</a></li> <li class="square_corners"><a href="#graph{{id}}">Graph</a></li>
<li><a href="#console{{id}}">Tabular</a></li> <li class="square_corners"><a href="#console{{id}}">Tabular</a></li>
</ul> </ul>
<div id="graph{{id}}" class="graph_container reload"> <div id="graph{{id}}" class="graph_container reload">
<div> <div>
@ -89,7 +89,6 @@
</button> </button>
</div> </div>
<div class="prometheus_input_group"> <div class="prometheus_input_group">
<input class="input" title="Resolution in seconds" placeholder="Res. (s)" type="text" name="step_input" id="step_input{{id}}" value="{{step_input}}" size="6"> <input class="input" title="Resolution in seconds" placeholder="Res. (s)" type="text" name="step_input" id="step_input{{id}}" value="{{step_input}}" size="6">
<input type="hidden" name="step"> <input type="hidden" name="step">