Skip to content

Commit

Permalink
Mobile device (#254)
Browse files Browse the repository at this point in the history
* movile-device

* Use Vespa-DB as application name

- HTML title can be Vespa-Watch
- Lowercase name can rename `vespadb`

---------

Co-authored-by: Peter Desmet <peter.desmet@inbo.be>
  • Loading branch information
mainlyIt and peterdesmet authored Nov 24, 2024
1 parent 6eb0d64 commit 8912d64
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>VespaDB</title>
<title>Vespa-Watch</title>
</head>

<body>
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# VespaDB: Asian Hornet Monitoring Application
# Vespa-DB: Asian Hornet Monitoring Application

## Overview

VespaDB is a Django-based application developed for the Vespa-Watch project to monitor and manage the spread of the invasive Asian Hornet (*Vespa velutina*) in Europe. As a part of the effort to protect local fauna and flora, the application enables the collection and management of sightings and eradication efforts. This application serves as a central platform for citizens to report nests, for authorized eradicators to document their actions, and for administrators to manage the data efficiently.
Vespa-DB is a Django-based application developed for the Vespa-Watch project to monitor and manage the spread of the invasive Asian Hornet (*Vespa velutina*) in Europe. As a part of the effort to protect local fauna and flora, the application enables the collection and management of sightings and eradication efforts. This application serves as a central platform for citizens to report nests, for authorized eradicators to document their actions, and for administrators to manage the data efficiently.

## Features

Expand All @@ -20,7 +20,7 @@ VespaDB is a Django-based application developed for the Vespa-Watch project to m

#### load_municipalities Command

This command imports municipality data from a specified Shapefile into the VespaDB database. It is essential for setting up the application's geographic features.
This command imports municipality data from a specified Shapefile into the Vespa-DB database. It is essential for setting up the application's geographic features.

Usage: python manage.py load_municipalities

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>VespaDB</title>
<title>Vespa-Watch</title>
</head>

<body>
Expand Down
11 changes: 5 additions & 6 deletions src/components/NavbarComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@
Vespa-Watch
</a>
<div class="d-flex align-items-center">
<!-- View Mode Toggle -->
<div class="btn-group me-2" role="group">
<router-link to="/map" class="btn btn-outline-dark" active-class="active"
aria-current="page">Map</router-link>
<!-- View Mode Toggle (Hidden on Medium Devices and below)-->
<div class="btn-group me-2 d-none d-md-inline-flex" role="group">
<router-link to="/map" class="btn btn-outline-dark" active-class="active" aria-current="page">Map</router-link>
<router-link to="/table" class="btn btn-outline-dark" active-class="active">Tabel</router-link>
</div>

<!-- Export Toggle (Hidden on Medium Devices and below) -->
<div class="btn-group me-2 d-md-inline-flex">
<div class="btn-group me-2 d-none d-md-inline-flex">
<button type="button" class="btn btn-outline-dark dropdown-toggle" data-bs-toggle="dropdown"
aria-expanded="false">
Export
Expand Down Expand Up @@ -44,7 +43,7 @@
</div>
</nav>
<ModalMessage :title="modalTitle" :message="modalMessage" :isVisible="isModalVisible"
@close="isModalVisible = false" />
@close="isModalVisible = false" />
</template>

<script>
Expand Down
2 changes: 1 addition & 1 deletion vespadb/observations/admin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""VespaDB Observations admin module."""
"""Vespa-DB Observations admin module."""

import json
import logging
Expand Down
2 changes: 1 addition & 1 deletion vespadb/observations/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""vespadb Observations URL Configuration."""
"""Vespa-DB Observations URL Configuration."""

from django.urls import include, path
from rest_framework.routers import DefaultRouter
Expand Down
6 changes: 3 additions & 3 deletions vespadb/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Vespadb urls."""
"""Vespa-DB urls."""

from django.conf import settings
from django.conf.urls.static import static
Expand All @@ -12,9 +12,9 @@

schema_view = get_schema_view(
openapi.Info(
title="VespaDB API Documentation",
title="Vespa-DB API Documentation",
default_version="v1",
description="API documentation for VespaDB. This API allows users to manage observations of Vespa velutina nests.",
description="API documentation for Vespa-DB. This API allows users to manage observations of Vespa velutina nests.",
contact=openapi.Contact(email="vespawatch@inbo.be"),
),
public=True,
Expand Down
4 changes: 2 additions & 2 deletions vespadb/users/apps.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"""VespaDB Users App Configurations."""
"""Vespa-DB Users App Configurations."""

from django.apps import AppConfig


class UsersConfig(AppConfig):
"""VespaDB Users App Configurations."""
"""Vespa-DB Users App Configurations."""

default_auto_field = "django.db.models.BigAutoField"
name = "vespadb.users"

0 comments on commit 8912d64

Please sign in to comment.