mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Sending data from python to javascript
This commit is contained in:
2
src/interface/static/css/main.css
vendored
2
src/interface/static/css/main.css
vendored
@@ -264,7 +264,7 @@ body {
|
||||
display: flex;
|
||||
grid-area: horiz_nav_main;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* justify-content: center; */
|
||||
padding: 5px 5px 0px 5px;
|
||||
min-width: max-content;
|
||||
color: deepskyblue;
|
||||
|
||||
2
src/interface/static/js/pyshelf_ux.js
vendored
2
src/interface/static/js/pyshelf_ux.js
vendored
@@ -12,7 +12,7 @@ $(document).ready(function(){
|
||||
var scr_height = window.outerHeight;
|
||||
var scr_width = window.outerWidth;
|
||||
var hdr_height = $('.app_hdr').height(); // Get our header height
|
||||
var ftr_height = $('.app_footer').height(); // Get our footer height
|
||||
var ftr_height = $('.app_footer').height(); // Get our footer height
|
||||
var nav_width = $('.nav_l').width(); // Get the width of our nav items
|
||||
var cmp_height = window.screen.availHeight;
|
||||
var max_height = win_height - (hdr_height + ftr_height) - (scr_height - win_height); // Set our available height
|
||||
|
||||
Reference in New Issue
Block a user