Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/UploadDoc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{% extends "ndf/base.html" %}
{% block title %} Upload Document {% endblock %}
{% block body_content %}
{% if user.is_authenticated %}
<div id="divpost">
<form id ="docPost" enctype="multipart/form-data" method="post" action="/ndf/submitDoc/">{% csrf_token %}
<h4>Submit Documents</h4>
<b> Title:&nbsp; </b><input type="text" name="docTitle" id ="docTitle"><br/><br/>
<b> Member Of:&nbsp; </b><input type="text" name="memberOf" id ="memberOf"><br/><br/>
<b> File:&nbsp; </b><input type="file" name="doc" id="docFile"/><br/><br/>
<input type="hidden" name="user" value={{user.username}}>
<input type="submit" id="submitpostid" value="Submit" size="900" name="post">
</form>
</div>
{% endif %}
<!--
<hr>
<h4>Image Gallery</h4>

<div id="imageGallery">


<img src=" ">



</div>-->
{% endblock %}