Skip to content

genpat-it/cohesive-common-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cohesive Common Resources

Create Release License: MIT

A collection of common static resources (CSS, JavaScript, fonts, images, and templates) used across Cohesive web applications.

Contents

CSS Stylesheets

  • cohesive-vars.css - CSS variables and theme definitions
  • cohesive-header.css - Header component styles
  • cohesive-footer.css - Footer component styles
  • genpat-vars.css - GenPat specific variables
  • genpat-header.css - GenPat header styles
  • genpat-footer.css - GenPat footer styles
  • custompages-base.css - Base styles for custom pages
  • skeleton.css - Lightweight CSS framework
  • normalize.css - CSS reset

JavaScript Libraries

  • jQuery 1.12.1 - JavaScript library
  • jsTree 3.3.12 - Tree view component
  • Lunr.js 2.3.9 - Full-text search engine (with multi-language support)
  • JSZip - JavaScript ZIP library
  • Hotkeys 3.10.0 - Keyboard shortcuts library

Fonts

Multiple web font families included for consistent typography across applications.

Images

Common image assets and icons used throughout the applications.

Templates

  • template.csv - CSV template file
  • template.tsv - TSV template file

Usage

Direct Download

Download the latest release as a ZIP file from the Releases page.

In Your Project

Include the resources in your web application:

<!-- CSS -->
<link rel="stylesheet" href="path/to/common-resources/css/normalize.css">
<link rel="stylesheet" href="path/to/common-resources/css/skeleton.css">
<link rel="stylesheet" href="path/to/common-resources/css/cohesive-vars.css">
<link rel="stylesheet" href="path/to/common-resources/css/cohesive-header.css">

<!-- JavaScript -->
<script src="path/to/common-resources/js/jquery-1.12.1.min.js"></script>
<script src="path/to/common-resources/js/jstree-3.3.12.min.js"></script>

Using as Git Submodule

git submodule add https://github.com/genpat-it/cohesive-common-resources.git resources
git submodule update --init --recursive

Project Structure

common-resources/
├── css/                  # Stylesheets
│   ├── cohesive-*.css   # Cohesive theme files
│   ├── genpat-*.css     # GenPat specific styles
│   └── *.css            # Base and utility styles
├── js/                   # JavaScript libraries
│   ├── jquery-*.js
│   ├── jstree-*.js
│   ├── lunr-*.js
│   ├── lunr-languages-2.3.9/  # Lunr language packs
│   └── *.js
├── fonts/                # Web fonts
├── img/                  # Images and icons
├── templates/            # File templates
├── LICENSE              # MIT License
└── README.md

Third-Party Libraries

This repository includes the following open-source libraries:

CI/CD

This project includes a GitHub Action that automatically:

  • Creates a ZIP archive of all resources on every push to main
  • Uploads the ZIP as a downloadable artifact
  • Creates releases with attached ZIP files when you push a version tag

Creating a Release

git tag v1.0.0
git push origin v1.0.0

The ZIP file will be automatically attached to the GitHub release.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Note: Third-party libraries included in this repository retain their original licenses.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Contact

For questions or support, please contact: cohesive@izs.it

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors