diff --git a/gulp/config.js b/gulp/config.js index bb1469d..7ea82fb 100644 --- a/gulp/config.js +++ b/gulp/config.js @@ -1,215 +1,215 @@ 'use strict'; let customFile = 'custom.js'; let customModuleFile = 'custom.module.js'; let customCssFile = 'custom1.css'; let mainFile = 'main.js'; let browserify; let view; let ve; let useScss; let reinstallNodeModules; let saml; let cas; function setView(_view) { view = _view; } function setSaml(_saml) { saml = _saml; } function getSaml() { return saml; } function setCas(_cas) { cas = _cas; } function getCas() { return cas; } function setUseScss(_useScss) { useScss = _useScss; } function getUseScss() { return useScss; } function setProxy(_proxy) { this.PROXY_SERVER = _proxy; } function getProxy(){ return PROXY_SERVER; } function getVe() { return ve; } function setVe(_ve) { ve = _ve; } function getBrowserify() { return browserify; } function setBrowserify(_browserify) { browserify = _browserify; } function setReinstallNodeModules(_reinstallNodeModules) { reinstallNodeModules = _reinstallNodeModules; } function getReinstallNodeModules() { return reinstallNodeModules; } function getView(){ return view; } function customPath() { return viewJsDir()+'/'+customFile; } function customModulePath() { return viewJsDir()+'/'+customModuleFile; } function viewHtmlDir() { return `primo-explore/custom/${view}/html`; } function viewJsDir() { return `primo-explore/custom/${view}/js`; } function mainPath() { return viewJsDir()+'/*.js'; } function mainJsPath() { return viewJsDir()+'/main.js'; } function customCssMainPath() { return viewCssDir()+'/*.css'; } function customColorsPath(){ return `colors.json`; } function viewRootDir() { return `primo-explore/custom/${view}`; } function viewCssDir() { return `primo-explore/custom/${view}/css`; } function customScssDir() { return `primo-explore/custom/${view}/scss`; } function customScssMainPath() { return customScssDir() + "/main.scss"; } function customCssPath() { return `primo-explore/custom/${view}/css/custom1.css`; } function customNpmModuleRootDir() { return `primo-explore/custom/${view}/node_modules`; } function customNpmJsCustomPath() { return `primo-explore/custom/${view}/node_modules/primo-explore*/js/custom.js`; } function customNpmJsModulePath() { return `primo-explore/custom/${view}/node_modules/primo-explore*/js/custom.module.js`; } function customNpmJsPath() { return `primo-explore/custom/${view}/node_modules/primo-explore*/js/*.js`; } function customNpmDistPath() { return `primo-explore/custom/${view}/node_modules/primo-explore*/dist/*.js`; } function customNpmCssPath() { return `primo-explore/custom/${view}/node_modules/primo-explore*/css/*.css`; } function customNpmHtmlPath() { return `primo-explore/custom/${view}/node_modules/primo-explore*/html/*.html`; } var SERVERS = { local: 'http://localhost:8002' }; /** * The URL to your sandbox or production Primo instance. * For SSL environments (https), the port number (443) must be included. * * Examples: * var PROXY_SERVER = 'http://abc-primo.hosted.exlibrisgroup.com' * var PROXY_SERVER = 'https://abc-primo.hosted.exlibrisgroup.com:443' */ -var PROXY_SERVER = 'https://slsp-epf.primo.exlibrisgroup.com:443'; +var PROXY_SERVER = 'https://slsp-epfl.primo.exlibrisgroup.com:443'; let buildParams = { customFile: customFile, customCssFile: customCssFile, customPath: customPath, customModulePath: customModulePath, mainPath: mainPath, mainJsPath: mainJsPath, viewRootDir: viewRootDir, viewJsDir: viewJsDir, viewHtmlDir: viewHtmlDir, viewCssDir: viewCssDir, customScssDir: customScssDir, customScssMainPath: customScssMainPath, customCssPath: customCssPath, customNpmModuleRootDir: customNpmModuleRootDir, customNpmJsPath: customNpmJsPath, customNpmDistPath: customNpmDistPath, customNpmJsCustomPath: customNpmJsCustomPath, customNpmJsModulePath: customNpmJsModulePath, customNpmCssPath: customNpmCssPath, customNpmHtmlPath: customNpmHtmlPath, customCssMainPath: customCssMainPath, customColorsPath: customColorsPath }; module.exports = { buildParams: buildParams, PROXY_SERVER: PROXY_SERVER, setView: setView, setUseScss: setUseScss, getUseScss: getUseScss, setProxy: setProxy, getReinstallNodeModules: getReinstallNodeModules, setReinstallNodeModules: setReinstallNodeModules, proxy: getProxy, view: getView, getBrowserify: getBrowserify, setBrowserify: setBrowserify, getVe: getVe, setVe: setVe, getSaml: getSaml, setSaml: setSaml, getCas: getCas, setCas: setCas }; diff --git a/primo-explore/custom/41SLSP_EPF-prod/css/custom1.css b/primo-explore/custom/41SLSP_EPF-prod/css/custom1.css index 73cdc65..4784688 100644 --- a/primo-explore/custom/41SLSP_EPF-prod/css/custom1.css +++ b/primo-explore/custom/41SLSP_EPF-prod/css/custom1.css @@ -1,600 +1,610 @@ /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ /*************************** Central Package CSS ******************************/ /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ /*************** Navigation ******************/ /*Font Navigation and buttons*/ #mainMenu > div > a, button#signInBtn, button#more-links-button, prm-topbar > div > prm-user-area-expandable > md-menu > button > span { font-size: small !important; font-weight: 500 !important; } /*hover effect Navigation and buttons*/ #mainMenu > div > a:hover, button#signInBtn:hover, prm-topbar > div > prm-user-area-expandable > md-menu > button:hover, button#more-links-button:hover, prm-search-bookmark-filter > a:hover, a#favorites-button:hover, a#search-button:hover, .md-button.button-as-link:hover:not([disabled]) { background-color: #ddd !important; color: #111 !important; } /*remove capitalized text*/ .md-button { text-transform: none; } /*Menu button*/ button.button-with-menu-arrow.md-button.md-primoExplore-theme.md-ink-ripple:hover, button#signInBtn, .md-button.button-link, .md-button.button-as-link.link-alt-color, prm-icon md-icon, .section-title prm-icon, prm-icon.rotate-180, svg#chevron-up, span.user-name, span.menu-arrow, .md-button.button-as-link, #sidebar-trigger > prm-icon > md-icon { color: #111 !important; } /*hide hover effect on Library Logo*/ #banner > a.md-button.md-primoExplore-theme.md-ink-ripple:hover { background: none; } /*background buttons*/ prm-search-bookmark-filter .md-button { background-color: #fff !important; } /*hiding Refworks from the pulldown menu*/ .my-refworks-ctm, .my-refworks-separator-ctm { display: none; } /*switch to advanced search button*/ button.switch-to-advanced.zero-margin.button-with-icon.md-button.md-primoExplore-theme.md-ink-ripple { border-style: solid; border-width: 1px; border-radius: 5px; } .md-button.button-confirm { border: 1px solid #ffffff; } /*the main color border on mobile view*/ @media (max-width: 599px) { prm-topbar .top-nav-bar { border-bottom-style: solid; border-bottom-width: 8px; } } /*************** Main Content ******************/ /*backgound of the Textboxes Homepage*/ prm-search > div > md-content, md-card.default-card._md.md-primoExplore-theme { background-color: #fff !important; border-radius: 3px; } /*first header of the Textboxes*/ .cardbox h1 { font-size: 48px; line-height: 56px; } /*second header of the Textboxes*/ .cardbox h2 { font-size: 32px; line-height: 36px; } /*third header of the Textboxes (if needed)*/ .cardbox h3 { font-size: 26px; line-height: 30px; } /*removes the upper and lower space in a list */ .cardbox ul, .cardbox ol { margin-top: 0px !important; margin-bottom: 0px !important; } /*links in the textboxes*/ md-card-content a, prm-service-details a { color: #222222 !important; } md-card-content a, prm-service-details a, div.courier-info > span a { text-decoration: underline !important; } md-card-content a:hover, prm-service-details a:hover { color: #111; background-color: rgba(47, 47, 47, 0.1) !important; } /*Responsive Video Frame*/ .resp-container { position: relative; overflow: hidden; padding-top: 56.25%; } .resp-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; } /*footer layout*/ md-card.prm-primary-bg.psfooter { margin: 16px 0 0 0; } /*footer layout*/ md-card.prm-primary-bg.psfooter-legal { margin: 1px 0 0 0; } /*Responsive footer layout*/ @media (min-width: 960px) { md-card-content.prm-primary-bg.layout-align-gt-sm-end-stretch.flex-gt-sm-70 { text-align: end; } } /*footer links*/ md-icon.ps_icon, a.ps_link { margin-right: 5%; text-decoration: underline; } /*md-icon.ps_icon:hover, a.ps_link:hover, a.ps_link.legal:hover, span.legal a:hover { background-color: rgba(61,110,148,.1) !important; }*/ /*footer text*/ md-card-content.prm-primary-bg { font-weight: 300; } /*links in the legal part of the footer*/ a.ps_link.legal, span.legal { font-size: small; font-weight: 300; } /************************************************************************************************ span.legal { color: #14413c; } */ span.legal > a { /*color: #14413c;*/ font-weight: 600; } /*main container width for footer positioning*/ prm-static.md-padding.flex { min-width: 100%; padding: 0; } /*mainly white background*/ .prm-primary-bg.prm-hue1, prm-atoz-search-bar.prm-hue1, prm-browse-search-bar.prm-hue1, prm-collection-gallery-header .prm-hue1.collection-header-inner, prm-newspapers-search-bar.prm-hue1, prm-search-bar.prm-hue1, prm-spinner.prm-hue1.overlay-cover.light-on-dark:after, prm-tags-search-bar.prm-hue1, prm-topbar .top-nav-bar, prm-tree-nav prm-spinner .prm-hue1.diamond { background-color: #fff !important; } /*font color on white background*/ .hoverable-over-dark, .md-button.button-over-dark, prm-main-menu[menu-type=full] .md-button.md-focused, prm-main-menu[menu-type=full] .md-button .md-input-container-dummy > .md-select-dummy:focus, prm-main-menu[menu-type=full] .md-button:focus, prm-main-menu[menu-type=full] .md-button:hover, prm-main-menu[menu-type=full] .md-button md-select:focus, prm-main-menu[menu-type=full] .overlay-menu-item.md-focused, prm-main-menu[menu-type=full] .overlay-menu-item .md-input-container-dummy > .md-select-dummy:focus, prm-main-menu[menu-type=full] .overlay-menu-item:focus, prm-main-menu[menu-type=full] .overlay-menu-item:hover, prm-main-menu[menu-type=full] .overlay-menu-item md-select:focus, prm-main-menu[menu-type=full] md-button:focus, prm-main-menu[menu-type=full] md-button:hover, prm-topbar .md-button, prm-user-area .md-button.user-menu-button, prm-user-area md-fab-toolbar ._md-fab-action-item .md-button, prm-user-area md-fab-toolbar ._md-fab-action-item md-input-container, prm-user-area md-fab-toolbar .md-fab-action-item .md-button, prm-user-area md-fab-toolbar .md-fab-action-item md-input-container { color: #222; } /*************** Brief results ******************/ /*color of the Alertbar*/ .bar.alert-bar, .classic-input .search-scope, .prm-alert-bg { /*background-color: #8dd8d8 !important;*/ border: none !important; } /*backgound search results boxes*/ .list-item-wrapper { background-color: #f9f9f9; } /*Title color*/ prm-brief-result .item-title span { color: #333; } prm-brief-result .item-title span:hover { color: #111; background-color: rgba(47, 47, 47, 0.1) !important; } /*remove hover effect from title links*/ .md-button.arrow-link-button .button-content:focus, .md-button.arrow-link-button .button-content:hover, .md-button.arrow-link-button .hover.button-content, .md-button.arrow-link-button:focus .button-content, .md-button.arrow-link-button:hover .button-content, .recommendations-title.hover > span > span, .recommendations-title:hover > span > span, a.hover, a:focus, a:hover, prm-chapters-and-reviews md-card > .md-button:focus .item-title span, prm-chapters-and-reviews md-card > .md-button:hover .item-title span, prm-citation-trails-item.active-item md-card > .md-button:focus .item-title span, prm-citation-trails-item.active-item md-card > .md-button:hover .item-title span, prm-tags-list .md-chips .md-chip .md-chip-content:hover strong, prm-tags-list .md-chips md-chip .md-chip-content:hover strong, prm-tags-list md-chips .md-chip .md-chip-content:hover strong, prm-tags-list md-chips md-chip .md-chip-content:hover strong { box-shadow: none !important; } /*background color of bookmarked items*/ .list-item-wrapper .item-bookmarked, .list-item-wrapper .item-bookmarked:hover, .prm-highlight, .prm-highlight.prm-hue1, prm-breadcrumbs .md-chip.persistent-facet, prm-breadcrumbs .prm-hue1.md-chip.persistent-facet { background-color: #ddd !important; } /*hover effect on all Links*/ .md-button.arrow-link-button .button-content:focus, .md-button.arrow-link-button .button-content:hover, .md-button.arrow-link-button .hover.button-content, .md-button.arrow-link-button:focus .button-content, .md-button.arrow-link-button:hover .button-content, .prm-links-background.prm-hue-1, .recommendations-title.hover > span > span, .recommendations-title:hover > span > span, a.hover, a:focus, a:hover, prm-chapters-and-reviews md-card > .md-button:focus .item-title span, prm-chapters-and-reviews md-card > .md-button:hover .item-title span, prm-citation-trails-item.active-item md-card > .md-button:focus .item-title span, prm-citation-trails-item.active-item md-card > .md-button:hover .item-title span, prm-tags-list .md-chips .md-chip .md-chip-content:hover strong, prm-tags-list .md-chips md-chip .md-chip-content:hover strong, prm-tags-list md-chips .md-chip .md-chip-content:hover strong, prm-tags-list md-chips md-chip .md-chip-content:hover strong { color: #222 !important; } div.custom-links-container.layout-wrap.layout-align-sm-start-start.layout-align-center-start.layout-row > div > a:hover { background-color: #6b6b6b !important; } /*underlined search results*/ /*.text-highlight, mark { box-shadow: inset 0 -0.15em 0 0 #8dd8d8; }*/ /*versions link and other*/ .getit, .md-button.arrow-link-button prm-search-result-frbr-line .button-content > prm-icon:first-child, .prm-notice, .status-maybe, .worldcat, [class*=_more], [class*=_unknown], [class*=check_], [class*=does_not_exist], [class*=may_], [class*=NFT], prm-search-result-frbr-line .md-button.arrow-link-button .button-content > prm-icon:first-child, prm-search-result-frbr-line a > prm-icon:first-child, prm-service-links a { color: #222 !important; } /*icon color and text color in request forms*/ .prm-primary-color, .request-form md-input-container label, .request-form md-input-container label:not(.md-no-float):not(._md-container-ignore), .request-form md-input-container md-select .md-select-value.md-select-placeholder, .request-form md-input-container .md-input-container-dummy > .md-select-dummy .md-select-value.md-select-placeholder, .request-form md-input-container md-select ._md-select-value._md-select-placeholder, .request-form md-input-container .md-input-container-dummy > .md-select-dummy ._md-select-value._md-select-placeholder, .result-item-actions .md-icon-button, .result-item-actions .more-options-button, prm-add-query-to-saved-searches .custom-button, prm-pre-filters md-input-container.is-active, .md-autocomplete-suggestions .suggestion-scope, md-tab-content .tab-content-header md-input-container md-select-value .md-text { color: #222 !important; } /*space between item details in Fullview*/ #item-details > div > div { margin-bottom: .8em !important; } /*background color of the signin window and the fullscreen navigation*/ md-backdrop._md-dialog-backdrop.md-opaque.md-primoExplore-theme { background-color: #1f1f1f !important; } /*text color of the signin window and the fullscreen navigation*/ prm-main-menu[menu-type=full] .md-button .md-headline, prm-main-menu[menu-type=full] .overlay-menu-item .md-headline, .light-on-dark-dialog .md-button.button-as-link, .light-on-dark-dialog .md-button.button-confirm { color: #fff !important; } /*hiding the Library Logo in the login window*/ .login-header { display: none; } /*alertbar for the courier info*/ .courier-info { margin: 0px 8px; } /*Library info icon*/ prm-location-items-after > div > span > a > img { vertical-align: middle; max-width: 30px; margin: 4px 12px; } /******************************************************************************/ /************************************ Help Page *******************************/ /******************************************************************************/ #help img { max-width: 100%; height: auto; } img.icon_up1 { width: 16px; float: right; margin: 13px 2px; } img.icon_up2 { width: 10px; float: right; margin: 4px; } a > h3:hover { background-color: #eee !important; } /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ /********************** End of the Central Package CSS ************************/ /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ /*************************** EPFL CUSTOM COLORS *******************************/ /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ /* This file contains the EPFL part of the custom package. The SLSP part is in the custom_slsp.css file. */ /*****************This two entries are the background of the primary color*******************/ .prm-primary-bg, prm-atoz-search-bar, prm-browse-search-bar, prm-collection-gallery-header .collection-header-inner, prm-search-bar, prm-newspapers-search-bar, prm-spinner.overlay-cover.light-on-dark:after, prm-tags-search-bar, prm-tree-nav prm-spinner .diamond, .prm-primary-bg, md-checkbox.md-checked ._md-icon, md-tabs md-ink-bar, md-radio-button.md-checked ._md-on, button.switch-to-simple, .md-button.button-confirm { background-color: #ff0000 !important; } @media (max-width: 599px) { prm-topbar .top-nav-bar { border-color: #ff0000 !important; } } /*****************This entry is the mouse over background of the links and buttons*******************/ md-card.prm-primary-bg.psfooter > md-card-content a:hover, md-icon.ps_icon:hover, a.ps_link:hover, a.ps_link.legal:hover, span.legal a:hover, button.switch-to-advanced:hover, button.switch-to-simple:hover, .md-button.button-confirm:hover { background-color: #ae0010 !important; } /*****************This two entries are the font color of the primary color*******************/ .prm-primary-bg, prm-atoz-search-bar, prm-browse-search-bar, prm-collection-gallery-header .collection-header-inner, prm-newspapers-search-bar, prm-spinner.overlay-cover.light-on-dark:after, prm-tags-search-bar, prm-tree-nav prm-spinner .diamond, .prm-primary-bg, .md-button.switch-to-advanced, button.switch-to-simple, span.legal, span.legal > a, a.ps_link.legal, .ps_icon, md-card.prm-primary-bg.psfooter > md-card-content a, md-checkbox.md-checked ._md-icon, .md-button.button-confirm { color: #fff !important; } button.switch-to-advanced.zero-margin.button-with-icon.md-button.md-primoExplore-theme.md-ink-ripple { border-color: #c1c1c1 !important; } /*****************This two entries are the background of the secondary color*******************/ .bar.alert-bar, .classic-input .search-scope, .prm-alert-bg { background-color: #ffcccc !important; } .text-highlight, mark { box-shadow: inset 0 -0.15em 0 0 #ff0000 ; } /*****************This entry is the font color of the secondary color*******************/ .bar.alert-bar, .classic-input .search-scope, .prm-alert-bg, .bar prm-authentication .md-button, button.dismiss-alert-button, div.courier-info > span a { color: #111111 !important; } /*****************This entry remove default color from various forms*******************/ .md-input-color-underline, .new-result-item .list-item-count, .prm-secondary-bg.prm-hue1, md-input-container.empty-select-on-init:not(.md-input-focused) .md-input-container-dummy > .md-select-dummy md-select-value::after, md-input-container.empty-select-on-init:not(.md-input-focused) md-select md-select-value::after, md-input-container::after, md-progress-linear[md-mode="indeterminate"].header-progress-bar .prm-hue1.md-bar, md-radio-button.md-checked ._md-on, md-radio-button.md-checked .md-on, md-tabs md-ink-bar, prm-tags-list .md-chips ._md-chip-input-container::after, prm-tags-list .md-chips .md-chip-input-container::after, prm-tags-list md-chips ._md-chip-input-container::after, prm-tags-list md-chips .md-chip-input-container::after { background-color: #ff0000 !important; } /*****************Selected text color*******************/ ::selection { background: #ffbe8f; /* WebKit/Blink Browsers */ } ::-moz-selection { background: #ffbe8f; /* Gecko Browsers */ } /*****************This entry remove default color from various texts*******************/ md-dialog.light-on-dark-dialog .md-list[class$="-line"] md-list-item .md-list-item-text .list-item-title, md-dialog.light-on-dark-dialog .md-list[class$="-line"] md-list-item .md-list-item-text h3, md-dialog.light-on-dark-dialog .md-list[class$="-line"] md-list-item > .md-no-style .md-list-item-text .list-item-title, md-dialog.light-on-dark-dialog .md-list[class$="-line"] md-list-item > .md-no-style .md-list-item-text h3, md-dialog.light-on-dark-dialog .md-list md-list-item .md-list-item-text .list-item-title, md-dialog.light-on-dark-dialog .md-list md-list-item .md-list-item-text h3, md-dialog.light-on-dark-dialog .md-list md-list-item > .md-no-style .md-list-item-text .list-item-title, md-dialog.light-on-dark-dialog .md-list md-list-item > .md-no-style .md-list-item-text h3, md-dialog.light-on-dark-dialog md-list md-list-item .md-list-item-text .list-item-title, md-dialog.light-on-dark-dialog md-list md-list-item .md-list-item-text h3, md-dialog.light-on-dark-dialog md-list md-list-item > .md-no-style .md-list-item-text .list-item-title, md-dialog.light-on-dark-dialog md-list md-list-item > .md-no-style .md-list-item-text h3, md-button.arrow-link-button md-dialog.light-on-dark-dialog .button-content, md-dialog.light-on-dark-dialog .md-button.arrow-link-button .button-content, md-dialog.light-on-dark-dialog a{ color: #ffcccc !important; } /* Bouton pour confirmer une demande */ prm-request button.md-button.button-confirm{ background-color: #080 !important; } prm-request button.md-button.button-confirm:hover{ background-color: #050 !important; } md-card.psfooter, md-card.psfooter-legal, md-card.psfooter > md-card-content.prm-primary-bg, md-card.psfooter-legal > md-card-content.prm-primary-bg, md-card.prm-primary-bg.psfooter > md-card-content a:hover, md-card.prm-primary-bg.psfooter-legal > md-card-content a:hover{ background-color: #d6d6d6 !important; } md-card.psfooter md-card-content, md-card.psfooter-legal md-card-content, md-card.prm-primary-bg.psfooter > md-card-content a, md-card.prm-primary-bg.psfooter-legal > md-card-content a, md-card.prm-primary-bg.psfooter-legal span.legal { color: #3a3a3a !important; } md-card.prm-primary-bg.psfooter > md-card-content a:hover, md-card.prm-primary-bg.psfooter-legal > md-card-content a:hover { color: #ff0000 !important; } /* Couleur rouge pour les logos téléphone, mail, etc. */ .puce{ text-decoration: none !important; } .puce > span:first-child{ color: #ff0000; fill: #ff0000; } h1.md-headline{ font-size: 36px; line-height: 42px; } h2.md-headline{ font-size: 28px; line-height: 34px; } md-content.epfl-row { justify-content: center; } .epfl-row md-card-title{ flex: none; } .epfl-row md-card { height: 100%; } .epfl-social a{ text-decoration: none !important; } /* Empêcher les retours à la ligne pour les cotes */ span[ng-if="$ctrl.location.callNumber"]{ white-space: nowrap } /* Bouton de la recherche avancée */ .search-switch-buttons span{ font-variant: small-caps; font-size: 1.15em; } .search-switch-buttons button{ border: none !important; } /* Message d'alerte */ prm-search-bar>div { height: inherit !important; min-height: inherit !important; } prm-search-bar-after>div { background-color: #fff !important; margin-top: 20px; padding: 10px 15px; } .info-symbol::before { content: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 34 34' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Crect fill='%234a90e2' width='34' height='34' rx='4'/%3E%3Cpath d='M17 25V15M17 13V9' stroke='%23FFF' stroke-width='4'/%3E%3C/g%3E%3C/svg%3E"); width: 24px; height: 24px; position: absolute; display: inline-block; top: 50%; left: .6rem; width: 1.6rem; height: 1.6rem; margin-top: -.8rem; } .info-symbol { position: relative; } .info-symbol div { margin-left: 50px; } prm-search-bar-after p { padding: .25em 0 .25em; margin: 0; } prm-search-bar-after a { color: black; text-decoration: underline; } /* Mise en évidence des boutons pour les demandes de service */ /* span[translate="AlmaRequest"] { text-decoration: underline #0B0 3px; padding: 2px 6px; } span[translate="AlmaRequest"]:hover{ background-color: #050 !important; text-decoration: none; color: white; border-radius: 2px; } span[translate="nui.request.request"]{ display: none; } */ /* Soulignement des boutons proposant un service */ prm-service-button button { padding-left: 0px !important; padding-right: 0px !important; } prm-service-button button > span { background-color: #080 !important; color: white; padding: 2px 6px; border-radius: 2px; } prm-service-button button > span:hover { background-color: #050 !important; } /* Suppression du sous-titre demande */ span[translate="nui.request.request"]{ display: none; } /* Suppression du bouton PEB span[translate="AlmaResourceSharing"]{ display: none; } .links-block .separated-block-item::after{ content: none !important; } */ /* Crée la place pour le titre et le sous-titre */ prm-topbar { height: 150px !important; } prm-main-menu[menu-type="menu"], .top-nav-bar, prm-search-bookmark-filter { max-height: 60px !important; height: 60px !important; min-height: auto !important; } /* Mise en forme du titre et sous-titre */ .main-title{ padding: .85em; background-color: white; } .main-title h1{ font-size: 2em !important; margin-bottom: 0; } .main-title h1 > a{ color: black; } -prm-main-menu[menu-type="menu"] > div{ - border-bottom: solid #ddd 1px; +prm-main-menu[menu-type="menu"] #mainMenu>div { + border-bottom: solid #ddd 1px; } .main-title h2{ font-size: 1.2em !important; font-weight: bold; } /* Adapte le sous-titre lorsque l'écran est relativement petit */ @media only screen and (max-width: 660px){ .main-title h2{ font-size: 1.1em !important; } } /* Menu sur les petits écrans */ prm-main-menu[menu-type="full"] .md-button .md-headline{ color: #ff9999 !important; } prm-main-menu .md-subhead{ display: none; } .__sm prm-main-menu[menu-type="full"] .settings-container + md-divider{ margin-top: 6em !important; } + +/* Menu sur grand écran */ +prm-main-menu[menu-type="menu"] .button-over-dark, prm-topbar .md-button:not(.disable-hover){ + color: #222 !important; +} + +/* Petit triangle du menu */ +prm-user-area-expandable .button-with-menu-arrow:hover .menu-arrow:hover:not([disabled]){ + background-color: inherit; +} diff --git a/primo-explore/custom/41SLSP_EPF-prod/css/prmTopbar.css b/primo-explore/custom/41SLSP_EPF-prod/css/prmTopbar.css index 3ba30e7..327399a 100644 --- a/primo-explore/custom/41SLSP_EPF-prod/css/prmTopbar.css +++ b/primo-explore/custom/41SLSP_EPF-prod/css/prmTopbar.css @@ -1,50 +1,60 @@ /* Crée la place pour le titre et le sous-titre */ prm-topbar { height: 150px !important; } prm-main-menu[menu-type="menu"], .top-nav-bar, prm-search-bookmark-filter { max-height: 60px !important; height: 60px !important; min-height: auto !important; } /* Mise en forme du titre et sous-titre */ .main-title{ padding: .85em; background-color: white; } .main-title h1{ font-size: 2em !important; margin-bottom: 0; } .main-title h1 > a{ color: black; } -prm-main-menu[menu-type="menu"] > div{ - border-bottom: solid #ddd 1px; +prm-main-menu[menu-type="menu"] #mainMenu>div { + border-bottom: solid #ddd 1px; } .main-title h2{ font-size: 1.2em !important; font-weight: bold; } /* Adapte le sous-titre lorsque l'écran est relativement petit */ @media only screen and (max-width: 660px){ .main-title h2{ font-size: 1.1em !important; } } /* Menu sur les petits écrans */ prm-main-menu[menu-type="full"] .md-button .md-headline{ color: #ff9999 !important; } prm-main-menu .md-subhead{ display: none; } .__sm prm-main-menu[menu-type="full"] .settings-container + md-divider{ margin-top: 6em !important; } + +/* Menu sur grand écran */ +prm-main-menu[menu-type="menu"] .button-over-dark, prm-topbar .md-button:not(.disable-hover){ + color: #222 !important; +} + +/* Petit triangle du menu */ +prm-user-area-expandable .button-with-menu-arrow:hover .menu-arrow:hover:not([disabled]){ + background-color: inherit; +} diff --git a/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_de.html b/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_de.html index d977e01..02dede2 100644 --- a/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_de.html +++ b/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_de.html @@ -1,136 +1,136 @@

Willkommen bei BEAST

Der Katalog BEAST (Books, Ebooks and Articles Search Tool) bietet Ihnen Zugang zu allen dokumentarischen Ressourcen der Bibliothek der EPFL (Bücher, Zeitschriften und Artikel in gedruckter und elektronischer Form, Dissertationen der EPFL, DVDs, Videospiele usw.) sowie zu den Sammlungen der anderen Bibliotheken des SLSP-Netzes.

Inscription SLSP

Ihr NEBIS-Konto wurde nicht migriert, was bedeutet, dass alle Benutzerinnen und Benutzer ein neues Konto beim SLSP erstellen müssen.

-

▶  Erstellen Sie ein SLSP-Konto

+

▶  Erstellen Sie ein SLSP-Konto

Dienstleistungen

-

Bitte registrieren Sie sich für die SLSP-Netzwerkdienstleistungen, um auf folgende Dienstleistungen zugreifen zu können:

+

Bitte registrieren Sie sich für die SLSP-Netzwerkdienstleistungen, um auf folgende Dienstleistungen zugreifen zu können:

  • Zugang zu den Sammlungen von mehr als 450 wissenschaftlichen Bibliotheken in der Schweiz
  • Nutzung lizenzierter elektronischer Ressourcen der Bibliothek der EPFL
  • Dokumente aus anderen Bibliotheken bestellen (kostenlos, wenn sie in der Bibliothek der EPFL abgeholt werden)
  • Zugriff auf Bibliothekskonto, Ausleihen und Reservierungen

