Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
emo
TIDO
Commits
12d05cf4
Commit
12d05cf4
authored
May 18, 2020
by
schneider210
Browse files
extend config to toggle use case of the viewer; either embedded or standalone
parent
ba3de069
Pipeline
#135715
passed with stages
in 1 minute and 41 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
12d05cf4
...
...
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.0.3] - 2020-05-18
### Added
-
extended config object in index.html by a key named "standalone" (Possible values: true || false).
This indicates if the viewer will be used embedded or standalone respectively.
If used in the latter case, the language toggle shows up in the footer and vice versa.
## [0.0.2] - 2020-05-15
### Added
-
openseadragon.vue: Event listener for fullscreen change
...
...
src/App.vue
View file @
12d05cf4
...
...
@@ -24,7 +24,9 @@
/>
</q-page-container>
<Footer
/>
<Footer
:standalone=
"config.standalone"
/>
</q-layout>
</div>
</
template
>
...
...
src/components/quasar-footer.vue
View file @
12d05cf4
<
template
>
<q-footer
bordered
reveal
class=
"bg-white"
>
<Language
/>
<Language
v-if=
"standalone"
/>
</q-footer>
</
template
>
...
...
@@ -12,5 +12,8 @@ export default {
components
:
{
Language
,
},
props
:
{
standalone
:
Boolean
,
},
};
</
script
>
src/index.template.html
View file @
12d05cf4
...
...
@@ -25,7 +25,8 @@
{
"
entrypoint
"
:
"
https://ahikar-test.sub.uni-goettingen.de/api/textapi/ahikar/3r9ps/collection.json
"
,
"
itemlabel
"
:
"
Page
"
,
"
manifestlabel
"
:
"
Manuscript
"
"
manifestlabel
"
:
"
Manuscript
"
,
"
standalone
"
:
true
}
</script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment