                                      [:td (.-year mt)]
                                      [:td (.-racknumber mt)]
                                      [:td (.-description mt)]
-                                     (when (is-admin-or-super-admin)[:td [:a {:href "javascript:;"
-                                                                              :on-click  #(consolidation-update(.-id mt))
-                                                                              :class "btn btn-success btn-sm glyphicon glyphicon-edit"}]]) 
-                                     (when (is-admin-or-super-admin)[:td  [:a {:href "javascript:;" :on-click #(consolidation-delete(.-id mt))
-                                                                               :class "btn btn-danger btn-sm glyphicon glyphicon-remove"}]])]))]]
+                                  ]))]]
        [:div{:class "col-xs-6 col-centered col-max"} [shared-state 0]]]]]]])
 
 (defroute consolidation-list "/consolidation" []

                                     [:td (.-racknumber mt)]
                                     [:td (.-startingyear mt)]
                                     [:td (.-endingyear mt)]
                                     (when (is-admin-or-super-admin)[:td [:a {:href "javascript:;"
                                                                              :on-click  #(o2register-update(.-id mt))
                                                                              :class "btn btn-success btn-sm glyphicon glyphicon-edit"}]]) 
                                     (when (is-admin-or-super-admin)[:td  [:a {:href "javascript:;" :on-click #(o2register-delete(.-id mt))
                                                                               :class "btn btn-danger btn-sm glyphicon glyphicon-remove"}]])]))]]
       [:div{:class "col-xs-6 col-centered col-max"} [shared-state 0]]]]]]])

(defroute o2register-list "/o2register" []

          [:th "Year"]
          [:th "Rack Number"]
          [:th "Description"]
         ]]
        [:tbody
         (doall (for [mt masavis]
                  ^{:key (.-id mt)} [:tr
                                     (when (is-admin-or-super-admin)[:td [button {:bs-style "success"
                                                                                  :on-click  #(masavi-update(.-id mt))} "Update"]])
                                     (when (is-admin-or-super-admin)[:td  [button {:bs-style "danger"
                                                                                   :on-click #(masavi-delete(.-id mt))} "Delete"]])
                                     [:td (.-serialnumber mt)]
                                     [:td (.-villagename mt)]
                                     [:td (.-subdivisionname mt)]
