mirror of
https://github.com/fluencelabs/dashboard
synced 2025-04-03 21:31:08 +00:00
hide columns on small
This commit is contained in:
parent
ecd93f9f01
commit
31d8cf7db2
@ -56,8 +56,8 @@ viewTable instances =
|
|||||||
[ tr [ classes "" ]
|
[ tr [ classes "" ]
|
||||||
[ th [ classes "fw5 tl pa3 gray-font" ] [ text "BLUEPRINT" ]
|
[ th [ classes "fw5 tl pa3 gray-font" ] [ text "BLUEPRINT" ]
|
||||||
, th [ classes "fw5 tl pa3 gray-font" ] [ text "INSTANCE" ]
|
, th [ classes "fw5 tl pa3 gray-font" ] [ text "INSTANCE" ]
|
||||||
, th [ classes "fw5 tl pa3 gray-font" ] [ text "NODE" ]
|
, th [ classes "fw5 tl pa3 gray-font dn dtc-ns" ] [ text "NODE" ]
|
||||||
, th [ classes "fw5 tl pa3 gray-font" ] [ text "IP" ]
|
, th [ classes "fw5 tl pa3 gray-font dn dtc-ns" ] [ text "IP" ]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
, tbody [ classes "lucida" ] (instances |> List.map viewInstance)
|
, tbody [ classes "lucida" ] (instances |> List.map viewInstance)
|
||||||
@ -71,6 +71,6 @@ viewInstance instance =
|
|||||||
tr [ classes "table-red-row" ]
|
tr [ classes "table-red-row" ]
|
||||||
[ td [ classes "ph3" ] [ p [classes "ws-normal"] [ a [ attribute "href" ("/blueprint/" ++ instance.blueprintId), classes "black" ] [text instance.name ]]]
|
[ td [ classes "ph3" ] [ p [classes "ws-normal"] [ a [ attribute "href" ("/blueprint/" ++ instance.blueprintId), classes "black" ] [text instance.name ]]]
|
||||||
, td [ classes "ph3" ] [ p [classes "ws-normal"] [text instance.instance ]]
|
, td [ classes "ph3" ] [ p [classes "ws-normal"] [text instance.instance ]]
|
||||||
, td [ classes "ph3" ] [ p [classes "ws-normal"] [text (shortHashRaw 8 instance.peerId) ]]
|
, td [ classes "ph3 dn dtc-ns" ] [ p [classes "ws-normal"] [text (shortHashRaw 8 instance.peerId) ]]
|
||||||
, td [ classes "ph3" ] [ p [classes "ws-normal"] [text instance.ip ]]
|
, td [ classes "ph3 dn dtc-ns" ] [ p [classes "ws-normal"] [text instance.ip ]]
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user