diff options
| author | Bobby <[email protected]> | 2022-05-03 21:01:30 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-05-03 21:01:30 -0400 |
| commit | 00826988bf4d1fba76c0a65fa850639844ef61a4 (patch) | |
| tree | a43ba30ea4424e75f6b052e662e6bef6bb5e2c1d /interface | |
| parent | 7051c250ba6e1879e5b19c993bf38e8745740706 (diff) | |
| download | Welfare-Schemes-DMQL-00826988bf4d1fba76c0a65fa850639844ef61a4.tar.xz Welfare-Schemes-DMQL-00826988bf4d1fba76c0a65fa850639844ef61a4.zip | |
fixing navbar
Diffstat (limited to 'interface')
| -rw-r--r-- | interface/views/citizens.ejs | 21 | ||||
| -rw-r--r-- | interface/views/partials/navbar.ejs | 2 |
2 files changed, 9 insertions, 14 deletions
diff --git a/interface/views/citizens.ejs b/interface/views/citizens.ejs index 0e703b2..2244713 100644 --- a/interface/views/citizens.ejs +++ b/interface/views/citizens.ejs @@ -2,6 +2,14 @@ <html lang="en"> <head> <%- include('partials/head') %> + <style> + .ui.menu { + margin: 0; + } + .ui.table { + margin: 0; + } + </style> </head> <body> @@ -13,7 +21,6 @@ style="border: none; box-shadow: none" > <form class="ui form" method="post" onsubmit="editCitizen(event)"> - <div class="field"> <label>Address</label> <input @@ -54,18 +61,13 @@ <table class="ui selectable table"> <thead> <tr> - <!-- <th>Citizen ID</th> --> <th>First Name</th> - <!-- <th>Middle Name</th> --> <th>Last Name</th> <th>Address</th> <th>Mobile Number</th> <th>Date of Birth</th> <th>Gender</th> <th>Marital Status</th> - <!-- <th>Disabled</th> - <th>Disabled Percentage</th> --> - <!-- <th>Caste</th> --> <th>Village Name</th> <th></th> </tr> @@ -73,20 +75,13 @@ <tbody> <% for(var i=0; i < citizens.length; i++) { %> <tr> - <!-- <td><%= citizens[i].citizen_id %></td> --> <td><%= citizens[i].first_name %></td> - <!-- <td> - <%= citizens[i].middle_name ? citizens[i].middle_name : '-' %> - </td> --> <td><%= citizens[i].last_name %></td> <td><%= citizens[i].address %></td> <td><%= citizens[i].mobile_num %></td> <td><%= citizens[i].dob %></td> <td><%= citizens[i].gender %></td> <td><%= citizens[i].marital_status %></td> - <!-- <td><%= citizens[i].disabled %></td> --> - <!-- <td><%= citizens[i].disbaled_percentage %></td> --> - <!-- <td><%= citizens[i].caste %></td> --> <td><%= citizens[i].village_name %></td> <td> <div class="ui teal buttons"> diff --git a/interface/views/partials/navbar.ejs b/interface/views/partials/navbar.ejs index 440497a..967cbcb 100644 --- a/interface/views/partials/navbar.ejs +++ b/interface/views/partials/navbar.ejs @@ -1,5 +1,5 @@ <div class="ui menu"> - <a class="item"> Home </a> + <a class="item" onclick="route('/')"> Home </a> <div class="ui pointing dropdown link item"> <span class="text">View Data</span> <i class="dropdown icon"></i> |
