Compare commits
4 Commits
master
..
ed95535e0a
| Author | SHA1 | Date | |
|---|---|---|---|
| ed95535e0a | |||
| e1cb1a81a3 | |||
| b17f7e12db | |||
| 8e4298404d |
@@ -1,10 +1,10 @@
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using Model;
|
using Chrono.Model;
|
||||||
|
|
||||||
var repoRoot = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", ".."));
|
var repoRoot = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", ".."));
|
||||||
var docsDir = Path.Combine(repoRoot, "chrono.docs");
|
var docsDir = Path.Combine(repoRoot, "chrono.docs");
|
||||||
var webWwwRoot = Path.Combine(repoRoot, "Chrono", "Standalone", "wwwroot");
|
var webWwwRoot = Path.Combine(repoRoot, "Chrono", "Web", "wwwroot");
|
||||||
var generatedFile = Path.Combine(repoRoot, "Chrono", "Shared", "Generated", "Cards.g.cs");
|
var generatedFile = Path.Combine(repoRoot, "Chrono", "Shared", "Generated", "Cards.g.cs");
|
||||||
|
|
||||||
Console.WriteLine($"Repo root: {repoRoot}");
|
Console.WriteLine($"Repo root: {repoRoot}");
|
||||||
@@ -49,7 +49,7 @@ foreach (var file in mdFiles)
|
|||||||
Attack = ParseInt(yaml, "attack"),
|
Attack = ParseInt(yaml, "attack"),
|
||||||
Health = ParseInt(yaml, "health"),
|
Health = ParseInt(yaml, "health"),
|
||||||
Description = StripWikiLinks(yaml.GetValueOrDefault("description")),
|
Description = StripWikiLinks(yaml.GetValueOrDefault("description")),
|
||||||
Syndicate = StripWikiLink(yaml.GetValueOrDefault("faction")),
|
Faction = StripWikiLink(yaml.GetValueOrDefault("faction")),
|
||||||
Set = StripWikiLink(yaml.GetValueOrDefault("set")),
|
Set = StripWikiLink(yaml.GetValueOrDefault("set")),
|
||||||
Speed = StripWikiLink(yaml.GetValueOrDefault("speed")),
|
Speed = StripWikiLink(yaml.GetValueOrDefault("speed")),
|
||||||
Archetypes = ParseList(yaml, "archetypes").Select(s => StripWikiLink(s) ?? "").Where(s => s != "").ToList(),
|
Archetypes = ParseList(yaml, "archetypes").Select(s => StripWikiLink(s) ?? "").Where(s => s != "").ToList(),
|
||||||
@@ -66,13 +66,32 @@ foreach (var file in mdFiles)
|
|||||||
cards.Add(card);
|
cards.Add(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Copy PNGs to wwwroot/cards
|
||||||
|
var cardsDir = Path.Combine(webWwwRoot, "cards");
|
||||||
|
Directory.CreateDirectory(cardsDir);
|
||||||
|
|
||||||
|
var pngFiles = Directory.GetFiles(docsDir, "*.png", SearchOption.AllDirectories);
|
||||||
|
var pngMap = pngFiles
|
||||||
|
.GroupBy(Path.GetFileName)
|
||||||
|
.ToDictionary(g => g.Key!, g => g.First(), StringComparer.OrdinalIgnoreCase);
|
||||||
|
|
||||||
|
foreach (var card in cards)
|
||||||
|
{
|
||||||
|
if (card.ImageFile == null) continue;
|
||||||
|
if (pngMap.TryGetValue(card.ImageFile, out var src))
|
||||||
|
{
|
||||||
|
var dst = Path.Combine(cardsDir, card.ImageFile);
|
||||||
|
File.Copy(src, dst, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Generate C# source file
|
// Generate C# source file
|
||||||
Directory.CreateDirectory(Path.GetDirectoryName(generatedFile)!);
|
Directory.CreateDirectory(Path.GetDirectoryName(generatedFile)!);
|
||||||
using var writer = new StreamWriter(generatedFile, false, Encoding.UTF8);
|
using var writer = new StreamWriter(generatedFile, false, Encoding.UTF8);
|
||||||
writer.WriteLine("// <auto-generated/>");
|
writer.WriteLine("// <auto-generated/>");
|
||||||
writer.WriteLine("#nullable enable");
|
writer.WriteLine("#nullable enable");
|
||||||
writer.WriteLine();
|
writer.WriteLine();
|
||||||
writer.WriteLine("namespace Model;");
|
writer.WriteLine("namespace Chrono.Model;");
|
||||||
writer.WriteLine();
|
writer.WriteLine();
|
||||||
writer.WriteLine("public static class CardDatabase");
|
writer.WriteLine("public static class CardDatabase");
|
||||||
writer.WriteLine("{");
|
writer.WriteLine("{");
|
||||||
@@ -90,7 +109,7 @@ for (var i = 0; i < cards.Count; i++)
|
|||||||
WriteNullProp(writer, "Attack", c.Attack, 3);
|
WriteNullProp(writer, "Attack", c.Attack, 3);
|
||||||
WriteNullProp(writer, "Health", c.Health, 3);
|
WriteNullProp(writer, "Health", c.Health, 3);
|
||||||
WriteStrProp(writer, "Description", c.Description, 3);
|
WriteStrProp(writer, "Description", c.Description, 3);
|
||||||
WriteStrProp(writer, "Syndicate", c.Syndicate, 3);
|
WriteStrProp(writer, "Faction", c.Faction, 3);
|
||||||
WriteStrProp(writer, "Set", c.Set, 3);
|
WriteStrProp(writer, "Set", c.Set, 3);
|
||||||
WriteStrProp(writer, "Speed", c.Speed, 3);
|
WriteStrProp(writer, "Speed", c.Speed, 3);
|
||||||
WriteListProp(writer, "Archetypes", c.Archetypes, 3);
|
WriteListProp(writer, "Archetypes", c.Archetypes, 3);
|
||||||
@@ -138,7 +157,7 @@ foreach (var file in deckFiles)
|
|||||||
Divers = ParseList(yaml, "divers").Select(s => StripWikiLink(s) ?? "").Where(s => s != "").ToList(),
|
Divers = ParseList(yaml, "divers").Select(s => StripWikiLink(s) ?? "").Where(s => s != "").ToList(),
|
||||||
Description = StripWikiLinks(NullIfNa(yaml.GetValueOrDefault("description")))?.Replace("\r\n", "\n")
|
Description = StripWikiLinks(NullIfNa(yaml.GetValueOrDefault("description")))?.Replace("\r\n", "\n")
|
||||||
.Replace("\r", "\n").Replace("\n\n", "\n").Replace("\n\n", "\n"),
|
.Replace("\r", "\n").Replace("\n\n", "\n").Replace("\n\n", "\n"),
|
||||||
Syndicates = ParseList(yaml, "factions").Select(s => StripWikiLink(s) ?? "").Where(s => s != "").ToList(),
|
Factions = ParseList(yaml, "factions").Select(s => StripWikiLink(s) ?? "").Where(s => s != "").ToList(),
|
||||||
IsVisible = isVisible,
|
IsVisible = isVisible,
|
||||||
DeckCode = deckCode,
|
DeckCode = deckCode,
|
||||||
DeckType = yaml.GetValueOrDefault("deckType")
|
DeckType = yaml.GetValueOrDefault("deckType")
|
||||||
@@ -156,7 +175,7 @@ using var deckWriter = new StreamWriter(deckGeneratedFile, false, Encoding.UTF8)
|
|||||||
deckWriter.WriteLine("// <auto-generated/>");
|
deckWriter.WriteLine("// <auto-generated/>");
|
||||||
deckWriter.WriteLine("#nullable enable");
|
deckWriter.WriteLine("#nullable enable");
|
||||||
deckWriter.WriteLine();
|
deckWriter.WriteLine();
|
||||||
deckWriter.WriteLine("namespace Model;");
|
deckWriter.WriteLine("namespace Chrono.Model;");
|
||||||
deckWriter.WriteLine();
|
deckWriter.WriteLine();
|
||||||
deckWriter.WriteLine("public static class DeckDatabase");
|
deckWriter.WriteLine("public static class DeckDatabase");
|
||||||
deckWriter.WriteLine("{");
|
deckWriter.WriteLine("{");
|
||||||
@@ -173,7 +192,7 @@ for (var i = 0; i < decks.Count; i++)
|
|||||||
WriteListProp(deckWriter, "Keycards", d.Keycards, 3);
|
WriteListProp(deckWriter, "Keycards", d.Keycards, 3);
|
||||||
WriteListProp(deckWriter, "Divers", d.Divers, 3);
|
WriteListProp(deckWriter, "Divers", d.Divers, 3);
|
||||||
WriteStrProp(deckWriter, "Description", d.Description, 3);
|
WriteStrProp(deckWriter, "Description", d.Description, 3);
|
||||||
WriteListProp(deckWriter, "Syndicates", d.Syndicates, 3);
|
WriteListProp(deckWriter, "Factions", d.Factions, 3);
|
||||||
deckWriter.WriteLine($" IsVisible = {(d.IsVisible ? "true" : "false")},");
|
deckWriter.WriteLine($" IsVisible = {(d.IsVisible ? "true" : "false")},");
|
||||||
WriteStrProp(deckWriter, "DeckCode", d.DeckCode, 3);
|
WriteStrProp(deckWriter, "DeckCode", d.DeckCode, 3);
|
||||||
WriteStrProp(deckWriter, "DeckType", d.DeckType, 3);
|
WriteStrProp(deckWriter, "DeckType", d.DeckType, 3);
|
||||||
@@ -210,38 +229,19 @@ foreach (var file in mdFiles)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var category = yaml.GetValueOrDefault("category");
|
var category = yaml.GetValueOrDefault("category") ?? Path.GetFileName(Path.GetDirectoryName(file)) ?? "";
|
||||||
if (category == null)
|
|
||||||
{
|
|
||||||
var parentDir = Path.GetFileName(Path.GetDirectoryName(file)) ?? "";
|
|
||||||
category = parentDir;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (excludedCategories.Contains(category)) continue;
|
if (excludedCategories.Contains(category)) continue;
|
||||||
|
|
||||||
// Also exclude files that look like base templates
|
// Also exclude files that look like base templates
|
||||||
var fileName = Path.GetFileName(file);
|
var fileName = Path.GetFileName(file);
|
||||||
if (fileName.StartsWith("_")) continue;
|
if (fileName.StartsWith("_")) continue;
|
||||||
|
|
||||||
// Special handling for Syndicates and Syndicate Pairings
|
|
||||||
List<string>? syndicatesProp = null;
|
|
||||||
if (category == "Syndicate Pairings")
|
|
||||||
{
|
|
||||||
syndicatesProp = ParseList(yaml, "syndicates");
|
|
||||||
}
|
|
||||||
else if (category == "Syndicate" || category == "Faction")
|
|
||||||
{
|
|
||||||
syndicatesProp = [Path.GetFileNameWithoutExtension(file)];
|
|
||||||
category = "Syndicate"; // Normalize Faction to Syndicate
|
|
||||||
}
|
|
||||||
|
|
||||||
docs.Add(new DocData
|
docs.Add(new DocData
|
||||||
{
|
{
|
||||||
Title = Path.GetFileNameWithoutExtension(file),
|
Title = Path.GetFileNameWithoutExtension(file),
|
||||||
Category = category,
|
Category = category,
|
||||||
Content = body,
|
Content = body,
|
||||||
Frontmatter = yaml,
|
Frontmatter = yaml
|
||||||
Syndicates = syndicatesProp
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -251,7 +251,7 @@ using var docWriter = new StreamWriter(docGeneratedFile, false, Encoding.UTF8);
|
|||||||
docWriter.WriteLine("// <auto-generated/>");
|
docWriter.WriteLine("// <auto-generated/>");
|
||||||
docWriter.WriteLine("#nullable enable");
|
docWriter.WriteLine("#nullable enable");
|
||||||
docWriter.WriteLine();
|
docWriter.WriteLine();
|
||||||
docWriter.WriteLine("namespace Model;");
|
docWriter.WriteLine("namespace Chrono.Model;");
|
||||||
docWriter.WriteLine();
|
docWriter.WriteLine();
|
||||||
docWriter.WriteLine("public static class DocDatabase");
|
docWriter.WriteLine("public static class DocDatabase");
|
||||||
docWriter.WriteLine("{");
|
docWriter.WriteLine("{");
|
||||||
@@ -267,7 +267,6 @@ for (var i = 0; i < docs.Count; i++)
|
|||||||
WriteProp(docWriter, "Category", d.Category, 3);
|
WriteProp(docWriter, "Category", d.Category, 3);
|
||||||
WriteStrProp(docWriter, "Content", d.Content, 3);
|
WriteStrProp(docWriter, "Content", d.Content, 3);
|
||||||
WriteDictProp(docWriter, "Frontmatter", d.Frontmatter, 3);
|
WriteDictProp(docWriter, "Frontmatter", d.Frontmatter, 3);
|
||||||
WriteListProp(docWriter, "Syndicates", d.Syndicates, 3);
|
|
||||||
var comma = i < docs.Count - 1 ? "," : "";
|
var comma = i < docs.Count - 1 ? "," : "";
|
||||||
docWriter.WriteLine($" }}{comma}");
|
docWriter.WriteLine($" }}{comma}");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,133 @@
|
|||||||
|
"""
|
||||||
|
One-time script: Download card images from playchrono.com and add imageLink frontmatter.
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
python process_cards.py
|
||||||
|
|
||||||
|
Requires a saved HTML copy of https://www.playchrono.com/collections/cards
|
||||||
|
with the embedded JSON.parse('...') card data.
|
||||||
|
"""
|
||||||
|
import re
|
||||||
|
import json
|
||||||
|
import os
|
||||||
|
import urllib.request
|
||||||
|
import sys
|
||||||
|
|
||||||
|
# Adjust these paths for your environment
|
||||||
|
html_file = r"../playchrono_cards_page.html"
|
||||||
|
docs_dir = r"../../chrono.docs"
|
||||||
|
|
||||||
|
if not os.path.exists(html_file):
|
||||||
|
# Fallback: search for saved tool output
|
||||||
|
possible = [f for f in os.listdir(r"C:\Users\jonmc\.local\share\opencode\tool-output")
|
||||||
|
if f.startswith("tool_") and os.path.isfile(os.path.join(r"C:\Users\jonmc\.local\share\opencode\tool-output", f))]
|
||||||
|
if possible:
|
||||||
|
html_file = os.path.join(r"C:\Users\jonmc\.local\share\opencode\tool-output", possible[-1])
|
||||||
|
|
||||||
|
with open(html_file, 'r', encoding='utf-8') as f:
|
||||||
|
html = f.read()
|
||||||
|
|
||||||
|
start_marker = "JSON.parse('"
|
||||||
|
idx = html.find(start_marker)
|
||||||
|
if idx < 0:
|
||||||
|
print("ERROR: Could not find JSON.parse in HTML")
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
start = idx + len(start_marker)
|
||||||
|
quote_end = html.find("')", start)
|
||||||
|
if quote_end < 0:
|
||||||
|
print("ERROR: Could not find closing '")
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
raw_json_str = html[start:quote_end]
|
||||||
|
|
||||||
|
json_str = raw_json_str.encode('utf-8').decode('unicode_escape')
|
||||||
|
json_str = json_str.replace('\\/', '/')
|
||||||
|
|
||||||
|
try:
|
||||||
|
cards = json.loads(json_str)
|
||||||
|
except json.JSONDecodeError as e:
|
||||||
|
print(f"ERROR parsing JSON: {e}")
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
print(f"Found {len(cards)} cards")
|
||||||
|
|
||||||
|
name_to_image = {}
|
||||||
|
for card in cards:
|
||||||
|
name = card.get('name', '')
|
||||||
|
image_url = card.get('image_url', '')
|
||||||
|
if name and image_url:
|
||||||
|
name_to_image[name.lower()] = image_url
|
||||||
|
counterpart = card.get('counterpart')
|
||||||
|
if counterpart and isinstance(counterpart, dict):
|
||||||
|
cname = counterpart.get('name', '')
|
||||||
|
cimage = counterpart.get('image_url', '')
|
||||||
|
if cname and cimage:
|
||||||
|
name_to_image[cname.lower()] = cimage
|
||||||
|
|
||||||
|
print(f"Built mapping for {len(name_to_image)} card names")
|
||||||
|
|
||||||
|
md_files = [f for f in os.listdir(docs_dir) if f.endswith('.md')]
|
||||||
|
print(f"Found {len(md_files)} markdown files")
|
||||||
|
|
||||||
|
processed = 0
|
||||||
|
downloaded = 0
|
||||||
|
matched = 0
|
||||||
|
for md_file in sorted(md_files):
|
||||||
|
filepath = os.path.join(docs_dir, md_file)
|
||||||
|
|
||||||
|
card_name = md_file[:-3]
|
||||||
|
card_name_lower = card_name.lower()
|
||||||
|
|
||||||
|
if card_name_lower not in name_to_image:
|
||||||
|
continue
|
||||||
|
|
||||||
|
matched += 1
|
||||||
|
image_url = name_to_image[card_name_lower]
|
||||||
|
|
||||||
|
png_filename = f"{card_name}.png"
|
||||||
|
png_filepath = os.path.join(docs_dir, png_filename)
|
||||||
|
|
||||||
|
if not os.path.exists(png_filepath):
|
||||||
|
try:
|
||||||
|
print(f" DL: {png_filename}")
|
||||||
|
req = urllib.request.Request(image_url, headers={
|
||||||
|
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36'
|
||||||
|
})
|
||||||
|
with urllib.request.urlopen(req) as response:
|
||||||
|
with open(png_filepath, 'wb') as out:
|
||||||
|
out.write(response.read())
|
||||||
|
downloaded += 1
|
||||||
|
except Exception as e:
|
||||||
|
print(f" ERR: {png_filename} - {e}")
|
||||||
|
continue
|
||||||
|
|
||||||
|
with open(filepath, 'r', encoding='utf-8') as f:
|
||||||
|
content = f.read()
|
||||||
|
|
||||||
|
has_image_link = 'imageLink:' in content
|
||||||
|
img_ref = f"![[{png_filename}]]"
|
||||||
|
has_img_ref = img_ref in content
|
||||||
|
|
||||||
|
if has_image_link and has_img_ref:
|
||||||
|
continue
|
||||||
|
|
||||||
|
modified = content
|
||||||
|
|
||||||
|
if not has_image_link:
|
||||||
|
modified = modified.rstrip()
|
||||||
|
if modified.endswith('---'):
|
||||||
|
modified = modified[:-3] + f'imageLink: "[[{png_filename}]]"\n---'
|
||||||
|
else:
|
||||||
|
modified = modified + f'\nimageLink: "[[{png_filename}]]"\n'
|
||||||
|
|
||||||
|
if not has_img_ref:
|
||||||
|
modified = modified.rstrip() + f'\n\n\n{img_ref}\n'
|
||||||
|
|
||||||
|
with open(filepath, 'w', encoding='utf-8') as f:
|
||||||
|
f.write(modified)
|
||||||
|
|
||||||
|
processed += 1
|
||||||
|
|
||||||
|
print(f"\nDone! Matched: {matched}, Downloaded: {downloaded}, Updated markdown: {processed}")
|
||||||
|
print(f"Skipped (no card match): {len(md_files) - matched}")
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Standalone", "Standalone\Standalone.csproj", "{18981096-443A-44BF-AE56-6499C2B03AEF}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web", "Web\Web.csproj", "{18981096-443A-44BF-AE56-6499C2B03AEF}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build", "Build\Build.csproj", "{36E3775C-0E28-4EAE-AE92-4FB493E3787F}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build", "Build\Build.csproj", "{36E3775C-0E28-4EAE-AE92-4FB493E3787F}"
|
||||||
EndProject
|
EndProject
|
||||||
@@ -10,16 +10,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Deploy", "Deploy\Deploy.csp
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{90F32056-6983-4224-8A8C-E797C71633F3}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{90F32056-6983-4224-8A8C-E797C71633F3}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cloud", "Cloud\Cloud.csproj", "{BFB7B73F-EFDD-4DE8-89F2-E1CBE1B55C27}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server", "Server\Server.csproj", "{BFB7B73F-EFDD-4DE8-89F2-E1CBE1B55C27}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shared", "Shared\Shared.csproj", "{30D8468D-01E1-4D8A-99AF-EE4A75A5E956}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shared", "Shared\Shared.csproj", "{30D8468D-01E1-4D8A-99AF-EE4A75A5E956}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Markdown", "Markdown\Markdown.csproj", "{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}"
|
|
||||||
EndProject
|
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "md", "md", "{A4C572E4-E709-4553-B42F-709BFFFE0A7E}"
|
|
||||||
EndProject
|
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "shared", "shared", "{92ED656F-1D94-4348-97AD-B76094B14A8E}"
|
|
||||||
EndProject
|
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@@ -114,28 +108,8 @@ Global
|
|||||||
{30D8468D-01E1-4D8A-99AF-EE4A75A5E956}.Release|x64.Build.0 = Release|Any CPU
|
{30D8468D-01E1-4D8A-99AF-EE4A75A5E956}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{30D8468D-01E1-4D8A-99AF-EE4A75A5E956}.Release|x86.ActiveCfg = Release|Any CPU
|
{30D8468D-01E1-4D8A-99AF-EE4A75A5E956}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{30D8468D-01E1-4D8A-99AF-EE4A75A5E956}.Release|x86.Build.0 = Release|Any CPU
|
{30D8468D-01E1-4D8A-99AF-EE4A75A5E956}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}.Debug|x64.ActiveCfg = Debug|Any CPU
|
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}.Debug|x64.Build.0 = Debug|Any CPU
|
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}.Debug|x86.ActiveCfg = Debug|Any CPU
|
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}.Debug|x86.Build.0 = Debug|Any CPU
|
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}.Release|x64.ActiveCfg = Release|Any CPU
|
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}.Release|x64.Build.0 = Release|Any CPU
|
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}.Release|x86.ActiveCfg = Release|Any CPU
|
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C}.Release|x86.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(NestedProjects) = preSolution
|
|
||||||
{BA7A908C-FEF7-4AC7-ABCE-437259A6C34C} = {A4C572E4-E709-4553-B42F-709BFFFE0A7E}
|
|
||||||
{36E3775C-0E28-4EAE-AE92-4FB493E3787F} = {92ED656F-1D94-4348-97AD-B76094B14A8E}
|
|
||||||
{90F32056-6983-4224-8A8C-E797C71633F3} = {92ED656F-1D94-4348-97AD-B76094B14A8E}
|
|
||||||
{30D8468D-01E1-4D8A-99AF-EE4A75A5E956} = {92ED656F-1D94-4348-97AD-B76094B14A8E}
|
|
||||||
{3358AF7A-603B-4BAC-A7F5-07978FB87843} = {92ED656F-1D94-4348-97AD-B76094B14A8E}
|
|
||||||
{E5E9A799-76C8-43B3-B9C2-3CAEC2B5E1DD} = {92ED656F-1D94-4348-97AD-B76094B14A8E}
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
@inherits LayoutComponentBase
|
|
||||||
@inject Shared.Services.CardPreviewService PreviewService
|
|
||||||
<div class="page">
|
|
||||||
<div class="sidebar">
|
|
||||||
<NavMenu/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<main>
|
|
||||||
<NavigationTracker/>
|
|
||||||
<article class="content px-4">
|
|
||||||
<TelerikRootComponent>
|
|
||||||
@Body
|
|
||||||
<Shared.Components.CardPreview />
|
|
||||||
<Shared.Components.DocDetailModal Doc="@PreviewService.SelectedDoc"
|
|
||||||
OnClose="@(() => PreviewService.SelectDoc(null))" />
|
|
||||||
</TelerikRootComponent>
|
|
||||||
</article>
|
|
||||||
</main>
|
|
||||||
</div>
|
|
||||||
|
Before Width: | Height: | Size: 434 KiB |
|
Before Width: | Height: | Size: 560 KiB |
|
Before Width: | Height: | Size: 656 KiB |
|
Before Width: | Height: | Size: 568 KiB |
|
Before Width: | Height: | Size: 243 KiB |
|
Before Width: | Height: | Size: 808 KiB |
|
Before Width: | Height: | Size: 386 KiB |
|
Before Width: | Height: | Size: 573 KiB |
|
Before Width: | Height: | Size: 532 KiB |
|
Before Width: | Height: | Size: 514 KiB |
|
Before Width: | Height: | Size: 843 KiB |
|
Before Width: | Height: | Size: 12 MiB |
|
Before Width: | Height: | Size: 603 KiB |
|
Before Width: | Height: | Size: 571 KiB |
|
Before Width: | Height: | Size: 380 KiB |
|
Before Width: | Height: | Size: 360 KiB |
|
Before Width: | Height: | Size: 449 KiB |
|
Before Width: | Height: | Size: 275 KiB |
|
Before Width: | Height: | Size: 621 KiB |
|
Before Width: | Height: | Size: 398 KiB |
|
Before Width: | Height: | Size: 397 KiB |
|
Before Width: | Height: | Size: 548 KiB |
|
Before Width: | Height: | Size: 582 KiB |
|
Before Width: | Height: | Size: 425 KiB |
|
Before Width: | Height: | Size: 524 KiB |
|
Before Width: | Height: | Size: 584 KiB |
|
Before Width: | Height: | Size: 691 KiB |
|
Before Width: | Height: | Size: 446 KiB |
|
Before Width: | Height: | Size: 570 KiB |
|
Before Width: | Height: | Size: 493 KiB |
|
Before Width: | Height: | Size: 531 KiB |
|
Before Width: | Height: | Size: 515 KiB |
|
Before Width: | Height: | Size: 410 KiB |
|
Before Width: | Height: | Size: 583 KiB |
|
Before Width: | Height: | Size: 432 KiB |
|
Before Width: | Height: | Size: 551 KiB |
|
Before Width: | Height: | Size: 536 KiB |
|
Before Width: | Height: | Size: 418 KiB |
|
Before Width: | Height: | Size: 512 KiB |
|
Before Width: | Height: | Size: 611 KiB |
|
Before Width: | Height: | Size: 577 KiB |
|
Before Width: | Height: | Size: 466 KiB |
|
Before Width: | Height: | Size: 586 KiB |
|
Before Width: | Height: | Size: 630 KiB |
|
Before Width: | Height: | Size: 515 KiB |
|
Before Width: | Height: | Size: 517 KiB |
|
Before Width: | Height: | Size: 511 KiB |
|
Before Width: | Height: | Size: 588 KiB |
|
Before Width: | Height: | Size: 564 KiB |
|
Before Width: | Height: | Size: 706 KiB |
|
Before Width: | Height: | Size: 571 KiB |
|
Before Width: | Height: | Size: 549 KiB |
|
Before Width: | Height: | Size: 562 KiB |
|
Before Width: | Height: | Size: 509 KiB |
|
Before Width: | Height: | Size: 551 KiB |
|
Before Width: | Height: | Size: 544 KiB |
|
Before Width: | Height: | Size: 654 KiB |
|
Before Width: | Height: | Size: 689 KiB |
|
Before Width: | Height: | Size: 567 KiB |
|
Before Width: | Height: | Size: 428 KiB |
|
Before Width: | Height: | Size: 477 KiB |
|
Before Width: | Height: | Size: 480 KiB |
|
Before Width: | Height: | Size: 484 KiB |
|
Before Width: | Height: | Size: 542 KiB |
|
Before Width: | Height: | Size: 443 KiB |
|
Before Width: | Height: | Size: 398 KiB |
|
Before Width: | Height: | Size: 479 KiB |
|
Before Width: | Height: | Size: 799 KiB |
|
Before Width: | Height: | Size: 376 KiB |
|
Before Width: | Height: | Size: 538 KiB |
|
Before Width: | Height: | Size: 797 KiB |
|
Before Width: | Height: | Size: 415 KiB |
|
Before Width: | Height: | Size: 525 KiB |
|
Before Width: | Height: | Size: 493 KiB |
|
Before Width: | Height: | Size: 466 KiB |
|
Before Width: | Height: | Size: 649 KiB |
|
Before Width: | Height: | Size: 401 KiB |
|
Before Width: | Height: | Size: 446 KiB |
|
Before Width: | Height: | Size: 592 KiB |
|
Before Width: | Height: | Size: 450 KiB |
|
Before Width: | Height: | Size: 404 KiB |
|
Before Width: | Height: | Size: 856 KiB |
|
Before Width: | Height: | Size: 623 KiB |
|
Before Width: | Height: | Size: 444 KiB |
|
Before Width: | Height: | Size: 557 KiB |
|
Before Width: | Height: | Size: 414 KiB |
|
Before Width: | Height: | Size: 625 KiB |
|
Before Width: | Height: | Size: 579 KiB |
|
Before Width: | Height: | Size: 571 KiB |
|
Before Width: | Height: | Size: 504 KiB |
|
Before Width: | Height: | Size: 348 KiB |
|
Before Width: | Height: | Size: 646 KiB |
|
Before Width: | Height: | Size: 453 KiB |
|
Before Width: | Height: | Size: 474 KiB |
|
Before Width: | Height: | Size: 582 KiB |
|
Before Width: | Height: | Size: 566 KiB |