Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOISSUE - Improve UI styling #719

Merged
merged 3 commits into from
Apr 18, 2019
Merged

NOISSUE - Improve UI styling #719

merged 3 commits into from
Apr 18, 2019

Conversation

drasko
Copy link
Contributor

@drasko drasko commented Apr 17, 2019

No description provided.

Signed-off-by: drasko <drasko.draskovic@gmail.com>
Signed-off-by: drasko <drasko.draskovic@gmail.com>
Signed-off-by: drasko <drasko.draskovic@gmail.com>
@codecov-io
Copy link

codecov-io commented Apr 17, 2019

Codecov Report

Merging #719 into master will decrease coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #719      +/-   ##
==========================================
- Coverage   85.63%   85.58%   -0.05%     
==========================================
  Files          64       64              
  Lines        4011     4011              
==========================================
- Hits         3435     3433       -2     
- Misses        394      395       +1     
- Partials      182      183       +1
Impacted Files Coverage Δ
writers/cassandra/init.go 60% <0%> (-20%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9d9da4...e2e8a12. Read the comment docs.

@blokovi
Copy link
Contributor

blokovi commented Apr 18, 2019

LGTM

@nmarcetic nmarcetic added the UI label Apr 18, 2019
@@ -278,10 +278,10 @@ view model =
|> Card.header []
[ Grid.row []
[ Grid.col [ Col.attrs [ align "left" ] ]
[ h3 [ Spacing.mt2 ] [ text "Channels" ]
[ h3 [] [ div [ class "table_header" ] [ i [ style "margin-right" "15px", class faIcons.channels ] [], text "Channels" ] ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to have css style embedded inside html here?

Card.config
[]
|> Card.headerH3 [] [ text title ]
|> Card.headerH3 [] [ div [ class "table_header" ] [ i [ style "margin-right" "15px", class faClass ] [], text title ] ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Embedded css style attrib?

(Html.map ChannelMsg (Helpers.genPagination model.channels.channels.total (Helpers.offsetToPage model.channels.offset model.channels.limit) Channel.SubmitPage))
)
]
, Grid.row []
[ Grid.col []
[ Card.config []
|> Card.headerH3 [] [ text "Message" ]
|> Card.headerH3 [] [ div [ class "table_header" ] [ i [ style "margin-right" "15px", class faIcons.messages ] [], text "Message" ] ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This div repeats all over again. Better to make a helper func to generate this div.

@darkodraskovic darkodraskovic merged commit baebe8a into absmach:master Apr 18, 2019
davide83 pushed a commit to davide83/mainflux that referenced this pull request May 13, 2019
* Add styling

Signed-off-by: drasko <drasko.draskovic@gmail.com>

* Fix errors

Signed-off-by: drasko <drasko.draskovic@gmail.com>

* Fix env

Signed-off-by: drasko <drasko.draskovic@gmail.com>
rugwirobaker pushed a commit to rugwirobaker/mainflux that referenced this pull request Jun 26, 2019
* Add styling

Signed-off-by: drasko <drasko.draskovic@gmail.com>

* Fix errors

Signed-off-by: drasko <drasko.draskovic@gmail.com>

* Fix env

Signed-off-by: drasko <drasko.draskovic@gmail.com>
manuio pushed a commit that referenced this pull request Oct 12, 2020
* Add styling

Signed-off-by: drasko <drasko.draskovic@gmail.com>

* Fix errors

Signed-off-by: drasko <drasko.draskovic@gmail.com>

* Fix env

Signed-off-by: drasko <drasko.draskovic@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants