- sign-in pages load only what they use (include_login_header.php, ajax_core.js) - every library, font and data file served from assets/vendor with pinned versions (VERSIONS.json); no CDN at runtime - Content-Security-Policy on app, sign-in and landing pages - remove httpbin Dropzone target and source-map references
27 lines
1.2 KiB
PHP
27 lines
1.2 KiB
PHP
<?php
|
|
// Usage: require __DIR__ . '/head.php';
|
|
// Caller may define $page_title and $page_description before requiring this file.
|
|
$page_title = $page_title ?? 'BRN WMS — Warehouse Management System';
|
|
$page_description = $page_description ?? 'BRN WMS — A cloud-ready Warehouse Management System for stock control, order fulfillment, and barcode labeling.';
|
|
$base = $base ?? '/landing';
|
|
?>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta name="description" content="<?= htmlspecialchars($page_description) ?>">
|
|
<meta name="author" content="BRN">
|
|
<title><?= htmlspecialchars($page_title) ?></title>
|
|
|
|
<!-- Styles -->
|
|
<link href="<?= $base ?>/webfonts/open-sans/open-sans.css" rel="stylesheet">
|
|
<link href="<?= $base ?>/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="<?= $base ?>/css/fontawesome-all.min.css" rel="stylesheet">
|
|
<link href="<?= $base ?>/css/swiper.css" rel="stylesheet">
|
|
<link href="<?= $base ?>/css/styles.css" rel="stylesheet">
|
|
|
|
<!-- Favicon -->
|
|
<link rel="icon" href="<?= $base ?>/images/favicon32.png">
|
|
|
|
<style>
|
|
.navbar .logo-image img.logo-wordmark { height: 32px; width: auto; }
|
|
</style>
|