Muqriz преди 4 месеца
родител
ревизия
9b80f19f5d
променени са 9 файла, в които са добавени 173 реда и са изтрити 556 реда
  1. Двоични данни
      HSD 11991.pdf
  2. Двоични данни
      HSD_19372.pdf
  3. Двоични данни
      HSD_4638.pdf
  4. 27
    0
      css/app.css
  5. 18
    157
      details/penternakan_hsd_19372.html
  6. 17
    144
      lists/bentong.html
  7. 111
    0
      pdf_pages/hsd_19372.html
  8. 0
    255
      pdf_pages/view_pdf.html
  9. Двоични данни
      test.pdf

Двоични данни
HSD 11991.pdf Целия файл


Двоични данни
HSD_19372.pdf Целия файл


Двоични данни
HSD_4638.pdf Целия файл


+ 27
- 0
css/app.css Целия файл

@@ -74,4 +74,31 @@
74 74
 
75 75
 .hidden {
76 76
     display: none;
77
+}
78
+
79
+html,
80
+body {
81
+    height: 370px;
82
+    padding: 0;
83
+    margin: 0;
84
+}
85
+#map {
86
+    height: 360px;
87
+    width: 300px;
88
+    overflow: hidden;
89
+    float: left;
90
+    border: thin solid #333;
91
+}
92
+#capture {
93
+    height: 360px;
94
+    width: 480px;
95
+    overflow: hidden;
96
+    float: left;
97
+    background-color: #ECECFB;
98
+    border: thin solid #333;
99
+    border-left: none;
100
+}
101
+#pdfViewer {
102
+    width: 100%;
103
+    height: 600px;
77 104
 }

details/detail.html → details/penternakan_hsd_19372.html Целия файл

@@ -5,147 +5,10 @@
5 5
     <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
6 6
     <meta charset="utf-8">
7 7
     <title>KML Click Capture Sample</title>
8
-    <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
9
-    <script src="node_modules/bootstrap/dist/js/bootstrap.min.js" defer></script>
10
-    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
11
-        integrity="sha512-abc123..." crossorigin="anonymous" />
12
-
13
-
14
-
15
-    <style>
16
-        html,
17
-        body {
18
-            height: 370px;
19
-            padding: 0;
20
-            margin: 0;
21
-        }
22
-
23
-        #map {
24
-            height: 360px;
25
-            width: 300px;
26
-            overflow: hidden;
27
-            float: left;
28
-            border: thin solid #333;
29
-        }
30
-
31
-        #capture {
32
-            height: 360px;
33
-            width: 480px;
34
-            overflow: hidden;
35
-            float: left;
36
-            background-color: #ECECFB;
37
-            border: thin solid #333;
38
-            border-left: none;
39
-        }
40
-
41
-        #pdfViewer {
42
-            width: 100%;
43
-            height: 600px;
44
-        }
45
-    </style>
46
-
47
-    <style>
48
-        /* CSS */
49
-        .button-23 {
50
-            background-color: #FFFFFF;
51
-            border: 1px solid #222222;
52
-            border-radius: 8px;
53
-            box-sizing: border-box;
54
-            color: #222222;
55
-            cursor: pointer;
56
-            display: inline-block;
57
-            font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
58
-            font-size: 16px;
59
-            font-weight: 600;
60
-            line-height: 20px;
61
-            margin: 0;
62
-            outline: none;
63
-            padding: 13px 23px;
64
-            position: relative;
65
-            text-align: center;
66
-            text-decoration: none;
67
-            touch-action: manipulation;
68
-            transition: box-shadow .2s, -ms-transform .1s, -webkit-transform .1s, transform .1s;
69
-            user-select: none;
70
-            -webkit-user-select: none;
71
-            width: auto;
72
-        }
73
-
74
-        .button-23:focus-visible {
75
-            box-shadow: #222222 0 0 0 2px, rgba(255, 255, 255, 0.8) 0 0 0 4px;
76
-            transition: box-shadow .2s;
77
-        }
78
-
79
-        .button-23:active {
80
-            background-color: #F7F7F7;
81
-            border-color: #000000;
82
-            transform: scale(.96);
83
-        }
84
-
85
-        .button-23:disabled {
86
-            border-color: #DDDDDD;
87
-            color: #DDDDDD;
88
-            cursor: not-allowed;
89
-            opacity: 1;
90
-        }
91
-
92
-        .map-svg {
93
-            display: block;
94
-            margin: 0 auto;
95
-            filter: drop-shadow(-16px 11px 2px rgba(0, 0, 0, 0.5));
96
-
97
-            a {
98
-                transition: all 1s;
99
-                transform-origin: 50% 50%;
100
-                text-decoration: none;
101
-                filter: drop-shadow(3px 10px 5px rgb(0 0 0 / 0.4));
102
-
103
-                @media only screen and (min-width: 992px) {
104
-
105
-                    polygon,
106
-                    &:hover {
107
-                        cursor: pointer;
108
-                        transform: scale(1.05);
109
-                        filter: drop-shadow(0px 15px 12px rgb(0 0 0 / 0.7));
110
-
111
-                        .st0 {
112
-                            fill: $dark-default;
113
-                        }
114
-                    }
115
-                }
116
-            }
117
-
118
-            .pahang-barat {
119
-                fill: #427bba;
120
-            }
121
-
122
-            .pahang-tengah {
123
-                fill: #144172;
124
-            }
125
-
126
-            .pahang-timur {
127
-                fill: #0c6088;
128
-            }
129
-
130
-            .label-text {
131
-                font-size: 35px;
132
-                fill: white;
133
-                transform: translate(0,
134
-                        3px);
135
-                /* adjust vertical position to centre text */
136
-            }
137
-
138
-            .label-text-cameron {
139
-                font-size: 20px;
140
-                fill: white;
141
-                transform: translate(0,
142
-                        3px);
143
-                /* adjust vertical position to centre text */
144
-            }
145
-
146
-
147
-        }
148
-    </style>
8
+    <link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
9
+    <script src="../node_modules/bootstrap/dist/js/bootstrap.min.js" defer></script>
10
+    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-abc123..." crossorigin="anonymous" />
11
+    <link rel="stylesheet" href="../css/app.css">
149 12
 