Fragen? Brauchen Sie Hilfe?

  FAQ

   library@epfl.ch

image/svg+xml   +41 21 693 21 56

EPFL Bibliothèque

Rolex Learning Center

Station 20

CH-1015 Lausanne

+41 21 693 21 56

library@epfl.ch

https://www.epfl.ch/campus/library/

Diese Seite ist der Zugangspunkt zu den Ressourcen der

Bibliothèque de l'EPFL

Die EPFL Bibliothek ist Mitglied der Swiss Library Service Platform (SLSP) network Rechtliche Informationen Datenschutz
diff --git a/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_en.html b/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_en.html index 21d0a9b..c6b0c27 100644 --- a/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_en.html +++ b/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_en.html @@ -1,136 +1,136 @@

Bienvenue sur BEAST

The BEAST catalog (Books, Ebooks and Articles Search Tool) allows you to search through all EPFL Library documentary resources (books and ebooks, online and printed journals and articles, EPFL theses, DVDs, video games, etc.), as well as through the collections of the other libraries of SLSP network.

Inscription SLSP

The NEBIS reader accounts have not been migrated, which means that all users must create a new account with SLSP.

-

▶  Create an SLSP account

+

▶  Create an SLSP account

Services

-

Please register for SLSP network to benefit from services such as:

