summaryrefslogtreecommitdiff
path: root/httemplate/misc/part_device-import.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/part_device-import.html')
-rw-r--r--httemplate/misc/part_device-import.html53
1 files changed, 0 insertions, 53 deletions
diff --git a/httemplate/misc/part_device-import.html b/httemplate/misc/part_device-import.html
deleted file mode 100644
index 7bd640459..000000000
--- a/httemplate/misc/part_device-import.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<% include("/elements/header.html", 'Import device types') %>
-
-Import a file containing phone device types, one per line.
-<BR><BR>
-
-<% include( '/elements/form-file_upload.html',
- 'name' => 'PartDeviceImportForm',
- 'action' => 'process/part_device-import.html',
- 'num_files' => 1,
- 'fields' => [ 'format', ],
- 'message' => 'Device type import successful',
- 'url' => $p.'browse/part_device.html',
- )
-%>
-
-<% &ntable("#cccccc", 2) %>
-
- <INPUT TYPE="hidden" NAME="format" VALUE="default">
-
- <% include( '/elements/file-upload.html',
- 'field' => 'file',
- 'label' => 'Filename',
- )
- %>
-
- <TR>
- <TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px">
- <INPUT TYPE = "submit"
- ID = "submit"
- VALUE = "Import file"
- onClick = "document.PartDeviceImportForm.submit.disabled=true;"
- >
- </TD>
- </TR>
-
-</TABLE>
-
-</FORM>
-
-<BR>
-
-Upload file can be a text file or Excel spreadsheet. If an Excel spreadsheet,
- should have an .XLS extension.
-<BR><BR>
-
-<% include('/elements/footer.html') %>
-
-<%init>
-
-die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Import');
-
-</%init>