Skip to content

Commit

Permalink
ui reform part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
revatim committed Apr 5, 2019
1 parent c1ef3ef commit ea61fb8
Show file tree
Hide file tree
Showing 8 changed files with 490 additions and 782 deletions.
Binary file modified FusionIIIT/Fusion/fusion.db
Binary file not shown.
2 changes: 1 addition & 1 deletion FusionIIIT/applications/central_mess/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def __str__(self):
class Feedback(models.Model):
student_id = models.ForeignKey(Student, on_delete=models.CASCADE)
mess = models.CharField(max_length=10, choices=MESS_OPTION, default='mess1')
mess_rating = models.PositiveSmallIntegerField(default='5')
# mess_rating = models.PositiveSmallIntegerField(default='5')
fdate = models.DateField(default=datetime.date.today)
description = models.TextField()
feedback_type = models.CharField(max_length=20, choices=FEEDBACK_TYPE)
Expand Down
2 changes: 1 addition & 1 deletion FusionIIIT/templates/messModule/mess.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
{% comment %}The ... starts here!{% endcomment %}
<div class="ui tab segment" data-tab="seventh">
{% block respondtoleave %}
{% include 'messModule/respondtoleave.html' %}
{% include 'messModule/respondtorequests.html' %}
{% endblock %}
</div>
{% comment %}The ... ends here!{% endcomment %}
Expand Down
3 changes: 3 additions & 0 deletions FusionIIIT/templates/messModule/messactivities.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,15 @@
<br>
</form>
<br>
<!--
<form method="post" target="_blank" action="{% url 'mess:billdownload' %}">
{% csrf_token %}
<button type="submit" class="ui primary button right floated">
Download Bill
</button>
<br>
</form>
-->
</div>
<!--
<form method="post">
Expand Down
347 changes: 0 additions & 347 deletions FusionIIIT/templates/messModule/requests.html

This file was deleted.

Loading

0 comments on commit ea61fb8

Please sign in to comment.