From 28cc7f1c7716e4060674500b54234706f5a951c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Michael=20O=2E=20Hegg=C3=B8?= Date: Thu, 30 May 2019 19:10:50 +0200 Subject: [PATCH] Simplify vocabulary information per #105 --- src/app/layout/main.css | 19 ++++++ src/app/layout/main.html | 2 + src/app/pages/home.html | 65 ++++++++++--------- src/app/pages/vocabularyInfo/humord.html | 22 ++----- src/app/pages/vocabularyInfo/index.js | 16 ----- src/app/pages/vocabularyInfo/mrtermer.html | 18 ++--- .../pages/vocabularyInfo/realfagstermer.html | 16 +---- src/app/pages/vocabularyInfo/tekord.html | 13 +--- src/app/router/index.js | 2 +- 9 files changed, 73 insertions(+), 100 deletions(-) diff --git a/src/app/layout/main.css b/src/app/layout/main.css index cd0ac8d..8762979 100644 --- a/src/app/layout/main.css +++ b/src/app/layout/main.css @@ -78,6 +78,25 @@ a.subject-tag:active { margin-left:75px; } +/***************************************** + * Landing page + *****************************************/ + +.landing_page { + max-width:800px; + padding: 10px; + margin-left:80px; +} +.landing_page ul { + list-style-type: none; + padding-left:.4em; +} +.landing_page li { + padding: 3px 0; + margin-left:0; + +} + /***************************************** * Catalogue view *****************************************/ diff --git a/src/app/layout/main.html b/src/app/layout/main.html index c658877..cb1546c 100644 --- a/src/app/layout/main.html +++ b/src/app/layout/main.html @@ -1,5 +1,7 @@
+
+
diff --git a/src/app/pages/home.html b/src/app/pages/home.html index c0f6748..1e7d6e8 100644 --- a/src/app/pages/home.html +++ b/src/app/pages/home.html @@ -1,37 +1,42 @@ -
+
-

- Find books and other material about a specific topic in the collections of Norwegian academic libraries. Start by choosing a vocabulary from the list below. A vocabulary is a controlled set of topics. Searching all vocabularies at the same time isn't yet supported, but definitely something we would like to add support for in the future. -

- -

- Once in, you can toggle between broad and narrow search. With narrow search, you will only get highly relevant results carefully indexed by librarians and subject specialists. By switching to broad search, you will get more results, but without the same level of precision. -

- -

» Humanities and social sciences (Humord)

-

- The university libraries of Oslo, Bergen, Trondheim and Tromsø collaborate on the Humord vocabulary to provide multilingual (Norwegian Bokmål and English) subject search to their humanities and social science collections. -

+

Subject search

-

» Science, technology, engineering and mathematics (Science Terms)

- Search the science, technology and mathematics collections of University of Oslo and Bergen using Norwegian Bokmål, Nynorsk, English or the scientific names of species. + I would like to find books about:

-

» Technology and engineering (Tekord)

-

- Subject search for the technical and engineering literature of NTNU is provided by Tekord. Search is only available in Norwegian Bokmål, but terms are mapped to UDC, providing possibilities for multilingual search in the future. -

+ -

» Human rights

-

- The University of Oslo Library has a small vocabulary to search its human rights collections. This vocabulary is only available in English. -

- -

» Law (L scheme)

-

- The collections of the University of Oslo Law Library can be searched and navigated using a special classification scheme. -

diff --git a/src/app/pages/vocabularyInfo/humord.html b/src/app/pages/vocabularyInfo/humord.html index f7883a4..dd1e76f 100644 --- a/src/app/pages/vocabularyInfo/humord.html +++ b/src/app/pages/vocabularyInfo/humord.html @@ -1,21 +1,11 @@
- -

Humord

- -

- Humord is the best portal to the humanities and social sciences. The vocabulary also has a relatively large amount of interdisciplinary subject headings. This vocabulary has only Norwegian Bokmål terms. -

- -

- The vocabulary contains {{ vm.topicCount }} subjects. +

Subject search using Humord

+

+ The university libraries of Oslo, Bergen, Trondheim and Tromsø collaborate on the Humord vocabulary to provide multilingual (Norwegian Bokmål and English) subject search to their humanities and social science collections. + Learn more about the vocabulary.

-

- Learn more about the vocabulary -

- -

Top concepts

- +

Navigate the vocabulary

@@ -106,5 +96,5 @@

Top concepts

- +

Search it

diff --git a/src/app/pages/vocabularyInfo/index.js b/src/app/pages/vocabularyInfo/index.js index 7439589..5915580 100644 --- a/src/app/pages/vocabularyInfo/index.js +++ b/src/app/pages/vocabularyInfo/index.js @@ -32,22 +32,6 @@ function VocabularyInfoController($stateParams, Config, TitleService, AuthorityS /*jshint validthis: true */ var vm = this; var vocabName = Config.vocabularies[$stateParams.vocab].name; - TitleService.set(vocabName); - AuthorityService.clearCurrentSubject(); - - AuthorityService.getVocabulary($stateParams.vocab).then(function(vocabulary) { - forOwn({ - topicCount: 'Topic', - genreCount: 'GenreForm', - placeCount: 'Place', - timeCount: 'Time', - compoundConceptCount: 'CompoundConcept', - virtualCompoundConceptCount: 'VirtualCompoundConcept' - }, function(val, key) { - vm[key] = result(find(vocabulary.subTypes, { 'type': 'http://data.ub.uio.no/onto#' + val }), 'count'); - }); - }); - } diff --git a/src/app/pages/vocabularyInfo/mrtermer.html b/src/app/pages/vocabularyInfo/mrtermer.html index 9d26a03..00cf752 100644 --- a/src/app/pages/vocabularyInfo/mrtermer.html +++ b/src/app/pages/vocabularyInfo/mrtermer.html @@ -1,17 +1,7 @@
- -

Human Rights Terms

- -

- The Human Rights Terms vocabulary was initially developed in 1991 by the Human Rights Research and Education Centre of the University of Ottawa, Canada. In the late 1990s it was adopted by the Norwegian Centre for Human Rights (SMR), who has since adjusted and expanded the vocabulary in order to provide a great entry to the SMR library collections. +

Subject search using Human Rights Terms

+

+ The University of Oslo Library has a small vocabulary to search its human rights collections. This vocabulary is only available in English. + Learn more about the vocabulary.

- -

- The vocabulary contains {{ vm.topicCount }} subjects. -

- -

- Learn more about the vocabulary -

-
diff --git a/src/app/pages/vocabularyInfo/realfagstermer.html b/src/app/pages/vocabularyInfo/realfagstermer.html index 7cdeaa7..5a0054b 100644 --- a/src/app/pages/vocabularyInfo/realfagstermer.html +++ b/src/app/pages/vocabularyInfo/realfagstermer.html @@ -1,16 +1,6 @@
- -

Realfagstermer

- -

- Search for scientific concepts. Realfagstermer is a controlled vocabulary maintained by the science libraries at the University at Oslo and Bergen, and is the best portal to our collections. Realfagstermer is a multilingual vocabulary that can be searched in Bokmål, Nynorsk (translation in progress), English (translation in progress) and Latin (scientific names). +

Subject search using Realfagstermer

+

+ Search the science, technology and mathematics collections of University of Oslo and Bergen using Norwegian Bokmål, Nynorsk, English or the scientific names of species. Learn more about the vocabulary,

- -

- The vocabulary contains {{ vm.topicCount }} subjects, {{ vm.genreCount }} form/genres, {{ vm.timeCount }} time periods, {{ vm.placeCount }} geographic names or features, {{ vm.compoundConceptCount }} compound concepts and {{ vm.virtualCompoundConceptCount }} virtual compound concepts. -

-

- Learn more about the vocabulary -

-
diff --git a/src/app/pages/vocabularyInfo/tekord.html b/src/app/pages/vocabularyInfo/tekord.html index 5467189..dedb7ff 100644 --- a/src/app/pages/vocabularyInfo/tekord.html +++ b/src/app/pages/vocabularyInfo/tekord.html @@ -1,13 +1,6 @@
- -

Tekord

- -

- Tekord is a vocabulary created at NTNU (Norwegian University of Science and Technology). It is an especially useful search portal to technical and engineering literature. This vocabulary has only Norwegian Bokmål terms. +

Subject search using Tekord

+

+ Subject search for the technical and engineering literature of NTNU is provided by Tekord. Search is only available in Norwegian Bokmål, but terms are mapped to UDC, providing possibilities for multilingual search in the future.

- -

- The vocabulary contains {{ vm.topicCount }} subjects. -

-
diff --git a/src/app/router/index.js b/src/app/router/index.js index 2816494..18e1839 100644 --- a/src/app/router/index.js +++ b/src/app/router/index.js @@ -53,7 +53,7 @@ function configure($stateProvider, $urlRouterProvider) { .state('subject.vocab', { url: '/', views: { - 'catalogue': 'appVocabularyInfo', + 'info': 'appVocabularyInfo', }, }) .state('subject.search', {