diff options
Diffstat (limited to 'interface/views/citizens.ejs')
| -rw-r--r-- | interface/views/citizens.ejs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/interface/views/citizens.ejs b/interface/views/citizens.ejs index 2cb4ecf..5513bc3 100644 --- a/interface/views/citizens.ejs +++ b/interface/views/citizens.ejs @@ -72,7 +72,7 @@ <%- include('partials/navbar') %> <!-- Drop down for selecting limit --> - + <% if(citizens.length){ %> <div class="ui container"> <div class="ui floating labeled icon dropdown button"> <i class="list icon"></i> @@ -85,7 +85,11 @@ </div> </div> </div> - + <% } %> + <% if(!citizens.length){ %> + <h1 style="text-align: center;">No Data Found</h1> + <% } %> + <% if(citizens.length){ %> <div class="scrollY"> <table class="ui selectable table"> <thead> @@ -154,6 +158,7 @@ </tfoot> </table> </div> + <% } %> </body> <%- include('partials/scripts') %> <script> |
