mirror of
https://github.com/penpot/penpot.git
synced 2025-05-20 20:47:19 +02:00
wip refactor dashboard
This commit is contained in:
parent
f9f36445ec
commit
e0bd1098eb
12 changed files with 674 additions and 52 deletions
|
@ -15,6 +15,7 @@
|
|||
"ds.num-files" ["No files"
|
||||
"%s file"
|
||||
"%s files"]
|
||||
"ds.new-file" "+ New File"
|
||||
"ds.project-title" "Your projects"
|
||||
"ds.project-new" "+ New project"
|
||||
"ds.project-thumbnail.alt" "Project title"
|
||||
|
|
|
@ -160,9 +160,9 @@
|
|||
(str (tr "ds.updated-at" (dt/timeago (:modified-at file))))]]
|
||||
|
||||
[:div.project-th-actions
|
||||
[:div.project-th-icon.pages
|
||||
i/page
|
||||
#_[:span (:total-pages project)]]
|
||||
;; [:div.project-th-icon.pages
|
||||
;; i/page
|
||||
;; #_[:span (:total-pages project)]]
|
||||
#_[:div.project-th-icon.comments
|
||||
i/chat
|
||||
[:span "0"]]
|
||||
|
@ -188,11 +188,11 @@
|
|||
#_(udl/open! :create-project))
|
||||
]
|
||||
[:section.dashboard-grid
|
||||
[:h2 (tr "ds.projects.file-name")]
|
||||
;; [:h2 (tr "ds.projects.file-name")]
|
||||
[:div.dashboard-grid-content
|
||||
[:div.dashboard-grid-row
|
||||
[:div.grid-item.add-project #_{:on-click on-click}
|
||||
[:span (tr "ds.project-file")]]
|
||||
[:span (tr "ds.new-file")]]
|
||||
(for [item files]
|
||||
[:& grid-item {:file item :key (:id item)}])]]]))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue