Commit 29eb4675 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIXME] search bar more in center verticaly and horizontaly.

parent d0abf901
...@@ -412,17 +412,17 @@ dz2 = unsafeFromPropsArray ...@@ -412,17 +412,17 @@ dz2 = unsafeFromPropsArray
ya1 = unsafeFromPropsArray ya1 = unsafeFromPropsArray
[ type' "value" [ type' "value"
, name "Publications (by year)" , name "Score metric"
, min 0 , min 0
, position "left" , position "right"
, axisLabel [formatter "{value}"] , axisLabel [formatter "{value}"]
] ]
ya2 = unsafeFromPropsArray ya2 = unsafeFromPropsArray
[ type' "value" [ type' "value"
, name "Score metric" , name "Publications (by year)"
, min 0 , min 0
, position "right" , position "left"
, axisLabel [formatter "{value}"] , axisLabel [formatter "{value}"]
] ]
...@@ -436,16 +436,9 @@ sd1 = unsafeFromPropsArray ...@@ -436,16 +436,9 @@ sd1 = unsafeFromPropsArray
, shadowBlur 10 , shadowBlur 10
, shadowOffsetY 10 , shadowOffsetY 10
]] ]]
, data' [1, 13, 37, 35, 15, 13, 25, 21, 6, 45, 32, 2] , data' [95, 80, 75, 35, 30, 50, 70, 80, 95, 95, 95, 99]
] ]
sd2 = unsafeFromPropsArray
[ name "Favorites"
, type' "bar"
, label [normal[showp true, position "top"]]
, yAxisIndex 1
, data' [22, 22, 23, 77, 24, 55, 55, 89, 98, 164, 106, 224]
]
sd3 = unsafeFromPropsArray sd3 = unsafeFromPropsArray
[ name "All" [ name "All"
...@@ -456,6 +449,14 @@ sd3 = unsafeFromPropsArray ...@@ -456,6 +449,14 @@ sd3 = unsafeFromPropsArray
] ]
sd2 = unsafeFromPropsArray
[ name "Favorites"
, type' "bar"
, label [normal[showp true, position "top"]]
, yAxisIndex 1
, data' [22, 22, 23, 77, 24, 55, 139, 350, 150, 164, 106, 224]
]
p'' :: ReactElement p'' :: ReactElement
p'' = p [] [] p'' = p [] []
...@@ -285,7 +285,14 @@ sidebarnavSpec = simpleSpec performAction render ...@@ -285,7 +285,14 @@ sidebarnavSpec = simpleSpec performAction render
[ input [ className "form-control" [ input [ className "form-control"
, placeholder "Query, URL or FILE (works with Firefox or Chromium browsers)" , placeholder "Query, URL or FILE (works with Firefox or Chromium browsers)"
, _type "text" , _type "text"
] [] , style { height: "35px"
, width: "450px"
-- , color: "white"
-- , background : "#A1C2D8"
}
] [
]
-- TODO add button in navbar (and "enter" execution) -- TODO add button in navbar (and "enter" execution)
-- , div [] [button [][]] -- , div [] [button [][]]
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment