                                      })
                          )
 
-               (dom/h4 nil
-                       (str " стр." (@app :page)
-                            (when-let [count-all (:count-all @app)]
-                              (str
-                               (if-let [page-size (:page-size @app)]
-                                 (str " из " (inc (quot count-all page-size)))
-                                 "")
-                               " (" count-all ") "))))
+
+               (let [{:keys [page page-size count-all]} @app]
+                 (dom/div
+                  #js {:className "input-control"
+                       :style #js {:lineHeight 1.2}}
+                  " страница "
+                  (dom/b nil page)                  
+                  (when (and count-all page-size) " из ")
+                  (when (and count-all page-size) (dom/b nil (inc (quot count-all page-size))))
+                  
+                  (when count-all (dom/br nil))
+                  (when count-all "всего записей ")
+                  (when count-all (dom/b nil (str count-all)))))
 
                (dom/span #js {:className "input-group-btn"}
                          (ui-button {:type     :default

                                                 (om/update! app :page 1)
                                                 (when chan-update
                                                   (put! chan-update 1))
                                                 1)
                                     :text     (dom/span #js {:className   "glyphicon glyphicon-fast-backward"
                                                              :aria-hidden "true"})

                                                 (om/transact! app :page inc)
                                                 (when chan-update
                                                   (put! chan-update 1))

                                                 (when on-click-fn (on-click-fn))
                                                 1)
                                     :text     (dom/span nil "Вперед "
                                                         (dom/span #js {:className   "glyphicon glyphicon-step-forward"
