diff options
| author | Geo Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-24 12:47:53 +0300 |
|---|---|---|
| committer | Geo Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-24 12:47:53 +0300 |
| commit | 41d3b5fb68829bbc61ef13ed127dcfb86fa124a0 (patch) | |
| tree | 1d98c269c6b2314e2f0e3d128c3c76e173b5ad2c /public/app/views/welcome.php | |
| parent | 17d243371c43847e9dbdeb21395afc0e8f5437ae (diff) | |
| download | classroom-41d3b5fb68829bbc61ef13ed127dcfb86fa124a0.tar.gz classroom-41d3b5fb68829bbc61ef13ed127dcfb86fa124a0.tar.bz2 classroom-41d3b5fb68829bbc61ef13ed127dcfb86fa124a0.zip | |
frontend and backend design enhancements
Diffstat (limited to 'public/app/views/welcome.php')
| -rw-r--r-- | public/app/views/welcome.php | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/public/app/views/welcome.php b/public/app/views/welcome.php index ded2294..08be0a2 100644 --- a/public/app/views/welcome.php +++ b/public/app/views/welcome.php @@ -12,14 +12,34 @@ </head> <body class='classroom'> - <?php // top-bar + <?php // top-bar //////////////////////////////////////////////////////////////////////// - Render::view('components/top-bar'); + Render::view('components/top_bar'); ?> - <pre> - <?php print_r($categories); ?> - </pre> + + <div class="main-content container"> + <div class="row"> + + <div class="col col-md-5 col-lg-4 d-sm-none d-md-block side-bar"> + + + <?php // tree of courses + //////////////////////////////////////////////////////////////////////// + Render::view('components/courses_menu', [ + 'categories' => $categories, + 'open_path' => [] + ]); + ?> + </div> + + <div class="col col-sm-12 col-md-7 col-lg-8"> + the content goes here + </div> + + </div> + </div> + <!-- TESTING STRINGS (while developing only) --> <?php /* --- print_r($_SESSION); ?> @@ -32,6 +52,9 @@ ? var_dump($_SESSION[UserTokenInterface::DEFAULT_PREFIX_KEY]) : 'none!' --- */ ?> + + + <script src="/assets/js/classroom.js"></script> </body> </html>
\ No newline at end of file |
