File tree Expand file tree Collapse file tree
google_crawler_web/templates/layout Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33@import " ./phoenix.css" ;
44
5- @import " ./screens/dashboard.scss"
5+ @import " ./screens/dashboard.scss" ;
6+ @import " ./screens/keyword.scss" ;
Original file line number Diff line number Diff line change @@ -98,6 +98,9 @@ header section {
9898 flex-direction : column;
9999 justify-content : space-between;
100100}
101+ header section a {
102+ color : black;
103+ }
101104header nav ul ,
102105header nav li {
103106 margin : 0 ;
Original file line number Diff line number Diff line change 1+ body .keyword.show {
2+ iframe {
3+ width : 100% ;
4+ height : 400px ;
5+ }
6+ }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ defmodule GoogleCrawler.Search.SearchKeywordTask do
1212 { :ok , body } ->
1313 # Store the result to the db
1414 result = PageScrapper . scrap ( body )
15+ IO . inspect result
1516 Search . update_keyword ( keyword , % {
1617 status: :completed ,
1718 raw_html_result: result . raw_html_result
Original file line number Diff line number Diff line change 1111 < body class = "<%= body_class(@conn) %> " >
1212 < header >
1313 < section class = "container " >
14- < h1 > <%= gettext ( "Google Crawler" ) %> </ h1 >
14+ < h1 > <%= link gettext ( "Google Crawler" ) , to: "/" %> </ h1 >
1515 < nav >
1616 < ul >
1717 <%= if @ conn . assigns . user_signed_in? do %>
You can’t perform that action at this time.
0 commit comments