<%!
    from kaithem.src.util import url
%>

<%include file="/pageheader.html"/>
<h2>Upload Module or Modules as ZIP file</h2>
<title>Upload Module</title>
<section class="window paper">
    <form action="/modules/uploadtarget" method="POST" name="new" enctype="multipart/form-data">
        File Containing Modules:
        <input required="required" name="modulesfile" type="file" data-testid="modulesfile" accept=".zip, .ktm, .ktm.zip"></input><br>
        <label><input type="checkbox" name="replace"></input>Replace Existing Module if present</label><br>
        <br><input value="Create Module" type="submit">
    </form>
<section class="window paper">
<%include file="/pagefooter.html"/>
