luci-app-travelmate: adapt latest css changes 2402/head
authorDirk Brenken <dev@brenken.org>
Thu, 27 Dec 2018 06:19:24 +0000 (07:19 +0100)
committerDirk Brenken <dev@brenken.org>
Thu, 27 Dec 2018 06:19:24 +0000 (07:19 +0100)
Signed-off-by: Dirk Brenken <dev@brenken.org>
applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
applications/luci-app-travelmate/luasrc/view/travelmate/travelmate_css.htm

index e98cde719c317bdb3036bbdd42ebe85d0f83e84a..5792536ba110570e79346363873f2b3aa99456dd 100644 (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
index 14afe3997fe23ccf119914c861ea82e6f1985f03..36b00818651e5f09488082f5f2a7ca78960b4670 100644 (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;