+

Please register for SLSP network to benefit from services such as:

  • Access to the collections of more than 450 scientific libraries in Switzerland
  • Use electronic resources available through EPFL Library license
  • Order documents from other libraries (free of charge if picked up at the EPFL Library)
  • Access your reader account, loans and reservations

Need some help?

  FAQ

   library@epfl.ch

image/svg+xml   +41 21 693 21 56

EPFL Bibliothèque

Rolex Learning Center

Station 20

CH-1015 Lausanne

+41 21 693 21 56

library@epfl.ch

https://www.epfl.ch/campus/library/

This page is the access point to the resources of the

EPFL Library

The EPFL library is member of the Swiss Library Service Platform (SLSP) network Legal Information Data Protection
diff --git a/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_fr.html b/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_fr.html index def6733..7f7e9a6 100644 --- a/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_fr.html +++ b/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_fr.html @@ -1,136 +1,136 @@

Bienvenue sur BEAST

BEAST - Books, Ebooks and Articles Search Tool - vous donne accès à l’ensemble des ressources documentatires de la Bibliothèque de l'EPFL (livres, revues et articles imprimés et électroniques, thèses EPFL, DVDs, jeux vidéo, etc.), ainsi qu'aux collections des autres bibliothèques du réseau SLSP.

Inscription SLSP

Les comptes lecteurs n'ont pas été migrés, ce qui signifie que tous les utilisateurs doivent se créer un nouveau compte auprès d'SLSP.

-

▶  Créer un compte SLSP

+

▶  Créer un compte SLSP

Services

-

Veuillez vous inscrire pour bénéficier de nombreux services tels que :

+

Veuillez vous inscrire pour bénéficier de nombreux services tels que :

  • Accéder à plus de 450 bibliothèques scientifiques en Suisse
  • Utiliser les médias électroniques sous licence de la Bibliothèque de l'EPFL et accéder à des titres gratuits
  • Commander des documents provenant d'autres bibliothèques (service gratuit si retrait sur place)
  • Gérer votre compte, vos prêts et vos demandes

Besoin d'aide ?

  FAQ

   library@epfl.ch

image/svg+xml   +41 21 693 21 56

EPFL Bibliothèque

Rolex Learning Center

Station 20

CH-1015 Lausanne

+41 21 693 21 56

library@epfl.ch

https://go.epfl.ch/bibliotheque

Cette page est le point d’accès aux ressources de

La Bibliothèque de l'EPFL

La Bibliothèque de l'EPFL est membre du Swiss Library Service Platform (SLSP) network Informations juridiques Protection des données
diff --git a/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_it.html b/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_it.html index 1f05ae9..eee8976 100644 --- a/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_it.html +++ b/primo-explore/custom/41SLSP_EPF-prod/html/homepage/homepage_it.html @@ -1,136 +1,136 @@

Benvenuti su BEAST

Il catalogo BEAST (Books, Ebooks and Articles Search Tool) vi permette di accedere all’insieme delle risorse documentarie della Biblioteca dell’EPFL (libri, riviste e articoli in formato cartaceo ed elettronico, tesi dell’EPFL, DVD, videogiochi, ecc.) cosi come alle collezioni delle altre biblioteche della rete SLSP.

