Redesign UI with modern dark theme and improved styling
- Unified color scheme using CSS variables across all pages - Fixed spacing issues in verse display (removed <br> joins for rich view) - Updated all HTML pages with proper HTML5 structure - Added responsive design with mobile breakpoints - Created shared stylesheet (styles/page.css) for form pages - Fixed unclosed div tag in scripture_response - Improved typography with serif fonts for scripture text - Added verse container cards with hover effects - Inline dark background to prevent white flash on navigation All endpoints remain backward compatible with existing functionality.
This commit is contained in:
@@ -10,9 +10,13 @@ def check_sanity():
|
||||
|
||||
|
||||
def check_database_permissions():
|
||||
from os.path import exists
|
||||
dependancies = ['data/seq.db', "data/shortcodes.db"]
|
||||
current_uid = getuid()
|
||||
for dependancy in dependancies:
|
||||
# Skip check if file doesn't exist yet - SQLite will create it on first use
|
||||
if not exists(dependancy):
|
||||
continue
|
||||
if stat(dependancy).st_uid != current_uid:
|
||||
raise PermissionError(dependancy)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user