Pretty all the things I missed
My laptop didn't have lefthook running. Oops.
This commit is contained in:
parent
f60bde7fd9
commit
4bbfbdb9e6
30 changed files with 490 additions and 487 deletions
|
|
@ -271,7 +271,7 @@ function updateMap() {
|
|||
location: {
|
||||
lng: loc.longitude,
|
||||
lat: loc.latitude,
|
||||
}
|
||||
},
|
||||
},
|
||||
];
|
||||
console.log("markers now", mapMarkers.value);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<template>
|
||||
<p>No idea where you wanted to go with that one.</p>
|
||||
<p>No idea where you wanted to go with that one.</p>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
<style scoped>
|
||||
.login-container {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.login-box {
|
||||
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.login-form-section {
|
||||
padding: 40px;
|
||||
}
|
||||
.product-info-section {
|
||||
padding: 40px;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
.login-header {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.login-container {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.login-box {
|
||||
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.login-form-section {
|
||||
padding: 40px;
|
||||
}
|
||||
.product-info-section {
|
||||
padding: 40px;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
.login-header {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
|
|
@ -61,7 +61,6 @@
|
|||
</div>
|
||||
-->
|
||||
|
||||
|
||||
<div class="d-grid gap-2">
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -167,10 +167,7 @@
|
|||
available to Nidus
|
||||
</p>
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<a
|
||||
class="btn btn-outline-warning"
|
||||
href="/configuration/upload"
|
||||
>
|
||||
<a class="btn btn-outline-warning" href="/configuration/upload">
|
||||
Manage Uploads
|
||||
<i class="bi bi-arrow-right ms-1"></i>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@
|
|||
</p>
|
||||
<RouterLink to="/configuration/upload/pool">
|
||||
<button class="btn btn-primary">
|
||||
<i class="bi bi-upload me-2"></i>Upload Green Pool Data</button
|
||||
>
|
||||
<i class="bi bi-upload me-2"></i>Upload Green Pool Data
|
||||
</button>
|
||||
</RouterLink>
|
||||
</div>
|
||||
<div class="card-footer bg-white text-muted">
|
||||
|
|
@ -134,24 +134,24 @@
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="upload in uploads">
|
||||
<td><TimeRelative :time="upload.created"/></td>
|
||||
<td>{{upload.type}}</td>
|
||||
<td>{{upload.filename}}</td>
|
||||
<td>
|
||||
<span class="badge" :class="upload.status"
|
||||
>{{upload.status}}</span
|
||||
>
|
||||
</td>
|
||||
<td>{{upload.record_count}} entries</td>
|
||||
<td>
|
||||
<a
|
||||
class="btn btn-sm btn-outline-primary"
|
||||
:href="`/configuration/upload/${upload.id}`"
|
||||
>View</a
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-for="upload in uploads">
|
||||
<td><TimeRelative :time="upload.created" /></td>
|
||||
<td>{{ upload.type }}</td>
|
||||
<td>{{ upload.filename }}</td>
|
||||
<td>
|
||||
<span class="badge" :class="upload.status">{{
|
||||
upload.status
|
||||
}}</span>
|
||||
</td>
|
||||
<td>{{ upload.record_count }} entries</td>
|
||||
<td>
|
||||
<a
|
||||
class="btn btn-sm btn-outline-primary"
|
||||
:href="`/configuration/upload/${upload.id}`"
|
||||
>View</a
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
<style scoped>
|
||||
.upload-card {
|
||||
transition:
|
||||
transform 0.2s,
|
||||
box-shadow 0.2s;
|
||||
cursor: pointer;
|
||||
height: 100%;
|
||||
}
|
||||
.upload-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.card-icon {
|
||||
font-size: 3rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
</style>
|
||||
<style scoped>
|
||||
.upload-card {
|
||||
transition:
|
||||
transform 0.2s,
|
||||
box-shadow 0.2s;
|
||||
cursor: pointer;
|
||||
height: 100%;
|
||||
}
|
||||
.upload-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.card-icon {
|
||||
font-size: 3rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<div class="container py-5">
|
||||
<div class="row mb-4">
|
||||
|
|
@ -50,12 +50,9 @@
|
|||
<i class="bi bi-filetype-csv me-1"></i> CSV Format
|
||||
</span>
|
||||
</div>
|
||||
<RouterLink
|
||||
to="/configuration/upload/pool/flyover"
|
||||
>
|
||||
<button
|
||||
class="btn btn-primary btn-lg w-100">
|
||||
<i class="bi bi-upload me-2"></i>Let's do this
|
||||
<RouterLink to="/configuration/upload/pool/flyover">
|
||||
<button class="btn btn-primary btn-lg w-100">
|
||||
<i class="bi bi-upload me-2"></i>Let's do this
|
||||
</button>
|
||||
</RouterLink>
|
||||
</div>
|
||||
|
|
@ -85,11 +82,8 @@
|
|||
<i class="bi bi-filetype-csv me-1"></i> CSV Format
|
||||
</span>
|
||||
</div>
|
||||
<RouterLink
|
||||
to="/configuration/upload/pool/custom"
|
||||
>
|
||||
<button
|
||||
class="btn btn-success btn-lg w-100">
|
||||
<RouterLink to="/configuration/upload/pool/custom">
|
||||
<button class="btn btn-success btn-lg w-100">
|
||||
<i class="bi bi-upload me-2"></i>Pick me
|
||||
</button>
|
||||
</RouterLink>
|
||||
|
|
|
|||
|
|
@ -82,10 +82,11 @@
|
|||
</div>
|
||||
<div class="card-body">
|
||||
<CSVUpload
|
||||
upload-url="/api/upload/pool/flyover"
|
||||
upload-url="/api/upload/pool/flyover"
|
||||
@doError="onError"
|
||||
@doFileSelected="onFileSelected"
|
||||
@doSuccess="onUploadSuccess" />
|
||||
@doSuccess="onUploadSuccess"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue