diff options
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 |
