dms: fix hidden buttons on PDF preview

Instead of disabling in javascript, which cause the button to be visible
for a few milliseconds, disable directly in the HTML file.

Do not hide "document properties", because it can be useful and it does
not hurt and "edit images" because we don't hide the buttons to edit
annotations either, so this is consistent.
10 jobs for fix/dms-pdf-preview-hidden-buttons in 0 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-TestRunner1

00:54:38

failed ERP5.PerformanceTest-TestRunner1

00:35:10

failed ERP5.UnitTest-TestRunner1

02:58:16

failed ERP5.UnitTest-Zope2-ForTestRunner1

03:08:58

failed ERP5.CodingStyleTest-TestRunner1

01:10:07

canceled ERP5.CodingStyleTest-TestRunner1

failed ERP5.UnitTest-TestRunner1

04:29:39

failed ERP5.UnitTest-TestRunner1

01:24:52

failed ERP5.UnitTest-Zope2-ForTestRunner1

04:34:03

failed ERP5.UnitTest-Zope2-ForTestRunner1

01:59:36