Skip to content

Commit

Permalink
Add SI client
Browse files Browse the repository at this point in the history
  • Loading branch information
Erikmitk committed Jan 22, 2024
1 parent b083cd4 commit 7e62aea
Show file tree
Hide file tree
Showing 8 changed files with 123 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Configuration/TypoScript/SI/Page/setup.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
page {

bodyTag = <body>

includeCSS {
client = EXT:slub_web_qucosa/Resources/Public/Css/SI/client.css
}

10 = FLUIDTEMPLATE
10 {
file = EXT:slub_web_qucosa/Resources/Private/Templates/SI/Start.html
layoutRootPath = EXT:slub_web_qucosa/Resources/Private/Layouts/
partialRootPath = EXT:slub_web_qucosa/Resources/Private/Partials/

variables {
pageTitle = TEXT
pageTitle.data = page:title

content < styles.content.get

contentRight < styles.content.get
contentRight.select.where = colPos=2

rootPageId = TEXT
rootPageId.value = {$plugin.tx_slubwebqucosa.rootPid}

imprintPageId = TEXT
imprintPageId.value = {$plugin.tx_slubwebqucosa.imprintPid}

}
}
}

plugin.tx_xmlsitemap.settings.customSitemaps.10 = https://si.qucosa.de/sitemap_qucosa.xml
6 changes: 6 additions & 0 deletions Configuration/TypoScript/SI/constants.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugin.tx_slubwebqucosa {
# cat=plugin.tx_slubwebqucosa/links/0141; type=int+; label= Rootpage Uid
rootPid =
# cat=plugin.tx_slubwebqucosa/links/0142; type=int+; label= Imprint page Uid
imprintPid =
}
12 changes: 12 additions & 0 deletions Configuration/TypoScript/SI/setup.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Configuration
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:slub_web_qucosa/Configuration/TypoScript/Common/Config/setup.txt">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:slub_web_qucosa/Configuration/TypoScript/Common/Config/language.txt">

# Navigation
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:slub_web_qucosa/Configuration/TypoScript/Common/Navigation/setup.txt">

# Content
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:slub_web_qucosa/Configuration/TypoScript/Common/Content/setup.txt">

<INCLUDE_TYPOSCRIPT: source="FILE:EXT:slub_web_qucosa/Configuration/TypoScript/Common/Page/setup.txt">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:slub_web_qucosa/Configuration/TypoScript/SLUB/Page/setup.txt">
Empty file.
23 changes: 23 additions & 0 deletions Resources/Private/Templates/SI/Start.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<f:layout name="Page" />
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">

<f:section name="Content">

<f:format.raw>{content}</f:format.raw>

</f:section>

<f:section name="LangNav">
<f:cObject typoscriptObjectPath="lib.langnav" />
</f:section>

<f:section name="Endspacer">
<div id="byslub"><a href="https://www.slub-dresden.de/" rel="external" title="Sächsische Landesbibliothek Staats- und Universitätsbibliothek Dresden">Sächsische Landesbibliothek Staats- und Universitätsbibliothek Dresden</a></div>
</f:section>

<f:section name="Piwik">
<f:render section="Piwik" partial="SI/Piwik" />
</f:section>

</div>
48 changes: 48 additions & 0 deletions Resources/Public/Css/SI/client.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
.tx-dlf-metadata dd.title, ol.prominentlist,
a, a:visited, h3, ul.errors li, #nav .buttonactive,
.tx-slubopus4frontend input.addButton:hover,
.tx-slubopus4frontend input.remButton:hover,
#tx_slubopus4frontend-form fieldset input:focus,
.tx-slubopus4frontend fieldset textarea:focus,
#tx_slubopus4frontend-prevStep:hover,
#tx_slubopus4frontend-submit:hover,
#tx_slubopus4frontend-reset:hover { color:#006ab2; }

#dedscontent .tabbar,
#dedscontent .tabcontent,
#dedscontent .inputselected,
.tx-slubopus4frontend .processsteps a,
.tx-slubopus4frontend .processsteps a:visited,
.tx-slubopus4frontend fieldset textarea:focus,
.tx-slubopus4frontend fieldset select:focus { border-color: #006ab2; }

.tx-dlf-tools-pdf-page a, #smallsearch, #dedscontent .tabbar a.active,
.tx-slubopus4frontend .processsteps a.selected,
.tx-slubopus4frontend .processsteps a:visited,
.tx-slubopus4frontend .processsteps a.selected:visited { background-color: #006ab2; }

#navlogo #homelink { background-image:url(../../Images/SI/logo.png); }
#ghosticon { background-image: url(../../Images/SI/ghosticon.png); }

#langnav {
padding-right: 20px;
padding-top: 5px;
font-size:0.8em;
text-align: right;
}

ul#langnav li {
display:inline;
padding-right: 10px;
}

/* search form */
div.searchExtForm form.form-inline .form-group {
margin: 0px 0px 3px 0px;
}

div.searchExtForm form.form-inline .form-group label {
min-width: 150px;
}

.tx-dlf-metadata .affiliation { background-color: #006ab2; }
Binary file added Resources/Public/Images/SI/ghosticon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Resources/Public/Images/SI/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7e62aea

Please sign in to comment.