Skip to content

chses9440611/NCTUCowbeiSports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Final Project Spec

:::danger

  1. User can’t access the page for administrator only
  2. Have to be a nav bar for every page :::

⭐Nav bar

type1 => |首頁|活動列表|註冊|登入|

type2 => |首頁|活動列表|登出| ==> Administer, User Login

++Need to be discuss++

  • The position of Logout
    • |首頁|活動列表|User_account|登出|
    • |首頁|活動列表|登出| :::info when push logout have to pop up a window to confirm log out :::

:::warning Red Requirements for Administer :::

⭐home page

  • url: /

  • Title: 最新公告

  • Format:

    • |Posted Time1| Title1 | |Posted Time1| Title1 | |Posted Time1| Title1 |
    • |新增公告| |Posted Time| Title | Delete button|
  • After push del button need pop-up window

  • Click Title to Detail

    • [ ]button
    • [ ]block
    • [ ]hyperlink
  • Bonus : provide function to delete multi-annc

  • Discuss

    • The way to show the detail content, like Twitter, Facebook or tabs?

Announcement

-- url: /anncs -- url: /anncs/id <== ? -- Format:

  • Title
  • Posted Time
  • Content

-- Content: Text, image, support markdown

⭐Announcement add

-- url: /anncs/add -- Format

  • Title
  • Content
  • 🔲 Post 🔲 Cancel

-- Record Post time when push Post button -- Redirect to home?

Announcement delete

-- url: /anncs/delete -- Redirect to home -- Show delete success or not

❤️Announcement edit

-- url: /anncs/edit -- Format:

  • Title
  • Content
  • 🔲 Save 🔲 Cancel

-- Renew Time ???

⭐Events

-- url: /events --Title: 活動列表 -- Format:

  • User View
活動列表
項目 規則 報名
足球 踢球 報名按鈕
  • Admin View
活動列表

+++++++++++++++++++++++[新增活動按鈕]

項目 規則 報名 操作
足球 踢球 報名按鈕 Edit_but, Status_but, Del_but

⭐Events status List

-- url: /events/status -- Title: 報名狀況 -- Format:

Event1 name
隊伍名稱 隊伍成員
TeamA 學號 名字
Event2 name

尚無人報名

⭐Events add

-- url: /events/add
-- Format:

  • 活動名稱
  • 活動日期
  • 隊伍限制
  • 每隊人數限制
  • 發佈_but 取消_but

-- Bonus: Add more features

⭐Events edit

-- url: /events/edit -- Format:

  • 活動名稱
  • 活動日期
  • 隊伍限制
  • 每隊人數限制
  • 儲存_but 取消_but

Events delete

-- url: /events/delete -- Pop up a window to confirm -- After delete, redirect to /events -- Notify delete success or not -- Bonus: is_delete to recover


⭐Event signup

-- url: /events/signup -- Format: 活動名稱

:::info Block to remind event limit :::

-->隊伍名稱 -->隊伍人員

隊員學號 姓名
03xxxxx xxx 修改_btn 取消_btn
欄位 新增隊員_btn

提交報名表_btn

-- Design a way to avoid typo, like type student_id then auto show up/fill student name

-- Check if the team limit of the event

-- Bonus:

  • Sent email to all team memebers after sign up
  • Admin can sign up for others and ignore rules

Event signup delete

-- url: /events/signup/delete -- cancel btn clicked, pop a new window to confirm -- redirect to /events -- notify cancellation success or not

❤️Event signup edit

-- url: /events/signup/edit -- Editable by Admin and User -- Fileds like Sign up Event -- prefill the origin info -- Check team members limit -- Avoid wrong student id -- Edit btn and Cancel btn

Where to del and edit


⭐Register

-- url: /register -- Fomat

  • 學號
  • 信箱
  • 密碼
  • 確認密碼
  • 驗證碼(design ourselves)
  • 註冊btn 取消btn

-- redirect to home(/) -- Bonus:

  • auto generate string and send email to user and user have to fill the string sent
  • after regist, auto generate unique link to verify

⭐Log in

--url: /login -- Format:

  • 學號
  • 密碼

-- Password must be encrypt -- Bonus:

  • password in db be hashed

Log out

--url: /logout -- Just a button -- Redirect to home(/)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •