1 <% include("/elements/header.html", 'Import device types') %>
3 Import a file containing phone device types, one per line.
6 <& /elements/form-file_upload.html,
7 'name' => 'PartDeviceImportForm',
8 'action' => 'process/part_device-import.html',
10 'fields' => [ 'format', ],
11 'message' => 'Device type import successful',
12 'url' => $p.'browse/part_device.html',
13 'onsubmit' => "document.PartDeviceImportForm.submitButton.disabled=true;",
16 <% &ntable("#cccccc", 2) %>
18 <INPUT TYPE="hidden" NAME="format" VALUE="default">
20 <% include( '/elements/file-upload.html',
22 'label' => 'Filename',
27 <TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px">
28 <INPUT TYPE = "submit"
42 Upload file can be a text file or Excel spreadsheet. If an Excel spreadsheet,
43 should have an .XLS extension.
46 <% include('/elements/footer.html') %>
51 unless $FS::CurrentUser::CurrentUser->access_right('Import');