diff --git a/app/public/segment.css b/app/public/segment.css new file mode 100644 index 0000000..e04a054 --- /dev/null +++ b/app/public/segment.css @@ -0,0 +1,32 @@ +.ui-segment{ + color: #02adba; + border: 1px solid #02adba; + border-radius: 4px; + display:inline-block; +} +.ui-segment span.option.active{ + background-color: #02adba; + color: white; +} +.ui-segment span.option{ + padding-left: 30px; + padding-right: 30px; + height: 35px; + text-align:center; + display:inline-block; + line-height: 35px; + margin: 0px; + float:left; + cursor:pointer; + border-right:1px solid #02adba; +} +.ui-segment span.option[disabled]{ + color: gray; +} + +.ui-segment span.option:last-child{ + border-right: none; +} +.segment-select{ + display:none; +} diff --git a/app/views/layout.ejs b/app/views/layout.ejs index 774f047..cb8f724 100644 --- a/app/views/layout.ejs +++ b/app/views/layout.ejs @@ -19,6 +19,7 @@ + diff --git a/app/views/realEstateType.ejs b/app/views/realEstateType.ejs index e1d9f7c..de5b7d5 100644 --- a/app/views/realEstateType.ejs +++ b/app/views/realEstateType.ejs @@ -1,23 +1,68 @@ +

-
-
- <% for(const realEstateType of realEstateTypes) { %> +
- - <%= realEstateType.title %> - +
+
+ +
+
- <% } %> -
- -
+
+
+ <% for(const realEstateType of realEstateTypes) { %> + + + <%= realEstateType.title %> + + + <% } %> +
+ +