From 5a420b2555b115f717162e8ddfc87f3f0e6d7876 Mon Sep 17 00:00:00 2001 From: Harshvardhan Baldwa Date: Sun, 6 Oct 2019 18:54:17 +0530 Subject: [PATCH] about complete --- src/app/about/about.component.css | 49 +++- src/app/about/about.component.html | 277 +++++++++++++----- .../challenge-list.component.css | 10 +- .../challenge-list.component.html | 3 +- src/app/header/header.component.html | 3 +- .../previous-match.component.css | 26 +- .../previous-match.component.html | 22 +- src/assets/github.png | Bin 0 -> 704 bytes 8 files changed, 289 insertions(+), 101 deletions(-) create mode 100644 src/assets/github.png diff --git a/src/app/about/about.component.css b/src/app/about/about.component.css index 8b955f4..392f9be 100644 --- a/src/app/about/about.component.css +++ b/src/app/about/about.component.css @@ -17,9 +17,54 @@ img { } .container { - margin-bottom: 50px; + margin-bottom: 15%; } .no-margin { - margin-left: -10px; + margin-left: -15px; +} + +.mat-card-content { + font-size:100%; +} + +.rejected, +.rejected:hover { + background-color: #E26D5A !important; +} + +.accepted, +.accepted:hover { + background-color: #A1CCA5 !important; +} + +.won, +.won:hover { + background-color: #A1CCA5 !important; +} + +.lost, +.lost:hover { + background-color: #E26D5A !important; +} + +.draw, +.draw:hover { + background-color: rgb(220, 184, 253) !important; +} + +.awaiting, +.awaiting:hover { + background-color: #FFDA84 !important; +} + +.reported, +.reported:hover { + background-color: #586F7C !important; +} + +a:visited, a:hover, a { + cursor: pointer; + color: #3f51b5; + } diff --git a/src/app/about/about.component.html b/src/app/about/about.component.html index 116e993..ba03557 100644 --- a/src/app/about/about.component.html +++ b/src/app/about/about.component.html @@ -6,14 +6,14 @@ Signing Up - + +

If you are new to Ladder Ranking, please sign up by clicking on button.

-
  • - Enter your details in the signup form. + Enter your complete details in the signup form (Full Name).

  • We have made following 5 categories for all 4 sports. Different categories have different starting point distribution. Choose the one most suitable for you @@ -53,18 +53,26 @@ Ladder Table -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore - magna aliqua. Velit aliquet sagittis id consectetur purus. Arcu odio ut sem nulla pharetra diam. Vitae auctor eu - augue ut lectus arcu bibendum at. Tempus iaculis urna id volutpat lacus laoreet. Nunc eget lorem dolor sed viverra - ipsum. Tempor commodo ullamcorper a lacus vestibulum sed arcu non. Vitae purus faucibus ornare suspendisse sed - nisi. Gravida in fermentum et sollicitudin ac orci phasellus egestas tellus. Sed euismod nisi porta lorem mollis. - Cursus risus at ultrices mi tempus imperdiet nulla. Arcu bibendum at varius vel. Vel facilisis volutpat est velit - egestas dui. Mi quis hendrerit dolor magna eget est lorem ipsum. In pellentesque massa placerat duis ultricies - lacus sed. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus nullam. Mattis rhoncus urna neque viverra - justo nec ultrices dui sapien. Arcu vitae elementum curabitur vitae nunc sed velit. In vitae turpis massa sed. - Sagittis id consectetur purus ut faucibus. -

    +
    +
      +
    • + View the Ladder Table by clicking the button. +

    • +
    • + Select Your Sport from the selector in the top left corner of the screen. +

    • +
    • + You can also filter the table by searching in the search bar. +

    • +
    • + Clicking on any player will give you their overall profile and you can challenge them by pressing the Challenge button. +

    • +
    + +

    + You can only challenge in the sport you have selected from drop-down box! +

    +
    @@ -76,18 +84,20 @@ Challenging a Player -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore - magna aliqua. Velit aliquet sagittis id consectetur purus. Arcu odio ut sem nulla pharetra diam. Vitae auctor eu - augue ut lectus arcu bibendum at. Tempus iaculis urna id volutpat lacus laoreet. Nunc eget lorem dolor sed viverra - ipsum. Tempor commodo ullamcorper a lacus vestibulum sed arcu non. Vitae purus faucibus ornare suspendisse sed - nisi. Gravida in fermentum et sollicitudin ac orci phasellus egestas tellus. Sed euismod nisi porta lorem mollis. - Cursus risus at ultrices mi tempus imperdiet nulla. Arcu bibendum at varius vel. Vel facilisis volutpat est velit - egestas dui. Mi quis hendrerit dolor magna eget est lorem ipsum. In pellentesque massa placerat duis ultricies - lacus sed. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus nullam. Mattis rhoncus urna neque viverra - justo nec ultrices dui sapien. Arcu vitae elementum curabitur vitae nunc sed velit. In vitae turpis massa sed. - Sagittis id consectetur purus ut faucibus. -

    +
    +
      +
    • + After pressing challenge button from ladder table, you would be redirected to a Challenge Page. +

    • +
    • + Here select a date, time and a message that would be displayed to the player you are challenging. +

    • +
    + +

    + The sport would be metioned on the page +

    +
    @@ -101,18 +111,48 @@ Accepting Challenges -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore - magna aliqua. Velit aliquet sagittis id consectetur purus. Arcu odio ut sem nulla pharetra diam. Vitae auctor eu - augue ut lectus arcu bibendum at. Tempus iaculis urna id volutpat lacus laoreet. Nunc eget lorem dolor sed viverra - ipsum. Tempor commodo ullamcorper a lacus vestibulum sed arcu non. Vitae purus faucibus ornare suspendisse sed - nisi. Gravida in fermentum et sollicitudin ac orci phasellus egestas tellus. Sed euismod nisi porta lorem mollis. - Cursus risus at ultrices mi tempus imperdiet nulla. Arcu bibendum at varius vel. Vel facilisis volutpat est velit - egestas dui. Mi quis hendrerit dolor magna eget est lorem ipsum. In pellentesque massa placerat duis ultricies - lacus sed. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus nullam. Mattis rhoncus urna neque viverra - justo nec ultrices dui sapien. Arcu vitae elementum curabitur vitae nunc sed velit. In vitae turpis massa sed. - Sagittis id consectetur purus ut faucibus. -

    +
    +
      +
    • + Challenges Sent and Received can be seen from the Tab +

    • +
    • + You can see the date and time of a challenge by tapping on the challenge and can also accept and reject from there only. +

    • +
    • + You can also delete a challenge sent by clicking Undo button. +

    • +
    • If your challenge has been accepted by the opponent, it will to green. If it has been rejected, it would be red.
    • +
    + Here are some examples

    + + + John Doe + +

    Sport - Squash

    +

    Date - 08/10/2019

    +

    Time - 6:00 PM

    +

    Message - Lets play in court 3

    +

    Contact Info - 7742895101

    + + + + +
    +
    + + + John Doe + +

    Yayy! Your Challenge has been accepted!

    +
    +
    + + + John Doe + +

    Sorry! Your Challenge has been declined!

    +
    @@ -126,18 +166,99 @@ Updating Result -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore - magna aliqua. Velit aliquet sagittis id consectetur purus. Arcu odio ut sem nulla pharetra diam. Vitae auctor eu - augue ut lectus arcu bibendum at. Tempus iaculis urna id volutpat lacus laoreet. Nunc eget lorem dolor sed viverra - ipsum. Tempor commodo ullamcorper a lacus vestibulum sed arcu non. Vitae purus faucibus ornare suspendisse sed - nisi. Gravida in fermentum et sollicitudin ac orci phasellus egestas tellus. Sed euismod nisi porta lorem mollis. - Cursus risus at ultrices mi tempus imperdiet nulla. Arcu bibendum at varius vel. Vel facilisis volutpat est velit - egestas dui. Mi quis hendrerit dolor magna eget est lorem ipsum. In pellentesque massa placerat duis ultricies - lacus sed. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus nullam. Mattis rhoncus urna neque viverra - justo nec ultrices dui sapien. Arcu vitae elementum curabitur vitae nunc sed velit. In vitae turpis massa sed. - Sagittis id consectetur purus ut faucibus. -

    +
    +
      +
    • + After the match has been concluded, you must update the result. To do so, go to the tab and click on the match for which you want to update the result. +

    • +
    • + Entering Score is little tricky. But pay attention and you would be fine. +

    • +
    • + Match Score: (Number of sets you have won) - (Number of sets opponent has won)
      +

      Eg. 3-2

      +

    • +
    • + Set Score: (Number of points you have in each set) - (Number of points opponent has in each set)
      +

      Eg. 11-9 11-3 4-11 6-11 11-9

      + (Separated by space) +

    • +
    • + After this, you would be redirected to the Recent Matches page. Here, all matches are color-coded for your convenience. +
    • +
    + Here are some examples

    + + + 08/10/2019 - John Doe + +

    Sport: Squash

    +

    Contact Info - 7742895101

    + + + +
    + +

    Awaiting Confirmation

    +
    + + + 08/10/2019 - John Doe + +

    Sport: Squash

    +

    Match Score: 3-2

    +

    Set Score: 11-9 | 11-3 | 4-11 | 6-11 | 11-9

    +

    Contact Info - 7742895101

    +
    + +

    Won the Match

    +
    + + + 08/10/2019 - John Doe + +

    Sport: Squash

    +

    Match Score: 3-2

    +

    Set Score: 11-9 | 11-3 | 4-11 | 6-11 | 11-9

    +

    Contact Info - 7742895101

    +
    + +

    Lost the Match

    +
    + + + 08/10/2019 - John Doe + +

    Sport: Squash

    +

    Match Score: 3-2

    +

    Set Score: 11-9 | 11-3 | 4-11 | 6-11 | 11-9

    +

    Contact Info - 7742895101

    +
    + +

    Draw

    +
    + + + 08/10/2019 - John Doe + +

    Sport: Squash

    +

    Match Score: 3-2

    +

    Set Score: 11-9 | 11-3 | 4-11 | 6-11 | 11-9

    +

    Contact Info - 7742895101

    +
    + +

    Reported to Secy

    +
    + + + 08/10/2019 - John Doe + +

    Sport: Squash

    +

    Match Score: 3-2

    +

    Set Score: 11-9 | 11-3 | 4-11 | 6-11 | 11-9

    +

    Contact Info - 7742895101

    +

    Reported to Secy by You

    +
    @@ -151,18 +272,16 @@ Confirming Result -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore - magna aliqua. Velit aliquet sagittis id consectetur purus. Arcu odio ut sem nulla pharetra diam. Vitae auctor eu - augue ut lectus arcu bibendum at. Tempus iaculis urna id volutpat lacus laoreet. Nunc eget lorem dolor sed viverra - ipsum. Tempor commodo ullamcorper a lacus vestibulum sed arcu non. Vitae purus faucibus ornare suspendisse sed - nisi. Gravida in fermentum et sollicitudin ac orci phasellus egestas tellus. Sed euismod nisi porta lorem mollis. - Cursus risus at ultrices mi tempus imperdiet nulla. Arcu bibendum at varius vel. Vel facilisis volutpat est velit - egestas dui. Mi quis hendrerit dolor magna eget est lorem ipsum. In pellentesque massa placerat duis ultricies - lacus sed. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus nullam. Mattis rhoncus urna neque viverra - justo nec ultrices dui sapien. Arcu vitae elementum curabitur vitae nunc sed velit. In vitae turpis massa sed. - Sagittis id consectetur purus ut faucibus. -

    +
    +
      +
    • + You can confirm results by visiting tab. +

    • +
    • + You can confirm result and if you feel any discrepancy in the result updated by your opponent, report the matter to the secy by selecting Report Issue option present alng with Accept and Reject. +
    • +
    + Secy's Decision would be the FINAL DECISION!!
    @@ -176,19 +295,18 @@ Editing Profile -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore - magna aliqua. Velit aliquet sagittis id consectetur purus. Arcu odio ut sem nulla pharetra diam. Vitae auctor eu - augue ut lectus arcu bibendum at. Tempus iaculis urna id volutpat lacus laoreet. Nunc eget lorem dolor sed viverra - ipsum. Tempor commodo ullamcorper a lacus vestibulum sed arcu non. Vitae purus faucibus ornare suspendisse sed - nisi. Gravida in fermentum et sollicitudin ac orci phasellus egestas tellus. Sed euismod nisi porta lorem mollis. - Cursus risus at ultrices mi tempus imperdiet nulla. Arcu bibendum at varius vel. Vel facilisis volutpat est velit - egestas dui. Mi quis hendrerit dolor magna eget est lorem ipsum. In pellentesque massa placerat duis ultricies - lacus sed. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus nullam. Mattis rhoncus urna neque viverra - justo nec ultrices dui sapien. Arcu vitae elementum curabitur vitae nunc sed velit. In vitae turpis massa sed. - Sagittis id consectetur purus ut faucibus. -

    - +
    +
      +
    • + You can update your basic details from Tab. +

    • +
    • + Your ranking in sports that you have registered for would be visible here. +

    • +
    • + If you are adding a new sport in your profile, make sure you enter corresponding category for that sport. +

    • +
    @@ -202,9 +320,14 @@ About Developer +


    - Harshvardhan Baldwa
    +

    Harshvardhan Baldwa

    +

    Technical Head
    IITB Sports

    + + Source Code +
    diff --git a/src/app/challenge-list/challenge-list.component.css b/src/app/challenge-list/challenge-list.component.css index d805147..dc88683 100644 --- a/src/app/challenge-list/challenge-list.component.css +++ b/src/app/challenge-list/challenge-list.component.css @@ -12,10 +12,12 @@ button { margin: 1rem auto; } -.rejected { - background-color: #E26D5A; +.rejected, +.rejected:hover { + background-color: #E26D5A !important; } -.accepted { - background-color: #A1CCA5; +.accepted, +.accepted:hover { + background-color: #A1CCA5 !important; } diff --git a/src/app/challenge-list/challenge-list.component.html b/src/app/challenge-list/challenge-list.component.html index 4284d87..0f50274 100644 --- a/src/app/challenge-list/challenge-list.component.html +++ b/src/app/challenge-list/challenge-list.component.html @@ -20,7 +20,8 @@

    Challenges Received

    Challenges Sent

    - + {{ challenege.p1_name }}

    Sport - {{ challenege.sport }}

    diff --git a/src/app/header/header.component.html b/src/app/header/header.component.html index 2cbf0c0..77ae523 100644 --- a/src/app/header/header.component.html +++ b/src/app/header/header.component.html @@ -92,7 +92,8 @@
- diff --git a/src/app/previous-match/previous-match.component.css b/src/app/previous-match/previous-match.component.css index 8a1a926..b86c339 100644 --- a/src/app/previous-match/previous-match.component.css +++ b/src/app/previous-match/previous-match.component.css @@ -9,22 +9,28 @@ button { margin: 10px; } -.won { - background-color: #A1CCA5; +.won, +.won:hover { + background-color: #A1CCA5 !important; } -.lost { - background-color: #E26D5A; +.lost, +.lost:hover { + background-color: #E26D5A !important; } -.draw { - background-color: rgb(220, 184, 253); +.draw, +.draw:hover { + background-color: rgb(220, 184, 253) !important; } -.awaiting { - background-color: #FFDA84; +.awaiting, +.awaiting:hover { + background-color: #FFDA84 !important; } -.reported { - background-color: #586F7C; +.reported, +.reported:hover { + background-color: #586F7C !important; } + diff --git a/src/app/previous-match/previous-match.component.html b/src/app/previous-match/previous-match.component.html index 11b546f..e678389 100644 --- a/src/app/previous-match/previous-match.component.html +++ b/src/app/previous-match/previous-match.component.html @@ -18,7 +18,7 @@ -->
-

Previous Matches

+

Recent Matches

- + {{ data.date }} - {{ data.p2_name }} - + {{ data.date }} - {{ data.p1_name }}

Sport: {{data.sport}}

-

Set Score : - {{data.set_score}}

Match Score : {{data.match_score}}

+

Set Score : + {{data.set_score}}

Contact - {{ data.contact2 }}

Contact - {{ data.contact1 }}

This has been reported to the secy by You

@@ -47,7 +57,7 @@

Previous Matches

This has been reported to the secy by You

- +
diff --git a/src/assets/github.png b/src/assets/github.png new file mode 100644 index 0000000000000000000000000000000000000000..f866506a710f5215f768029d27bbe235568abd02 GIT binary patch literal 704 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjEa{HEjtmSN`?>!lvI6;x#X;^) z4C~IxyaaL-l0AZa85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YPV z+ua371Hn({-St3?!awf1HX6lk@N@v)NbT_2RQ zRrpKz52wX@6O?aswH~>|p0s*emzWcm^j}6Zt(Vh}_$F={F$BKd91nr-!*cOvtX@x5PN6(-pYeZHbp8h>`VS5HzRZT2KF~<8h2hCA+})EydN@bT!#H=mt*S^_C5$Zy7xekG|Op+{;2yA3tSWb zv)CO8?~qH2Ob9LdB0hKf0m%hyHjIxCENzHy{4BOer+{(K$LbgxhPjF6MT?afb~S3x zN>03eKrZ?G;u|M-=^yBoxU(#wlXrXGBngSFt9Q(_%Na1ABu+D{FKbJO57S6&z^7sYR~}LP+XR7m6TYVs#{u= x$&i+rlWL`}uV0c|pr4zVo|&AjTUJzB;#Xpx&n3AXn4%aMJYD@<);T3K0RYKr3ibd1 literal 0 HcmV?d00001