                  [:td "No available masters"]])]])])))))
 
 
-(defn switch [app owner]
-  (reify
-    om/IRender
-    (render [_]
-      (html
-       [:div.container-fluid
-        [:div.row-fluid
-         [:div.span9
-          [:p "Switch user"]
-          [:form.form-inline {:method "post", :action "/admin/switch-user"}
-           [:input.input-medium {:name "login", :type "text"}]
-           [:input {:value (utils/csrf-token)
-                    :name "CSRFToken",
-                    :type "hidden"}]
-           [:button.btn.btn-primary {:value "Switch user", :type "submit"}
-            "Switch user"]]]]]))))
-
 (defn admin-settings [app owner]
   (reify
     om/IRender

          (if-not build-state
            [:div.loading-spinner common/spinner]
            [:code (om/build ankha/inspector build-state)])])))))

(defn fleet-state [app owner]
  (reify

             [:div#subpage
              (case subpage
                :fleet-state (om/build fleet-state app)
                (om/build overview app))]]])))))
