npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

primo-explore-but-layout

v2.0.0

Published

Brno University of Technology Primo NUI layoutout

Downloads

7

Readme

primo-explore-but-layout

##Facets to the left Moves facets to the left. Taken from https://github.com/ExLibrisGroup/primo-explore-package/tree/master/VIEW_CODE/css, also adds background color to facets and creates slight left padding. Shrinking of facets pane was adjusted too. It is wide enough on "standard width devices" to display whole terms (without ...).

##Citation first Adjusts the bar with export options - citation first, hide redundant.

##Results count Adds a little margin to results count so it won't interfere with page number.

##Hide Anything that needs to be hidden:

  • personalize results

##Footer Adds footer structure (js + html + css). Language variants of footer html file has to be copied to the main html directory of the view.

##Before - After Sometimes it is useful to actually have the content generated by css (namely by before and after selectors).

##Consts Includes js file with definition of system-wide vars/consts. Naming convention is there to ensure loading this file first. Or at least before the vars are used.

##Logo Simple css to style but logo + logo image itself. You have to manually copy the logo image into the correct folder. Just copy the ./img/library-logo.png from the package to the img folder of Primo NUI.

##Home Home page in czech and english. Includes some css stanzas but mainly html documents to be loaded into Primo NUI. Includes html templates of individual tips and twitter integration. To install copy the the content of html directory to html directory of the view.

##Colors Basic color definitions and additional color-related styles for Brno University of Technology NUI scheme. Contains css file with styles and colors.json with definitions of basic colors in the scheme. This file has to be copied to the view root and actual basic color styles css has to be generated by running gulp app-css --view <your-view/folder code> from the development environment root.

##Layout Generic layout css. But many layout related directives are also scattered around in other css files.

##Citace PRO Citace PRO service integration. This solution replaces standard Primo bib. citation solution with Citace PRO service. This service is integrated via <iframe> element.

New solution is bound to <prm-citation-after>, while the original solution is hidden by css. Data from parent controller (<prm-citation>) are parsed and transformed into the openURL call of Citace PRO service (see specification).

The data come mostly from $vm.vm.parentCtrl.item.pnx.addata and some from $vm.vm.parentCtrl.item.pnx.display.

The <iframe> is sanitized with AngularJS SCE.

##Request form Solution to request form (originally two form fields with sublibrary and pickup location). It was misleading. One field form has to be hidden. The sublibrary already means the pickup location.