mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
- Commentboxes work (marginals) + mouseover
- Basic Briefe Controller - Generic XML reader
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
namespace HaWeb.Settings;
|
||||
|
||||
public static class CSSClasses {
|
||||
public const string LEMMACLASS = "ha-lemma"; // XML: <lemma>
|
||||
// Classes generated by parsing the XML:
|
||||
public const string LEMMACLASS = "ha-lemma"; // XML: <lemma>
|
||||
public const string TITLECLASS = "ha-title"; // XML: <title>
|
||||
public const string BACKLINKSCLASS = "ha-letlinks"; // Collection containing links to references in letters
|
||||
public const string BACKLINKSHKBCLASS = "ha-hkb"; // HKB-Text infront of l;ink collection
|
||||
public const string COMMENTHEADCLASS = "ha-commenthead"; // Head of a comment, containing lemma and backlinks
|
||||
public const string COMMENTBODYCLASS = "ha-commentbody"; // Body of a comment, contasining the text
|
||||
|
||||
@@ -13,4 +15,11 @@ public static class CSSClasses {
|
||||
|
||||
public const string INSERTEDLEMMACLASS = "ha-insertedlemma"; // XML <link linktext="true"></link>
|
||||
|
||||
|
||||
// TODO Classes used in Razor Pages:
|
||||
|
||||
|
||||
// TODO Classes used in Javascript:
|
||||
|
||||
// TODO IDs used by JavaScript:
|
||||
}
|
||||
9
HaWeb/Settings/GeneralSettings.cs
Normal file
9
HaWeb/Settings/GeneralSettings.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace HaWeb.Settings;
|
||||
|
||||
public static class General {
|
||||
// Classes generated by parsing the XML:
|
||||
public const string XMLFILEPATH = @"Hamann.xml";
|
||||
public const bool NORMALIZEWHITESPACE = true;
|
||||
public static (int, int) AVAILABLEYEARRANGE = (1751, 1788);
|
||||
public static string[] AVAILABLEVOLUMES = { };
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
namespace HaWeb.Settings;
|
||||
|
||||
public static class ParsingSettings {
|
||||
public static class HTML {
|
||||
public const string DEFAULTELEMENT = "div"; // Every tag gets replaced by a div, except fpr link or wwwlink
|
||||
}
|
||||
Reference in New Issue
Block a user