150 13
 </head>
151 14
 
@@ -155,9 +18,9 @@
155 18
 
156 19
         <div class=""
157 20
             style="background-color: #1F3F6D; min-height: 50px; display: flex; align-items: center;padding-left: 100px;">
158
-            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="testing.html"><i
21
+            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="../lists/bentong.html"><i
159 22
                         class="fas fa-chevron-left"></i></a></h6>
160
-            <h6 style="color: white;">Jerantut</h6>
23
+            <h6 style="color: white;">HSD 19372</h6>
161 24
         </div>
162 25
 
163 26
         <div class="text-center pt-5"
@@ -174,8 +37,6 @@
174 37
                 <div id="map" style="width: 800px;"></div>
175 38
                 <!-- <div id="capture"></div> -->
176 39
 
177
-
178
-
179 40
             </div>
180 41
         </div>
181 42
 
@@ -187,27 +48,27 @@
187 48
             <div style="display: flex; flex-direction: row;">
188 49
                 <div>
189 50
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Lokasi :</span> <span
190
-                            style="color: #ACACAC;">Gambangs</span></h6>
51
+                            style="color: #ACACAC;">Kampung Ponson</span></h6>
191 52
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Mukim :</span> <span
192
-                            style="color: #ACACAC;">Ulu Lepar</span></h6>
53
+                            style="color: #ACACAC;">Pelangi</span></h6>
193 54
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Daerah :</span> <span
194
-                            style="color: #ACACAC;">Kuantan</span></h6>
55
+                            style="color: #ACACAC;">Bentong</span></h6>
195 56
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Negeri :</span> <span
196
-                            style="color: #ACACAC;">Pahang Darul Makmur</span></h6>
57
+                            style="color: #ACACAC;">Pahang Darul Makmum</span></h6>
197 58
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Skala :</span> <span
198 59
                             style="color: #ACACAC;">Tanpa Skala</span></h6>
199 60
                 </div>
200 61
                 <div style="margin-left: 100px;">
201 62
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">No. Hak Milik :</span>
202
-                        <span style="color: #ACACAC;">HSD 62438</span>
63
+                        <span style="color: #ACACAC;">HSD 19372</span>
203 64
                     </h6>
204
-                    <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Keluasan (MP) :</span>
205
-                        <span style="color: #ACACAC;">607280</span>
65
+                    <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Keluasan (Ha) :</span>
66
+                        <span style="color: #ACACAC;">80.937</span>
206 67
                     </h6>
207
-                    <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Kehunaan :</span> <span
208
-                            style="color: #ACACAC;">Bangunan</span></h6>
209
-                    <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Start Neat :</span>
210
-                        <span style="color: #ACACAC;">Pembangunan Bercampur</span>
68
+                    <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Kegunaan :</span> <span
69
+                            style="color: #ACACAC;">Pertanian</span></h6>
70
+                    <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;">Syarat Nyata :</span>
71
+                        <span style="color: #ACACAC;">Ternakan ayam/itik/burung</span>
211 72
                     </h6>
212 73
                     <h6 class="pt-1" style="text-align: left;"><span style="font-weight: bold;"></span> <span
213 74
                             style="color: #ACACAC;"></span></h6>
@@ -217,7 +78,7 @@
217 78
 
218 79
         <div class="text-center pt-5 pb-5"
219 80
             style="background-color: white; min-height: 50px; display: flex; justify-content: center; align-items: center; padding-left: 100px;">
220
-            <a href="view_pdf.html" class="button-23 mb-2 mr-2"
81
+            <a href="../pdf_pages/hsd_19372.html" class="button-23 mb-2 mr-2"
221 82
                 style="background-color: #1F9027; color: white; border: none;width: 200px;" role="button"