Iscrizione a SLSP

Gli account utente NEBIS non sono stati migrati sulla nuova piattaforma. Tutti i lettori dovranno quindi crearsi un nuovo account SLSP.

-

▶  Creare un account SLSP

+

▶  Creare un account SLSP

Servizi

-

È necessario iscriversi per usfruire dei servizi della rete SLSP, come ad esempio:

+

È necessario iscriversi per usfruire dei servizi della rete SLSP, come ad esempio:

  • Accedere alle collezioni di oltre 450 biblioteche scientifiche in Svizzera
  • Utilizzare le risorse elettroniche in abbonamento alla Biblioteca dell’EPFL
  • Ordinare dei documenti provenienti dalle altre biblioteche (il servizio è gratuito se i documenti vengono ritirati alla Biblioteca dell’EPFL)
  • Gestire il vostro account utente, i vostri prestiti e le vostre prenotazioni

Bisogno d’aiuto?

  FAQ

   library@epfl.ch

image/svg+xml   +41 21 693 21 56

EPFL Bibliothèque

Rolex Learning Center

Station 20

CH-1015 Lausanne

+41 21 693 21 56

library@epfl.ch

https://www.epfl.ch/campus/library/

Questa pagina è il punto di accesso per le risorse della

Bibliothèque de l'EPFL

La Bibliothèque de l'EPFL è membro del Swiss Library Service Platform (SLSP) network Informazioni legali Protezione dei dati
diff --git a/primo-explore/custom/41SLSP_EPF-prod/js/custom.js b/primo-explore/custom/41SLSP_EPF-prod/js/custom.js index 1cf2cda..817faaf 100644 --- a/primo-explore/custom/41SLSP_EPF-prod/js/custom.js +++ b/primo-explore/custom/41SLSP_EPF-prod/js/custom.js @@ -1,2 +1,2 @@ -!function i(s,l,o){function c(t,e){if(!l[t]){if(!s[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(u)return u(t,!0);var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}var a=l[t]={exports:{}};s[t][0].call(a.exports,function(e){return c(s[t][1][e]||e)},a,a.exports,i,s,l,o)}return l[t].exports}for(var u="function"==typeof require&&require,e=0;e\n

Le réseau NEBIS a pris fin le 7 décembre 2020 pour être remplacé par un nouveau réseau plus vaste : SLSP

',en:'
\n

The NEBIS network ended on December 7, 2020. It has been replaced by SLSP: a new and wider network.

',de:'
\n

Das NEBIS-Netzwerk wurde am 07.12.2020 abgeschaltet und durch ein neues, grösseres Netzwerk ersetzt: SLSP

',it:'
\n

La rete NEBIS è stata sciolta il 7 dicembre 2020 per essere sostituita da una rete piú ampia di biblioteche: SLSP

'},begin:"2020-01-04T00:00:00Z",end:"2021-03-31T12:00:00Z"}},{}],4:[function(e,t,r){"use strict";var n;(n=angular.module("homepageModule",["angularLoad"])).component("prmTopbarAfter",e("./topbar.component.js")),n.component("prmSearchBarAfter",e("./searchbar.component.js"))},{"./searchbar.component.js":5,"./topbar.component.js":6}],5:[function(n,e,t){"use strict";e.exports={bindings:{parentCtrl:"<"},template:'
',controllerAs:"ctrl",controller:["$translate",function(t){var r=this;if(r.alert=n("./alert.js"),!(r.active=!1)===r.alert.active){var e=Date.now();new Date(r.alert.begin)

{{ 'mainTitle' | customTranslate }}

{{ 'subTitle' | customTranslate }}

"}},{}],7:[function(e,t,r){"use strict";e("./slsp/epfl_custom_slsp.js"),e("./homepage/index.js"),e("./filters/custom_translate.filter.js"),e("./filters/trust_html.filter.js"),angular.module("viewCustom",["angularLoad","centralCustom","homepageModule","customTranslateFilter","trustHtmlFilter"])},{"./filters/custom_translate.filter.js":1,"./filters/trust_html.filter.js":2,"./homepage/index.js":4,"./slsp/epfl_custom_slsp.js":8}],8:[function(e,t,r){"use strict";var n;(n=angular.module("centralCustom",["angularLoad"])).controller("CourierInfoController",["$filter",function(e){var r=this;Object.defineProperty(r.parentCtrl,"form",{configurable:!0,get:function(){var e=this.getFilteredForm(["label","multiLabel"],!1);if(!r.hasOwnProperty("pickupLocationsListOrdered"))for(var t=0;t{{ $ctrl.typeFeeAlert() }}'}),n.controller("LibInfoController",[function(){var e=this;e.getLibrary=function(){return e.parentCtrl.currLoc.location.librarycodeTranslation},e.biblinkText="Library",e.biblinkBase="https://slsp.ch/libraries"}]),n.component("prmLocationItemsAfter",{bindings:{parentCtrl:"<"},controller:"LibInfoController",template:''})},{}]},{},[7]); +!function i(s,l,o){function c(t,e){if(!l[t]){if(!s[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(u)return u(t,!0);var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}var a=l[t]={exports:{}};s[t][0].call(a.exports,function(e){return c(s[t][1][e]||e)},a,a.exports,i,s,l,o)}return l[t].exports}for(var u="function"==typeof require&&require,e=0;e\n

Le réseau NEBIS a pris fin le 7 décembre 2020 pour être remplacé par un nouveau réseau plus vaste : SLSP

',en:'
\n

The NEBIS network ended on December 7, 2020. It has been replaced by SLSP: a new and wider network.

',de:'
\n

Das NEBIS-Netzwerk wurde am 07.12.2020 abgeschaltet und durch ein neues, grösseres Netzwerk ersetzt: SLSP

',it:'
\n

La rete NEBIS è stata sciolta il 7 dicembre 2020 per essere sostituita da una rete piú ampia di biblioteche: SLSP

'},begin:"2020-01-04T00:00:00Z",end:"2021-03-31T12:00:00Z"}},{}],4:[function(e,t,r){"use strict";var n;(n=angular.module("homepageModule",["angularLoad"])).component("prmTopbarAfter",e("./topbar.component.js")),n.component("prmSearchBarAfter",e("./searchbar.component.js"))},{"./searchbar.component.js":5,"./topbar.component.js":6}],5:[function(n,e,t){"use strict";e.exports={bindings:{parentCtrl:"<"},template:'
',controllerAs:"ctrl",controller:["$translate",function(t){var r=this;if(r.alert=n("./alert.js"),!(r.active=!1)===r.alert.active){var e=Date.now();new Date(r.alert.begin)

{{ 'mainTitle' | customTranslate }}

{{ 'subTitle' | customTranslate }}

"}},{}],7:[function(e,t,r){"use strict";e("./slsp/epfl_custom_slsp.js"),e("./homepage/index.js"),e("./filters/custom_translate.filter.js"),e("./filters/trust_html.filter.js"),angular.module("viewCustom",["angularLoad","centralCustom","homepageModule","customTranslateFilter","trustHtmlFilter"])},{"./filters/custom_translate.filter.js":1,"./filters/trust_html.filter.js":2,"./homepage/index.js":4,"./slsp/epfl_custom_slsp.js":8}],8:[function(e,t,r){"use strict";var n;(n=angular.module("centralCustom",["angularLoad"])).controller("CourierInfoController",["$filter",function(e){var r=this;Object.defineProperty(r.parentCtrl,"form",{configurable:!0,get:function(){var e=this.getFilteredForm(["label","multiLabel"],!1);if(!r.hasOwnProperty("pickupLocationsListOrdered"))for(var t=0;t{{ $ctrl.typeFeeAlert() }}'}),n.controller("LibInfoController",[function(){var e=this;e.getLibrary=function(){return e.parentCtrl.currLoc?e.parentCtrl.currLoc.location.librarycodeTranslation:""},e.biblinkText="Library",e.biblinkBase="https://slsp.ch/libraries"}]),n.component("prmLocationItemsAfter",{bindings:{parentCtrl:"<"},controller:"LibInfoController",template:''})},{}]},{},[7]); //# sourceMappingURL=custom.js.map diff --git a/primo-explore/custom/41SLSP_EPF-prod/js/custom.js.map b/primo-explore/custom/41SLSP_EPF-prod/js/custom.js.map index 56df7a5..0207f0f 100644 --- a/primo-explore/custom/41SLSP_EPF-prod/js/custom.js.map +++ b/primo-explore/custom/41SLSP_EPF-prod/js/custom.js.map @@ -1 +1 @@ -{"version":3,"sources":["node_modules/browser-pack/_prelude.js","primo-explore/custom/41SLSP_EPF-prod/js/filters/custom_translate.filter.js","primo-explore/custom/41SLSP_EPF-prod/js/filters/trust_html.filter.js","primo-explore/custom/41SLSP_EPF-prod/js/homepage/alert.js","primo-explore/custom/41SLSP_EPF-prod/js/homepage/index.js","primo-explore/custom/41SLSP_EPF-prod/js/homepage/searchbar.component.js","primo-explore/custom/41SLSP_EPF-prod/js/homepage/topbar.component.js","primo-explore/custom/41SLSP_EPF-prod/js/main.js","primo-explore/custom/41SLSP_EPF-prod/js/slsp/epfl_custom_slsp.js"],"names":["r","e","n","t","o","i","f","c","require","u","a","Error","code","p","exports","call","length","1","module","angular","filter","$translate","txt","trad","costWarningGeneral","fr","en","de","it","costWarningNetworkLoan","mainTitle","subTitle","includes","use","$sce","trustAsHtml","active","begin","end","homepage_module","component","bindings","parentCtrl","template","controllerAs","controller","vm","this","alert","d_now","Date","now","get_txt","lang","showTabsAndScopes","$location","url","window","location","href","split","configurationUtil","vid","app","$filter","Object","defineProperty","configurable","get","form","getFilteredForm","hasOwnProperty","key","options","sort","b","onTopInstitutions","indexOf","value","linkText","linkBase","typeFeeAlert","requestHeader","getLibrary","currLoc","librarycodeTranslation","biblinkText","biblinkBase"],"mappings":"CAAA,SAAAA,EAAAC,EAAAC,EAAAC,GAAA,SAAAC,EAAAC,EAAAC,GAAA,IAAAJ,EAAAG,GAAA,CAAA,IAAAJ,EAAAI,GAAA,CAAA,IAAAE,EAAA,mBAAAC,S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AyB,CAAC,UAAW,SAAUmB,GAC1D,IAAIlB,EAAKC,KACTkB,OAAOC,eAAepB,EAAGJ,WAAY,OAAQ,CACzCyB,cAAc,EACdC,IAAK,WAEG,IAAIC,EAAOtB,KAAKuB,gBAAgB,CAAC,QAAS,eAAe,GACzD,IAAKxB,EAAGyB,eAAe,8BACnB,IAAK,IAAIlE,EAAI,EAAGA,EAAIgE,EAAKrD,OAAQX,IAC7B,GAAmB,qBAAfgE,EAAKhE,GAAGmE,IAA2B,CAQnCH,EAAKhE,GAAGoE,QAAQC,KAPhB,SAAkBhE,EAAGiE,GACjB,IAAIC,EAAoB,CAAC,aAAc,eAGvC,OAFAlE,EAAIkE,EAAkBC,QAAQnE,EAAEoE,UAChCH,EAAIC,EAAkBC,QAAQF,EAAEG,QACZ,EACbpE,EAAIiE,EAAI,GAAK,IAOpC,OAAON,KAInBvB,EAAGiC,SAAW,kCACdjC,EAAGkC,SAAW,uBACdlC,EAAGmC,aAAe,WACd,MAAoC,uBAAhCnC,EAAGJ,WAAWwC,cACPlB,EAAQ,kBAARA,CAA2B,0BAE3BA,EAAQ,kBAARA,CAA2B,0BAQ9CD,EAAIvB,UAAU,kBAAmB,CAC7BC,SAAU,CAAEC,WAAY,KACxBG,WAAY,wBAEZF,SAAA,gPAGJoB,EAAIlB,WAAW,oBAAqB,CAAC,WACjC,IAAIC,EAAKC,KACTD,EAAGqC,WAIH,WACI,OAAOrC,EAAGJ,WAAW0C,QAAQ1B,SAAS2B,wBAJ1CvC,EAAGwC,YAAc,UACjBxC,EAAGyC,YAAc,+BAQrBxB,EAAIvB,UAAU,wBAAyB,CACnCC,SAAU,CAAEC,WAAY,KACxBG,WAAY,oBACZF,SAAU","file":"custom.js","sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i\r\n

Le réseau NEBIS a pris fin le 7 décembre 2020 pour être remplacé par un nouveau réseau plus vaste : SLSP

`,\r\n en: `
\r\n

The NEBIS network ended on December 7, 2020. It has been replaced by SLSP: a new and wider network.

`,\r\n de: `
\r\n

Das NEBIS-Netzwerk wurde am 07.12.2020 abgeschaltet und durch ein neues, grösseres Netzwerk ersetzt: SLSP

`,\r\n it: `
\r\n

La rete NEBIS è stata sciolta il 7 dicembre 2020 per essere sostituita da una rete piú ampia di biblioteche: SLSP

`},\r\n begin:\"2020-01-04T00:00:00Z\",\r\n end:\"2021-03-31T12:00:00Z\"}\r\n","(function () {\r\n var homepage_module = angular.module('homepageModule', ['angularLoad']);\r\n homepage_module.component('prmTopbarAfter', require('./topbar.component.js'));\r\n homepage_module.component('prmSearchBarAfter', require('./searchbar.component.js'));\r\n})()\r\n","\"use strict\";\r\n\r\n/*\r\n OBJECTIFS:\r\n - Toujours afficher l'onglet pour modifier le scope\r\n - Afficher une alerte si les dates correspondent\r\n UTILISATION:\r\n Pour paramétrer l'alerte, il faut modifier le fichier alert.json (dans ce dossier)\r\n*/\r\nmodule.exports = {\r\n bindings: {parentCtrl: '<'},\r\n template: '
',\r\n controllerAs:'ctrl',\r\n controller: ['$translate', function($translate){\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n var vm = this;\r\n\r\n /********************/\r\n /* MESSAGE D'ALERTE */\r\n /********************/\r\n\r\n // récupère le fichier json avec les paramètres de l'alerte\r\n vm.alert = require(\"./alert.js\");\r\n\r\n // par défaut, l'alerte n'est pas considérée comme active\r\n vm.active = false;\r\n\r\n // Vérifie dans le fichier json si une alerte est prévue\r\n if (vm.alert.active === true){\r\n\r\n // Teste si les dates correspondent pour l'affichage de l'alerte\r\n var d_now = Date.now();\r\n if ((new Date(vm.alert.begin) < d_now) && (d_now < new Date(vm.alert.end))) {\r\n // déclenche l'affichage de l'alerte\r\n vm.active = true;\r\n }\r\n }\r\n\r\n // getteur qui retourne le texte en fonction de la langue\r\n vm.get_txt = function(){\r\n var lang = ['en', 'fr', 'it', 'de'].includes($translate.use()) ? $translate.use():'en';\r\n return vm.active ? vm.alert.txt[lang] : \"\";\r\n }\r\n\r\n /*******************/\r\n /* SCOPE PERMANENT */\r\n /*******************/\r\n\r\n // Rendre permanent l'affichage des onglets permettant de sélectionnet le scope\r\n vm.parentCtrl.showTabsAndScopes = true;\r\n\r\n // console.log(vm.alert);\r\n }\r\n ]};\r\n","\"use strict\";\r\n\r\n/*\r\n OBJECTIF: afficher l'entête de la page.\r\n REMARQUES: contient le titre BEAST, le teaser, le fil d'ariance. Le controlleur vérifie\r\n si on se trouve dans le compte de lecteur afin de paramétrer le fil d'ariane.\r\n*/\r\n\r\nmodule.exports = {\r\n bindings: {parentCtrl: '<'},\r\n controllerAs: 'ctrl',\r\n controller: ['$location', '$translate', function($location, $translate) {\r\n var vm = this;\r\n vm.url = window.location.href.split('?')[0] + '?vid=' + vm.parentCtrl.configurationUtil.vid + '&lang=' + $translate.use();\r\n // console.log(vm);\r\n // console.log(vm.url);\r\n }],\r\n template: `

{{ 'mainTitle' | customTranslate }}

{{ 'subTitle' | customTranslate }}

`\r\n //templateUrl: './custom/41SLSP_EPF-prod/js/homepage/templates/topbar.html'\r\n};\r\n","/************************/\r\n/* List of used modules */\r\n/************************/\r\n\r\n// Import central SLSP package ;\r\nimport { centralCustom } from './slsp/epfl_custom_slsp.js';\r\nimport { homepageModule } from './homepage/index.js';\r\nimport { customTranslateFilter } from './filters/custom_translate.filter.js';\r\nimport { trustHtmlFilter } from './filters/trust_html.filter.js';\r\n\r\nvar app = angular.module('viewCustom', ['angularLoad', 'centralCustom', 'homepageModule', 'customTranslateFilter', 'trustHtmlFilter']);\r\n","(function () {\r\n\r\n\r\n var app = angular.module('centralCustom', ['angularLoad']);\r\n\r\n\r\n app.controller('CourierInfoController', ['$filter', function ($filter) {\r\n var vm = this;\r\n Object.defineProperty(vm.parentCtrl, \"form\", {\r\n configurable: !0,\r\n get: function(){\r\n // Mettre l'EPFL en première position\r\n var form = this.getFilteredForm(['label', 'multiLabel'], false);\r\n if (!vm.hasOwnProperty('pickupLocationsListOrdered')){\r\n for (var i = 0; i < form.length; i++){\r\n if (form[i].key == 'pickupInstitution'){\r\n function compare( a, b ){\r\n var onTopInstitutions = ['41SLSP_EPF', '41SLSP_EPFL'];\r\n a = onTopInstitutions.indexOf(a.value);\r\n b = onTopInstitutions.indexOf(b.value);\r\n if (a == b) {return 0};\r\n return a < b ? 1 : -1;\r\n }\r\n form[i].options.sort(compare);\r\n // vm['pickupLocationsListOrdered'] = true;\r\n }\r\n }\r\n }\r\n return form;\r\n }\r\n }\r\n );\r\n vm.linkText = \"Fees \\/ Geb\\u00fchren \\/ Frais \\/ Costi\";\r\n vm.linkBase = \"https:\\/\\/slsp.ch\\/fees\";\r\n vm.typeFeeAlert = function() {\r\n if (vm.parentCtrl.requestHeader === 'almaRequest.header') {\r\n return $filter('customTranslate')('costWarningNetworkLoan');\r\n } else {\r\n return $filter('customTranslate')('costWarningGeneral');\r\n }\r\n }\r\n\r\n // console.log(vm);\r\n\r\n }]);\r\n\r\n app.component('prmRequestAfter', {\r\n bindings: { parentCtrl: '<' },\r\n controller: 'CourierInfoController',\r\n //template: ''\r\n template: ``\r\n });\r\n\r\n app.controller('LibInfoController', [function () {\r\n var vm = this;\r\n vm.getLibrary = getLibrary;\r\n vm.biblinkText = \"Library\";\r\n vm.biblinkBase = \"https:\\/\\/slsp.ch\\/libraries\";\r\n\r\n function getLibrary() {\r\n return vm.parentCtrl.currLoc.location.librarycodeTranslation;\r\n }\r\n\r\n }]);\r\n\r\n app.component('prmLocationItemsAfter', {\r\n bindings: { parentCtrl: '<' },\r\n controller: 'LibInfoController',\r\n template: ''\r\n });\r\n\r\n\r\n\r\n})();\r\n"],"sourceRoot":"/source/"} \ No newline at end of file +{"version":3,"sources":["node_modules/browser-pack/_prelude.js","primo-explore/custom/41SLSP_EPF-prod/js/filters/custom_translate.filter.js","primo-explore/custom/41SLSP_EPF-prod/js/filters/trust_html.filter.js","primo-explore/custom/41SLSP_EPF-prod/js/homepage/alert.js","primo-explore/custom/41SLSP_EPF-prod/js/homepage/index.js","primo-explore/custom/41SLSP_EPF-prod/js/homepage/searchbar.component.js","primo-explore/custom/41SLSP_EPF-prod/js/homepage/topbar.component.js","primo-explore/custom/41SLSP_EPF-prod/js/main.js","primo-explore/custom/41SLSP_EPF-prod/js/slsp/epfl_custom_slsp.js"],"names":["r","e","n","t","o","i","f","c","require","u","a","Error","code","p","exports","call","length","1","module","angular","filter","$translate","txt","trad","costWarningGeneral","fr","en","de","it","costWarningNetworkLoan","mainTitle","subTitle","includes","use","$sce","trustAsHtml","active","begin","end","homepage_module","component","bindings","parentCtrl","template","controllerAs","controller","vm","this","alert","d_now","Date","now","get_txt","lang","showTabsAndScopes","$location","url","window","location","href","split","configurationUtil","vid","app","$filter","Object","defineProperty","configurable","get","form","getFilteredForm","hasOwnProperty","key","options","sort","b","onTopInstitutions","indexOf","value","linkText","linkBase","typeFeeAlert","requestHeader","getLibrary","currLoc","librarycodeTranslation","biblinkText","biblinkBase"],"mappings":"CAAA,SAAAA,EAAAC,EAAAC,EAAAC,GAAA,SAAAC,EAAAC,EAAAC,GAAA,IAAAJ,EAAAG,GAAA,CAAA,IAAAJ,EAAAI,GAAA,CAAA,IAAAE,EAAA,mBAAAC,SAAAA,QAAA,IAAAF,GAAAC,EAAA,OAAAA,EAAAF,GAAA,GAAA,GAAAI,EAAA,OAAAA,EAAAJ,GAAA,GAAA,IAAAK,EAAA,IAAAC,MAAA,uBAAAN,EAAA,KAAA,MAAAK,EAAAE,KAAA,mBAAAF,EAAA,IAAAG,EAAAX,EAAAG,GAAA,CAAAS,QAAA,IAAAb,EAAAI,GAAA,GAAAU,KAAAF,EAAAC,QAAA,SAAAd,GAA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fgE,EAAKhE,GAAGmE,IAA2B,CAQnCH,EAAKhE,GAAGoE,QAAQC,KAPhB,SAAkBhE,EAAGiE,GACjB,IAAIC,EAAoB,CAAC,aAAc,eAGvC,OAFAlE,EAAIkE,EAAkBC,QAAQnE,EAAEoE,UAChCH,EAAIC,EAAkBC,QAAQF,EAAEG,QACZ,EACbpE,EAAIiE,EAAI,GAAK,IAOpC,OAAON,KAInBvB,EAAGiC,SAAW,kCACdjC,EAAGkC,SAAW,uBACdlC,EAAGmC,aAAe,WACd,MAAoC,uBAAhCnC,EAAGJ,WAAWwC,cACPlB,EAAQ,kBAARA,CAA2B,0BAE3BA,EAAQ,kBAARA,CAA2B,0BAQ9CD,EAAIvB,UAAU,kBAAmB,CAC7BC,SAAU,CAAEC,WAAY,KACxBG,WAAY,wBAEZF,SAAA,gPAGJoB,EAAIlB,WAAW,oBAAqB,CAAC,WACjC,IAAIC,EAAKC,KACTD,EAAGqC,WAKH,WAEI,OAAOrC,EAAGJ,WAAW0C,QAAUtC,EAAGJ,WAAW0C,QAAQ1B,SAAS2B,uBAAyB,IAN3FvC,EAAGwC,YAAc,UACjBxC,EAAGyC,YAAc,+BAUrBxB,EAAIvB,UAAU,wBAAyB,CACnCC,SAAU,CAAEC,WAAY,KACxBG,WAAY,oBACZF,SAAU","file":"custom.js","sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i\r\n

Le réseau NEBIS a pris fin le 7 décembre 2020 pour être remplacé par un nouveau réseau plus vaste : SLSP

`,\r\n en: `
\r\n

The NEBIS network ended on December 7, 2020. It has been replaced by SLSP: a new and wider network.

`,\r\n de: `
\r\n

Das NEBIS-Netzwerk wurde am 07.12.2020 abgeschaltet und durch ein neues, grösseres Netzwerk ersetzt: SLSP

`,\r\n it: `
\r\n

La rete NEBIS è stata sciolta il 7 dicembre 2020 per essere sostituita da una rete piú ampia di biblioteche: SLSP

`},\r\n begin:\"2020-01-04T00:00:00Z\",\r\n end:\"2021-03-31T12:00:00Z\"}\r\n","(function () {\r\n var homepage_module = angular.module('homepageModule', ['angularLoad']);\r\n homepage_module.component('prmTopbarAfter', require('./topbar.component.js'));\r\n homepage_module.component('prmSearchBarAfter', require('./searchbar.component.js'));\r\n})()\r\n","\"use strict\";\r\n\r\n/*\r\n OBJECTIFS:\r\n - Toujours afficher l'onglet pour modifier le scope\r\n - Afficher une alerte si les dates correspondent\r\n UTILISATION:\r\n Pour paramétrer l'alerte, il faut modifier le fichier alert.json (dans ce dossier)\r\n*/\r\nmodule.exports = {\r\n bindings: {parentCtrl: '<'},\r\n template: '
',\r\n controllerAs:'ctrl',\r\n controller: ['$translate', function($translate){\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n var vm = this;\r\n\r\n /********************/\r\n /* MESSAGE D'ALERTE */\r\n /********************/\r\n\r\n // récupère le fichier json avec les paramètres de l'alerte\r\n vm.alert = require(\"./alert.js\");\r\n\r\n // par défaut, l'alerte n'est pas considérée comme active\r\n vm.active = false;\r\n\r\n // Vérifie dans le fichier json si une alerte est prévue\r\n if (vm.alert.active === true){\r\n\r\n // Teste si les dates correspondent pour l'affichage de l'alerte\r\n var d_now = Date.now();\r\n if ((new Date(vm.alert.begin) < d_now) && (d_now < new Date(vm.alert.end))) {\r\n // déclenche l'affichage de l'alerte\r\n vm.active = true;\r\n }\r\n }\r\n\r\n // getteur qui retourne le texte en fonction de la langue\r\n vm.get_txt = function(){\r\n var lang = ['en', 'fr', 'it', 'de'].includes($translate.use()) ? $translate.use():'en';\r\n return vm.active ? vm.alert.txt[lang] : \"\";\r\n }\r\n\r\n /*******************/\r\n /* SCOPE PERMANENT */\r\n /*******************/\r\n\r\n // Rendre permanent l'affichage des onglets permettant de sélectionnet le scope\r\n vm.parentCtrl.showTabsAndScopes = true;\r\n\r\n // console.log(vm.alert);\r\n }\r\n ]};\r\n","\"use strict\";\r\n\r\n/*\r\n OBJECTIF: afficher l'entête de la page.\r\n REMARQUES: contient le titre BEAST, le teaser, le fil d'ariance. Le controlleur vérifie\r\n si on se trouve dans le compte de lecteur afin de paramétrer le fil d'ariane.\r\n*/\r\n\r\nmodule.exports = {\r\n bindings: {parentCtrl: '<'},\r\n controllerAs: 'ctrl',\r\n controller: ['$location', '$translate', function($location, $translate) {\r\n var vm = this;\r\n vm.url = window.location.href.split('?')[0] + '?vid=' + vm.parentCtrl.configurationUtil.vid + '&lang=' + $translate.use();\r\n // console.log(vm);\r\n // console.log(vm.url);\r\n }],\r\n template: `

{{ 'mainTitle' | customTranslate }}

{{ 'subTitle' | customTranslate }}

`\r\n //templateUrl: './custom/41SLSP_EPF-prod/js/homepage/templates/topbar.html'\r\n};\r\n","/************************/\r\n/* List of used modules */\r\n/************************/\r\n\r\n// Import central SLSP package ;\r\n// import { centralCustom } from './slsp/custom_slsp.js';\r\nimport { centralCustom } from './slsp/epfl_custom_slsp.js';\r\nimport { homepageModule } from './homepage/index.js';\r\nimport { customTranslateFilter } from './filters/custom_translate.filter.js';\r\nimport { trustHtmlFilter } from './filters/trust_html.filter.js';\r\n\r\nvar app = angular.module('viewCustom', ['angularLoad', 'centralCustom', 'homepageModule', 'customTranslateFilter', 'trustHtmlFilter']);\r\n","(function () {\r\n\r\n\r\n var app = angular.module('centralCustom', ['angularLoad']);\r\n\r\n\r\n app.controller('CourierInfoController', ['$filter', function ($filter) {\r\n var vm = this;\r\n Object.defineProperty(vm.parentCtrl, \"form\", {\r\n configurable: !0,\r\n get: function(){\r\n // Mettre l'EPFL en première position\r\n var form = this.getFilteredForm(['label', 'multiLabel'], false);\r\n if (!vm.hasOwnProperty('pickupLocationsListOrdered')){\r\n for (var i = 0; i < form.length; i++){\r\n if (form[i].key == 'pickupInstitution'){\r\n function compare( a, b ){\r\n var onTopInstitutions = ['41SLSP_EPF', '41SLSP_EPFL'];\r\n a = onTopInstitutions.indexOf(a.value);\r\n b = onTopInstitutions.indexOf(b.value);\r\n if (a == b) {return 0};\r\n return a < b ? 1 : -1;\r\n }\r\n form[i].options.sort(compare);\r\n // vm['pickupLocationsListOrdered'] = true;\r\n }\r\n }\r\n }\r\n return form;\r\n }\r\n }\r\n );\r\n vm.linkText = \"Fees \\/ Geb\\u00fchren \\/ Frais \\/ Costi\";\r\n vm.linkBase = \"https:\\/\\/slsp.ch\\/fees\";\r\n vm.typeFeeAlert = function() {\r\n if (vm.parentCtrl.requestHeader === 'almaRequest.header') {\r\n return $filter('customTranslate')('costWarningNetworkLoan');\r\n } else {\r\n return $filter('customTranslate')('costWarningGeneral');\r\n }\r\n }\r\n\r\n // console.log(vm);\r\n\r\n }]);\r\n\r\n app.component('prmRequestAfter', {\r\n bindings: { parentCtrl: '<' },\r\n controller: 'CourierInfoController',\r\n //template: ''\r\n template: ``\r\n });\r\n\r\n app.controller('LibInfoController', [function () {\r\n var vm = this;\r\n vm.getLibrary = getLibrary;\r\n vm.biblinkText = \"Library\";\r\n vm.biblinkBase = \"https:\\/\\/slsp.ch\\/libraries\";\r\n // console.log(vm);\r\n\r\n function getLibrary() {\r\n // return vm.parentCtrl.currLoc.location.librarycodeTranslation;\r\n return vm.parentCtrl.currLoc ? vm.parentCtrl.currLoc.location.librarycodeTranslation : '';\r\n }\r\n\r\n }]);\r\n\r\n app.component('prmLocationItemsAfter', {\r\n bindings: { parentCtrl: '<' },\r\n controller: 'LibInfoController',\r\n template: ''\r\n });\r\n\r\n\r\n\r\n})();\r\n"],"sourceRoot":"/source/"} \ No newline at end of file diff --git a/primo-explore/custom/41SLSP_EPF-prod/js/main.js b/primo-explore/custom/41SLSP_EPF-prod/js/main.js index dedd0b3..3c65851 100644 --- a/primo-explore/custom/41SLSP_EPF-prod/js/main.js +++ b/primo-explore/custom/41SLSP_EPF-prod/js/main.js @@ -1,11 +1,12 @@ /************************/ /* List of used modules */ /************************/ // Import central SLSP package ; +// import { centralCustom } from './slsp/custom_slsp.js'; import { centralCustom } from './slsp/epfl_custom_slsp.js'; import { homepageModule } from './homepage/index.js'; import { customTranslateFilter } from './filters/custom_translate.filter.js'; import { trustHtmlFilter } from './filters/trust_html.filter.js'; var app = angular.module('viewCustom', ['angularLoad', 'centralCustom', 'homepageModule', 'customTranslateFilter', 'trustHtmlFilter']); diff --git a/primo-explore/custom/41SLSP_EPF-prod/js/slsp/epfl_custom_slsp.js b/primo-explore/custom/41SLSP_EPF-prod/js/slsp/epfl_custom_slsp.js index 054c7d6..e814b33 100644 --- a/primo-explore/custom/41SLSP_EPF-prod/js/slsp/epfl_custom_slsp.js +++ b/primo-explore/custom/41SLSP_EPF-prod/js/slsp/epfl_custom_slsp.js @@ -1,74 +1,76 @@ (function () { var app = angular.module('centralCustom', ['angularLoad']); app.controller('CourierInfoController', ['$filter', function ($filter) { var vm = this; Object.defineProperty(vm.parentCtrl, "form", { configurable: !0, get: function(){ // Mettre l'EPFL en première position var form = this.getFilteredForm(['label', 'multiLabel'], false); if (!vm.hasOwnProperty('pickupLocationsListOrdered')){ for (var i = 0; i < form.length; i++){ if (form[i].key == 'pickupInstitution'){ function compare( a, b ){ var onTopInstitutions = ['41SLSP_EPF', '41SLSP_EPFL']; a = onTopInstitutions.indexOf(a.value); b = onTopInstitutions.indexOf(b.value); if (a == b) {return 0}; return a < b ? 1 : -1; } form[i].options.sort(compare); // vm['pickupLocationsListOrdered'] = true; } } } return form; } } ); vm.linkText = "Fees \/ Geb\u00fchren \/ Frais \/ Costi"; vm.linkBase = "https:\/\/slsp.ch\/fees"; vm.typeFeeAlert = function() { if (vm.parentCtrl.requestHeader === 'almaRequest.header') { return $filter('customTranslate')('costWarningNetworkLoan'); } else { return $filter('customTranslate')('costWarningGeneral'); } } // console.log(vm); }]); app.component('prmRequestAfter', { bindings: { parentCtrl: '<' }, controller: 'CourierInfoController', //template: '' template: `` }); app.controller('LibInfoController', [function () { var vm = this; vm.getLibrary = getLibrary; vm.biblinkText = "Library"; vm.biblinkBase = "https:\/\/slsp.ch\/libraries"; + // console.log(vm); function getLibrary() { - return vm.parentCtrl.currLoc.location.librarycodeTranslation; + // return vm.parentCtrl.currLoc.location.librarycodeTranslation; + return vm.parentCtrl.currLoc ? vm.parentCtrl.currLoc.location.librarycodeTranslation : ''; } }]); app.component('prmLocationItemsAfter', { bindings: { parentCtrl: '<' }, controller: 'LibInfoController', template: '' }); })();