From 0b36f83b3404f69a834c659ed1bf2ce49c9d0081 Mon Sep 17 00:00:00 2001 From: lideming Date: Thu, 18 Feb 2021 12:28:05 +0800 Subject: [PATCH] Trivial changes (table width etc.) --- src/views/networks.pug | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/views/networks.pug b/src/views/networks.pug index c428886..9cf329e 100644 --- a/src/views/networks.pug +++ b/src/views/networks.pug @@ -11,36 +11,36 @@ block content if error b #{error} else - table.table.table-responsive.table-striped.table-hover tr th(width='3%') = '' th(width='20%') | Network name - th(width='10%') - | Network ID - th(width='15%') - = '' th(width='20%') + | Network ID + th(width='8%') = '' - th(width='25%') + th(width='12%') + = '' + th(width='37%') = '' each network in networks + - const nwurl = '/controller/network/' + network.nwid; tr td - a(href='/controller/network/' + network.nwid + '/delete') + a(href=nwurl + '/delete') i.glyphicon.glyphicon-trash td - a(href='/controller/network/' + network.nwid) #{network.name} + a(href=nwurl) #{network.name} td = network.nwid td - a(href='/controller/network/' + network.nwid + "#detail") detail + a(href=nwurl) detail td - a(href='/controller/network/' + network.nwid + '/easy') easy setup + a(href=nwurl + '/easy') easy setup td - a(href='/controller/network/' + network.nwid + "#members") members + a(href=nwurl + "#members") members else .alert.alert-info