222 83
                 data-toggle="modal" data-target="#exampleModal">View
223 84
                 PDF</a>

+ 17
- 144
lists/bentong.html Целия файл

@@ -19,21 +19,15 @@
19 19
 
20 20
         <div class=""
21 21
             style="background-color: #1F3F6D; min-height: 50px; display: flex; align-items: center;padding-left: 100px;">
22
-            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="index.html"><i
22
+            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="../index.html"><i
23 23
                         class="fas fa-chevron-left"></i></a></h6>
24
-            <h6 style="color: white;">Jerantut</h6>
24
+            <h6 style="color: white;">Bentong</h6>
25 25
         </div>
26 26
 
27 27
         <div class="text-center pt-5"
28 28
             style="background-color: white; min-height: 50px; display: flex; justify-content: center; align-items: center; padding-left: 100px;">
29
-            <button id="pembangun_btn" type="button" class="p-1"
30
-                style="font-weight: 500; border-top: 4px solid #BF3030; border-right: none; border-bottom: none; border-left: none; margin: 0; background-color: transparent;">&emsp;&emsp;Pembangunan&emsp;&emsp;</button>
31 29
             <button id="penternakan_btn" type="button" class="p-1"
32 30
                 style="font-weight: 500; border-top: 4px solid #3B47E0; border-right: none; border-bottom: none; border-left: none; margin: 0; background-color: transparent;">&emsp;&emsp;Penternakan&emsp;&emsp;</button>
33
-            <button id="pertanian_btn" type="button" class="p-1"
34
-                style="font-weight: 500; border-top: 4px solid #E2E236; border-right: none; border-bottom: none; border-left: none; margin: 0; background-color: transparent;">&emsp;&emsp;Pertanian&emsp;&emsp;</button>
35
-            <button id="industri_btn" type="button" class="p-1"
36
-                style="font-weight: 500; border-top: 4px solid #32A740; border-right: none; border-bottom: none; border-left: none; margin: 0; background-color: transparent;">&emsp;&emsp;Industri&emsp;&emsp;</button>
37 31
         </div>
38 32
 
39 33
         <div class="text-center pt-1"
@@ -43,28 +37,18 @@
43 37
                     xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-30 -30 1150 1150"
44 38
                     style="enable-background: new 0 0 1080 1080" xml:space="preserve">
45 39
                     <g>
