diff --git a/res/fonts/DINPro-Bold.ttf b/res/fonts/DINPro-Bold.ttf deleted file mode 100644 index 4eea0e69f3c31f4c96d9bb603f05f0f19373375e..0000000000000000000000000000000000000000 Binary files a/res/fonts/DINPro-Bold.ttf and /dev/null differ diff --git a/res/fonts/DINPro-Light.ttf b/res/fonts/DINPro-Light.ttf deleted file mode 100644 index 9334a53c5cfa70bc025c6b6895c2ada438bd9315..0000000000000000000000000000000000000000 Binary files a/res/fonts/DINPro-Light.ttf and /dev/null differ diff --git a/src/userTool.js b/src/userTool.js index 43806547d31102cbdc718b9694d111487a98382c..8ee642bd26302bb8b450216abf0c730705e90b78 100644 --- a/src/userTool.js +++ b/src/userTool.js @@ -5,7 +5,6 @@ import { inputGroup, selectGroup, submitButton } from './views/elements'; import SelectList from './views/selectList'; import { users as config } from './config.json'; import DatalistController from './listcontroller'; -import { ListTile } from 'polythene-mithril'; const m = require('mithril'); diff --git a/src/views/tableView.js b/src/views/tableView.js index b58db22b0c72e19f2dbfa4dac22f7e007df3cd69..8e55075735af23281d84485e3be9c3ce13a6cc03 100644 --- a/src/views/tableView.js +++ b/src/views/tableView.js @@ -22,6 +22,7 @@ const tableStyles = [ }, '.tableTile': { padding: '10px', + 'border-bottom': '1px solid rgba(0, 0, 0, 0.12)', }, }, ]; @@ -55,7 +56,7 @@ export default class TableView { key.split('.').forEach((subKey) => { nestedData = nestedData[subKey]; }); return m( 'div', - { style: { width: `${95 / this.tableKeys.length}%` } }, + { style: { width: `${98 / this.tableKeys.length}%` } }, nestedData, ); }); @@ -91,7 +92,6 @@ export default class TableView { compact: true, content: [ m(Search, { - compact: true, textfield: { label: 'Search', onChange: ({ value }) => { @@ -102,7 +102,6 @@ export default class TableView { fullWidth: true, }), m(Button, { - element: 'div', className: 'blue-button', borders: true, label: 'Add', @@ -111,7 +110,6 @@ export default class TableView { ], }), m(List, { - borders: true, className: 'scrollTable', tiles: [ m(ListTile, { @@ -120,7 +118,7 @@ export default class TableView { 'div', { style: { width: '100%', display: 'flex' } }, titles.map(title => m('div', { - style: { width: `${95 / this.tableKeys.length}%` }, + style: { width: `${98 / this.tableKeys.length}%` }, }, title)), ), }),