{"action":"created","comment":{"url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls/comments/37434779","id":37434779,"diff_hunk":"@@ -1,2 +1,130 @@\n-# content-event-current-day\n-HTML Theme displaying current and next event using the `rise-google-calendar` web component.\n+## Introduction\n+\n+This HTML theme was created to display the current and next event for a single day using data from a google calendar using the `rise-google-calendar` component. Full documentation for the component can be found[here.](http://rise-vision.github.io/rise-google-calendar/components/rise-google-calendar/) \n+\n+\n+## Steps to run the Current Event theme\n+\n+1. Fork or download the entire content-event-current-day repository. You will also need to run `npm install` and `bower install` to install the dependencies required for the the template. Bower is a package manager for Javascript libraries and frameworks. All third-party Javascript dependencies are listed in the bower.json file. To install Bower, run the following command in Terminal: `npm install -g bower`. Should you encounter any errors, try running the following command instead: `sudo npm install -g bower`.\n+![diagram showing where to find the folder](img/src/img/readmeImage1.png)\n+\n+2. Inside the content-event-current-day folder you will find the src folder. You can modify the files inside the src folder to fit your needs (see below on how to modify specific elements).  \n+![diagram showing file location](img/src/readmeImage2.png)\n+\n+3. Once any necessary modification have been made, a distribution folder containing all necessary files can be created using the following command while in the root diretory: `gulp build`. You can then host the newly created “dist” folder in rise vision storage or your web hosting service.  \n+![diagram showing how to host folder](src/img/storageEventsReadme.png)\n+\n+4. Copy the link to the index.html file where you have it hosted and insert the url into a schedule. (you can also add this link to the url gadget within a presentation)  \n+![diagram showing where to find link to index.html](img/readme-step4.jpg)\n+\n+##Directions to Modify the Event Theme:##\n+\n+####Changing the Background Image\n+\n+The background image for the theme can be changed by locating the following code within the style.css file within the css folder and modifying the path of the url to the image of your choice:\n+\n+```\n+.wrapper:after {\n+  ...\n+  background-image: url(\"../img/city.jpeg\");\n+  ...\n+```\n+\n+\n+####Changing the Icon Images\n+\n+The images used for the icons in the theme are SVGs so that they will scale to fit different resolutions. To change the icons, open index.html, and locate the code for the specific icon within the section that you want to modify. For example, the code for the large calendar icon is found here:\n+\n+```  \n+ <img src=\"img/calendar2.svg\" class=\"date--calendarIcon\" alt=\"calendar icon\">\n+```\n+\n+You can then change the src attribute to the path of the icon of your choice.\n+\n+\n+####Changing The Text Content\n+The text content is displayed through the use of the `rise-google-calendar` web component. Full details for this component can be found here # \n+In order for the component to access the data you need to create a public google calendar and ensure that all events you create are also public. The settings menu for the calendar is located in the top right corner of the calendar page. The button to make the event public is found here:\n+![screenshot showing button to make event public](src/img/diagramPublicEvent.png)\n+\n+The next step is to locate the following code in the index.html file:\n+\n+```\n+  <rise-google-calendar\n+        id=\"googleCalendar\"\n+        calendar-id=\"cameroncodes.com_l0vl6b8laf08tb39lv2vegd1qg@group.calendar.google.com\"\n+        start-date=\"2015-01-01\" end-date=\"2015-12-31\">\n+        <!-- Example HTML structure -->\n+      <!--   <h3>Component Test</h3> -->\n+        <table id=\"calendarTable\" class=\"pure-table pure-table-bordered\">\n+          <thead>\n+          </thead>\n+          <tbody>\n+          <!-- dynamically populate table with calendar data -->\n+          </tbody>\n+        </table>\n+  </rise-google-calendar>\n+\n+```\n+\n+The `calendar-id` attribute should be set to the id for your own public calendar. This id can be found by selecting calendar settings, clicking on the calendars link in the top line, and then clicking on the 'Edit settings' or 'Shared: Edit settings' link corresponding to the calendar you wish to collect the data from. The ID for the calendar can then be copied from here:![screenshot showing calendar ID](src/img/calendarid.png)\n+\n+The start date and end date can be used to specify a specific range of dates. This theme looks for all upcoming events for the current day. ","path":"README.md","position":74,"original_position":74,"commit_id":"4ef45af56803ee142daf9e567221a2304b415d81","original_commit_id":"4ef45af56803ee142daf9e567221a2304b415d81","user":{"login":"stulees","id":7407007,"avatar_url":"https://avatars.githubusercontent.com/u/7407007?v=3","gravatar_id":"","url":"https://api.github.com/users/stulees","html_url":"https://github.com/stulees","followers_url":"https://api.github.com/users/stulees/followers","following_url":"https://api.github.com/users/stulees/following{/other_user}","gists_url":"https://api.github.com/users/stulees/gists{/gist_id}","starred_url":"https://api.github.com/users/stulees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stulees/subscriptions","organizations_url":"https://api.github.com/users/stulees/orgs","repos_url":"https://api.github.com/users/stulees/repos","events_url":"https://api.github.com/users/stulees/events{/privacy}","received_events_url":"https://api.github.com/users/stulees/received_events","type":"User","site_admin":false},"body":"@pcsandford I would remove the mention of start date and end date. These are not set on the instance in `index.html` and start date gets dynamically set in code according to the current day. ","created_at":"2015-08-19T16:22:57Z","updated_at":"2015-08-19T16:22:57Z","html_url":"https://github.com/Rise-Vision/content-event-current-day/pull/9#discussion_r37434779","pull_request_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls/comments/37434779"},"html":{"href":"https://github.com/Rise-Vision/content-event-current-day/pull/9#discussion_r37434779"},"pull_request":{"href":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls/9","id":42833044,"html_url":"https://github.com/Rise-Vision/content-event-current-day/pull/9","diff_url":"https://github.com/Rise-Vision/content-event-current-day/pull/9.diff","patch_url":"https://github.com/Rise-Vision/content-event-current-day/pull/9.patch","issue_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/issues/9","number":9,"state":"open","locked":false,"title":"updating svg icons, updating styles for main event and adding readme …","user":{"login":"pcsandford","id":8008948,"avatar_url":"https://avatars.githubusercontent.com/u/8008948?v=3","gravatar_id":"","url":"https://api.github.com/users/pcsandford","html_url":"https://github.com/pcsandford","followers_url":"https://api.github.com/users/pcsandford/followers","following_url":"https://api.github.com/users/pcsandford/following{/other_user}","gists_url":"https://api.github.com/users/pcsandford/gists{/gist_id}","starred_url":"https://api.github.com/users/pcsandford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcsandford/subscriptions","organizations_url":"https://api.github.com/users/pcsandford/orgs","repos_url":"https://api.github.com/users/pcsandford/repos","events_url":"https://api.github.com/users/pcsandford/events{/privacy}","received_events_url":"https://api.github.com/users/pcsandford/received_events","type":"User","site_admin":false},"body":"…text and images\r\n\r\n@stulees @donnapep please review. I have added in the new icons as well as the text and images for the readme. I have also amended the styles to accommodate larger event titles and fixed some spacing issues.\r\n\r\nI amended a one line in both current and next.js files to display the same text for consistency as well as adding a class to the main event display so I could style it.\r\n\r\nThanks!","created_at":"2015-08-19T16:07:56Z","updated_at":"2015-08-19T16:22:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02caba921157344fd7e498b374321212995b28b9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/issues/9/comments","statuses_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/statuses/4ef45af56803ee142daf9e567221a2304b415d81","head":{"label":"Rise-Vision:development","ref":"development","sha":"4ef45af56803ee142daf9e567221a2304b415d81","user":{"login":"Rise-Vision","id":6840223,"avatar_url":"https://avatars.githubusercontent.com/u/6840223?v=3","gravatar_id":"","url":"https://api.github.com/users/Rise-Vision","html_url":"https://github.com/Rise-Vision","followers_url":"https://api.github.com/users/Rise-Vision/followers","following_url":"https://api.github.com/users/Rise-Vision/following{/other_user}","gists_url":"https://api.github.com/users/Rise-Vision/gists{/gist_id}","starred_url":"https://api.github.com/users/Rise-Vision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rise-Vision/subscriptions","organizations_url":"https://api.github.com/users/Rise-Vision/orgs","repos_url":"https://api.github.com/users/Rise-Vision/repos","events_url":"https://api.github.com/users/Rise-Vision/events{/privacy}","received_events_url":"https://api.github.com/users/Rise-Vision/received_events","type":"Organization","site_admin":false},"repo":{"id":40707611,"name":"content-event-current-day","full_name":"Rise-Vision/content-event-current-day","owner":{"login":"Rise-Vision","id":6840223,"avatar_url":"https://avatars.githubusercontent.com/u/6840223?v=3","gravatar_id":"","url":"https://api.github.com/users/Rise-Vision","html_url":"https://github.com/Rise-Vision","followers_url":"https://api.github.com/users/Rise-Vision/followers","following_url":"https://api.github.com/users/Rise-Vision/following{/other_user}","gists_url":"https://api.github.com/users/Rise-Vision/gists{/gist_id}","starred_url":"https://api.github.com/users/Rise-Vision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rise-Vision/subscriptions","organizations_url":"https://api.github.com/users/Rise-Vision/orgs","repos_url":"https://api.github.com/users/Rise-Vision/repos","events_url":"https://api.github.com/users/Rise-Vision/events{/privacy}","received_events_url":"https://api.github.com/users/Rise-Vision/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rise-Vision/content-event-current-day","description":"HTML Theme displaying current and next event using the Rise calendar web component","fork":false,"url":"https://api.github.com/repos/Rise-Vision/content-event-current-day","forks_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/forks","keys_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/teams","hooks_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/hooks","issue_events_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/issues/events{/number}","events_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/events","assignees_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/assignees{/user}","branches_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/branches{/branch}","tags_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/tags","blobs_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/statuses/{sha}","languages_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/languages","stargazers_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/stargazers","contributors_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/contributors","subscribers_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/subscribers","subscription_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/subscription","commits_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/contents/{+path}","compare_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/merges","archive_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/downloads","issues_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/issues{/number}","pulls_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls{/number}","milestones_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/milestones{/number}","notifications_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/labels{/name}","releases_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/releases{/id}","created_at":"2015-08-14T09:40:59Z","updated_at":"2015-08-14T19:53:07Z","pushed_at":"2015-08-19T16:07:57Z","git_url":"git://github.com/Rise-Vision/content-event-current-day.git","ssh_url":"git@github.com:Rise-Vision/content-event-current-day.git","clone_url":"https://github.com/Rise-Vision/content-event-current-day.git","svn_url":"https://github.com/Rise-Vision/content-event-current-day","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Rise-Vision:master","ref":"master","sha":"9114e2b4f3092b8fc7c49546e1b207975f727021","user":{"login":"Rise-Vision","id":6840223,"avatar_url":"https://avatars.githubusercontent.com/u/6840223?v=3","gravatar_id":"","url":"https://api.github.com/users/Rise-Vision","html_url":"https://github.com/Rise-Vision","followers_url":"https://api.github.com/users/Rise-Vision/followers","following_url":"https://api.github.com/users/Rise-Vision/following{/other_user}","gists_url":"https://api.github.com/users/Rise-Vision/gists{/gist_id}","starred_url":"https://api.github.com/users/Rise-Vision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rise-Vision/subscriptions","organizations_url":"https://api.github.com/users/Rise-Vision/orgs","repos_url":"https://api.github.com/users/Rise-Vision/repos","events_url":"https://api.github.com/users/Rise-Vision/events{/privacy}","received_events_url":"https://api.github.com/users/Rise-Vision/received_events","type":"Organization","site_admin":false},"repo":{"id":40707611,"name":"content-event-current-day","full_name":"Rise-Vision/content-event-current-day","owner":{"login":"Rise-Vision","id":6840223,"avatar_url":"https://avatars.githubusercontent.com/u/6840223?v=3","gravatar_id":"","url":"https://api.github.com/users/Rise-Vision","html_url":"https://github.com/Rise-Vision","followers_url":"https://api.github.com/users/Rise-Vision/followers","following_url":"https://api.github.com/users/Rise-Vision/following{/other_user}","gists_url":"https://api.github.com/users/Rise-Vision/gists{/gist_id}","starred_url":"https://api.github.com/users/Rise-Vision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rise-Vision/subscriptions","organizations_url":"https://api.github.com/users/Rise-Vision/orgs","repos_url":"https://api.github.com/users/Rise-Vision/repos","events_url":"https://api.github.com/users/Rise-Vision/events{/privacy}","received_events_url":"https://api.github.com/users/Rise-Vision/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rise-Vision/content-event-current-day","description":"HTML Theme displaying current and next event using the Rise calendar web component","fork":false,"url":"https://api.github.com/repos/Rise-Vision/content-event-current-day","forks_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/forks","keys_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/teams","hooks_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/hooks","issue_events_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/issues/events{/number}","events_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/events","assignees_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/assignees{/user}","branches_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/branches{/branch}","tags_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/tags","blobs_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/statuses/{sha}","languages_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/languages","stargazers_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/stargazers","contributors_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/contributors","subscribers_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/subscribers","subscription_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/subscription","commits_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/contents/{+path}","compare_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/merges","archive_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/downloads","issues_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/issues{/number}","pulls_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls{/number}","milestones_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/milestones{/number}","notifications_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/labels{/name}","releases_url":"https://api.github.com/repos/Rise-Vision/content-event-current-day/releases{/id}","created_at":"2015-08-14T09:40:59Z","updated_at":"2015-08-14T19:53:07Z","pushed_at":"2015-08-19T16:07:57Z","git_url":"git://github.com/Rise-Vision/content-event-current-day.git","ssh_url":"git@github.com:Rise-Vision/content-event-current-day.git","clone_url":"https://github.com/Rise-Vision/content-event-current-day.git","svn_url":"https://github.com/Rise-Vision/content-event-current-day","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls/9"},"html":{"href":"https://github.com/Rise-Vision/content-event-current-day/pull/9"},"issue":{"href":"https://api.github.com/repos/Rise-Vision/content-event-current-day/issues/9"},"comments":{"href":"https://api.github.com/repos/Rise-Vision/content-event-current-day/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rise-Vision/content-event-current-day/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Rise-Vision/content-event-current-day/statuses/4ef45af56803ee142daf9e567221a2304b415d81"}}}}