-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 43970bd
Showing
561 changed files
with
76,821 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* -text |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Project Phalanx</title> | ||
<base href="https://www.phalanx.tools" /> | ||
<link href="css/app.css" rel="stylesheet" /> | ||
<link href="Phalanx.App.styles.css" rel="stylesheet" /> | ||
<!-- turned off PWA for now to prevent cache issues - reenable when ready --> | ||
<!-- <link href="manifest.json" rel="manifest" /> --> | ||
<link rel="icon" type="image/svg" href="phalanx-favicon.svg" /> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200&display=swap" rel="stylesheet"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | ||
<link href="_content/Microsoft.Fast.Components.FluentUI/css/variables.css" rel="stylesheet" /> | ||
</head> | ||
|
||
<body> | ||
<div id="app">Loading...</div> | ||
|
||
<div id="blazor-error-ui"> | ||
An unhandled error has occurred. | ||
<a href="" class="reload">Reload</a> | ||
<a class="dismiss">🗙</a> | ||
</div> | ||
<script src="_framework/blazor.webassembly.js" autostart="false"></script> | ||
<!-- turned off PWA for now to prevent cache issues - reenable when ready --> | ||
<!-- <script>navigator.serviceWorker.register('service-worker.js');</script> --> | ||
|
||
<script type="text/javascript"> | ||
window.saveAsFile = async (filename, contentStreamReference) => { | ||
const arrayBuffer = await contentStreamReference.arrayBuffer(); | ||
const blob = new Blob([arrayBuffer]); | ||
const url = URL.createObjectURL(blob); | ||
var link = document.createElement('a'); | ||
link.download = filename ?? ''; | ||
link.href = url; | ||
document.body.appendChild(link); | ||
link.click(); | ||
document.body.removeChild(link); | ||
} | ||
</script> | ||
<script src="brotliloader.min.js" type="module"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
www.phalanx.tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,202 @@ | ||
@import '_content/Microsoft.Fast.Components.FluentUI/Microsoft.Fast.Components.FluentUI.bundle.scp.css'; | ||
|
||
/* /Pages/DataManagement.razor.rz.scp.css */ | ||
h1[b-5yyf4qktoz] { | ||
display: block; | ||
} | ||
|
||
.control-container[b-5yyf4qktoz] { | ||
margin-top: 2em; | ||
margin-bottom: 1em; | ||
} | ||
|
||
.data-gallery[b-5yyf4qktoz] { | ||
margin-top: 1em; | ||
} | ||
/* /Pages/Home/WelcomeView.razor.rz.scp.css */ | ||
h1[b-l1hrwtab49] { | ||
text-align: center; | ||
} | ||
/* /Pages/Management/GalleryItem.razor.rz.scp.css */ | ||
.gallery-item[b-6569xl1p2b] { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
min-height: 120px; | ||
padding: 0.2em 0.4em; | ||
margin-top: 0.5em; | ||
margin-bottom: 0.5em; | ||
} | ||
|
||
.game-system-title[b-6569xl1p2b] { | ||
font-size: 1.2em; | ||
display: block; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.remote-version[b-6569xl1p2b] { | ||
font-size: 1em; | ||
display: block; | ||
margin-top: 0.4em; | ||
} | ||
|
||
.remote-version-release-date[b-6569xl1p2b], .local-version[b-6569xl1p2b] { | ||
font-style: italic; | ||
font-size: 0.8em; | ||
display: block; | ||
} | ||
|
||
.game-system-info-container[b-6569xl1p2b], .gallery-item-button-container[b-6569xl1p2b] { | ||
margin-top: 0.6em; | ||
margin-bottom: 0.6em; | ||
} | ||
|
||
.gallery-item-button-container[b-6569xl1p2b] { | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
/* /Pages/Printing/RosterPreviewer.razor.rz.scp.css */ | ||
.html-renderer[b-5121wdtpgw] { | ||
/* TODO white background until we can adjust styling */ | ||
background-color: white; | ||
min-height: 50vh; | ||
width: 100%; | ||
} | ||
/* /Pages/RosterPrinter.razor.rz.scp.css */ | ||
.output-tabs[b-lytpo4k6s3] { | ||
flex: auto; | ||
} | ||
|
||
.output-tabs fluent-tab-panel[b-lytpo4k6s3] { | ||
height: 100%; | ||
} | ||
|
||
.output-tabs fluent-tab-panel>*[b-lytpo4k6s3] { | ||
height: 100%; | ||
width: 100%; | ||
} | ||
|
||
.card-container[b-lytpo4k6s3] { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 20px; | ||
} | ||
|
||
@media only screen and (min-width: 1024px) { | ||
.card-container[b-lytpo4k6s3] { | ||
flex-direction: row; | ||
} | ||
} | ||
/* /Shared/MainLayout.razor.rz.scp.css */ | ||
.page[b-p2hy1cp0r6] { | ||
position: relative; | ||
display: flex; | ||
flex-direction: column; | ||
min-height: 100vh; | ||
} | ||
|
||
main[b-p2hy1cp0r6] { | ||
flex: 1; | ||
} | ||
|
||
article[b-p2hy1cp0r6] { | ||
padding: 0 1.5rem; | ||
} | ||
|
||
footer[b-p2hy1cp0r6] { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
padding: 1rem 2rem; | ||
gap: 1rem; | ||
} | ||
|
||
@media only screen and (min-width: 640px) { | ||
footer[b-p2hy1cp0r6] { | ||
flex-direction: row; | ||
} | ||
} | ||
|
||
.sidebar[b-p2hy1cp0r6] { | ||
background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); | ||
} | ||
|
||
.top-row[b-p2hy1cp0r6] { | ||
justify-content: flex-end; | ||
height: 3.5rem; | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
@media (min-width: 641px) { | ||
.top-row[b-p2hy1cp0r6] { | ||
position: sticky; | ||
top: 0; | ||
z-index: 1; | ||
} | ||
} | ||
/* /Shared/NavMenu.razor.rz.scp.css */ | ||
.navbar-toggler[b-0ro0dfnwef] { | ||
background-color: rgba(255, 255, 255, 0.1); | ||
} | ||
|
||
.top-row[b-0ro0dfnwef] { | ||
height: 3.5rem; | ||
background-color: rgba(0,0,0,0.4); | ||
} | ||
|
||
.navbar-brand[b-0ro0dfnwef] { | ||
font-size: 1.1rem; | ||
} | ||
|
||
.oi[b-0ro0dfnwef] { | ||
width: 2rem; | ||
font-size: 1.1rem; | ||
vertical-align: text-top; | ||
top: -2px; | ||
} | ||
|
||
.nav-item[b-0ro0dfnwef] { | ||
font-size: 0.9rem; | ||
padding-bottom: 0.5rem; | ||
} | ||
|
||
.nav-item:first-of-type[b-0ro0dfnwef] { | ||
padding-top: 1rem; | ||
} | ||
|
||
.nav-item:last-of-type[b-0ro0dfnwef] { | ||
padding-bottom: 1rem; | ||
} | ||
|
||
.nav-item[b-0ro0dfnwef] a { | ||
color: #d7d7d7; | ||
border-radius: 4px; | ||
height: 3rem; | ||
display: flex; | ||
align-items: center; | ||
line-height: 3rem; | ||
} | ||
|
||
.nav-item[b-0ro0dfnwef] a.active { | ||
background-color: rgba(255,255,255,0.25); | ||
color: white; | ||
} | ||
|
||
.nav-item[b-0ro0dfnwef] a:hover { | ||
background-color: rgba(255,255,255,0.1); | ||
color: white; | ||
} | ||
|
||
@media (min-width: 641px) { | ||
.navbar-toggler[b-0ro0dfnwef] { | ||
display: none; | ||
} | ||
|
||
.collapse[b-0ro0dfnwef] { | ||
/* Never collapse the sidebar for wide screens */ | ||
display: block; | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
_content/Microsoft.Fast.Components.FluentUI/Components/Anchor/FluentAnchor.razor.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export function scrollIntoView(elementId) { | ||
// This function is called from the AnchorLink component using JavaScript interop. | ||
// It will try to find an element using the ID given to the function, and scroll that | ||
// element into view, if an element is found. | ||
var elem = document.getElementById(elementId); | ||
if (elem) { | ||
elem.scrollIntoView(); | ||
window.location.hash = elementId; | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
_content/Microsoft.Fast.Components.FluentUI/Components/CodeEditor/FluentCodeEditor.razor.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Initialize Monaco Editor | ||
export function monacoInitialize(id, dotNetHelper, options) { | ||
// require is provided by loader.min.js. | ||
require.config({ | ||
paths: { 'vs': options.path } | ||
}); | ||
|
||
require(["vs/editor/editor.main"], () => { | ||
var container = document.getElementById(id); | ||
|
||
// Hide the Progress Ring | ||
monaco.editor.onDidCreateEditor((e) => { | ||
var progress = document.getElementById(id + "-loading"); | ||
if (progress && progress.style) { | ||
progress.style.display = "none"; | ||
} | ||
}); | ||
|
||
// Create the Monaco Editor | ||
container.editor = monaco.editor.create(container, { | ||
ariaLabel: "online code editor", | ||
value: options.value, | ||
language: options.language, | ||
theme: options.theme, | ||
lineNumbers: options.lineNumbers ? "on" : "off", | ||
readOnly: options.readOnly, | ||
}); | ||
|
||
// Keep a reference of dotNetHelper | ||
container.dotNetHelper = dotNetHelper; | ||
|
||
// Catch when the editor lost the focus (didType to immediate) | ||
container.editor.onDidBlurEditorText((e) => { | ||
var code = container.editor.getValue(); | ||
container.dotNetHelper.invokeMethodAsync("UpdateValueAsync", code); | ||
}); | ||
|
||
container.editor.layout(); | ||
window.editor = container.editor; // To debug | ||
}); | ||
} | ||
|
||
// Update the editor options | ||
export function monacoSetOptions(id, options) { | ||
var container = document.getElementById(id); | ||
container.editor.setValue(options.value); | ||
container.editor.updateOptions({ | ||
language: options.language, | ||
theme: options.theme | ||
}); | ||
} |
Oops, something went wrong.