Skip to content
Snippets Groups Projects
Commit 7bf3ca96 authored by Martin de la Iglesia's avatar Martin de la Iglesia
Browse files

GND: http -> https

parent 861cec60
No related branches found
No related tags found
No related merge requests found
@namespace oxy url('http://www.oxygenxml.com/extensions/author');
@namespace xml url('http://www.w3.org/XML/1998/namespace');
oxy|comment{
display:none !important
}
teiHeader{
display:none;
}
text{
color:black;
}
person,personGrp{
display:block;
background-color:#fff1e5;
border-style:solid;
margin:10px;
}
person:before{
content:
oxy_label(
text, "ID:",
width, 8em)
oxy_textfield(
edit, "@xml:id",
columns, 32);
}
personGrp:before{
content:'░░▒▓███ Personengruppe ███▓▒░░\A'
oxy_label(
text, "ID:",
width, 8em)
oxy_textfield(
edit, "@xml:id",
columns, 32);
}
note[type='status']:before{
content:' Veröffentlichungsfreigabe:'
oxy_checkbox(
edit, "#text",
values, "cleared",
uncheckedValues, "unfinished",
labels, ""
);
}
note[type='status']{
visibility:-oxy-collapse-text
}
note[type='change']:nth-of-type(2){
display:block;
}
note[type='change']:nth-of-type(2):after{
content:
oxy_button(
actionID, 'timestamp'
)
"\A"
oxy_button(
action, oxy_action(
name, 'GND',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<idno type="URI" xmlns="http://www.tei-c.org/ns/1.0">https://d-nb.info/gnd/</idno>',
arg-insertLocation, '(following-sibling::note[@type="change"] | self::note[@type="change"])[last()]',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, 'ULAN',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<idno type="URI" xmlns="http://www.tei-c.org/ns/1.0">http://vocab.getty.edu/ulan/</idno>',
arg-insertLocation, '(following-sibling::note[@type="change"] | self::note[@type="change"])[last()]',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, 'BBKL',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<idno type="URI" xmlns="http://www.tei-c.org/ns/1.0">https://www.bbkl.de/public/index.php/frontend/lexicon/</idno>',
arg-insertLocation, '(following-sibling::note[@type="change"] | self::note[@type="change"])[last()]',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, 'Deutsche Biographie',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<idno type="URI" xmlns="http://www.tei-c.org/ns/1.0">https://www.deutsche-biographie.de/</idno>',
arg-insertLocation, '(following-sibling::note[@type="change"] | self::note[@type="change"])[last()]',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, 'Sandrart.net',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<idno type="URI" xmlns="http://www.tei-c.org/ns/1.0">http://ta.sandrart.net/-person-</idno>',
arg-insertLocation, '(following-sibling::note[@type="change"] | self::note[@type="change"])[last()]',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, 'RKDartists',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<idno type="URI" xmlns="http://www.tei-c.org/ns/1.0">https://rkd.nl/explore/artists/</idno>',
arg-insertLocation, '(following-sibling::note[@type="change"] | self::note[@type="change"])[last()]',
arg-insertPosition, 'After'),
showIcon, false
)
}
note[type='change']:not(note:first-of-type):not(note:nth-of-type(2)){
/* -oxy-foldable:true;
-oxy-folded:true;
display:block;*/
visibility:hidden
}
note ref{
color:maroon;
}
note ref:before {
position:absolute;
background-color: maroon;
color: #ffffff;
height: 20px;
line-height: 20px;
padding: 0 15px;
content: attr(target);
display: none;
}
note ref:hover:before{
display:inline-block;
}
note ref:hover{
visibility:visible;
}
persName[type='preferred']:after{
content:
oxy_button(
action, oxy_action(
name, '[+Variante]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<persName xmlns="http://www.tei-c.org/ns/1.0" type="variant"><term sortKey=""><forename/><surname/></term></persName>',
arg-insertLocation, 'self::persName',
arg-insertPosition, 'After'),
showIcon, false
)
}
persName[type='preferred'] forename:before{
content:
oxy_label(
text, "Vorname:",
width, 8em)
oxy_textfield(
edit, "#text",
columns, 32);
}
persName forename:after{
content:
oxy_button(
action, oxy_action(
name, 'Mononym',
operation,
'ro.sync.ecss.extensions.commons.operations.ExecuteMultipleActionsOperation',
arg-actionIDs,'mono1\A mono2'),
showIcon, false
)
}
persName name:after{
content:
oxy_button(
action, oxy_action(
name, 'Vor- und Nachname',
operation,
'ro.sync.ecss.extensions.commons.operations.ExecuteMultipleActionsOperation',
arg-actionIDs,'poly1\A poly2'),
showIcon, false
)
}
forename,surname,name,idno,birth,death,floruit,link,ptr[type=bbkl],ptr[type=db]{
display:block;
visibility:-oxy-collapse-text;
}
persName[type='preferred'] surname:before{
content:
oxy_label(
text, "Nachname:",
width, 8em)
oxy_textfield(
edit, "#text",
columns, 32);
}
persName[type='preferred'] name:before{
content:
oxy_label(
text, "Name:",
width, 8em)
oxy_textfield(
edit, "#text",
columns, 32);
}
persName[type='variant']:before{
content:"Namensvariante:";
}
persName[type='variant']:after{
content:" "
oxy_button(
action, oxy_action(
name, '[+]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<persName xmlns="http://www.tei-c.org/ns/1.0" type="variant"><term sortKey=""><forename/><surname/></term></persName>',
arg-insertLocation, 'self::persName',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'self::persName'),
showIcon, false
)
}
persName[type='preferred'] term[sortKey]:before{
content:
oxy_label(
text, "Sortierschlüssel:",
width, 8em)
oxy_textfield(
edit, "@sortKey",
columns, 32);
}
persName[type='variant'] term[sortKey]:before{
content:
oxy_label(
text, " Sortierschlüssel:",
width, 8em)
oxy_textfield(
edit, "@sortKey",
columns, 32);
}
persName[type='variant'] forename:before{
content:
oxy_label(
text, " Vorname:",
width, 8em)
oxy_textfield(
edit, "#text",
columns, 32);
}
persName[type='variant'] surname:before{
content:
oxy_label(
text, " Nachname:",
width, 8em)
oxy_textfield(
edit, "#text",
columns, 32);
}
persName[type='variant'] name:before{
content:
oxy_label(
text, " Name:",
width, 8em)
oxy_textfield(
edit, "#text",
columns, 32);
}
listBibl[type='occurrences']:not([subtype=auto]) {
visibility:hidden;
}
/*person listBibl[type='occurrences']:not([subtype=auto]):before{
content:"Vorkommen im Text:"
}*/
/*personGrp listBibl[type='occurrences']:not([subtype=auto]):before{*/
personGrp listBibl[type='occurrences'][subtype=auto]:before{
content:"\A Konfession (optional): " oxy_buttonGroup(
label,'Auswahl',
actions,
oxy_action_list(
oxy_action(
name, 'katholisch',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><linkGrp targFunc="active passive"><link ana="http://www.wikidata.org/prop/P140" target="#${xpath_eval(ancestor::personGrp/@xml:id)} http://www.wikidata.org/entity/Q1841"/></linkGrp><gloss>katholisch</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Before'
),
oxy_action(
name, 'protestantisch',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><linkGrp targFunc="active passive"><link ana="http://www.wikidata.org/prop/P140" target="#${xpath_eval(ancestor::personGrp/@xml:id)} http://www.wikidata.org/entity/Q23540"/></linkGrp><gloss>protestantisch</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Before'
),
oxy_action(
name, 'christlich allgemein',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><linkGrp targFunc="active passive"><link ana="http://www.wikidata.org/prop/P140" target="#${xpath_eval(ancestor::personGrp/@xml:id)} http://www.wikidata.org/entity/Q106039"/></linkGrp><gloss>christlich allgemein</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Before'
),
oxy_action(
name, 'andere',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><gloss>andere</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Before'
),
oxy_action(
name, 'keine Angabe',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><gloss>keine Angabe</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Before'
)
)
)
oxy_button(
action, oxy_action(
name, '[-Konfession]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'preceding-sibling::faith'),
showIcon, false
)
"\A"
oxy_button(
action, oxy_action(
name, '[+Kategorie]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0" scheme="#kategorien"/>',
arg-insertLocation, '.',
arg-insertPosition, 'Before'),
showIcon, false
)
/*"\A Vorkommen im Text:"*/
"\A\A Vorkommen im Text automatisch suchen:"
}
/*listBibl[type='occurrences']:not([subtype=auto]) bibl:before{
content:
oxy_textfield(
edit, "#text",
columns, 15);
}
listBibl[type='occurrences']:not([subtype=auto]) bibl:first-child:after{
content:
oxy_button(
action, oxy_action(
name, '[+Textstelle]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<bibl xmlns="http://www.tei-c.org/ns/1.0"></bibl>',
arg-insertLocation, './ancestor-or-self::bibl',
arg-insertPosition, 'After'),
showIcon, false
)
}
listBibl[type='occurrences']:not([subtype=auto]) bibl:not(bibl:first-child):after{
content:
oxy_button(
action, oxy_action(
name, '[+Textstelle]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<bibl xmlns="http://www.tei-c.org/ns/1.0"></bibl>',
arg-insertLocation, './ancestor-or-self::bibl',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'./ancestor-or-self::bibl'),
showIcon, false
)
}*/
person listBibl[subtype="auto"]:before{
content:"Vorkommen im Text automatisch suchen:"
}
listBibl[subtype="auto"] bibl{
display:block;
background-color:white
}
person listBibl[subtype="auto"]:after{
content:"\A"
oxy_button(
actionID, 'fetch-rs'
)
"\A"
oxy_button(
action, oxy_action(
name, '[+geboren/gestorben]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<birth xmlns="http://www.tei-c.org/ns/1.0"/><death xmlns="http://www.tei-c.org/ns/1.0"/>',
arg-insertLocation, '(ancestor-or-self::person)/listBibl[@subtype="auto"]',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, '[+Wirkungsdaten]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<floruit xmlns="http://www.tei-c.org/ns/1.0"/>',
arg-insertLocation, '(ancestor-or-self::person)/listBibl[@subtype="auto"]',
arg-insertPosition, 'After'),
showIcon, false
)
"\A"
oxy_button(
action, oxy_action(
name, 'weitere Angaben',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<note xmlns="http://www.tei-c.org/ns/1.0" type="annotation" subtype="bio"/>',
arg-insertLocation, '(ancestor-or-self::person)/listBibl[@subtype="auto"]',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, 'Kommentar',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<note xmlns="http://www.tei-c.org/ns/1.0" type="annotation" subtype="commentary"/>',
arg-insertLocation, '(ancestor-or-self::person)/listBibl[@subtype="auto"]',
arg-insertPosition, 'After'),
showIcon, false
)
}
personGrp listBibl[subtype="auto"]:after{
content:"\A"
oxy_button(
actionID, 'fetch-rs'
)
"\A"
oxy_button(
action, oxy_action(
name, '[+Wirkungsdaten]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<floruit xmlns="http://www.tei-c.org/ns/1.0"/>',
arg-insertLocation, '(ancestor-or-self::personGrp)/listBibl[@subtype="auto"]',
arg-insertPosition, 'After'),
showIcon, false
)
"\A"
/* oxy_button(
actionID, 'has_member',
showIcon, false
) */
oxy_buttonGroup(
label, '[+Mitglied]',
tooltip, 'Anfangsbuchstaben auswählen',
actionIDs, 'has_member-a, has_member-b, has_member-c, has_member-d, has_member-e, has_member-f, has_member-g, has_member-h, has_member-i, has_member-j, has_member-k, has_member-l, has_member-m, has_member-n, has_member-o, has_member-p, has_member-qr, has_member-s, has_member-t, has_member-u, has_member-v, has_member-w, has_member-xyz'
)
"\A"
oxy_button(
action, oxy_action(
name, 'weitere Angaben',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<note xmlns="http://www.tei-c.org/ns/1.0" type="annotation" subtype="bio"/>',
arg-insertLocation, '(ancestor-or-self::personGrp)/listBibl[@subtype="auto"]',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, 'Kommentar',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<note xmlns="http://www.tei-c.org/ns/1.0" type="annotation" subtype="commentary"/>',
arg-insertLocation, '(ancestor-or-self::personGrp)/listBibl[@subtype="auto"]',
arg-insertPosition, 'After'),
showIcon, false
)
}
idno[type='URI']:before{
content:
oxy_label(
text, "URI:",
width, 8em)
oxy_textfield(
edit, "#text",
columns, 64);
}
idno[type='URI']:after{
content:
oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'self::idno'),
showIcon, false
)
}
birth:before{
content:
oxy_label(
text, "geboren:",
width, 8em)
oxy_checkbox(
edit, '@precision',
values, 'low',
uncheckedValues, 'high',
labels, 'ca.')
oxy_textfield(
edit, "@when-iso",
columns, 8)
oxy_label(
text, " ODER zwischen ")
oxy_textfield(
edit, "@notBefore-iso",
columns, 8)
oxy_label(
text, " und ")
oxy_textfield(
edit, "@notAfter-iso",
columns, 8);
}
birth:after{
content: oxy_button(
action, oxy_action(
name, '[-geboren]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'self::birth'),
showIcon, false
)
}
death:before{
content:
oxy_label(
text, "gestorben:",
width, 8em)
oxy_checkbox(
edit, '@precision',
values, 'low',
uncheckedValues, 'high',
labels, 'ca.')
oxy_textfield(
edit, "@when-iso",
columns, 8)
oxy_label(
text, " ODER zwischen ")
oxy_textfield(
edit, "@notBefore-iso",
columns, 8)
oxy_label(
text, " und ")
oxy_textfield(
edit, "@notAfter-iso",
columns, 8);
}
death:after{
content:
oxy_button(
action, oxy_action(
name, '[-gestorben]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'self::death'),
showIcon, false
)
}
floruit:before{
content:
oxy_label(
text, "Wirkungsdaten verbal:",
width, 8em)
oxy_textfield(
edit, "#text",
columns, 32)
"\A Wirkungsdaten numerisch:"
oxy_checkbox(
edit, '@precision',
values, 'low',
uncheckedValues, 'high',
labels, 'ca.')
oxy_textfield(
edit, "@when-iso",
columns, 8)
oxy_label(
text, " ODER zwischen ")
oxy_textfield(
edit, "@notBefore-iso",
columns, 8)
oxy_label(
text, " und ")
oxy_textfield(
edit, "@notAfter-iso",
columns, 8);
}
floruit:after{
content: oxy_button(
action, oxy_action(
name, '[-Wirkungsdaten]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'self::floruit'),
showIcon, false
)
}
hi[rendition="#i"]{
font-style:italic
}
person>linkGrp>link:not(link:only-child):after{
content: oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'self::link'),
showIcon, false
)
}
personGrp>linkGrp>link:not(link:only-child):after{
content: oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'self::link'),
showIcon, false
)
}
/*link:not(faith link):only-child:after{
content: oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'parent::linkGrp'),
showIcon, false
)
}*/
person>linkGrp>link:only-child:after{
content: oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'parent::linkGrp'),
showIcon, false
)
}
personGrp>linkGrp>link:only-child:after{
content: oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'parent::linkGrp'),
showIcon, false
)
}
/*note[subtype='bio']:before{
content:
oxy_label(
text, "weitere Angaben:",
width, 8em)
oxy_textArea(
edit, "#content",
columns, 32
);
white-space:pre-wrap;
}*/
note[type=annotation]:before{
background-color:#fff1e5
}
note[subtype='bio']:before{
content:"weitere Angaben: "
}
note[type=annotation]{
display:block;
background-color:white
}
/*note[subtype='commentary']:before{
content:
oxy_label(
text, "Kommentar:",
width, 8em)
oxy_textArea(
edit, "#content",
columns, 32
);
white-space:pre-wrap;
}*/
note[subtype='commentary']:before{
content:"Kommentar: "
}
note[type='annotation']:after{
content:"\A"
oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'self::note'),
showIcon, false
)
}
person occupation:first-of-type:before{
content:
"\A"
/* oxy_button(
actionID, 'depicts',
showIcon, false
)*/
oxy_buttonGroup(
label, 'ist dargestellt in',
tooltip, 'Anfangsbuchstaben auswählen',
actionIDs, 'depicts-a, depicts-b, depicts-c, depicts-d, depicts-e, depicts-f, depicts-g, depicts-h, depicts-i, depicts-j, depicts-k, depicts-l, depicts-m, depicts-n, depicts-o, depicts-p, depicts-qr, depicts-s, depicts-t, depicts-u, depicts-v, depicts-w, depicts-xyz'
)
/* oxy_button(
actionID, 'member',
showIcon, false
)*/
oxy_buttonGroup(
label, 'ist Mitglied von (Gruppe)',
tooltip, 'Anfangsbuchstaben auswählen',
actionIDs, 'member_psn-a, member_psn-b, member_psn-c, member_psn-d, member_psn-e, member_psn-f, member_psn-g, member_psn-h, member_psn-i, member_psn-j, member_psn-k, member_psn-l, member_psn-m, member_psn-n, member_psn-o, member_psn-p, member_psn-qr, member_psn-s, member_psn-t, member_psn-u, member_psn-v, member_psn-w, member_psn-xyz'
)
/*oxy_button(
actionID, 'member_org',
showIcon, false
)*/
oxy_buttonGroup(
label, 'ist Mitglied von (Körperschaft)',
tooltip, 'Anfangsbuchstaben auswählen',
actionIDs, 'member_org-a, member_org-b, member_org-c, member_org-d, member_org-e, member_org-f, member_org-g, member_org-h, member_org-i, member_org-j, member_org-k, member_org-l, member_org-m, member_org-n, member_org-o, member_org-p, member_org-qr, member_org-s, member_org-t, member_org-u, member_org-v, member_org-w, member_org-xyz'
)
/* oxy_button(
actionID, 'creator',
showIcon, false
)*/
oxy_buttonGroup(
label, 'ist Urheber von',
tooltip, 'Anfangsbuchstaben auswählen',
actionIDs, 'creator-a, creator-b, creator-c, creator-d, creator-e, creator-f, creator-g, creator-h, creator-i, creator-j, creator-k, creator-l, creator-m, creator-n, creator-o, creator-p, creator-qr, creator-s, creator-t, creator-u, creator-v, creator-w, creator-xyz'
)
oxy_buttonGroup(
label, 'ist Verfasser von',
tooltip, 'Anfangsbuchstaben auswählen',
actionIDs, 'author-a, author-b, author-c, author-d, author-e, author-f, author-g, author-h, author-i, author-j, author-k, author-l, author-m, author-n, author-o, author-p, author-qr, author-s, author-t, author-u, author-v, author-w, author-xyz'
)
"\A Kategorie: "
oxy_combobox(
edit, '@code',
editable, false,
values, '#angewandt, #malerei, #skulptur, #graphik, #architektur, #mythologie, #bibel, #fuersten, #personifikationen, #gelehrte, #kirche, #sammler, #kaufleute, #hofleute, #stadt, #militaer, #bedienstete, #randgruppen, #sonstige',
labels, 'Künstler (Angewandte Kunst), Künstler (Malerei), Künstler (Skulptur), Künstler (Graphik), Künstler (Architektur), Mythologische Personen, Biblische Personen${comma} Heilige, Angehörige der Aristokratie, Personifikationen, Gelehrte und Schriftsteller, Angehörige von Klerus und Ordensgemeinschaften, Sammler / Auftraggeber, Kaufleute${comma} Gewerbetreibende${comma} Dienstleister, Hofleute${comma} höfische Administration, Städtische Administration, Angehörige des Militärs, Bedienstete, Angehörige von sozialen Randgruppen, Sonstige'
)
}
person occupation:not(occupation:first-of-type):before{
content:
"\A Kategorie: "
oxy_combobox(
edit, '@code',
editable, false,
values, '#angewandt, #malerei, #skulptur, #graphik, #architektur, #mythologie, #bibel, #fuersten, #personifikationen, #gelehrte, #kirche, #sammler, #kaufleute, #hofleute, #stadt, #militaer, #bedienstete, #randgruppen, #sonstige',
labels, 'Künstler (Angewandte Kunst), Künstler (Malerei), Künstler (Skulptur), Künstler (Graphik), Künstler (Architektur), Mythologische Personen, Biblische Personen${comma} Heilige, Angehörige der Aristokratie, Personifikationen, Gelehrte und Schriftsteller, Angehörige von Klerus und Ordensgemeinschaften, Sammler / Auftraggeber, Kaufleute${comma} Gewerbetreibende${comma} Dienstleister, Hofleute${comma} höfische Administration, Städtische Administration, Angehörige des Militärs, Bedienstete, Angehörige von sozialen Randgruppen, Sonstige'
)
}
personGrp occupation:before{
content:
"\A Kategorie: "
oxy_combobox(
edit, '@code',
editable, false,
values, '#angewandt, #malerei, #skulptur, #graphik, #architektur, #mythologie, #bibel, #fuersten, #personifikationen, #gelehrte, #kirche, #sammler, #kaufleute, #hofleute, #stadt, #militaer, #bedienstete, #randgruppen, #sonstige',
labels, 'Künstler (Angewandte Kunst), Künstler (Malerei), Künstler (Skulptur), Künstler (Graphik), Künstler (Architektur), Mythologische Personen, Biblische Personen${comma} Heilige, Angehörige der Aristokratie, Personifikationen, Gelehrte und Schriftsteller, Angehörige von Klerus und Ordensgemeinschaften, Sammler / Auftraggeber, Kaufleute${comma} Gewerbetreibende${comma} Dienstleister, Hofleute${comma} höfische Administration, Städtische Administration, Angehörige des Militärs, Bedienstete, Angehörige von sozialen Randgruppen, Sonstige'
)
}
p:not(p:last-child):after{
content:"\A "
}
personGrp listBibl[type=references]:before{
content:
"\A Literatur:"
}
occupation:first-of-type:after{
content:
oxy_button(
action, oxy_action(
name, '[+]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0" scheme="#kategorien"/>',
arg-insertLocation, '.',
arg-insertPosition, 'After'),
showIcon, false
);
}
personGrp occupation:first-of-type:after{
content:
oxy_button(
action, oxy_action(
name, '[+]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0" scheme="#kategorien"/>',
arg-insertLocation, '.',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'self::occupation'),
showIcon, false
)
}
occupation:not(occupation:first-of-type):after{
content:
oxy_button(
action, oxy_action(
name, '[+]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0" scheme="#kategorien"/>',
arg-insertLocation, '.',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'self::occupation'),
showIcon, false
)
}
person faith:first-of-type:before{
content:"\A Konfession: " oxy_buttonGroup(
label,'Auswahl',
actions,
oxy_action_list(
oxy_action(
name, 'katholisch',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><linkGrp targFunc="active passive"><link ana="http://www.wikidata.org/prop/P140" target="#${xpath_eval(ancestor::person/@xml:id)} http://www.wikidata.org/entity/Q1841"/></linkGrp><gloss>katholisch</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Replace'
),
oxy_action(
name, 'protestantisch',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><linkGrp targFunc="active passive"><link ana="http://www.wikidata.org/prop/P140" target="#${xpath_eval(ancestor::person/@xml:id)} http://www.wikidata.org/entity/Q23540"/></linkGrp><gloss>protestantisch</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Replace'
),
oxy_action(
name, 'christlich allgemein',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><linkGrp targFunc="active passive"><link ana="http://www.wikidata.org/prop/P140" target="#${xpath_eval(ancestor::person/@xml:id)} http://www.wikidata.org/entity/Q106039"/></linkGrp><gloss>christlich allgemein</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Replace'
),
oxy_action(
name, 'andere',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><gloss>andere</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Replace'
),
oxy_action(
name, 'keine Angabe',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><gloss>keine Angabe</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Replace'
)
)
)
oxy_buttonGroup(
label,'2. Auswahl (Konvertiten)',
actions,
oxy_action_list(
oxy_action(
name, 'katholisch',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><linkGrp targFunc="active passive"><link ana="http://www.wikidata.org/prop/P140" target="#${xpath_eval(ancestor::person/@xml:id)} http://www.wikidata.org/entity/Q1841"/></linkGrp><gloss>katholisch</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'After'
),
oxy_action(
name, 'protestantisch',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><linkGrp targFunc="active passive"><link ana="http://www.wikidata.org/prop/P140" target="#${xpath_eval(ancestor::person/@xml:id)} http://www.wikidata.org/entity/Q23540"/></linkGrp><gloss>protestantisch</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'After'
),
oxy_action(
name, 'christlich allgemein',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><linkGrp targFunc="active passive"><link ana="http://www.wikidata.org/prop/P140" target="#${xpath_eval(ancestor::person/@xml:id)} http://www.wikidata.org/entity/Q106039"/></linkGrp><gloss>christlich allgemein</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'After'
),
oxy_action(
name, 'andere',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><gloss>andere</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'After'
),
oxy_action(
name, 'keine Angabe',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><gloss>keine Angabe</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'After'
)
)
)
}
person faith:nth-of-type(2):before{
content:"\A Konfession: " oxy_buttonGroup(
label,'Auswahl',
actions,
oxy_action_list(
oxy_action(
name, 'katholisch',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><linkGrp targFunc="active passive"><link ana="http://www.wikidata.org/prop/P140" target="#${xpath_eval(ancestor::person/@xml:id)} http://www.wikidata.org/entity/Q1841"/></linkGrp><gloss>katholisch</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Replace'
),
oxy_action(
name, 'protestantisch',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><linkGrp targFunc="active passive"><link ana="http://www.wikidata.org/prop/P140" target="#${xpath_eval(ancestor::person/@xml:id)} http://www.wikidata.org/entity/Q23540"/></linkGrp><gloss>protestantisch</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Replace'
),
oxy_action(
name, 'christlich allgemein',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><linkGrp targFunc="active passive"><link ana="http://www.wikidata.org/prop/P140" target="#${xpath_eval(ancestor::person/@xml:id)} http://www.wikidata.org/entity/Q106039"/></linkGrp><gloss>christlich allgemein</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Replace'
),
oxy_action(
name, 'andere',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><gloss>andere</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Replace'
),
oxy_action(
name, 'keine Angabe',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation',
arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0"><gloss>keine Angabe</gloss></faith>',
arg-insertLocation, '.',
arg-insertPosition, 'Replace'
)
)
)
oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'ancestor-or-self::faith'),
showIcon, false
)
}
faith gloss{
display:block
}
faith linkGrp {
display:none;
}
link[ana="http://purl.org/dc/elements/1.1/creator"]:before{
content:
oxy_label(
text, "ist Urheber von (ID):",
width, 8em)
oxy_textfield(
edit, "@target",
columns, 75);
}
person link[ana="http://erlangen-crm.org/current/P107_has_current_or_former_member"]:before{
content:
oxy_label(
text, "ist Mitglied von (ID):",
width, 8em)
oxy_textfield(
edit, "@target",
columns, 75);
}
personGrp link[ana="http://erlangen-crm.org/current/P107_has_current_or_former_member"]:before{
content:
oxy_label(
text, "Mitglied (ID):",
width, 8em)
oxy_textfield(
edit, "@target",
columns, 75);
}
link[ana="http://erlangen-crm.org/current/P62_depicts"]:before{
content:
oxy_label(
text, "ist dargestellt in (ID):",
width, 8em)
oxy_textfield(
edit, "@target",
columns, 75);
}
listBibl[type='references'],listBibl citedRange{
display:block;
}
person listBibl[type='references']:before{
content:"Literatur:"
}
listBibl citedRange{
visibility:-oxy-collapse-text;
}
listBibl[type='references'] ptr{
display:block;
}
listBibl[type='references'] ptr:before{
content:
oxy_label(
text, " ID: ",
width, 8em)
oxy_textfield(
edit, "@target",
columns, 32);
}
listBibl[type='references'] ptr:after{
content:oxy_buttonGroup(
label, 'auswählen',
tooltip, 'Anfangsbuchstaben auswählen',
actionIDs, 'bibl-a, bibl-b, bibl-c, bibl-d, bibl-e, bibl-f, bibl-g, bibl-h, bibl-i, bibl-j, bibl-k, bibl-l, bibl-m, bibl-n, bibl-o, bibl-p, bibl-qr, bibl-s, bibl-t, bibl-u, bibl-v, bibl-w, bibl-xyz'
)
}
listBibl[type='references'] citedRange:before{
content:
oxy_label(
text, " Seiten/Stichwort: ",
width, 8em)
oxy_textfield(
edit, "#text",
columns, 32);
}
listBibl[type='references'] citedRange:after{
content:oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'ancestor-or-self::citedRange'),
showIcon, false
)
oxy_label(
text, " Link zur Stelle: ",
width, 8em)
oxy_textfield(
edit, "@target",
columns, 32)
}
listBibl[type='references'] bibl:before{
content:oxy_button(
actionID, 'lit_inside',
showIcon, false
)
}
listBibl[type='references'] bibl:only-child:after{
content:"\A"
oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'./ancestor-or-self::listBibl'),
showIcon, false
)
}
listBibl[type='references'] bibl:not(bibl:only-child):after{
content:"\A"
/*oxy_button(
action, oxy_action(
name, '[+Literaturangabe]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<bibl xmlns="http://www.tei-c.org/ns/1.0"><ptr target="lit:"/><citedRange></citedRange></bibl>',
arg-insertLocation, './ancestor-or-self::bibl',
arg-insertPosition, 'After'),
showIcon, false
)*/
oxy_button(
action, oxy_action(
name, '[-]',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation',
arg-elementLocations,'./ancestor-or-self::bibl'),
showIcon, false
)
}
ref,note citedRange{
color:blue;
}
ref:before,note citedRange:before{
position:absolute;
background-color: blue;
color: #ffffff;
height: 20px;
line-height: 20px;
padding: 0 15px;
content: attr(target);
display: none;
}
ref:hover:before,note citedRange:hover:before{
display:inline-block;
}
ref:hover,note citedRange:hover{
visibility:visible;
}
rs{
color:maroon;
}
rs:before {
position:absolute;
background-color: maroon;
color: #ffffff;
height: 20px;
line-height: 20px;
padding: 0 15px;
content: attr(ref);
display: none;
}
rs:hover:before{
display:inline-block;
}
rs:hover{
visibility:visible;
}
person:after,personGrp:after{
content:"\A"
oxy_button(
actionID, 'lit',
showIcon, false
)
"\A"
oxy_button(
action, oxy_action(
name, '[+Person]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<person xmlns="http://www.tei-c.org/ns/1.0" xml:id=""><note type="status">unfinished</note><note type="change">edited at ${timeStamp} by ${env(USERNAME)}</note><persName type="preferred"><term sortKey=""><forename/><surname/></term></persName><listBibl type="occurrences"><bibl/></listBibl><listBibl type="occurrences" subtype="auto"><bibl/></listBibl><birth/><death/><occupation scheme="#kategorien" code=""/><faith/><listBibl type="references"><bibl><ptr target="lit:"/><citedRange>S. </citedRange></bibl></listBibl></person>',
arg-insertLocation, '.',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_button(
action, oxy_action(
name, '[+Personengruppe]',
operation,
'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<personGrp xmlns="http://www.tei-c.org/ns/1.0" xml:id=""><note type="status">unfinished</note><note type="change">edited at ${timeStamp} by ${env(USERNAME)}</note><persName type="preferred"><term sortKey=""><name/></term></persName><listBibl type="occurrences"><bibl/></listBibl><listBibl type="occurrences" subtype="auto"><bibl/></listBibl><listBibl type="references"><bibl><ptr target="lit:"/><citedRange>S. </citedRange></bibl></listBibl></personGrp>',
arg-insertLocation, '.',
arg-insertPosition, 'After'),
showIcon, false
)
oxy_buttonGroup(
label, 'DATENSATZ LÖSCHEN',
actions,
oxy_action_list(
oxy_action(
name, 'OK',
operation,
'ro.sync.ecss.extensions.commons.operations.DeleteElementOperation',
arg-elementLocation, 'self::person | self::personGrp'
),
oxy_action(
name, 'Abbrechen',
operation,'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '',
arg-insertLocation, '.',
arg-insertPosition, 'After'
)
)
)
oxy_button(
actionID, 'copy',
showIcon, false
)
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment