diff --git a/ProjectSourceCode/src/resources/css/club-pages/club-page.css b/ProjectSourceCode/src/resources/css/club-pages/club-page.css index e8b4f7d..e39d278 100644 --- a/ProjectSourceCode/src/resources/css/club-pages/club-page.css +++ b/ProjectSourceCode/src/resources/css/club-pages/club-page.css @@ -1,27 +1,6 @@ #club-page-body { display: flex; flex-direction: column; - width: 100%; -} - -#club-page-body { - padding: 50px; -} - -#club-crest { - text-align: center; -} - -#club-area-flag-row { - text-align: center; -} - -#club-area-flag { - width : 150px; -} - -#club-players-container { - padding: 30px; } #club-information-container { @@ -40,6 +19,17 @@ /* Add any other styling you need for the club information container */ } +#club-page-contents-container { + display: flex; + flex-direction: row; +} + +#club-players-container { + +} + + + #club-information-container::after { content: ''; position: absolute; diff --git a/ProjectSourceCode/src/views/pages/clubs-page.hbs b/ProjectSourceCode/src/views/pages/clubs-page.hbs index e00fd82..0ed7859 100644 --- a/ProjectSourceCode/src/views/pages/clubs-page.hbs +++ b/ProjectSourceCode/src/views/pages/clubs-page.hbs @@ -7,111 +7,112 @@ {{club.name}} Flag - -
+
- -
+ +
-

Information

+ +
- -
    - - +

    Information

    - - - - + +
    - Club Address:
    - {{club.address}} -
    + - - - - + + + + - - - - + + + + - -
    - Founded
    - {{club.founded}} -
    + Club Address:
    + {{club.address}} +
    - Manager
    - Name: {{club.coach.name}}
    - Nationality: {{club.coach.nationality}}
    - DOB: {{club.coach.dateOfBirth}}
    - contract start: {{club.coach.contract.start}}
    - contract end: {{club.coach.contract.until}}
    -
    + Founded
    + {{club.founded}} +
    + + + + Manager
    + Name: {{club.coach.name}}
    + Nationality: {{club.coach.nationality}}
    + DOB: {{club.coach.dateOfBirth}}
    + contract start: {{club.coach.contract.start}}
    + contract end: {{club.coach.contract.until}}
    + + -
    + + + +
    + + +
    + +

    Competitions

    + + + + + + + + + {{#each club.runningCompetitions}} + + + + {{/each}} + +
    Name
    {{name}}
    + +
    - -
    +
    -

    Competitions

    + +
    -
      - - - - - - - - {{#each club.runningCompetitions}} - - - - {{/each}} - -
      Name
      {{name}}
      + +
      -
      +

      Players

      + + + + + + + + + + + + {{#each club.squad}} + + + + + + + {{/each}} + +
      NamePositionDOBNationality
      {{name}}{{position}}{{dateOfBirth}}{{nationality}}
      + +
      + +
      - -
      - - -
      - -

      Players

      - -
        - - - - - - - - - - - {{#each club.squad}} - - - - - - - {{/each}} - -
        NamePositionDOBNationality
        {{name}}{{position}}{{dateOfBirth}}{{nationality}}
        - -
        - -
        -