STUDYSHIELDS ASSIGNMENT HELP

  • Home
  • Blog
  • Courses
    • Child Category 1
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Services
  • Country
    • Childcare
    • Doctors
  • Home
  • Blog
  • Sample Works
  • Order Now

Wednesday, November 17, 2021

Start by creating a new branch in I211_flask called "unit-2"

 November 17, 2021     No comments   

 Start by creating a new branch in I211_flask called "unit-2"

It must be in I211_flask!


All event data should be stored in the file 'events.csv' 

The file should contain AT LEAST 4 headers: name, date, host, description

 

All templates should extend base.html

You may use the existing bootstrap styles from I211_practice OR use any of the bootstrap hero styles found at https://getbootstrap.com/docs/5.1/examples/heroes/ (Links to an external site.)

base.html must contain:

A header/navigation

A main containing a <div class="container"

A footer


Route: /

Template: index.html

Create a homepage for your application

This page must contain the following:

logo

title

description

a button that takes you to the /events/ route


Route: /events/

Template: events.html

This page will list the date and name of all events, pulling the data in from 'events.csv'

Events should be ordered by date with oldest on top

Each event name should be a link to the individual event page (route /events/<event_id>) by event ID

The page should contain a button link to create a new event (route /events/create)


Route: /events/<event_id>

Template: event.html

This page will contain all of the data for the event:

Event name, date, host, description.

The page will also contain button links to:

Edit the event (route: /events/<event_id>/edit)

Delete the event (route: /events/<event_id>/delete)


Route: /events/create

Template: event_form.html

This page will contain a form to collect all of the data for the event:

Event name, date, host, description.

The form will also contain reset and submit buttons

Upon submission, the event data will be added to the events.csv file and the page will redirect to the /events/ route.


Route: /events/<event_id>/edit

Template: event_form.html

This page will contain the same form from /event/create to collect all of the data for the event:

Event name, date, host, description.

The form will also contain reset and submit buttons

The pre-existing event data should be loaded into the form fields

Upon submission, the relevant event data will be changed in the events.csv file and the page will redirect to the /event/<event_id> route.


Route: /events/<event_id>/delete

Template: delete_form.html

Presents a delete confirmation page for the event specified by <event_id>:

Display “Confirm Delete?”

Show the description for the event

The “Go Back” button takes the user back to the /event/<event_id>/ page without deleting the event.

The “Delete” button will delete the event data from the events.csv file and redirect back to the /events/ route.

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Click Here to Place order

Popular Posts

  • A “criminal minds” Aileen Wournos individual will be your “patient”
     A “criminal minds” Aileen Wournos individual will be your “patient”  A brief history of the patient including diagnoses (documented or your...
  • CEO Jane Lionel has some hard decisions to make with regard to some of the company’
     CEO Jane Lionel has some hard decisions to make with regard to some of the company’solder hands, and even on the eve of that decision, I be...
  • Problem in Supply Chain
    Problem in Supply Chain Problem 2. (Chapter 11: The Storage and Handling System) Compare the constrast private ownership of storage space to...

Recent Posts

Unordered List

Pages

  • Home

Text Widget

Blog Archive

  • November 2022 (20)
  • October 2022 (50)
  • September 2022 (119)
  • August 2022 (107)
  • February 2022 (501)
  • January 2022 (443)
  • December 2021 (488)
  • November 2021 (1574)
  • October 2021 (28)
  • September 2021 (11)
  • July 2021 (8)
  • June 2021 (15)
  • May 2021 (39)
  • April 2021 (15)
  • March 2021 (303)
  • February 2021 (712)
  • January 2021 (903)
  • December 2020 (2)
  • September 2020 (33)
  • April 2016 (5183)
  • March 2016 (3763)
  • February 2016 (4356)
  • January 2016 (1749)
  • December 2015 (22)
  • November 2015 (147)
  • October 2015 (23)

Sample Text

Copyright © STUDYSHIELDS ASSIGNMENT HELP | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates