Giter Site home page Giter Site logo

cshmembersportal's Introduction

CSHMembersPortal

GLORIOUS REDESIGN of the internal CSH Members Portal. Uses bootstrap-csh for styles and members-icons for icons. Made with AngularJS.

Contributing

Pull Requests

If you have an idea for a feature or have a bug that you'd like to fix, please fork this repo to a private repo of your own. If your contribution is more than some small tweak, create a branch. Do your thing, and then submit a pull request.

Issue Tracking

Please make use of GitHub's issue tracker for this repo. Feel free to report any bugs, features, and feedback.

Updating Links

Instead of updating the markup directly, the "Members Resources" section is generated using data from data/links.json.

Here's what a normal link looks like:

[
  	{ 
    	"name": "Info",
    	"links": [
    		...
        	{
        		"name": "Wiki",
        		"href": "https://wiki.csh.rit.edu",
        		"icon": "wiki",
        		"popular": true
        	},
        	...
    	]
  	},
  	...
]

The "icon" property maps to the icon's class name from members-icons. For example, "wiki" becomes .icon-wiki.

The "popular" property is optional. If included and set to true, the link will appear in the Popular section.

Some entries may link to multiple sites. Here's how to add a link with a dropdown:

[
  	{ 
    	"name": "Info",
    	"links": [
    		...
        	{ 
		        "name": "Events",
		        "dropdown": [
		            {
		            	"name": "Calendar",
		            	"href": "https://www.google.com/calendar/embed?src=rti648k5hv7j3ae3a3rum8potk%40group.calendar.google.com&ctz=America/New_York"
		          	},
		          	{
		            	"name": "XML",
		            	"href": "http://www.google.com/calendar/ical/rti648k5hv7j3ae3a3rum8potk%40group.calendar.google.com/public/basic"
		          	},
		          	{
		            	"name": "iCal",
		            	"href": "http://www.google.com/calendar/ical/rti648k5hv7j3ae3a3rum8potk%40group.calendar.google.com/public/basic.ics"
		          	}
		        ],
		        "icon": "events",
		        "popular": true
        	...
    	]
  	},
  	...
]

Updating Meetings

Like links, meetings are generated from the data/meetings.json file. A meeting entry looks like this:

[
  { 
    "name": "House", 
    "day": "SUN", 
    "time": "7:00" 
  },
  ...

Using Grunt

Learn more about Grunt: http://gruntjs.com

First, install grunt-cli: npm install -g grunt-cli

Next, install dependencies: npm install

Available grunt tasks:

  • grunt or grunt serve: Spin up a local web server at http://localhost:9001 to test your changes

cshmembersportal's People

Contributors

agargiulo avatar bencentra avatar clockfort avatar dag10 avatar digitalcora avatar gambogi avatar hale6666 avatar jdrit avatar jeid64 avatar liam-middlebrook avatar mbillow avatar mcsaucy avatar rswiernik avatar stevenmirabito avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.