Skip to content

Commit

Permalink
proper-<title>-tag-raksha-life#1033
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammed-ajmal committed Aug 10, 2019
1 parent 091fd95 commit 31067c3
Show file tree
Hide file tree
Showing 51 changed files with 129 additions and 80 deletions.
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/aboutieee.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}About IEEE&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
19 changes: 10 additions & 9 deletions mainapp/templates/mainapp/add_person.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Person Registration&nbsp-&nbsp{% endblock %}

This comment has been minimized.

Copy link
@jojurajan

jojurajan Aug 10, 2019

No need to add &nbsp if it is a single space in between.
Also include the Malayalam version of the title too. Check the implementation by Jerin https://github.com/IEEEKeralaSection/rescuekerala/pull/1036/files#diff-8944b57466f08564caa53a1988261ae0R20

{% load bootstrap3 %}

{% block css %}
Expand All @@ -11,15 +12,15 @@
{% endblock %}


{% block content %}
{% block content %}
<div class="text-right">
<a href="/coordinator_home">Coordinator Home</a> |
<a href="/coordinator_home">Coordinator Home</a> |
<a href="/logout">Logout</a>
</div>

<h3 class="text-center">
Person Registration |
വ്യക്തിയെ രജിസ്റ്റർ ചെയ്യുക
Person Registration |
വ്യക്തിയെ രജിസ്റ്റർ ചെയ്യുക
</h3>

<div class="text-center text-danger">
Expand All @@ -43,7 +44,7 @@ <h3>{{ message }}</h3>
Please enter all available information. This can help relatives find them if required. <br>
ബന്ധുക്കൾക്ക് ഇവരെ കണ്ടെത്തുന്നതിന് ഇത് സഹായിക്കും
</p>
</form>
</form>
{% endblock %}

{% block javascript %}
Expand All @@ -53,13 +54,13 @@ <h3>{{ message }}</h3>
$('#id_gender_0').parents('.radio').hide();
$('#id_gender > .radio').removeClass('radio').addClass('radio-inline');
$('#id_camped_at').attr('readonly', true);
$("#id_checkin_date").prop('required',false);
$("#id_checkin_date").prop('required',false);
$("#id_checkout_date").prop('required',false);
$('#id_district').selectize();
$('#id_checkin_date, #id_checkout_date').datepicker({
$('#id_district').selectize();
$('#id_checkin_date, #id_checkout_date').datepicker({
format: "dd-mm-yyyy",
todayHighlight: true
});
});
</script>
{% endblock %}
{% endblock %}
13 changes: 7 additions & 6 deletions mainapp/templates/mainapp/camp_details.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{% extends 'base.html' %}
{% block title %}Camp Details&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}


{% block content %}
{% block content %}
<div class="text-right">
<a href="{%url 'coordinator_home' %}">Coordinator Home</a> |
<a href="{%url 'coordinator_home' %}">Coordinator Home</a> |
<a href="{%url 'user_logout' %}">Logout</a>
</div>

<h3 class="text-center">
Camp Details |
ക്യാമ്പിന്റെ വിവരങ്ങൾ
Camp Details |
ക്യാമ്പിന്റെ വിവരങ്ങൾ
</h3>
<div class="text-center text-danger">
{% if messages %}
Expand All @@ -33,7 +34,7 @@ <h3>{{ message }}</h3>
<p class="text-center">
Please update camp information here
<br>
ക്യാമ്പിന്റെ വിവരങ്ങൾ ഇവിടെ അപ്ഡേറ്റ് ചെയ്യുക
ക്യാമ്പിന്റെ വിവരങ്ങൾ ഇവിടെ അപ്ഡേറ്റ് ചെയ്യുക
</p>
</form>

Expand All @@ -43,6 +44,6 @@ <h3>{{ message }}</h3>
$('#id_district').selectize();
});
});
</script>
</script>

{% endblock %}
10 changes: 6 additions & 4 deletions mainapp/templates/mainapp/camp_requirements.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{% extends 'base.html' %}
{% block title %}Camp Requirements&nbsp-&nbsp{% endblock %}

{% load bootstrap3 %}


{% block content %}
{% block content %}
<div class="text-right">
<a href="{%url 'coordinator_home' %}">Coordinator Home</a> |
<a href="{%url 'coordinator_home' %}">Coordinator Home</a> |
<a href="{%url 'user_logout' %}">Logout</a>
</div>

Expand Down Expand Up @@ -34,9 +36,9 @@ <h3>{{ message }}</h3>
<p class="text-center">
Please update this information whenever you receieve new supplies or need more.
<br>
നിങ്ങൾ പുതിയ സപ്ലൈസ് സ്വീകരിക്കുകയോ കൂടുതൽ ആവശ്യമുള്ളപ്പോഴോ അപ്ഡേറ്റ് ചെയ്യുക.
നിങ്ങൾ പുതിയ സപ്ലൈസ് സ്വീകരിക്കുകയോ കൂടുതൽ ആവശ്യമുള്ളപ്പോഴോ അപ്ഡേറ്റ് ചെയ്യുക.
</p>
</form>
</form>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>
Expand Down
8 changes: 5 additions & 3 deletions mainapp/templates/mainapp/camp_requirements_list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{% extends 'base.html' %}
{% block title %}Relief Camp Requirements&nbsp-&nbsp{% endblock %}

{% load bootstrap3 %}

