From cb22bd642a5921d40888998254a3b75b24e25752 Mon Sep 17 00:00:00 2001 From: sunny Date: Sun, 22 Apr 2018 20:10:12 +0900 Subject: [PATCH] design --- .../app.notification.component.html | 11 ++- .../layout/topbar/app.topbar.component.html | 2 +- src/app/pages/alert/alert-page.component.html | 10 +- .../alert/component/list/list.component.html | 91 ++++++++++--------- .../notification/notification.component.html | 6 +- src/styles.scss | 23 +++++ 6 files changed, 84 insertions(+), 59 deletions(-) diff --git a/src/app/commons/component/layout/notification/app.notification.component.html b/src/app/commons/component/layout/notification/app.notification.component.html index 63532fb..9d6b575 100644 --- a/src/app/commons/component/layout/notification/app.notification.component.html +++ b/src/app/commons/component/layout/notification/app.notification.component.html @@ -1,8 +1,11 @@ -
  • +
    + No tifications +
    +
  • diff --git a/src/app/commons/component/layout/topbar/app.topbar.component.html b/src/app/commons/component/layout/topbar/app.topbar.component.html index e7695f4..77010f0 100644 --- a/src/app/commons/component/layout/topbar/app.topbar.component.html +++ b/src/app/commons/component/layout/topbar/app.topbar.component.html @@ -128,7 +128,7 @@
  • - message + notifications {{notificationCount}} diff --git a/src/app/pages/alert/alert-page.component.html b/src/app/pages/alert/alert-page.component.html index 9ca6ed3..86608ed 100644 --- a/src/app/pages/alert/alert-page.component.html +++ b/src/app/pages/alert/alert-page.component.html @@ -3,14 +3,10 @@

    Alert

    - -
    -
    - - +
    + +
    - - \ No newline at end of file diff --git a/src/packages/alert/component/list/list.component.html b/src/packages/alert/component/list/list.component.html index df157c0..d8c60b7 100644 --- a/src/packages/alert/component/list/list.component.html +++ b/src/packages/alert/component/list/list.component.html @@ -1,49 +1,52 @@ -
    -
    -
    -
    All
    -
    13
    +
    +
    +

    Metric Alert

    +
    +
    + All : 13 +
    +
    + Down : 3 +
    +
    + Warn : 5 +
    +
    + Error : 5 +
    -
    -
    Down
    -
    3
    -
    -
    -
    Warn
    -
    5
    -
    -
    -
    Error
    -
    5
    + +
    + + +
    + +
    {{alert.created}}
    +
    + {{alert.msg}} +
    +
    {{alert.status}}
    +
    +
    +
    - -
    - - -
    - -
    {{alert.created}}
    -
    - {{alert.msg}} -
    -
    {{alert.status}}
    -
    -
    -
    - -   - - - -
    -
    {{alert.created}}
    -
    - {{alert.msg}} -
    -
    {{alert.status}}
    -
    -
    -
    +
    +
    +
    +

    System Alert

    + + +
    +
    {{alert.created}}
    +
    + {{alert.msg}} +
    +
    {{alert.status}}
    +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/src/packages/notification/component/notification/notification.component.html b/src/packages/notification/component/notification/notification.component.html index 60b649a..b0ab03e 100644 --- a/src/packages/notification/component/notification/notification.component.html +++ b/src/packages/notification/component/notification/notification.component.html @@ -1,7 +1,7 @@

    Notifications

    -
    +
    + +
    diff --git a/src/styles.scss b/src/styles.scss index 4a004fe..bdf3c70 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -189,3 +189,26 @@ img.ui-img-profile-responsive { .ui-bottom-border-1 { border-bottom: #bdbdbd 1px solid; } +.ui-app-noti{ + li{ + padding: 10px !important; + line-height: 1.2em !important; + width: 100% !important; + a { + .ui-app-noti-title { + font-weight: bold !important; + float: left !important; + padding: 10px !important; + margin: 0 !important; + } + .ui-app-noti-date{ + float: right !important; + font-size: 0.6em !important; + color: gray !important; + } + .ui-app-noti-content{ + float: left !important; + } + } + } +}