46
-                        <a href="testing.html" data-area="jerantut">
47
-                            <path id="jerantut" class="pahang-barat" d="M431.5,110.2c5.4,5.9,6.4,12.3,2.5,19.5c-3.7,6.8-4.5,14.3-3.7,21.9h0c6.1,6.2,11.1,12-3.4,12.9
48
-                                        c-4.7,0.3-7.1,4.1-9.8,7.3c-3.3,9.5-3.4,18.6,2.6,27.4c4.8,7.1,2.7,15.3,3.2,23.1c6.7,4.2,9.9,10.2,9.4,18.1c0,0.4-0.1,0.9,0,1.3
49
-                                        c10.5,20.1,4.7,41.2,3.7,62c3.3,0.8,6.6,1.5,9.9,2.3c7.1,1.7,16,3.6,16.1,11.6c0.1,7.7-5.5,14.9-13.2,18.9c-4.1,2.1-8.1,4.6-12.5,6
50
-                                        c-7.9,2.5-18.2,1.9-15.2,15.6c0.5,2.3-6.1,5.6-8,2.5c-6.5-10.5-22-8.4-27-20.7c-2.8-6.9-11.3-6.5-16.5-10.9c-3.7-3.2-7.2-0.5-7,4.7
51
-                                        c0.1,2.9,0.7,5.8,1,8.7c1.1,4.1,2.7,7.5,6.1,10.6c8.4,7.6,7.2,14.4-2.8,19.2c-1.9,0.9-3.9,1.4-5.9,2.1c-21.4,6.9-22.1,9.7-4.7,25.1
52
-                                        c6,5.3,8.7,9.3,0.1,14c-0.5,3.7-0.3,7.7-1.6,11.1c-3.6,9.5,3.7,13.5,8.9,11.1c15.5-7.3,33.5-5.8,48.3-14.7c0,0,0,0,0,0
53
-                                        c0.8-5.5,3.8-8.5,9.4-7.2c5.9,1.4,7.7,5.6,6.9,11.5c-0.6,4.5-0.6,9.1-0.9,13.7c0,0,0,0,0,0c4.4,1,8.2-1.1,12.2-2.3
54
-                                        c3.7-1.1,9.5-2.2,10.5,1.2c4.4,13.6,15.3,8.5,23.6,8.4c9.1-0.2,14.2,3.1,16.9,11.3c0.5,1.6,1.3,3.1,2.2,4.5
55
-                                        c3.7,5.7,4.8,16.6,12.2,15.5c7-1,11.5-10.1,16-16.9c7.6-11.4,9.9-23.7,8.1-37c-0.7-5.4,0.2-10.7,7.1-11c6.5-0.3,11.1,2.7,12.9,9.6
56
-                                        c1,3.9-2,10,5,11.3c0,0,0,0,0,0c7.8-9.7,17.1-3.1,25.9-2.3c0,0,0,0,0,0c9.3-10.9,18.8-4,28.3-1.1c0.9,0,2,0.4,3.1,0.8
57
-                                        c10.6-0.9,20.1,8.8,31.2,3.3c15.2-9,12.5-28.7,24.3-40.1c5.4-5.2,11.4-9.6,16.9-14.7c5.9-5.6,10.6,1.1,13.3,6.4
58
-                                        c4.9,9.6,10.1,7.4,12.2-0.6c4.4-16.9,14.8-26.4,31.2-30.2c1.5-3.4,3.2-6.9,1.2-10.6c-6-11.1-1.7-19.8,6.2-27.7c0,0,0,0,0,0
59
-                                        c-3.8-3.3-7.7-6.5-11.2-10.1c-3.6-3.6-5.9-9.1-1.6-12.4c10.9-8.4,9.7-18.2,6-29.2c-1.3-3.9,1.5-7.3,3.7-10.4
60
-                                        c2.5-3.5,4.2-7.3,3.4-11.8c-1.1-6.5,1.8-11.4,6.7-15.5c2.9-2.4,6.2-4.9,6.9-8.9c2.2-12.1,8.6-17.9,24.1-13.2
61
-                                        c-4.2-8.1-7.4-14.8-3.2-20.1c12.5-15.7,0.6-26.4-7.1-37.8c-5.6-8.2-13-10.7-23.1-5.7c-9.3,4.6-20.1,5.9-28.9-0.9
62
-                                        c-10.7-8.2-17.2-19.4-18.1-33.4c-0.4-6.2-1.4-12,7.1-13.5c4.7-0.8,6.7-3.9,4-8.3c-2.6-4.2-1.9-7.1,2.2-9.4c1.8-1,3.6-1.8,3.3-4.6
63
-                                        c-1.7-15.9-19.5-28.8-35.8-25.6c-3.4,0.7-6.5,1.3-10,0.6c-21.3-4.2-39.7-13-51.6-32.3c-2.2-3.6-5.3-7-9.6-7.8
64
-                                        c-5.9-1.2-10.9-10.1-16.8-4.9c-5.9,5.2-2.8,13.2-0.6,20.2c1.5,4.6,4.9,10,0.1,14.1c-4.1,3.5-10.8,3.2-14.5,0.9
65
-                                        c-10.1-6.3-14.5-0.7-20.1,6.4c-8.4,10.4-13.2,10.3-23,1.2c-2.5-2.3-4.6-5-6.9-7.4c-7.6-7.9-33.2-11.8-42.8-6.8
66
-                                        c-3.7,1.9-2.3,4.5-2.2,7.4c0.2,12.7-10,19.1-17.9,26c-6.4,5.5-13.4-0.5-19.5-4.2c-13.3-8-23.5-3.9-28.1,11c0,0,0,0,0,0
67
-                                        C414.2,86.1,420.9,98.6,431.5,110.2z" />
40
+                        <a href="#" data-area="jerantut">
41
+                            <path id="jerantut" class="pahang-barat" d="M442.5,743.9c-7.8-2.7-7.4-11.3-4.9-12.5c14.5-7.3,7-22,11.8-32.4c2.1-4.5,1.4-8.7,7.8-10.3
42
+                            c5.5-1.4,9.2-6.8,7.6-12.6c-1.3-4.6-5.4-5.9-10-2.5c-0.8,0.6-4-0.2-4.3-1.1c-5.3-13.5-22.2-9.5-29.6-19.6c-1.8-2.5-3.7-1.4-5.4-0.1
43
+                            c-10.7,7.6-23.6,8.6-35.6,12.2c0,0,0,0,0,0c-12.3,7.4-15.5-1-18-10.4c-9.7-10.7-3.6-22.8-1.8-33.8c1.8-10.7-1.8-15.4-11.1-17.1
44
+                            c-8.3-1.5-12.3-5.1-12.4-14.2c-0.1-12.6-7.7-18.9-20.4-19c0,0,0,0,0,0c-0.8-0.3-1.6-0.6-2.4-0.8c-5.7-1-10.3-2-14-3.3
45
+                            c0.4,0.2,0.8,0.4,1.3,0.6c-1.5-0.2-2.9-0.8-4.2-1.7c-9.3-4.3-11.8-11.8-14.1-29.2c-0.3-2-1.4-4-2.1-5.9c0,0,0,0,0,0
46
+                            c-3.5-8.3-11.4-6.4-17.9-7.7c0,0,0,0,0,0c0,0,0,0,0,0c-1,0.1-2,0.1-3,0.2c-1.2,8.2-9,9.4-14.1,9.6c-8.8,0.3-13.6,5.3-18.8,10.5
47
+                            c0,0,0,0,0,0c0.1,1.7,0.5,3.5,0.1,5.1c-2.9,10.8,1.6,24-13.7,30.8c-9.7,4.3-10.3,17.9-5.6,28c4.6,9.8,12.9,22,4.5,30.7
48
+                            c-10.8,11.1-9.7,18.2-0.4,27.9c3.5,3.6,6.3,8,8.6,12.5c5.8,11.3,16.2,17.2,26.7,22.5c8.6,4.3,18.9,5.9,27.4,1.8
49
+                            c13.6-6.6,23-4.5,29.3,9.7c2.5,5.8,6.4,9.3,12.6,8.6c15-1.9,21.6,4.7,23.2,19.4c0.8,7.7,4.4,12.6,13,4.3
50
+                            c11.7-11.4,22.6-11,34.6-0.8c3.4,2.9,7.3,4.2,11.4,5.4c12.6,3.8,25.2,7.3,37.7,11.3c4.3,1.4,8.2,2,12-0.9
51
+                            C454.9,750.5,448.9,746.1,442.5,743.9z" />
68 52
                         </a>
