|
|
@@ -1,47 +1,104 @@
|
|
|
<template>
|
|
|
- <div class="home">
|
|
|
- <div class="header"></div>
|
|
|
- <div class="page">
|
|
|
- <div class="left-menu"></div>
|
|
|
- <div class="page-content"></div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <v-app id="inspire">
|
|
|
+ <v-app-bar app color="white" flat>
|
|
|
+ <v-btn color="primary" dark>Evaluate</v-btn>
|
|
|
+ <v-container class="py-0 fill-height">
|
|
|
+ <router-link to="/">
|
|
|
+ <v-btn text>Home</v-btn>
|
|
|
+ </router-link>
|
|
|
+ <router-link to="/about">
|
|
|
+ <v-btn text>About</v-btn>
|
|
|
+ </router-link>
|
|
|
+
|
|
|
+ <v-spacer></v-spacer>
|
|
|
+ </v-container>
|
|
|
+
|
|
|
+ <v-avatar
|
|
|
+ class="hidden-sm-and-down"
|
|
|
+ color="grey darken-1 shrink"
|
|
|
+ size="32"
|
|
|
+ ></v-avatar>
|
|
|
+ </v-app-bar>
|
|
|
+
|
|
|
+ <v-main class="grey lighten-3">
|
|
|
+ <v-container>
|
|
|
+ <v-row>
|
|
|
+ <v-col cols="2">
|
|
|
+ <v-sheet rounded="lg">
|
|
|
+ <v-list color="transparent">
|
|
|
+ <v-list-item v-for="n in 5" :key="n" link>
|
|
|
+ <v-list-item-content>
|
|
|
+ <v-list-item-title> List Item {{ n }} </v-list-item-title>
|
|
|
+ </v-list-item-content>
|
|
|
+ </v-list-item>
|
|
|
+ </v-list>
|
|
|
+ </v-sheet>
|
|
|
+ </v-col>
|
|
|
+
|
|
|
+ <v-col>
|
|
|
+ <v-sheet min-height="70vh" rounded="lg">
|
|
|
+ <template>
|
|
|
+ <v-row align="center" justify="space-around" class="pa-md-4">
|
|
|
+ <v-btn depressed>
|
|
|
+ Normal
|
|
|
+ </v-btn>
|
|
|
+ <v-btn depressed color="primary">
|
|
|
+ Primary
|
|
|
+ </v-btn>
|
|
|
+ <v-btn depressed color="success">
|
|
|
+ Success
|
|
|
+ </v-btn>
|
|
|
+ <v-btn depressed color="warning">
|
|
|
+ Warning
|
|
|
+ </v-btn>
|
|
|
+ <v-btn depressed color="error">
|
|
|
+ Error
|
|
|
+ </v-btn>
|
|
|
+ <v-btn depressed disabled>
|
|
|
+ Disabled
|
|
|
+ </v-btn>
|
|
|
+ </v-row>
|
|
|
+ </template>
|
|
|
+ <v-divider></v-divider>
|
|
|
+ <template>
|
|
|
+ <v-container fluid>
|
|
|
+ <v-row>
|
|
|
+ <v-col cols="12" md="6">
|
|
|
+ <v-textarea
|
|
|
+ outlined
|
|
|
+ name="input-7-4"
|
|
|
+ label="Outlined textarea"
|
|
|
+ value="The Woodman set to work at once, and so sharp was his axe that the tree was soon chopped nearly through."
|
|
|
+ ></v-textarea>
|
|
|
+ </v-col>
|
|
|
+ <v-col cols="12" md="6">
|
|
|
+ <v-text-field
|
|
|
+ label="Main input"
|
|
|
+ :rules="rules"
|
|
|
+ hide-details="auto"
|
|
|
+ ></v-text-field>
|
|
|
+ <v-text-field label="Another input"></v-text-field>
|
|
|
+ </v-col>
|
|
|
+ </v-row>
|
|
|
+ </v-container>
|
|
|
+ </template>
|
|
|
+ <v-divider></v-divider>
|
|
|
+ </v-sheet>
|
|
|
+ </v-col>
|
|
|
+ </v-row>
|
|
|
+ </v-container>
|
|
|
+ </v-main>
|
|
|
+ </v-app>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-// @ is an alias to /src
|
|
|
-// import HelloWorld from "@/components/HelloWorld.vue";
|
|
|
-
|
|
|
export default {
|
|
|
name: "Home",
|
|
|
- components: {},
|
|
|
+ data: () => ({
|
|
|
+ rules: [
|
|
|
+ (value) => !!value || "Required.",
|
|
|
+ (value) => (value && value.length >= 3) || "Min 3 characters",
|
|
|
+ ],
|
|
|
+ }),
|
|
|
};
|
|
|
</script>
|
|
|
-
|
|
|
-<style lang="scss" scoped>
|
|
|
-.header {
|
|
|
- background-color: #4368b6;
|
|
|
- height: 64px;
|
|
|
- max-width: 100%;
|
|
|
- -webkit-box-shadow: $shadow-default;
|
|
|
- box-shadow: $shadow-default;
|
|
|
-}
|
|
|
-.page {
|
|
|
- max-width: 100%;
|
|
|
- height: 1000px;
|
|
|
- display: flex;
|
|
|
-}
|
|
|
-.left-menu {
|
|
|
- background-color: #e4930a;
|
|
|
- height: 100%;
|
|
|
- width: 200px;
|
|
|
-}
|
|
|
-.page-content {
|
|
|
- background-color: $color-card-background;
|
|
|
- height: 100%;
|
|
|
- width: 100%;
|
|
|
- margin: 12px;
|
|
|
- border-radius: $borderRadius-default;
|
|
|
- box-shadow: $shadow-default;
|
|
|
-}
|
|
|
-</style>
|