From 79370f5749d615b69c564e6c3e764f1a59592920 Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Tue, 14 Apr 2020 15:08:36 +0200 Subject: [PATCH] Smaller extra column --- static/index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/static/index.html b/static/index.html index f986b20..b680963 100644 --- a/static/index.html +++ b/static/index.html @@ -74,7 +74,7 @@ width: 30px; } - .default { + .default, .extra { width: 50px; } @@ -172,6 +172,11 @@ cb.value = (column[field] === "YES"); cb.disabled = true; column[field] = cb; + case "extra": + if(column[field] === "auto_increment") { + column[field] = "AI"; + td.title = "Auto increment"; + } } if (column[field]) {