69 53
                     </g>
70 54
                 </svg>
@@ -73,39 +57,7 @@
73 57
             </div>
74 58
         </div>
75 59
 
76
-
77
-        <div id="pembangun_plot" class="content-div">
78
-            <div class="text-center pt-5"
79
-                style="background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px;margin-top: 250px;">
80
-                <h6>Pembangunan</h6><br>
81
-
82
-            </div>
83
-            <div class="text-center pt-2 text-nowrap flex-wrap"
84
-                style="background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px; margin-top: 0;gap: 10px;padding-right: 100px;">
85
-                <a href="detail.html" style="border: 1px solid #209028; color: #209028;" class="button-23 mb-2"
86
-                    role="button">HSD 23453</a>
87
-                <a href="detail.html" class="button-23 mb-2 mr-2"
88
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
89
-                <a href="detail.html" class="button-23 mb-2 mr-2"
90
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
91
-                <a href="detail.html" class="button-23 mb-2 mr-2"
92
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
93
-                <a href="detail.html" class="button-23 mb-2 mr-2"
94
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
95
-                <a href="detail.html" class="button-23 mb-2 mr-2"
96
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
97
-                <a href="detail.html" class="button-23 mb-2 mr-2"
98
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
99
-                <a href="detail.html" class="button-23 mb-2 mr-2"
100
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
101
-                <a href="detail.html" class="button-23 mb-2 mr-2"
102
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
103
-                <a href="detail.html" class="button-23 mb-2"
104
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
105
-            </div>
106
-        </div>
107
-
108
-        <div id="penternakan_plot" class="hidden content-div">
60
+        <div id="penternakan_plot" class="content-div">
109 61
             <div class="text-center pt-5"
110 62
                 style="background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px;margin-top: 250px;">
111 63
                 <h6>Penternakan</h6><br>
@@ -113,90 +65,11 @@
113 65
             </div>
114 66
             <div class="text-center pt-2 text-nowrap flex-wrap"
115 67
                 style="background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px; margin-top: 0;gap: 10px;padding-right: 100px;">
116
-                <a href="detail.html" style="border: 1px solid #209028; color: #209028;" class="button-23 mb-2"
117
-                    role="button">HSD 23453</a>
118
-                <a href="detail.html" class="button-23 mb-2 mr-2"
119
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
120
-                <a href="detail.html" class="button-23 mb-2 mr-2"
121
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
122
-                <a href="detail.html" class="button-23 mb-2 mr-2"
123
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
124
-                <a href="detail.html" class="button-23 mb-2 mr-2"
125
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
126
-                <a href="detail.html" class="button-23 mb-2 mr-2"
127
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
128
-                <a href="detail.html" class="button-23 mb-2 mr-2"
129
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
130
-                <a href="detail.html" class="button-23 mb-2 mr-2"
131
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
132
-                <a href="detail.html" class="button-23 mb-2 mr-2"
133
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
134
-                <a href="detail.html" class="button-23 mb-2"
135
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
136
-            </div>
137
-        </div>
138
-
139
-        <div id="industri_plot" class="hidden content-div">
140
-            <div class="text-center pt-5"
141
-                style="background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px;margin-top: 250px;">
142
-                <h6>Industri</h6><br>
143
-
144
-            </div>
145
-            <div class="text-center pt-2 flex-wrap"
146
-                style="background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px; margin-top: 0;gap: 10px;padding-right: 100px;">
147
-                <a href="detail.html" style="border: 1px solid #209028; color: #209028;" class="button-23 mb-2"
148
-                    role="button">HSD 23453</a>
149
-                <a href="detail.html" class="button-23 mb-2 mr-2"
150
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23sss453</a>
151
-                <a href="detail.html" class="button-23 mb-2 mr-2"
152
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
153
-                <a href="detail.html" class="button-23 mb-2 mr-2"
154
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
155
-                <a href="detail.html" class="button-23 mb-2 mr-2"
156
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
157
-                <a href="detail.html" class="button-23 mb-2 mr-2"
158
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
159
-                <a href="detail.html" class="button-23 mb-2 mr-2"
160
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
161
-                <a href="detail.html" class="button-23 mb-2 mr-2"
162
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
163
-                <a href="detail.html" class="button-23 mb-2 mr-2"
164
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
165
-                <a href="detail.html" class="button-23 mb-2"
166
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
68
+                <a href="../details/penternakan_hsd_19372.html" class="button-23 mb-2 mr-2"
69
+                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 19372</a>
167 70
             </div>
