             [om.dom :as dom :include-macros true]
             [hatnik.web.client.app-state :as state])
   (:use [jayq.core :only [$]]))
+
+(defn test-action []
+  (js/alert "Hoooo!"))
 
 
 (defn accordion-panel [& {:keys [body-id header body]}]

   (dom/div 
    #js {:className "panel-heading"}
    (dom/div 
     nil
     (dom/h4 #js {:className "panel-title"}
             (dom/a #js 
                    {:data-parent "#accrodion"
                     :data-toggle "collapse"
                     :href (str "#" body-id)} header))))
           (dom/div #js {:className "panel-collapse collapse in"
                         :id body-id}
                    (dom/div #js {:className "panel-body"}
                             body))))

(defn render-action [project-id action]
  (dom/div nil

    (apply dom/div #js {:className "row"}
           (concat rendered
                   [(dom/div #js {:className "col-sm-6 col-md-4 col-lg-2"} 
                             (add-new-action id))]))))   

(defn project-header-menu-button [project]
  (dom/div #js {:className "dropdown"}
           (dom/button 
            #js {:className "btn btn-default"
                 :type "button"}
            (dom/span #js {:className "glyphicon glyphicon-pencil pull-right"}))))

(defn project-header [project]
  (dom/div #js {:className "row"}
   (dom/div 
    #js {:className "col-sm-2 col-md-1 col-lg-1"} 
    (dom/p nil (get project "name")))
   (dom/div 
    #js {:className "col-sm-2 col-md-1 col-lg-1 pull-right"}
    (project-header-menu-button project))))

(defn project-list [data owner]
  (reify
