-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #302 from sanger/develop
DPL-890-4 Release - Merging develop into master
- Loading branch information
Showing
59 changed files
with
4,104 additions
and
2,384 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
|
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,11 @@ | ||
{ | ||
"include": ["src/**/*", "tailwind.config.js"], | ||
"exclude": ["node_modules", "build", "dist"], | ||
"vueCompilerOptions": { "target": 3.3 }, | ||
"compilerOptions": { | ||
"baseUrl": "./", | ||
"paths": { | ||
"@/*": ["src/*"] | ||
} | ||
} | ||
} |
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
module.exports = { | ||
plugins: { | ||
'tailwindcss/nesting': {}, | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
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,28 +1,49 @@ | ||
<template> | ||
<div id="app"> | ||
<nav-bar></nav-bar> | ||
<router-view /> | ||
<div class="flex flex-col min-h-screen"> | ||
<!-- TODO: move this into a header component --> | ||
<div class="relative bg-gradient-to-tr from-sdb to-sdb-400"> | ||
<div class="max-w-7xl mx-auto px-4 sm:px-6"> | ||
<div | ||
class="flex justify-between items-center py-4 md:justify-start md:space-x-10" | ||
> | ||
<div class="flex flex-row gap-x-2"> | ||
<a href="/"><div class="text-white text-2xl">Quanthub</div></a> | ||
<PageLink name="Upload a new plate" link="/" view-type="2" /> | ||
<PageLink name="Print a barcode" link="/print_job" view-type="2" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<PageHeading level="1" shadow>{{ page }}</PageHeading> | ||
<div class="flex flex-col mb-auto px-4 pt-4 pb-10"> | ||
<router-view class="text-center" /> | ||
</div> | ||
<PageFooter></PageFooter> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import NavBar from '@/components/NavBar.vue' | ||
import PageFooter from '@/components/PageFooter.vue' | ||
import PageLink from '@/components/PageLink.vue' | ||
import PageHeading from '@/components/PageHeading.vue' | ||
export default { | ||
name: 'App', | ||
components: { | ||
NavBar, | ||
PageFooter, | ||
PageLink, | ||
PageHeading, | ||
}, | ||
computed: { | ||
mergedRoute() { | ||
return Object.assign({}, ...this.$route.matched.map(({ meta }) => meta)) | ||
}, | ||
page() { | ||
return this.mergedRoute.page | ||
}, | ||
}, | ||
} | ||
</script> | ||
|
||
<style lang="scss"> | ||
@import 'src/assets/stylesheets/colors.scss'; | ||
@import '~bootstrap/scss/bootstrap'; | ||
#app { | ||
font-family: 'Avenir', Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
</style> | ||
<style lang="scss"></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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.