From 1bce7a33358f40a775914025ea3637532b991987 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 7 Jan 2023 16:42:42 +0100 Subject: [PATCH] refactor: Switched from Bootstrap 3.4.1 to Bootstrap 5.2.3 --- src/app/app.component.html | 28 +++++++++++++------- src/app/chatroom/chatroom.component.html | 14 +++++----- src/app/chatrooms/chatrooms.component.html | 10 ++++---- src/app/user/user.component.html | 30 ++++++++++------------ src/styles.less | 2 +- 5 files changed, 45 insertions(+), 39 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 2b60aa81..d7d0b187 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,13 +1,23 @@ - - - + + + Bootstrap + + + +
+
+ + + Chat App + + +
+
diff --git a/src/app/chatroom/chatroom.component.html b/src/app/chatroom/chatroom.component.html index 2b3a709d..a0cc6fe1 100644 --- a/src/app/chatroom/chatroom.component.html +++ b/src/app/chatroom/chatroom.component.html @@ -1,11 +1,11 @@ -
-
-

{{chatroom.name}}

+
+
+

{{chatroom.name}}

-
-
    -
  • - {{message.user}} +
    +
      +
    • + {{message.user}} {{message.text}}
    diff --git a/src/app/chatrooms/chatrooms.component.html b/src/app/chatrooms/chatrooms.component.html index 4df38dec..1babd522 100644 --- a/src/app/chatrooms/chatrooms.component.html +++ b/src/app/chatrooms/chatrooms.component.html @@ -1,8 +1,8 @@ -
    -
    -

    Please Choose a Chat-Room

    +
    +
    +

    Please Choose a Chat-Room

    -
    - +
    +
    diff --git a/src/app/user/user.component.html b/src/app/user/user.component.html index 3cfc8d3f..487f4835 100644 --- a/src/app/user/user.component.html +++ b/src/app/user/user.component.html @@ -1,24 +1,20 @@ -
    -
    -

    Please pick a Username

    -
    -
    +
    +

    Please pick a Username

    +
    - + -
    -
    - -
    - Name is required. -
    -
    The username must not be empty
    +
    - +
    +
    Name is required.
    +
    The username must not be empty
    +
    +
    +
    -

    Value: {{ usernameForm.value }}

    -

    Form Status: {{ usernameForm.status }}

    diff --git a/src/styles.less b/src/styles.less index 37292bfe..2be27ff5 100644 --- a/src/styles.less +++ b/src/styles.less @@ -1 +1 @@ -@import url('https://unpkg.com/bootstrap@3.4.1/dist/css/bootstrap.min.css'); +@import url('https://unpkg.com/bootstrap@5.2.3/dist/css/bootstrap.min.css'); -- 2.20.1