Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
intermediate-format
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bibliothek-der-neologie
intermediate-format
Commits
e63310e9
Commit
e63310e9
authored
7 years ago
by
usikora
Browse files
Options
Downloads
Patches
Plain Diff
some modification on analysis prototype and main-template
parent
e08a883d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
modules/presentation/presentation.xqm
+14
-5
14 additions, 5 deletions
modules/presentation/presentation.xqm
resources/css/presentation.if.css
+44
-1
44 additions, 1 deletion
resources/css/presentation.if.css
templates/page.html
+4
-0
4 additions, 0 deletions
templates/page.html
with
62 additions
and
6 deletions
modules/presentation/presentation.xqm
+
14
−
5
View file @
e63310e9
...
...
@@ -42,14 +42,16 @@ declare function presentation:tei-body
case
element
(
tei:aligned
)
return
(
element
{
"span"
}{
attribute
{
"style"
}{
"display:block"
}
,
attribute
{
"class"
}{
"aligned ble"
}
,
presentation:tei-body
(
$node
/
node
())
}
)
case
element
(
tei:app
)
return
(
presentation:tei-body
(
$node
/
node
())
element
{
"span"
}{
attribute
{
"class"
}{
"app"
}
,
presentation:tei-body
(
$node
/
node
())
}
)
case
element
(
tei:body
)
return
(
...
...
@@ -158,7 +160,10 @@ declare function presentation:tei-body
)
case
element
(
tei:lem
)
return
(
presentation:tei-body
(
$node
/
node
())
element
{
"span"
}{
attribute
{
"class"
}{
"lem"
}
,
presentation:tei-body
(
$node
/
node
())
}
)
case
element
(
tei:list
)
return
(
...
...
@@ -180,7 +185,7 @@ declare function presentation:tei-body
)
case
element
(
tei:p
)
return
(
element
{
"
p
"
}{
element
{
"
span
"
}{
attribute
{
"class"
}{
"p ble"
}
,
presentation:tei-body
(
$node
/
node
())
}
...
...
@@ -198,7 +203,11 @@ declare function presentation:tei-body
)
case
element
(
tei:rdg
)
return
(
presentation:rdg
(
$node
)
(: presentation:rdg($node):)
element
{
"span"
}{
attribute
{
"class"
}{
"rdg"
}
,
presentation:tei-body
(
$node
/
node
())
}
)
case
element
(
tei:rdgMarker
)
return
(
...
...
This diff is collapsed.
Click to expand it.
resources/css/presentation.if.css
+
44
−
1
View file @
e63310e9
...
...
@@ -2,7 +2,11 @@
.ble
{
display
:
block
;
background
:
#E9E8E9
;
/*background: #E9E8E9;*/
}
span
.aligned
{
display
:
block
;
}
span
.label
{
...
...
@@ -22,4 +26,43 @@ span.rdgMarker .om.open::before, span.rdgMarker .om.closeing::after {
font-size
:
70%
;
padding-left
:
2px
;
padding-right
:
2px
;
}
/****************************************/
/* Textcritical elements */
/****************************************/
.app
::before
{
content
:
"tei:app"
;
display
:
block
;
font-family
:
consolas
;
font-size
:
12px
;
font-weight
:
bold
;
padding
:
2px
0
2px
0
;
}
.app
{
display
:
block
;
padding
:
8px
;
}
.lem
::before
,
.rdg
::before
{
display
:
block
;
font-family
:
consolas
;
font-size
:
12px
;
font-weight
:
bold
;
padding
:
2px
0
2px
0
;
}
.lem
::before
{
content
:
"tei:lem"
;
}
.rdg
::before
{
content
:
"tei:rdg"
;
}
.lem
,
.rdg
{
border
:
1px
solid
#E9E8E9
;
display
:
block
;
padding
:
8px
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
templates/page.html
+
4
−
0
View file @
e63310e9
...
...
@@ -30,6 +30,7 @@
<
/button
>
<
div
class
=
"
navbar-collapse collapse
"
id
=
"
navbar-collapse-1
"
>
<
ul
class
=
"
nav navbar-nav
"
>
<!--
<
li
class
=
"
dropdown
"
id
=
"
about
"
>
<
a
href
=
"
#
"
class
=
"
dropdown-toggle
"
data
-
toggle
=
"
dropdown
"
>
Home
<
/a
>
<
ul
class
=
"
dropdown-menu
"
>
...
...
@@ -38,9 +39,12 @@
<
/li
>
<
/ul
>
<
/li
>
-->
<!--
<
li
class
=
"
dropdown
"
id
=
"
about
"
>
<
a
href
=
"
output.html
"
>
Output
<
/a
>
<
/li
>
-->
<
/ul
>
<
/div
>
<
/nav
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment