Compare commits
No commits in common. "983ce40397c6d650cbc1e74dee430fbcf0d581cc" and "afc65d8cf309a1062a9967ccd0c11021c0b87fe7" have entirely different histories.
983ce40397
...
afc65d8cf3
7 changed files with 2033 additions and 1414 deletions
|
@ -6,10 +6,10 @@
|
|||
"extensions": [
|
||||
"adrianhumphreys.silverstripe",
|
||||
"bmewburn.vscode-intelephense-client",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"mikestead.dotenv",
|
||||
"neilbrayfield.php-docblocker",
|
||||
"xdebug.php-debug"
|
||||
"felixfbecker.php-debug",
|
||||
"manuth.eslint-language-service",
|
||||
"ms-vscode.vscode-typescript-tslint-plugin",
|
||||
"neilbrayfield.php-docblocker"
|
||||
],
|
||||
"settings": {
|
||||
"php.executablePath": null
|
||||
|
|
8
.vscode/extensions.json
vendored
8
.vscode/extensions.json
vendored
|
@ -2,10 +2,10 @@
|
|||
"recommendations": [
|
||||
"adrianhumphreys.silverstripe",
|
||||
"bmewburn.vscode-intelephense-client",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"mikestead.dotenv",
|
||||
"felixfbecker.php-debug",
|
||||
"manuth.eslint-language-service",
|
||||
"ms-vscode-remote.remote-containers",
|
||||
"neilbrayfield.php-docblocker",
|
||||
"xdebug.php-debug"
|
||||
"msjsdiag.debugger-for-edge",
|
||||
"neilbrayfield.php-docblocker"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@ import sass = require("gulp-sass");
|
|||
import terser = require("gulp-terser");
|
||||
import merge = require("merge-stream");
|
||||
import minimist = require("minimist");
|
||||
import * as dartSass from "sass";
|
||||
import { parseArgsStringToArgv } from "string-argv";
|
||||
import tsify = require("tsify");
|
||||
import { changeExt, dirname, join, parse, relative } from "upath";
|
||||
|
@ -384,7 +383,7 @@ export function Theme(): NodeJS.ReadWriteStream
|
|||
sourcemaps: settings.Debug,
|
||||
base: settings.StylePath()
|
||||
}).pipe(
|
||||
sass(dartSass).sync(
|
||||
sass(
|
||||
{
|
||||
importer: require("node-sass-tilde-importer")
|
||||
}
|
||||
|
|
3289
package-lock.json
generated
3289
package-lock.json
generated
File diff suppressed because it is too large
Load diff
59
package.json
59
package.json
|
@ -19,55 +19,54 @@
|
|||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@manuth/eslint-plugin-typescript": "^3.2.6",
|
||||
"@manuth/tsconfig": "^3.0.0",
|
||||
"@manuth/eslint-plugin-typescript": "^2.3.10",
|
||||
"@manuth/tsconfig": "^1.2.9",
|
||||
"@manuth/typescript-eslint-plugin": "^1.3.5",
|
||||
"@types/bootstrap": "^5.1.9",
|
||||
"@types/browser-sync": "^2.26.3",
|
||||
"@types/browserify": "^12.0.37",
|
||||
"@types/bootstrap": "^5.0.13",
|
||||
"@types/browser-sync": "^2.26.1",
|
||||
"@types/browserify": "^12.0.36",
|
||||
"@types/fancy-log": "^1.3.1",
|
||||
"@types/fs-extra": "^9.0.13",
|
||||
"@types/gulp": "^4.0.9",
|
||||
"@types/gulp-if": "0.0.34",
|
||||
"@types/gulp-rename": "2.0.1",
|
||||
"@types/gulp-sass": "^5.0.0",
|
||||
"@types/fs-extra": "^9.0.11",
|
||||
"@types/gulp": "^4.0.8",
|
||||
"@types/gulp-if": "0.0.33",
|
||||
"@types/gulp-rename": "2.0.0",
|
||||
"@types/gulp-sass": "^4.0.0",
|
||||
"@types/gulp-terser": "^1.2.1",
|
||||
"@types/jquery": "^3.5.14",
|
||||
"@types/jquery": "^3.5.5",
|
||||
"@types/merge-stream": "^1.1.2",
|
||||
"@types/minimist": "^1.2.2",
|
||||
"@types/node": "^17.0.21",
|
||||
"@types/minimist": "^1.2.1",
|
||||
"@types/node": "^15.0.2",
|
||||
"@types/vinyl-buffer": "^1.0.0",
|
||||
"@types/vinyl-source-stream": "0.0.30",
|
||||
"@types/watchify": "^3.11.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.13.0",
|
||||
"@typescript-eslint/eslint-plugin-tslint": "^5.13.0",
|
||||
"@typescript-eslint/parser": "^5.13.0",
|
||||
"bootstrap": "^5.1.3",
|
||||
"browser-sync": "^2.27.7",
|
||||
"@types/watchify": "^3.11.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.23.0",
|
||||
"@typescript-eslint/eslint-plugin-tslint": "^4.23.0",
|
||||
"@typescript-eslint/parser": "^4.23.0",
|
||||
"bootstrap": "^5.0.0",
|
||||
"browser-sync": "^2.26.14",
|
||||
"browserify": "^17.0.0",
|
||||
"create-symlink": "^1.0.0",
|
||||
"eslint": "^8.10.0",
|
||||
"eslint-plugin-deprecation": "^1.3.2",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"eslint-plugin-jsdoc": "^37.9.5",
|
||||
"fancy-log": "^2.0.0",
|
||||
"fs-extra": "^10.0.1",
|
||||
"eslint": "^7.26.0",
|
||||
"eslint-plugin-deprecation": "^1.2.1",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-jsdoc": "^34.0.1",
|
||||
"fancy-log": "^1.3.3",
|
||||
"fs-extra": "^10.0.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-if": "^3.0.0",
|
||||
"gulp-rename": "^2.0.0",
|
||||
"gulp-sass": "^5.1.0",
|
||||
"gulp-terser": "^2.1.0",
|
||||
"gulp-sass": "^4.1.0",
|
||||
"gulp-terser": "^2.0.1",
|
||||
"jquery": "^3.6.0",
|
||||
"merge-stream": "^2.0.0",
|
||||
"minimist": "^1.2.5",
|
||||
"node-sass-tilde-importer": "^1.0.2",
|
||||
"popper.js": "^1.16.0",
|
||||
"sass": "^1.49.9",
|
||||
"string-argv": "^0.3.1",
|
||||
"ts-node": "^10.5.0",
|
||||
"ts-node": "^9.1.1",
|
||||
"tsify": "^5.0.4",
|
||||
"tslint": "^6.1.3",
|
||||
"typescript": "^4.6.2",
|
||||
"typescript": "^4.2.4",
|
||||
"typescript-tslint-plugin": "^1.0.1",
|
||||
"upath": "^2.0.1",
|
||||
"vinyl-buffer": "^1.0.1",
|
||||
|
|
|
@ -11,49 +11,47 @@
|
|||
</head>
|
||||
<body class="d-flex flex-column h-100">
|
||||
<nav class="navbar navbar-expand-md fixed-top navbar-dark bg-dark">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="$AbsoluteBaseURL">
|
||||
<div class="navbar-title">$SiteConfig.Title</div>
|
||||
<div class="navbar-tagline">$SiteConfig.Tagline</div>
|
||||
</a>
|
||||
<% if $Menu(1) %>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#mainNav" aria-controls="mainNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="mainNav">
|
||||
<ul class="navbar-nav">
|
||||
<% loop $Menu(1) %>
|
||||
<% if $Children %>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle<% if $isCurrent || $isSection %> active <% end_if %>" href="#" id="mainNav_$URLSegment" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
$MenuTitle
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="mainNav_$URLSegment">
|
||||
<a class="dropdown-item<% if $isCurrent %> active <% end_if %>" href="$Link">
|
||||
$MenuTitle<% if $isCurrent %><span class="visually-hidden"> (current)</span><% end_if %>
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<% loop $Children %>
|
||||
<a class="dropdown-item<% if $isCurrent %> active<% end_if %>" href="$Link">
|
||||
$MenuTitle
|
||||
</a>
|
||||
<% end_loop %>
|
||||
</div>
|
||||
</li>
|
||||
<% else %>
|
||||
<li class="nav-item<% if $isCurrent %> active<% end_if %>">
|
||||
<a class="nav-link" href="$Link">
|
||||
<a class="navbar-brand" href="$AbsoluteBaseURL">
|
||||
<div class="navbar-title">$SiteConfig.Title</div>
|
||||
<div class="navbar-tagline">$SiteConfig.Tagline</div>
|
||||
</a>
|
||||
<% if $Menu(1) %>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#mainNav" aria-controls="mainNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="mainNav">
|
||||
<ul class="navbar-nav">
|
||||
<% loop $Menu(1) %>
|
||||
<% if $Children %>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle<% if $isCurrent || $isSection %> active <% end_if %>" href="#" id="mainNav_$URLSegment" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
$MenuTitle
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="mainNav_$URLSegment">
|
||||
<a class="dropdown-item<% if $isCurrent %> active <% end_if %>" href="$Link">
|
||||
$MenuTitle<% if $isCurrent %><span class="visually-hidden"> (current)</span><% end_if %>
|
||||
</a>
|
||||
</li>
|
||||
<% end_if %>
|
||||
<% end_loop %>
|
||||
</ul>
|
||||
</div>
|
||||
<% end_if %>
|
||||
</div>
|
||||
<div class="dropdown-divider"></div>
|
||||
<% loop $Children %>
|
||||
<a class="dropdown-item<% if $isCurrent %> active<% end_if %>" href="$Link">
|
||||
$MenuTitle
|
||||
</a>
|
||||
<% end_loop %>
|
||||
</div>
|
||||
</li>
|
||||
<% else %>
|
||||
<li class="nav-item<% if $isCurrent %> active<% end_if %>">
|
||||
<a class="nav-link" href="$Link">
|
||||
$MenuTitle<% if $isCurrent %><span class="visually-hidden"> (current)</span><% end_if %>
|
||||
</a>
|
||||
</li>
|
||||
<% end_if %>
|
||||
<% end_loop %>
|
||||
</ul>
|
||||
</div>
|
||||
<% end_if %>
|
||||
</nav>
|
||||
<main role="main" class="container-fluid col-11 flex-shrink-0" style="padding-top: 4.5rem">
|
||||
<main role="main" class="col-11 flex-shrink-0" style="padding-top: 4.5rem">
|
||||
$Content
|
||||
$Form
|
||||
</main>
|
||||
|
|
|
@ -1 +1 @@
|
|||
$tagline-font-size: calc($small-font-size / 2);
|
||||
$tagline-font-size: $small-font-size / 2;
|
||||
|
|
Loading…
Reference in a new issue