From 49cbd9aedb39be7c37e62ce200d0a60336bd1bd8 Mon Sep 17 00:00:00 2001 From: HeMa Date: Thu, 6 Jan 2022 13:19:50 +0100 Subject: [PATCH] Fixed design style --- orif/plafor/Views/acquisition_status/view.php | 2 +- orif/plafor/Views/apprentice/list.php | 2 +- orif/plafor/Views/apprentice/view.php | 12 ++--- orif/plafor/Views/course_plan/list.php | 14 ++--- .../Views/operational_competence/view.php | 53 +++++++++++++++++-- orif/plafor/Views/user_course/view.php | 4 +- public/css/MY_styles.css | 24 ++++++++- 7 files changed, 89 insertions(+), 22 deletions(-) diff --git a/orif/plafor/Views/acquisition_status/view.php b/orif/plafor/Views/acquisition_status/view.php index 8977c1a8..c382f840 100644 --- a/orif/plafor/Views/acquisition_status/view.php +++ b/orif/plafor/Views/acquisition_status/view.php @@ -23,7 +23,7 @@

= config('\User\Config\UserConfig')->access_lvl_trainer) { ?> - +
diff --git a/orif/plafor/Views/apprentice/list.php b/orif/plafor/Views/apprentice/list.php index 2ca24fa3..75447d48 100644 --- a/orif/plafor/Views/apprentice/list.php +++ b/orif/plafor/Views/apprentice/list.php @@ -16,7 +16,7 @@
'GET']); - echo form_dropdown('trainer_id', $trainers, strval($trainer_id), ['class' => 'form-control', 'style' => 'width:unset!important;display:unset!important;margin-left:-10px;']); + echo form_dropdown('trainer_id', $trainers, strval($trainer_id), ['class' => 'form-control', 'style' => 'width:unset!important;display:unset!important;']); echo form_submit(null, lang('common_lang.btn_search'), ['class' => 'btn btn-primary', 'style' => 'vertical-align:unset!important;']); ?>
- - - + + + @@ -98,15 +98,15 @@

-

-
+

+
\ No newline at end of file diff --git a/orif/plafor/Views/user_course/view.php b/orif/plafor/Views/user_course/view.php index df8a029d..39900c5d 100644 --- a/orif/plafor/Views/user_course/view.php +++ b/orif/plafor/Views/user_course/view.php @@ -35,8 +35,8 @@ || ($_SESSION['user_access'] == config('\User\Config\UserConfig')->access_lvl_trainer && in_array($_SESSION['user_id'], $trainers_id)) || ($_SESSION['user_access'] == config('\User\Config\UserConfig')->access_level_apprentice && $user_course['fk_user'] == $apprentice['id'])): ?>
-

-
+

+
diff --git a/public/css/MY_styles.css b/public/css/MY_styles.css index 2c2e5114..c56ac114 100644 --- a/public/css/MY_styles.css +++ b/public/css/MY_styles.css @@ -154,4 +154,26 @@ p.bg-primary { display: none; } -} \ No newline at end of file +} +@media all and (max-width: 475px){ + + .responsiveTable th{ + display: none; + } + .responsiveTable td .descTitle{ + display: block!important; + font-size: 0.8rem; + color: #665d40; + } + .responsiveTable tr{ + display: flex; + } + .responsiveTable td{ + display: flex; + flex-direction: column; + justify-content: space-between; + padding-bottom: 10px!important; + } + .responsiveTable td:nth-child(2){ + } +}