0% found this document useful (0 votes)
11 views15 pages

Online Tools File

The document is an HTML template for the BHUVAN GEO-MGNREGA web application, which includes various scripts and stylesheets for functionality and design. It features a login system, session management, and a user interface for generating reports related to the MGNREGA program. The application allows users to select various parameters such as state, district, and financial year to view relevant data and reports.

Uploaded by

aka650309
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views15 pages

Online Tools File

The document is an HTML template for the BHUVAN GEO-MGNREGA web application, which includes various scripts and stylesheets for functionality and design. It features a login system, session management, and a user interface for generating reports related to the MGNREGA program. The application allows users to select various parameters such as state, district, and financial year to view relevant data and reports.

Uploaded by

aka650309
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

<!

DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>BHUVAN GEO-MGNREGA</title>

<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>

<link rel="stylesheet" type="text/css" href="css/style.css"/>

<link rel="stylesheet" type="text/css" href="css/central.css"/>

<link rel="stylesheet" href="css/vue.datepicker.min.css">

<style>

</style>

</head>

<body>

<script>

function kill_session() {

if (window.XMLHttpRequest)

{// code for IE7+, Firefox, Chrome, Opera, Safari

xmlhttp=new XMLHttpRequest();

else

{// code for IE6, IE5

xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");

xmlhttp.open("GET","php/loading.php?q=php/logout.php",false);

xmlhttp.send();

document.getElementById("session").innerHTML=xmlhttp.responseText;

setTimeout(function(){location.reload();},2000);

</script>

1
<body>

<input id="session" value="" style="display:none"/>

<div id="LogoutFrame" style="display: none;" ></div>

<div id="LoginFrame" style="display: none;" ></div>

<script>

function login()

//window.open("https://bhuvan-staging.nrsc.gov.in/events2/apshclws/nrega/dashboard_phase2?login_request=true

","_self");

window.open("https://bhuvan-app2.nrsc.gov.in/mgnrega/nrega_dashboard_phase2?login_request=true","_self");

function kill_session() {

if (window.XMLHttpRequest)

{// code for IE7+, Firefox, Chrome, Opera, Safari

xmlhttp=new XMLHttpRequest();

else

{// code for IE6, IE5

xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");

xmlhttp.open("GET","php/loading.php?q=php/logout.php",false);

xmlhttp.send();

document.getElementById("session").innerHTML=xmlhttp.responseText;

//setTimeout(function(){window.open("https://bhuvan-staging.nrsc.gov.in/events2/apshclws/nrega/dashboard_phas

e2","_self");},2000);

setTimeout(function(){window.open("https://bhuvan-app2.nrsc.gov.in/mgnrega/nrega_dashboard_phase2","_self");}

,2000);

</script>

<script> role='unauthourized';</script><script> login_name='unauthourized';</script><div id="banner"

style='position: relative;'>

<table width="100%" border="0" cellspacing="0" cellpadding="0" height="60px">

<tr>

2
<td width="33%" height="60px" valign="top">

<a href='#'>

<img border=0 src="images/bhuvan_viewer3t3.png" style='float:left; padding-left:5px; vertical-align:

</a>

</td>

<td width="33%" height="50px" style="font-size:26px;color:#298A08;font-family:Calibri"><center><b>BHUVAN

GEO-MGNREGA</b><br> <b><span

style="font-size:20px;color:#DF7401;font-family:Calibri"></span></b></center></td>

<td width="33%" height="60px" valign="top">

<div id="login" style="float:right;width:100%;">

<div id="logindiv" style="float:right; padding-top:2px; vertical-align:middle; color:#FFFFFF; font-family:Arial,

Helvetica, sans-serif; font-size:11px" >

<b>

<a href="#" class="btn btn-info btn-sm" onclick="login();">

<span class="glyphicon glyphicon-log-in"></span> Log in</a>

</b>

</div>

<div id="loggedindiv" style="float:right; padding-top:9px; vertical-align:middle; font-family: Arial; font-size: 12px;

color: darkblue">

<b>

</b>

</div>

</div>

<img border=0 src="images/bhuvan_viewer3t2.png" style='float:right; padding-right:5px; vertical-align:mid

</td>

</tr>

</table>

</div>

<div id="bannerstrip">

<table width='100%' >

<tr bgcolor="#6495ED">

<td width="33%" height="22px">

3
</td>

<td width="33%" height="22px">

</td>

<td width="33%" height="22px" style="text-align:center;">

<!--<a href="GeoMGNREGA.pdf" target="_blank" style="color:white;">Help</a> -->

</td>

</tr>

</table>

</div>

<div id="app" class="container" width="100%">

<div style="width:100%;text-align:center;font-size: 16px;"><span class="bg-warning text-danger"> </span>

</div>

<div id="action_list_div" style="width:100%;height:auto; background-color: #F5F5F5;">

<table id="action_list" width="100%">

<tr>

<td class="text-primary">

<label >Report :</label>

</td>

<td>

<select v-model="selected_central" class="select-style form-control" id="select_central"

:disabled="operation_progress">

<option v-for="option in options_central" v-bind:value="option.value">

{{ option.text }}

</option>

</select>

</td>

<td> </td>

<td class="text-primary" >

</td>

<td>

</td>

<td rowspan="5" style="text-align:center;" :disabled="operation_progress">

4
<a href="#" @click="update_central_ui" :disabled="operation_progress">

<button type="button" class="btn btn-success" ><span class="glyphicon glyphicon-refresh"

style="color:white"></span>&nbsp;&nbsp;Load The Report</button>

</a>

</td>

</tr>

<tr>

<td class="text-primary" >

<label v-show="(selected_central !=='0') && (selected_central!=='8') && (selected_central !=='3' || selected_block

!=='All') ">Stage :</label>

</td>

<td>

<select class="select-style assign form-control" id="stage" v-model="selected_stage"

:disabled="operation_progress" v-show="(selected_central !=='0') && (selected_central!=='8') && (selected_central

!=='3' || selected_block !=='All')">

<option v-for="stage in stages" v-bind:value="stage.value">{{stage.text}}</option>

</select>

</td>

<td> </td>

<td class="text-primary">

<label v-show="(selected_central !=='0') ">Financial Year :</label>

</td>

<td>

<select v-model="selected_fy" class="select-style form-control" id="select_fy" :disabled="operation_progress"

v-show="(selected_central !=='0')">

<option v-for="fyear in fyears" v-bind:value="fyear.financial_year">

{{ fyear.financial_year }}

</option>

</select>

</td>

</tr>

<tr>

<td class="text-primary" >

5
<label >State :</label>

</td>

<td>

<select class="select-style assign form-control" id="state" v-model="selected_state"

:disabled="operation_progress" >

<option v-for="state in states" v-bind:value="state.state_code">{{state.state_name}}</option>

</select>

</td>

<td> </td>

<td class="text-primary">

<label>District :</label>

</td>

<td>

<select class="select-style assign form-control" id="district" v-model="selected_district"

:disabled="operation_progress" >

<option v-for="district in districts" v-bind:value="district.district_code">{{district.district_name}}</option>

</select>

</td>

</tr>

<tr>

<td class="text-primary" >

<label v-show="(selected_central !=='8')">Block :</label>

</td>

<td>

<select class="select-style assign form-control" id="block" v-model="selected_block"

:disabled="operation_progress" v-show="(selected_central !=='8')">

<option v-for="block in blocks" v-bind:value="block.block_code">{{block.block_name}}</option>

</select>

</td>

<td> </td>

<td class="text-primary" >

<label v-show="(selected_central !=='8' && selected_central !=='9')">Panchayat :</label>

</td>

6
<td>

<select class="select-style assign form-control" id="panchayat" v-model="selected_panchayat"

:disabled="operation_progress" v-show="(selected_central !=='8' && selected_central !=='9')">

<option v-for="panchayat in panchayats"

v-bind:value="panchayat.panchayat_code">{{panchayat.panchayat_name}}</option>

</select>

</td>

</tr>

<tr v-show="selected_central ==='4'">

<td class="text-primary">

<label >Asset Category :</label>

</td>

<td >

<select class="select-style assign form-control" id="asset_category" v-model="selected_category"

:disabled="operation_progress" v-show="selected_central ==='4'" >

<option v-for="category in categories"

v-bind:value="category.category_id">{{category.category_name}}</option>

</select>

</td>

<td> </td>

<td class="text-primary">

<label >Asset Sub Category :</label>

</td>

<td>

<select class="select-style assign form-control" id="asset_sub_category" v-model="selected_subcategory"

:disabled="operation_progress" >

<option v-for="subcategory in subcategories"

v-bind:value="subcategory.sub_category_id">{{subcategory.sub_category}}</option>

</select>

</td>

</tr>

<tr v-show="selected_central ==='4'">

<td class="text-primary">

<label >Date Range :</label>

</td>

7
<td width="100%">

<!--show range-->

<mz-datepicker :start-time.sync="startTime" :end-time.sync="endTime" range en

width="100%"></mz-datepicker>

</td>

<td> </td>

<td class="text-primary">

<label >Accuracy greater than(>):</label>

</td>

<td>

<input type="text" size='5' id="accuracy" v-model="accuracy" name="accuracy" class="rows-textbox"

class="form-control"></input>

</td>

</tr>

<tr>

</tr>

</table>

</div>

<div id="time" width="100%">

<label id="clock" width="25%" class="text-primary"> </label>

<label id="report_gen_time" class="bg-warning text-danger" width="75%" style="text-align:center"> </label>

</div>

<!-- registration status report module -->

<v-client-table :data="reg_central_data" :columns="reg_central_columns" :options="reg_central_options"

v-show="selected_central==='0' && selected_state==='All' "></v-client-table>

<v-client-table :data="reg_state_data" :columns="reg_state_columns" :options="reg_state_options"

v-show="selected_central==='0' && selected_state!=='All' && selected_district==='All' "></v-client-table>

<v-client-table :data="reg_district_data" :columns="reg_district_columns" :options="reg_district_options"

v-show="selected_central==='0' && selected_state!=='All' && selected_district!=='All' && selected_block==='All'

"></v-client-table>

<v-client-table :data="reg_block_data" :columns="reg_block_columns" :options="reg_block_options"

v-show="selected_central==='0' && selected_state!=='All' && selected_district!=='All' && selected_block!=='All' &&

selected_panchayat==='All' "></v-client-table>

8
<v-client-table :data="reg_panchayat_data" :columns="reg_panchayat_columns" :options="reg_panchayat_options"

v-show="selected_central==='0' && selected_state!=='All' && selected_district!=='All' && selected_block!=='All' &&

selected_panchayat!=='All' "></v-client-table>

<!-- Geotag Pending for Moderation -->

<v-client-table :data="geotag_pending_data" :columns="geotag_pending_columns"

:options="geotag_s_pending_options" v-show="selected_central==='1' && selected_state==='All' "></v-client-table>

<v-client-table :data="geotag_pending_data" :columns="geotag_pending_columns"

:options="geotag_d_pending_options" v-show="selected_central==='1' && selected_state!=='All' &&

selected_district==='All' "></v-client-table>

<v-client-table :data="geotag_pending_data" :columns="geotag_pending_columns"

:options="geotag_b_pending_options" v-show="selected_central==='1' && selected_state!=='All' &&

selected_district!=='All' && selected_block==='All' "></v-client-table>

<v-client-table :data="geotag_pending_data" :columns="geotag_pending_columns"

:options="geotag_p_pending_options" v-show="selected_central==='1' && selected_state!=='All' &&

selected_district!=='All' && selected_block!=='All' && selected_panchayat==='All'"></v-client-table>

<v-client-table :data="geotag_pending_data" :columns="geotag_pending_p_columns"

:options="geotag_pl_pending_options" v-show="selected_central==='1' && selected_state!=='All' &&

selected_district!=='All' && selected_block!=='All' && selected_panchayat!=='All' "></v-client-table>

<!-- Asset geotagging status -->

<v-client-table :data="asset_status_data" :columns="asset_status_columns" :options="asset_s_pending_options"

v-show="selected_central==='2' && selected_state==='All' "></v-client-table>

<v-client-table :data="asset_status_data" :columns="asset_status_columns" :options="asset_d_pending_options"

v-show="selected_central==='2' && selected_state!=='All' && selected_district==='All' "></v-client-table>

<v-client-table :data="asset_status_data" :columns="asset_status_columns" :options="asset_b_pending_options"

v-show="selected_central==='2' && selected_state!=='All' && selected_district!=='All' && selected_block==='All'

9
"></v-client-table>

<v-client-table :data="asset_status_data" :columns="asset_status_columns" :options="asset_p_pending_options"

v-show="selected_central==='2' && selected_state!=='All' && selected_district!=='All' && selected_block!=='All' &&

selected_panchayat==='All'"></v-client-table>

<v-client-table :data="asset_status_data" :columns="asset_status_p_columns"

:options="asset_pl_pending_options" v-show="selected_central==='2' && selected_state!=='All' &&

selected_district!=='All' && selected_block!=='All' && selected_panchayat!=='All' "></v-client-table>

<!-- MSE Registration status -->

<v-client-table :data="mse_status_data" :columns="mse_status_columns" :options="mse_s_pending_options"

v-show="selected_central==='3' && selected_state==='All' "></v-client-table>

<v-client-table :data="mse_status_data" :columns="mse_status_columns" :options="mse_d_pending_options"

v-show="selected_central==='3' && selected_state!=='All' && selected_district==='All' "></v-client-table>

<v-client-table :data="mse_status_data" :columns="mse_status_columns" :options="mse_b_pending_options"

v-show="selected_central==='3' && selected_state!=='All' && selected_district!=='All' && selected_block==='All'

"></v-client-table>

<v-client-table :data="mse_status_data" :columns="mse_p_status_columns" :options="mse_p_pending_options"

v-show="selected_central==='3' && selected_state!=='All' && selected_district!=='All' && selected_block!=='All' &&

selected_panchayat==='All'"></v-client-table>

<v-client-table :data="mse_status_data" :columns="mse_status_pl_columns" :options="mse_pl_pending_options"

v-show="selected_central==='3' && selected_state!=='All' && selected_district!=='All' && selected_block!=='All' &&

selected_panchayat!=='All' "></v-client-table>

<!-- Accepted Geotags -->

<v-client-table :data="accepted_geotag_status_data" :columns="accepted_geotag_status_columns"

:options="accepted_geotag_status_options" v-show="selected_central==='4' && selected_state==='All'

"></v-client-table>

10
<v-client-table :data="accepted_geotag_status_data" :columns="accepted_geotag_status_columns"

:options="accepted_geotag_status_options" v-show="selected_central==='4' && selected_state!=='All' &&

selected_district==='All' "></v-client-table>

<v-client-table :data="accepted_geotag_status_data" :columns="accepted_geotag_status_columns"

:options="accepted_geotag_status_options" v-show="selected_central==='4' && selected_state!=='All' &&

selected_district!=='All' && selected_block==='All' "></v-client-table>

<v-client-table :data="accepted_geotag_status_data" :columns="accepted_geotag_status_columns"

:options="accepted_geotag_status_options" v-show="selected_central==='4' && selected_state!=='All' &&

selected_district!=='All' && selected_block!=='All' "></v-client-table>

<!--Rejection report -->

<v-client-table :data="rejection_data" :columns="rejection_columns_c" :options="rejection_options_c"

v-show="selected_central==='5' && selected_state==='All' "></v-client-table>

<v-client-table :data="rejection_data" :columns="rejection_columns_s" :options="rejection_options_s"

v-show="selected_central==='5' && selected_state!=='All' && selected_district==='All' "></v-client-table>

<v-client-table :data="rejection_data" :columns="rejection_columns_d" :options="rejection_options_d"

v-show="selected_central==='5' && selected_state!=='All' && selected_district!=='All' &&

selected_block==='All'"></v-client-table>

<v-client-table :data="rejection_data" :columns="rejection_columns_b" :options="rejection_options_b"

v-show="selected_central==='5' && selected_state!=='All' && selected_district!=='All' && selected_block!=='All' &&

selected_panchayat==='All'"></v-client-table>

<v-client-table :data="rejection_data" :columns="rejection_columns_p" :options="rejection_options_p"

v-show="selected_central==='5' && selected_state!=='All' && selected_district!=='All' && selected_block!=='All' &&

selected_panchayat!=='All'"></v-client-table>

<!-- Geotag Accuracy Monitoring -->

<v-client-table :data="geotag_accuracy_data" :columns="geotag_accuracy_columns"

:options="geotag_s_accuracy_options" v-show="selected_central==='6' && selected_state==='All'

11
"></v-client-table>

<v-client-table :data="geotag_accuracy_data" :columns="geotag_accuracy_columns"

:options="geotag_d_accuracy_options" v-show="selected_central==='6' && selected_state!=='All' &&

selected_district==='All' "></v-client-table>

<v-client-table :data="geotag_accuracy_data" :columns="geotag_accuracy_columns"

:options="geotag_b_accuracy_options" v-show="selected_central==='6' && selected_state!=='All' &&

selected_district!=='All' && selected_block==='All' "></v-client-table>

<v-client-table :data="geotag_accuracy_data" :columns="geotag_accuracy_columns"

:options="geotag_p_accuracy_options" v-show="selected_central==='6' && selected_state!=='All' &&

selected_district!=='All' && selected_block!=='All' &&selected_panchayat==='All' "></v-client-table>

<v-client-table :data="geotag_accuracy_data" :columns="geotag_accuracy_p_columns"

:options="geotag_pl_accuracy_options" v-show="selected_central==='6' && selected_state!=='All' &&

selected_district!=='All' && selected_block!=='All' && selected_panchayat!=='All' "></v-client-table>

<!-- Collection Report -->

<v-client-table :data="collection_data" :columns="collection_report_columns_c"

:options="collection_report_options_c" v-show="selected_central==='7' && selected_state==='All'

"></v-client-table>

<v-client-table :data="collection_data" :columns="collection_report_columns_s"

:options="collection_report_options_s" v-show="selected_central==='7' && selected_state!=='All' &&

selected_district==='All' "></v-client-table>

<v-client-table :data="collection_data" :columns="collection_report_columns_d"

:options="collection_report_options_d" v-show="selected_central==='7' && selected_state!=='All' &&

selected_district!=='All' && selected_block==='All' "></v-client-table>

<v-client-table :data="collection_data" :columns="collection_report_columns_b"

:options="collection_report_options_b" v-show="selected_central==='7' && selected_state!=='All' &&

selected_district!=='All' && selected_block!=='All' && selected_panchayat==='All'"></v-client-table>

<v-client-table :data="collection_data" :columns="collection_report_columns_p1"

12
:options="collection_report_options_p1" v-show="selected_central==='7' && selected_state!=='All' &&

selected_district!=='All' && selected_block!=='All' && selected_panchayat!=='All' && (selected_stage=='0' ||

selected_stage=='3' )"></v-client-table>

<v-client-table :data="collection_data" :columns="collection_report_columns_p"

:options="collection_report_options_p" v-show="selected_central==='7' && selected_state!=='All' &&

selected_district!=='All' && selected_block!=='All' && selected_panchayat!=='All' && selected_stage!=='0' &&

selected_stage!=='3' "></v-client-table>

<!-- No MSE -->

<v-client-table :data="no_mse_data" :columns="no_mse_columns_c" :options="no_mse_options_c"

v-show="selected_central==='8' && selected_state==='All' "></v-client-table>

<v-client-table :data="no_mse_data" :columns="no_mse_columns_s" :options="no_mse_options_s"

v-show="selected_central==='8' && selected_state!=='All' && selected_district==='All' "></v-client-table>

<v-client-table :data="no_mse_data" :columns="no_mse_columns" :options="no_mse_options"

v-show="selected_central==='8' && selected_state!=='All' && selected_district!=='All' && selected_block==='All'

"></v-client-table>

<v-client-table :data="no_mse_data" :columns="no_mse_columns" :options="no_mse_options"

v-show="selected_central==='8' && selected_state!=='All' && selected_district!=='All' && selected_block!=='All' &&

selected_panchayat==='All'"></v-client-table>

<v-client-table :data="no_mse_data" :columns="no_mse_columns" :options="no_mse_options"

v-show="selected_central==='8' && selected_state!=='All' && selected_district!=='All' && selected_block!=='All' &&

selected_panchayat!=='All' "></v-client-table>

<!-- No Asset Geotagged -->

<v-client-table :data="no_asset_geotagged_data" :columns="no_asset_geotagged_columns_c"

:options="no_asset_geotagged_options_c" v-show="selected_central==='9' && selected_state==='All'

"></v-client-table>

<v-client-table :data="no_asset_geotagged_data" :columns="no_asset_geotagged_columns_s"

:options="no_asset_geotagged_options_s" v-show="selected_central==='9' && selected_state!=='All' &&

13
selected_district==='All' "></v-client-table>

<v-client-table :data="no_asset_geotagged_data" :columns="no_asset_geotagged_columns_d"

:options="no_asset_geotagged_options_d" v-show="selected_central==='9' && selected_state!=='All' &&

selected_district!=='All' && selected_block==='All' "></v-client-table>

<v-client-table :data="no_asset_geotagged_data" :columns="no_asset_geotagged_columns_b"

:options="no_asset_geotagged_options_b" v-show="selected_central==='9' && selected_state!=='All' &&

selected_district!=='All' && selected_block!=='All' && selected_panchayat==='All'"></v-client-table>

<div id="export" v-show="active_data.length!==0">

<button type="button" class="btn btn-success btn-sm form-control" @click="export_to_excel"><span

class="glyphicon glyphicon-export"></span> Export to excel</button>

</div>

</div>

<div class="mask" ></div>

<script src="js/jquery.js" > </script>

<script src="js/vue.js" > </script>

<script src="js/vue-tables.min.js"></script>

<script type="text/javascript" src="js/vue.datepicker.min.js"></script>

<script src="js/moment.js"></script>

<script type="text/javascript" src="js/xlsx1.full.min.js"></script>

<script type="text/javascript" src="js/Export2Excel.js"></script>

<!-- FileSaver.js is the library of choice for Chrome -->

<script type="text/javascript" src="js/Blob.js"></script>

<script type="text/javascript" src="js/FileSaver.js"></script>

<!-- FileSaver doesn't work in older IE and newer Safari; Downloadify is the flash fallback -->

<script type="text/javascript" src="js/swfobject.js"></script>

<script type="text/javascript" src="js/downloadify.min.js"></script>

<script type="text/javascript" src="js/base64.min.js"></script>

14
<script src="js/report.js"></script>

</body>

</html>

15

You might also like