rubyforgood / justice Goto Github PK
View Code? Open in Web Editor NEWJustice for Juniors Website
License: MIT License
Justice for Juniors Website
License: MIT License
Add a lesson
input field to the calendar item view to allow users to add lessons to the calendar.
Lesson (Optional) – Entity reference field to select and link to a lesson (autocomplete).
Item calendar will link to the lesson page
Displays a calendar to show calendar items for events as well as dates that a lesson plan will be used in a session.
Allows for the addition of a new calendar item.
Displays a standard calendar with calendar item titles displayed on appropriate dates.
Permissions | Authentication Details |
---|---|
Private | This is a privately-viewable page, so it will be able to be accessed by only those with appropriate permissions: Volunteers and Site Admins |
The "term" field shows an AR association collection proxy object( eg. #Term::ActiveRecord_Associations_CollectionProxy:0x007fa24ef5deb0), not the plaintext term itself.
Use a select_to drop-down instead, because a lesson can have many terms.
Should also have functionality to add a new term through that page instead of having to go to a new page to add a term
These elements are used on various pages and so are described here to avoid requirements for them being in more than one place.
Contains the following (all items configurable by Site Admins):
TBD.
Permissions | Authentication Details |
---|---|
Public | This is a publicly-viewable page, so it will be able to be accessed by anyone without logging in. |
Private | Editing of this page is private (by site admins). |
This is a content type that can be used to document lessons used by Justice for Juniors to work with juveniles in the justice system.
This button allows a user to see and print a printer-friendly version of the lesson.
Layout will be Title, Body, Links, and Questions fields stacked and full width
This button allows a user to schedule the lesson on the calendar.
Links to the calendar item creation page
Autofills the lesson reference field on the calendar item
This displays relevant metadata about the lesson.
There are no sidebar blocks available on this type of page so it can always span full width. Elements of this section are:
Permissions | Authentication Details |
---|---|
Private | This is a privately-viewable page, so it will be able to be accessed by only those with appropriate permissions: Volunteers and Site Admins |
This is the page all users will use as their home page. This is also where the logo and home menu item will link to.
This above the fold section will have 3 blocks that can be configured by Site Admins. One large block (640px x 488px) to the left of two blocks half the height of the larger one (320x244). Elements for each of the blocks are the same:
This is a WYSIWYG that allows Site Admins to have control over this area.
If blocks are placed in this section they will show up. It should be 300px in width and if not present will not be rendered allowing the content section to span 100% of the width.
Permissions | Authentication Details |
---|---|
Public | This is a publicly-viewable page, so it will be able to be accessed by anyone without logging in. |
Private | Editing of this page is private (by site admins). |
Displays a list of users and allows for multi-select of users to allow for bulk emailing.
Admins have to provide the subject and email's body on the send email page.
Only admins can view/email users
Set up initial configuration for CMS.
UI is functional, but the following changes are needed:
This is a calendar item that can present information about any date-based event.
Displays relevant information about the item.
Permissions | Authentication Details |
---|---|
Private | This is a privately-viewable page, so it will be able to be accessed by only those with appropriate permissions: Volunteers and Site Admins |
This is a content type that can be used to add internal pages for various uses.
This above the fold section will have a single image that spans full width that can be configured by Site Admins.
This is a WYSIWYG that allows Site Admins to have control over this area.
If blocks are placed in this section they will show up. It should be 300px in width and if not present will not be rendered allowing the content section to span 100% of the width.
Permissions | Authentication Details |
---|---|
Public | This is a publicly-viewable page, so it will be able to be accessed by anyone without logging in. |
Private | Editing of this page is private (by site admins). |
Error messages/notices that appear on the public pages are not currently styled.
For example, the message that shows up when an user signs up or after an invalid login attempt.
/admin
This pages shows all of the lessons on the site. This is where volunteers can easily locate lessons for use during sessions.
Allows the user to create a new lesson.
Helps volunteers more easily locate specific lessons.
Displays all of the lessons or just those that match the filters. This section is paginated showing 50 lessons per page.
Columns:
Permissions | Authentication Details |
---|---|
Private | This is a privately-viewable page, so it will be able to be accessed by only those with appropriate permissions: Volunteers and Site Admins |
Users can sign up to the website, but they need to be approved by an admin before being able to log in.
Devise has a tutorial for that: https://github.com/plataformatec/devise/wiki/How-To:-Require-admin-to-activate-account-before-sign_in
This feature has 2 parts:
approved
flag when users sign up and sign inNice to have:
Displays a list of all active users and allows for creation of new users as well as emailing bulk selected users.
Allows for the addition of a new user.
Displays a list of users and allows for multi-select of users to allow for bulk emailing.
Shows 100 users per page
Allow for a “select all” option
Permissions | Authentication Details |
---|---|
Private | This is a privately-viewable page, so it will be able to be accessed by only those with appropriate permissions: Site Admins |
Create a README to describe the project.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.