168 71
         </div>
169 72
 
170
-        <div id="pertanian_plot" class="hidden content-div">
171
-            <div class="text-center pt-5"
172
-                style="background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px;margin-top: 250px;">
173
-                <h6>Pertanian</h6><br>
174
-
175
-            </div>
176
-            <div class="text-center pt-2 text-nowrap flex-wrap"
177
-                style="background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px; margin-top: 0;gap: 10px;padding-right: 100px;">
178
-                <a href="detail.html" style="border: 1px solid #209028; color: #209028;" class="button-23 mb-2"
179
-                    role="button">HSD 23453</a>
180
-                <a href="detail.html" class="button-23 mb-2 mr-2"
181
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
182
-                <a href="detail.html" class="button-23 mb-2 mr-2"
183
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
184
-                <a href="detail.html" class="button-23 mb-2 mr-2"
185
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
186
-                <a href="detail.html" class="button-23 mb-2 mr-2"
187
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
188
-                <a href="detail.html" class="button-23 mb-2 mr-2"
189
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
190
-                <a href="detail.html" class="button-23 mb-2 mr-2"
191
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
192
-                <a href="detail.html" class="button-23 mb-2 mr-2"
193
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
194
-                <a href="detail.html" class="button-23 mb-2 mr-2"
195
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
196
-                <a href="detail.html" class="button-23 mb-2"
197
-                    style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
198
-            </div>
199
-        </div>
200 73
 
201 74
     </section>
202 75
 

+ 111
- 0
pdf_pages/hsd_19372.html Целия файл

@@ -0,0 +1,111 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
6
+    <meta charset="utf-8">
7
+    <title>KML Click Capture Sample</title>
8
+    <link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
9
+    <script src="../node_modules/bootstrap/dist/js/bootstrap.min.js" defer></script>
10
+    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-abc123..." crossorigin="anonymous" />
11
+    <link rel="stylesheet" href="../css/app.css">
12
+
13
+</head>
14
+
15
+<body>
16
+
17
+    <section class="section" style="max-height: 100vh;">
18
+
19
+        <div class=""
20
+            style="background-color: #1F3F6D; min-height: 50px; display: flex; align-items: center;padding-left: 100px;">
21
+            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="../details/penternakan_hsd_19372.html"><i
22
+                        class="fas fa-chevron-left"></i></a></h6>
23
+            <h6 style="color: white;">HSD 19372</h6>
24
+        </div>
25
+
26
+        <!-- <div class="text-center pt-5"
27
+            style="background-color: white; min-height: 50px; display: flex; justify-content: center; align-items: center; padding-left: 100px;">
28
+            <h5 style="font-weight: 500;">Perbadanan Setiausaha Kejaraan Pahang</h5>
29
+
30
+        </div> -->
31
+
32
+        <div class="text-center pt-1 pb-5"
33
+            style="background-color: white;display: flex; justify-content: center; align-items: center;margin-left: -150px;">
34
+            <div class="pt-5 pb-5" style="width: 600px;height: 100px;">
35
+                <!-- <img style="border-radius: 20px;" src="image.png" alt=""> -->
36
+
37
+                <!-- <div id="capture"></div> -->
38
+                <div id="pdfViewer"></div>
39
+
40
+
41
+
42
+            </div>
43
+        </div>
44
+
45
+
46
+        <script src="../js/jquery-3.7.1.js" defer></script>
47
+
48
+        <script src="../js/pdfjs-viewer.js" defer></script>
49
+        <script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.min.js"
50
+            integrity="sha512-Z8CqofpIcnJN80feS2uccz+pXWgZzeKxDsDNMD/dJ6997/LSRY+W4NmEt9acwR+Gt9OHN0kkI1CTianCwoqcjQ=="
51
+            crossorigin="anonymous" referrerpolicy="no-referrer" defer></script>
52
+
53
+    </section>
54
+
55
+
56
+    <!-- <div id="map"></div> -->
57
+
58
+    <script>
59
+        var map;
60
+        var src = 'https://file.io/t3IwR1hlxwkZ';
61
+
62
+        function initMap() {
63
+            map = new google.maps.Map(document.getElementById('map'), {
64
+                center: new google.maps.LatLng(-19.257753, 146.823688),
65
+                zoom: 2,
66
+                mapTypeId: 'satellite'
67
+            });
68
+
69
+            var kmlLayer = new google.maps.KmlLayer(src, {
70
+                suppressInfoWindows: true,
71
+                preserveViewport: false,
72
+                map: map
73
+            });
74
+        }
75
+
76
+        document.addEventListener('DOMContentLoaded', () => {
77
+            // PDF.js script to render PDF
78
+            const pdfUrl = '../HSD_19372.pdf'; // Replace with your PDF URL
79
+            const pdfjsLib = window['pdfjs-dist/build/pdf'];
80
+            pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.worker.min.js';
81
+
82
+            pdfjsLib.getDocument(pdfUrl).promise.then(function (pdf) {
83
+                pdf.getPage(1).then(function (page) {
84
+                    const scale = 1.5;
85
+                    const viewport = page.getViewport({ scale });
86
+
87
+                    const canvas = document.createElement('canvas');
88
+                    const context = canvas.getContext('2d');
89
+                    canvas.height = viewport.height;
90
+                    canvas.width = viewport.width;
91
+
92
+                    const renderContext = {
93
+                        canvasContext: context,
94
+                        viewport: viewport
95
+                    };
96
+
97
+                    page.render(renderContext);
98
+                    document.getElementById('pdfViewer').appendChild(canvas);
99
+                });
100
+            });
101
+
102
+        })
103
+
104
+    </script>
105
+    <script async
106
+        src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCj5eAmQOg6IhdABVPCBT6ubZ3Yj_IWejI&callback=initMap">
107
+        </script>
108
+
109
+</body>
110
+
111
+</html>

