-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
112 lines (95 loc) · 3.36 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>
<!-- Basic Page Needs
================================================== -->
<meta charset="utf-8">
<title>Fave your MP :)</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Mobile Specific Metas
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- CSS
================================================== -->
<link rel="stylesheet" href="stylesheets/base.css">
<link rel="stylesheet" href="stylesheets/skeleton.css">
<link rel="stylesheet" href="stylesheets/layout.css">
<link rel="stylesheet" href="stylesheets/style.css">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Favicons
================================================== -->
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
<script src="js/index.js" type="text/javascript"></script>
</head>
<body>
<!-- Primary Page Layout
================================================== -->
<!-- Delete everything in this .container and get started on your own site! -->
<div class="distance"></div>
<div class="container">
<div class="boundary clearfix content">
<img src="images/placeholder.png" alt="MP's Photograph" id="photograph" class="clearfix">
<div id="separator" class="clearfix"></div>
<div class="indicator clearfix"></div>
<div class="Primary clearfix">Insert most relevant data here.</div>
<div class="Secondary clearfix">
<p>Insert php generated content here.</p>
</div>
<ul>
<li>
<!--
<?php
function ul_li_tree($JSON_Dump_from_DataWeave)
{
$out= '<ul>';
foreach ($JSON_Dump_from_DataWeave as $key => $value)
{
$out.= '<li>';
if (is_array($value)){
$out.= $key . ul_li_tree($value);
}
else{
$out.= $value;
}
$out.= '</li>';
}
$out.= '</ul>';
return $out;
}
/*
OR, Change the following into a list :)
Use the 'Keys' only.
"State": "Andhra Pradesh",
"MP_Name": "Rathod Ramesh",
"District": "ADILABAD (ST)",
"Entitlement_of_Constituency": "9",
"Released_by_government_of_India": "6.5",
"Amount_available_with_interest": "6.54",
"Amount_recommended": "4.05",
"Amount_sanctioned": "4.05",
"Expenditure_incurred": "3.33",
"Percent_of_utilisation_over_released": "51.23",
"Unspent_balance": "3.21",
"Currency": "INR",
"Units": "Crore"
*/
?>
-->
</li>
</ul>
</div>
</div>
</div><!-- container -->
<!-- End Document
================================================== -->
</body>
</html>