diff --git a/assets/styles/nardah.scss b/assets/styles/nardah.scss index 5ae8ef4..6f10c84 100644 --- a/assets/styles/nardah.scss +++ b/assets/styles/nardah.scss @@ -3,6 +3,8 @@ $primary-color-highlight: lighten($primary-color, 10%); $nav-height: 65px; +$textarea-min-height: 100px; + body{ margin: 0; padding: $nav-height 0 0; @@ -17,6 +19,12 @@ a{ } } +textarea{ + min-width: 100%; + max-width: 100%; + min-height: $textarea-min-height; +} + #main-nav{ position: fixed; top: 0; diff --git a/src/Controllers/TestController.php b/src/Controllers/TestController.php index ee4ff7a..c687480 100644 --- a/src/Controllers/TestController.php +++ b/src/Controllers/TestController.php @@ -45,7 +45,8 @@ class TestController extends Controller { $params = (array)$request->getParsedBody(); $test = new Test; - $test->date_tag = $params['test_date_tag']; + $test->title = $params['test_title']; + $test->description = $params['test_description']; $test->benchmark_id = $params['test_benchmark']; $test->component_id = $params['test_component']; diff --git a/views/test/add.twig b/views/test/add.twig index ef7b2d5..bda0de6 100644 --- a/views/test/add.twig +++ b/views/test/add.twig @@ -14,14 +14,14 @@