+ 0
- 255
pdf_pages/view_pdf.html Целия файл

@@ -1,255 +0,0 @@
1
-<!DOCTYPE html>
2
-<html>
3
-
4
-<head>
5
-    <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
6
-    <meta charset="utf-8">
7
-    <title>KML Click Capture Sample</title>
8
-    <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
9
-    <script src="node_modules/bootstrap/dist/js/bootstrap.min.js" defer></script>
10
-    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
11
-        integrity="sha512-abc123..." crossorigin="anonymous" />
12
-
13
-
14
-
15
-    <style>
16
-        html,
17
-        body {
18
-            height: 370px;
19
-            padding: 0;
20
-            margin: 0;
21
-        }
22
-
23
-        #map {
24
-            height: 360px;
25
-            width: 300px;
26
-            overflow: hidden;
27
-            float: left;
28
-            border: thin solid #333;
29
-        }
30
-
31
-        #capture {
32
-            height: 360px;
33
-            width: 480px;
34
-            overflow: hidden;
35
-            float: left;
36
-            background-color: #ECECFB;
37
-            border: thin solid #333;
38
-            border-left: none;
39
-        }
40
-
41
-        #pdfViewer {
42
-            width: 100%;
43
-            height: 600px;
44
-        }
45
-    </style>
46
-
47
-    <style>
48
-        /* CSS */
49
-        .button-23 {
50
-            background-color: #FFFFFF;
51
-            border: 1px solid #222222;
52
-            border-radius: 8px;
53
-            box-sizing: border-box;
54
-            color: #222222;
55
-            cursor: pointer;
56
-            display: inline-block;
57
-            font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
58
-            font-size: 16px;
59
-            font-weight: 600;
60
-            line-height: 20px;
61
-            margin: 0;
62
-            outline: none;
63
-            padding: 13px 23px;
64
-            position: relative;
65
-            text-align: center;
66
-            text-decoration: none;
67
-            touch-action: manipulation;
68
-            transition: box-shadow .2s, -ms-transform .1s, -webkit-transform .1s, transform .1s;
69
-            user-select: none;
70
-            -webkit-user-select: none;
71
-            width: auto;
72
-        }
73
-
74
-        .button-23:focus-visible {
75
-            box-shadow: #222222 0 0 0 2px, rgba(255, 255, 255, 0.8) 0 0 0 4px;
76
-            transition: box-shadow .2s;
77
-        }
78
-
79
-        .button-23:active {
80
-            background-color: #F7F7F7;
81
-            border-color: #000000;
82
-            transform: scale(.96);
83
-        }
84
-
85
-        .button-23:disabled {
86
-            border-color: #DDDDDD;
87
-            color: #DDDDDD;
88
-            cursor: not-allowed;
89
-            opacity: 1;
90
-        }
91
-
92
-        .map-svg {
93
-            display: block;
94
-            margin: 0 auto;
95
-            filter: drop-shadow(-16px 11px 2px rgba(0, 0, 0, 0.5));
96
-
97
-            a {
98
-                transition: all 1s;
99
-                transform-origin: 50% 50%;
100
-                text-decoration: none;
101
-                filter: drop-shadow(3px 10px 5px rgb(0 0 0 / 0.4));
102
-
103
-                @media only screen and (min-width: 992px) {
104
-
105
-                    polygon,
106
-                    &:hover {
107
-                        cursor: pointer;
108
-                        transform: scale(1.05);
109
-                        filter: drop-shadow(0px 15px 12px rgb(0 0 0 / 0.7));
110
-
111
-                        .st0 {
112
-                            fill: $dark-default;
113
-                        }
114
-                    }
115
-                }
116
-            }
117
-
118
-            .pahang-barat {
119
-                fill: #427bba;
120
-            }
121
-
122
-            .pahang-tengah {
123
-                fill: #144172;
124
-            }
125
-
126
-            .pahang-timur {
127
-                fill: #0c6088;
128
-            }
129
-
130
-            .label-text {
131
-                font-size: 35px;
132
-                fill: white;
133
-                transform: translate(0,
134
-                        3px);
135
-                /* adjust vertical position to centre text */
136
-            }
137
-
138
-            .label-text-cameron {
139
-                font-size: 20px;
140
-                fill: white;
141
-                transform: translate(0,
142
-                        3px);
143
-                /* adjust vertical position to centre text */
144
-            }
145
-
146
-
147
-        }
148
-    </style>
149
-
150
-</head>
151
-
152
-<body>
153
-
154
-    <section class="section" style="max-height: 100vh;">
155
-
156
-        <div class=""
157
-            style="background-color: #1F3F6D; min-height: 50px; display: flex; align-items: center;padding-left: 100px;">
158
-            <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="detail.html"><i
159
-                        class="fas fa-chevron-left"></i></a></h6>
160
-            <h6 style="color: white;">Jerantut</h6>
161
-        </div>
162
-
163
-        <!-- <div class="text-center pt-5"
164
-            style="background-color: white; min-height: 50px; display: flex; justify-content: center; align-items: center; padding-left: 100px;">
165
-            <h5 style="font-weight: 500;">Perbadanan Setiausaha Kejaraan Pahang</h5>
166
-
167
-        </div> -->
168
-
169
-        <div class="text-center pt-1 pb-5"
170
-            style="background-color: white;display: flex; justify-content: center; align-items: center;margin-left: -150px;">
171
-            <div class="pt-5 pb-5" style="width: 600px;height: 100px;">
172
-                <!-- <img style="border-radius: 20px;" src="image.png" alt=""> -->
173
-
174
-                <!-- <div id="capture"></div> -->
175
-                <div id="pdfViewer"></div>
176
-
177
-
178
-
179
-            </div>
180
-        </div>
181
-
182
-
183
-
184
-
185
-        
186
-
187
-        
188
-
189
-
190
-        <script src="js/jquery-3.7.1.js" defer></script>
191
-
192
-        <script src="js/pdfjs-viewer.js" defer></script>
193
-        <script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.min.js"
194
-            integrity="sha512-Z8CqofpIcnJN80feS2uccz+pXWgZzeKxDsDNMD/dJ6997/LSRY+W4NmEt9acwR+Gt9OHN0kkI1CTianCwoqcjQ=="
195
-            crossorigin="anonymous" referrerpolicy="no-referrer" defer></script>
196
-
197
-    </section>
198
-
199
-
200
-    <!-- <div id="map"></div> -->
201
-
202
-    <script>
203
-        var map;
204
-        var src = 'https://file.io/t3IwR1hlxwkZ';
205
-
206
-        function initMap() {
207
-            map = new google.maps.Map(document.getElementById('map'), {
208
-                center: new google.maps.LatLng(-19.257753, 146.823688),
209
-                zoom: 2,
210
-                mapTypeId: 'satellite'
211
-            });
212
-
213
-            var kmlLayer = new google.maps.KmlLayer(src, {
214
-                suppressInfoWindows: true,
215
-                preserveViewport: false,
216
-                map: map
217
-            });
218
-        }
219
-
220
-        document.addEventListener('DOMContentLoaded', () => {
221
-            // PDF.js script to render PDF
222
-            const pdfUrl = './HSD 11991.pdf'; // Replace with your PDF URL
223
-            const pdfjsLib = window['pdfjs-dist/build/pdf'];
224
-            pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.worker.min.js';
225
-
226
-            pdfjsLib.getDocument(pdfUrl).promise.then(function (pdf) {
227
-                pdf.getPage(1).then(function (page) {
228
-                    const scale = 1.5;
229
-                    const viewport = page.getViewport({ scale });
230
-
231
-                    const canvas = document.createElement('canvas');
232
-                    const context = canvas.getContext('2d');
233
-                    canvas.height = viewport.height;
234
-                    canvas.width = viewport.width;
235
-
236
-                    const renderContext = {
237
-                        canvasContext: context,
238
-                        viewport: viewport
239
-                    };
240
-
241
-                    page.render(renderContext);
242
-                    document.getElementById('pdfViewer').appendChild(canvas);
243
-                });
244
-            });
245
-
246
-        })
247
-
248
-    </script>
249
-    <script async
250
-        src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCj5eAmQOg6IhdABVPCBT6ubZ3Yj_IWejI&callback=initMap">
251
-        </script>
252
-
253
-</body>
254
-
255
-</html>

Двоични данни
test.pdf Целия файл


Loading…
Отказ
Запис