Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update composefile.html #1277

Open
wants to merge 1 commit into
base: gad-4
Choose a base branch
from
Open
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
47 changes: 15 additions & 32 deletions FusionIIIT/templates/filetracking/composefile.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,6 @@ <h3>

<form class="ui large form" method="POST" enctype="multipart/form-data" id="form1">
{% csrf_token %}

<!--<div class="field">
<label>File ID.</label>
<div class="ui fluid input">
<input type="number" min="1" max="9999" size="4" name="fileid" required>
</div>
</div>
{% if IntegrityError %}
<span>FileID already exists</span>
{% endif %}-->

<!--<div class="field">
<label>Designation</label>
<select class="ui fluid search selection dropdown" name="receiver">
<option selected hidden>Select</option>

                    </select>
</div>-->

<div class="field">
<label>Title of File</label>
<textarea rows="1" name="title" required></textarea>
Expand All @@ -54,11 +35,6 @@ <h3>
<label>Create as:
<select required class="ui fluid search selection dropdown" name="design">
<option selected hidden>Select</option>

<!-- {% for designations in designations %}
<option value="{{designations.designation.name}}">{{designations.designation.name}}</option>
{% endfor %} -->

{% for designations in designations %}
<option value="{{designations.id}}">{{designations}}</option>
{% endfor %}
Expand Down Expand Up @@ -92,6 +68,9 @@ <h3>
</div>

<div class="field">



<label>Forward To:

<input type ="search" id="input_search" list = "input_list" name = "receiver">
Expand All @@ -100,17 +79,19 @@ <h3>
</datalist>

</label>


</div>

<br>
<div class="field">
<label>Receiver Designation:
<input type ="search" id="input_search1" list = "input_list1" name = "recieve">
<datalist id="input_list1">

</datalist>


           
<select required class="ui fluid search selection dropdown" name="recieve">
<option selected hidden>Select</option>
{% for designations in all_recievers %}
<option >{{designations}}</option>
{% endfor %}
</select>
</label>
</div>

Expand Down Expand Up @@ -221,3 +202,5 @@ <h3>
</script>