GeoGateway / geogateway-django-app

Apache License 2.0
0 stars 5 forks source link

Remove openhazards forecast from GeoGateway #215

Open webgisdeveloper opened 2 years ago

webgisdeveloper commented 2 years ago

Steps to disable nowcast tab main.js

//import Nowcast from "./components/Nowcast";
//{name: 'nowcast', path: '/nowcast', component: Nowcast },

url.py

#url(r"^nowcast/", GeoGatewayData.nowcast_plots),

ToolTabs.vue

 <!-- <b-tab><template #title> <span style="font-size:14px"><strong>Nowcast</strong></span></template><b-card-text><router-view></router-view></b-card-text></b-tab> -->
                    // case 4:
                    //     route ='/nowcast';
                    //     break;

also need to update the case number, has too locations

LandingPage.vue

<!--
                <div class="col inner-section">
                <b-button class="btn btn-circle" @click="goToMap('/nowcast')">
                        <i class="fas fa-map"></i>
                    </b-button><br>
                    <span class="feature-title">Nowcast</span><br>
                    <span class="feature-desc">GeoGateway’s Nowcast tab consists of useful tools to evaluate earthquake hazard</span>
                </div>
                -->