luci-app-travelmate: adapt latest css changes

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken 2018-12-27 07:19:24 +01:00
parent 5aa2d3a77f
commit a6b19ce5e4
2 changed files with 7 additions and 6 deletions

View file

@ -76,7 +76,8 @@ if dump then
local i, v
for i, v in ipairs(dump.interface) do
if v.interface ~= "loopback" and v.interface ~= "lan" then
o4:value(v.interface)
local device = v.l3_device or v.device or "-"
o4:value(v.interface, v.interface.. " (" ..device.. ")")
end
end
end

View file

@ -1,8 +1,8 @@
<style type="text/css">
textarea
{
width: 100%;
height: 450px;
width: 100% !important;
height: 450px !important;
border: 1px solid #cccccc;
padding: 5px;
font-size: 12px;
@ -16,8 +16,8 @@
select[readonly],
textarea[readonly]
{
width: 100%;
height: 450px;
width: 100% !important;
height: 450px !important;
border: 1px solid #cccccc;
padding: 5px;
font-size: 12px;
@ -33,7 +33,7 @@
.cbi-section-table-row,
.tr[data-title]::before
{
text-align: left;
text-align: left !important;
vertical-align: top;
margin-left: 0px;
padding-left: 2px;