Rename to Elwig

This commit is contained in:
2023-03-18 10:57:59 +01:00
parent c27b7b8846
commit c8ffe57ff1
45 changed files with 72 additions and 68 deletions

View File

@ -1,6 +1,6 @@
@using RazorLight
@inherits TemplatePage<WGneu.Documents.BusinessDocument>
@model WGneu.Documents.BusinessDocument
@inherits TemplatePage<Elwig.Documents.BusinessDocument>
@model Elwig.Documents.BusinessDocument
@{ Layout = "Document"; }
<div class="info-wrapper">

View File

@ -3,9 +3,9 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WGneu.Models;
using Elwig.Models;
namespace WGneu.Documents {
namespace Elwig.Documents {
public abstract class BusinessDocument : Document {
public BusinessDocument(string title, Member m) : base(title) {

View File

@ -1,6 +1,6 @@
@using RazorLight
@inherits TemplatePage<WGneu.Documents.BusinessLetter>
@model WGneu.Documents.BusinessLetter
@inherits TemplatePage<Elwig.Documents.BusinessLetter>
@model Elwig.Documents.BusinessLetter
@{ Layout = "BusinessDocument"; }
<p>Sehr geehrtes Mitglied,</p>

View File

@ -3,9 +3,9 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WGneu.Models;
using Elwig.Models;
namespace WGneu.Documents {
namespace Elwig.Documents {
public class BusinessLetter : BusinessDocument {
public BusinessLetter(string title, Member m) : base(title, m) {

View File

@ -5,9 +5,9 @@ using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Windows;
using WGneu.Helpers;
using Elwig.Helpers;
namespace WGneu.Documents {
namespace Elwig.Documents {
public abstract class Document : IDisposable {
private TempFile? PdfFile = null;

View File

@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WGneu.Documents {
namespace Elwig.Documents {
public static class Html {
private static RazorLightEngine? Engine = null;
public static bool IsReady => Engine != null;

View File

@ -12,10 +12,10 @@ using PdfSharp.Pdf.IO;
using PuppeteerSharp;
using PuppeteerSharp.Media;
using RazorLight;
using WGneu.Helpers;
using WGneu.Windows;
using Elwig.Helpers;
using Elwig.Windows;
namespace WGneu.Documents {
namespace Elwig.Documents {
public static class Pdf {
private static readonly string CHROMIUM = @"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe";

View File

@ -1,5 +1,5 @@
@using RazorLight
@inherits TemplatePage<WGneu.Documents.Document>
@inherits TemplatePage<Elwig.Documents.Document>
<style>
:root {