Makes company search work much more like the react one.
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
[auto-ap.logging :as alog]
|
||||
[auto-ap.ssr.company-dropdown :as company-dropdown]
|
||||
[config.core :refer [env]]
|
||||
[hiccup2.core :as hiccup]))
|
||||
[hiccup2.core :as hiccup]
|
||||
[auto-ap.ssr.login-dropdown :as login-dropdown]))
|
||||
|
||||
(defn html-page [hiccup]
|
||||
{:status 200
|
||||
@@ -53,17 +54,19 @@
|
||||
[:div.navbar-start
|
||||
[:a.navbar-item {:href "/"}
|
||||
"Home" ]
|
||||
[:a.navbar-item {:href "/invoices/"}
|
||||
[:a.navbar-item {:href "/invoices"}
|
||||
"Invoices" ]
|
||||
[:a.navbar-item {:href "/payments/"}
|
||||
[:a.navbar-item {:href "/payments"}
|
||||
"Payments" ]
|
||||
[:a.navbar-item {:href "/pos/sales-orders/"}
|
||||
[:a.navbar-item {:href "/pos/sales-orders"}
|
||||
"POS" ]
|
||||
[:a.navbar-item {:href "/transactions/"}
|
||||
[:a.navbar-item {:href "/transactions"}
|
||||
"Transactions" ]
|
||||
[:a.navbar-item {:href "/ledger/"}
|
||||
"Ledger" ]
|
||||
(company-dropdown/dropdown request)]]]]
|
||||
[:a.navbar-item {:href "/ledger"}
|
||||
"Ledger" ]]
|
||||
[:div.navbar-end
|
||||
(company-dropdown/dropdown request)
|
||||
(login-dropdown/dropdown request)]]]]
|
||||
[:div {:class "columns has-shadow", :id "mail-app", :style "margin-bottom: 0px; height: calc(100vh - 46px);"}
|
||||
[:aside {:class "column aside menu is-2 "}
|
||||
[:div {:class "main left-nav"}
|
||||
|
||||
Reference in New Issue
Block a user