{% block content %}
Expand Down Expand Up @@ -98,15 +100,15 @@ <h3>Relief Camp Requirements</h3>
<a href="?page=1&name__icontains={{ request.GET.name__icontains }}&district={{ request.GET.district }}">&laquo; first</a>
<a href="?page={{data.previous_page_number}}&name__icontains={{ request.GET.name__icontains }}&district={{ request.GET.district }}">previous</a>
{% endif %}

{% for i in data.paginator.page_range %}
{% if data.number == i %}
<a class="active"><span>{{ i }} <span class="sr-only">(current)</span></span></a>
{% else %}
<a href="?page={{i}}&name__icontains={{ request.GET.name__icontains }}&district={{ request.GET.district }}">{{ i }}</a>
{% endif %}
{% endfor %}

{% if data.has_next %}
<a href="?page={{ data.next_page_number }}&name__icontains={{ request.GET.name__icontains }}&district={{ request.GET.district }}">next</a>
<a href="?page={{ data.paginator.num_pages }}&name__icontains={{ request.GET.name__icontains }}&district={{ request.GET.district }}">last &raquo;</a>
Expand All @@ -129,5 +131,5 @@ <h3>Relief Camp Requirements</h3>
$('#id_district').selectize();
});
});
</script>
</script>
{% endblock %}
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/collectioncenter_form.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Add Collection Center&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}
{% load static %}

Expand Down
2 changes: 2 additions & 0 deletions mainapp/templates/mainapp/collectioncenter_list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{% extends 'base.html' %}
{% block title %}Collection Centers&nbsp-&nbsp{% endblock %}

{% load bootstrap3 %}

{% block content %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Collection Centers&nbsp-&nbsp{% endblock %}
{% load static %}
{% block content %}

Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/contrib_list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Registered Contributors&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block css %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/contrib_success.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Contributor Registered&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/contributor_form.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Contributor Form&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/coordinator_home.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Relief Camp Coordinator&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/csvbulkupload_form.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}CSV Uploads&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/disclaimer.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Disclaimer / GDPR Compliance&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/district_needs.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}District Needs &amp; Collection Center&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/districtmanager_list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Contact&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/error.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Error&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/hospitals.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Hospitals&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
8 changes: 3 additions & 5 deletions mainapp/templates/mainapp/login.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Coordinator Login&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand All @@ -17,7 +18,7 @@ <h2>Coordinator Login</h2>
{% endif %}
<form method="post">
{% csrf_token %}

<div class="form-group">
<label for="id_username">Username</label>
<input type="text" name="username" required autofocus id="id_username" class="form-control">
Expand All @@ -26,7 +27,7 @@ <h2>Coordinator Login</h2>
<label for="id_password">Password</label>
<input type="password" name="password" required id="id_password" class="form-control">
</div>

<button type="submit" class="btn btn-success">Login</button>
<a href="{%url 'relief_camps' %}" class="btn btn-link">Go Back</a>
</form>
Expand All @@ -35,6 +36,3 @@ <h2>Coordinator Login</h2>


{% endblock %}



1 change: 1 addition & 0 deletions mainapp/templates/mainapp/maintenance.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Registration will be back soon&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
3 changes: 2 additions & 1 deletion mainapp/templates/mainapp/missing_and_finding_persons.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Missing Person or Find Person&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down Expand Up @@ -33,7 +34,7 @@ <h6 class="text-center">
കാണാതായ വ്യക്തികളെ റിപ്പോർട്ട് ചെയ്യുക
<span class="ml small"></span>
</span>
</a>
</a>


<p class="home-info">
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/missing_persons.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Report Missing Persons&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block body_class %}container-fixed{% endblock %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/ngo_form.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}NGO-Company Registration&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/ngo_list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Registered NGOs/Companies&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block css %}
Expand Down
5 changes: 3 additions & 2 deletions mainapp/templates/mainapp/p_camp_details.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Camp details&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down Expand Up @@ -32,7 +33,7 @@
<tr>
<td><b> City : </b></td><td>{{ req.city }}</td>
</tr>


<tr>
<td><b> Location : </b></td><td>{{ req.location }}</td>
Expand Down Expand Up @@ -85,7 +86,7 @@
</tr>
<tr>
<td><b> Other Requirement : </b></td><td>{{ req.other_req }}</td>
</tr>
</tr>
</tbody>
</table>

Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/pcamplist.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Private Relief Camps&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/people.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Person Finder&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/privaterescuecamp_form.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Add Private Relief Camp&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}
{% load static %}

Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/reg_success.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Registation Successfull&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
3 changes: 2 additions & 1 deletion mainapp/templates/mainapp/relief_camps.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Relief Camps&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down Expand Up @@ -48,7 +49,7 @@ <h3 class="text-center">
<span class="ml small"></span>
</span>
</a>

<p class="home-info">
Contact Control Room or Disaster Management Cell or District Administration for any support.<br>
Volunteers may contact District Project Managers for support related to volunteering and contributions<br>
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/relief_camps_list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Relief Camps List&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/reliefcampdata_form.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Add Relief Camp Data&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/req_success.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Request Success&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/request_details.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Request details&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions mainapp/templates/mainapp/request_form.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}Request For Help&nbsp-&nbsp{% endblock %}
{% load bootstrap3 %}
{% load static %}
{% block css %}
Expand Down
Loading

0 comments on commit 31067c3

Please sign in to comment.