Browse Source

add name and tweak height of example dashboard

Artur Paikin 7 years ago
parent
commit
4770b714dc
1 changed files with 4 additions and 2 deletions
  1. 4 2
      website/src/examples/dashboard/app.es6

+ 4 - 2
website/src/examples/dashboard/app.es6

@@ -40,10 +40,12 @@ function uppyInit () {
     target: opts.DashboardInline ? '.DashboardContainer' : 'body',
     replaceTargetContent: opts.DashboardInline,
     note: opts.restrictions ? 'Images and video only, 2–3 files, up to 1 MB' : '',
-    maxHeight: 450,
+    height: 470,
+    showProgressDetails: true,
     metaFields: [
+      { id: 'name', name: 'Name', placeholder: 'file name' },
       { id: 'license', name: 'License', placeholder: 'specify license' },
-      { id: 'caption', name: 'Caption', placeholder: 'describe what the image is about' }
+      { id: 'caption', name: 'Caption', placeholder: 'add description' }
     ]
   })