MoShow commited on
Commit
ab2024a
·
verified ·
1 Parent(s): e71f0e3

so this should be easy, main filters are hazard types and Countries, sub fikters are the 5c's, Readiness country, response countries, regional/HQ support

Browse files
Files changed (1) hide show
  1. index.html +61 -2
index.html CHANGED
@@ -80,6 +80,66 @@
80
  <h1 class="text-3xl font-bold text-gray-900 mb-2">Response Countries Readiness</h1>
81
  <p class="text-lg text-gray-600">Regional/HQ support</p>
82
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
  <!-- Controls -->
85
  <div class="flex flex-wrap gap-4 justify-between items-center mb-6 no-print">
@@ -113,8 +173,7 @@
113
  </div>
114
  </div>
115
  </div>
116
-
117
- <!-- Table Container -->
118
  <div class="bg-white rounded-xl shadow-lg overflow-hidden">
119
  <div class="table-container max-h-screen overflow-auto">
120
  <table class="min-w-full divide-y divide-gray-200" id="readiness-table">
 
80
  <h1 class="text-3xl font-bold text-gray-900 mb-2">Response Countries Readiness</h1>
81
  <p class="text-lg text-gray-600">Regional/HQ support</p>
82
  </div>
83
+ <!-- Filters -->
84
+ <div class="bg-white rounded-xl shadow-lg p-6 mb-6">
85
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
86
+ <!-- Hazard Type Filter -->
87
+ <div>
88
+ <label class="block text-sm font-medium text-gray-700 mb-2">Hazard Type</label>
89
+ <select id="hazard-filter" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent">
90
+ <option value="all">All Hazards</option>
91
+ <option value="epidemic">Epidemic</option>
92
+ <option value="earthquake">Earthquake</option>
93
+ <option value="flood">Flood</option>
94
+ <option value="cyclone">Cyclone</option>
95
+ <option value="drought">Drought</option>
96
+ <option value="conflict">Conflict</option>
97
+ </select>
98
+ </div>
99
+
100
+ <!-- Country Filter -->
101
+ <div>
102
+ <label class="block text-sm font-medium text-gray-700 mb-2">Country</label>
103
+ <select id="country-filter" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent">
104
+ <option value="all">All Countries</option>
105
+ <option value="drc">DRC</option>
106
+ <option value="tanzania">Tanzania</option>
107
+ <option value="southSudan">South Sudan</option>
108
+ <option value="burundi">Burundi</option>
109
+ <option value="angola">Angola</option>
110
+ <option value="car">CAR</option>
111
+ <option value="uganda">Uganda</option>
112
+ <option value="zambia">Zambia</option>
113
+ <option value="afro">AFRO</option>
114
+ <option value="hq">HQ</option>
115
+ </select>
116
+ </div>
117
+
118
+ <!-- 5Cs Filter -->
119
+ <div>
120
+ <label class="block text-sm font-medium text-gray-700 mb-2">5Cs</label>
121
+ <select id="fivecs-filter" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent">
122
+ <option value="all">All 5Cs</option>
123
+ <option value="coordination">Coordination</option>
124
+ <option value="continuity">Continuity</option>
125
+ <option value="communication">Communication</option>
126
+ <option value="contingency">Contingency</option>
127
+ <option value="capacity">Capacity</option>
128
+ </select>
129
+ </div>
130
+
131
+ <!-- Support Type Filter -->
132
+ <div>
133
+ <label class="block text-sm font-medium text-gray-700 mb-2">Support Type</label>
134
+ <select id="support-filter" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent">
135
+ <option value="all">All Support</option>
136
+ <option value="readiness">Readiness Country</option>
137
+ <option value="response">Response Country</option>
138
+ <option value="regional">Regional/HQ Support</option>
139
+ </select>
140
+ </div>
141
+ </div>
142
+ </div>
143
 
144
  <!-- Controls -->
145
  <div class="flex flex-wrap gap-4 justify-between items-center mb-6 no-print">
 
173
  </div>
174
  </div>
175
  </div>
176
+ <!-- Table Container -->
 
177
  <div class="bg-white rounded-xl shadow-lg overflow-hidden">
178
  <div class="table-container max-h-screen overflow-auto">
179
  <table class="min-w-full divide-y divide-gray-200" id="readiness-table">