GithubHelp home page GithubHelp logo

mfrancis95 / cshmembersportal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from computersciencehouse/cshmembersportal

0.0 2.0 0.0 1.02 MB

Internal CSH Portal

JavaScript 23.64% CSS 7.82% HTML 68.54%

cshmembersportal's Introduction

CSHMembersPortal

GLORIOUS REDESIGN of the internal CSH Members Portal. Uses bootstrap-csh for styles and Icons8 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": "zocial:wikipedia",
        		"popular": true
        	},
        	...
    	]
  	},
  	...
]

The "icon" property maps to the icon's class name from Icons8. For example, material:cloud will render a cloud icon.

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": "material: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

mbillow avatar gambogi avatar liam-middlebrook avatar mxmeinhold avatar bencentra avatar agargiulo avatar devinmatte avatar jeid64 avatar jdrit avatar dag10 avatar zackyenchik avatar stevenmirabito avatar sgreene570 avatar rswiernik avatar multiojuice avatar mcsaucy avatar digitalcora avatar clockfort avatar hale6666 avatar com6056 avatar ramzallan avatar mfrancis95 avatar saucetray avatar

Watchers

James Cloos 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.