-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5656596
commit 5d75d5b
Showing
25 changed files
with
424 additions
and
44 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
<template> | ||
<div id="app"> | ||
<router-view/> | ||
</div> | ||
<v-app id="app"> | ||
<router-view/> | ||
</v-app> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'App' | ||
} | ||
</script> | ||
name: 'App', | ||
<style lang="scss"> | ||
@import "assets/sass/app"; | ||
</style> | ||
components: { | ||
}, | ||
data: () => ({ | ||
// | ||
}), | ||
}; | ||
</script> | ||
¡ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<template> | ||
<v-alert prominent type="error" dismissible> | ||
<v-row align="center"> | ||
<v-col class="grow"><b>Alerta</b> Alta temperatura.</v-col> | ||
<v-col class="shrink"> | ||
</v-col> | ||
</v-row> | ||
</v-alert> | ||
</template> | ||
<script> | ||
export default { | ||
name: 'Alerts', | ||
data(){ | ||
return{ | ||
} | ||
}, | ||
mounted () { | ||
this.set_data() | ||
}, | ||
methods:{ | ||
set_data(){ | ||
this.sockets.subscribe('ecuAlerts', (data) => { | ||
this.ecu = data; | ||
}) | ||
} | ||
} | ||
} | ||
</script> | ||
<style scoped> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,52 @@ | ||
<template> | ||
<div> | ||
</div> | ||
<v-footer absolute class="font-weight-medium"> | ||
<v-spacer></v-spacer> | ||
<v-bottom-sheet v-model="sheet"> | ||
<template v-slot:activator="{ on }"> | ||
<v-btn class="ma-2" color="red" dark v-on="on"> | ||
<v-icon dark>mdi-wrench</v-icon> | ||
</v-btn> | ||
</template> | ||
<v-sheet dark class="text-center" height="200px"> | ||
<v-btn class="mt-6" text color="red" @click="sheet = !sheet">Cerrar</v-btn> | ||
<div> | ||
<b-row> | ||
<b-col> | ||
<v-btn @click="send_to_dashboard()"><v-icon>fas fa-tachometer-alt</v-icon>Dashboard</v-btn> | ||
</b-col> | ||
<b-col> | ||
<v-btn @click="send_to_chart_rpm()"><v-icon>fas fa-tachometer-alt</v-icon>Gráficos</v-btn> | ||
</b-col> | ||
<b-col> | ||
<v-icon>mdi-history</v-icon>Configuración | ||
</b-col> | ||
</b-row> | ||
</div> | ||
</v-sheet> | ||
</v-bottom-sheet> | ||
</v-footer> | ||
</template> | ||
<script> | ||
import Menu from "./menu"; | ||
export default { | ||
name: "Footer" | ||
name: "Footer", | ||
data(){ | ||
return{ | ||
sheet: false, | ||
} | ||
}, | ||
component:{ | ||
'v-menu': Menu, | ||
}, | ||
methods:{ | ||
send_to_chart_rpm(){ | ||
this.sheet = false | ||
this.$router.push({ name: 'graph-rpm', params: {}}); | ||
}, | ||
send_to_dashboard(){ | ||
this.sheet = false | ||
this.$router.push({ name: 'index', params: {}}); | ||
} | ||
} | ||
} | ||
</script> |
Oops, something went wrong.