-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
My fisrt commit, added entire project code
- Loading branch information
Muhammed
committed
Dec 10, 2019
1 parent
19571ad
commit 5b96db2
Showing
25 changed files
with
12,659 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
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,5 @@ | ||
module.exports = { | ||
presets: [ | ||
'@vue/cli-plugin-babel/preset' | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"name": "todo", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"lint": "vue-cli-service lint" | ||
}, | ||
"dependencies": { | ||
"core-js": "^3.3.2", | ||
"vue": "^2.6.10", | ||
"vue-router": "^3.1.3" | ||
}, | ||
"devDependencies": { | ||
"@vue/cli-plugin-babel": "^4.0.0", | ||
"@vue/cli-plugin-eslint": "^4.0.0", | ||
"@vue/cli-service": "^4.0.0", | ||
"babel-eslint": "^10.0.3", | ||
"eslint": "^5.16.0", | ||
"eslint-plugin-vue": "^5.0.0", | ||
"vue-template-compiler": "^2.6.10" | ||
}, | ||
"eslintConfig": { | ||
"root": true, | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"plugin:vue/essential", | ||
"eslint:recommended" | ||
], | ||
"rules": {}, | ||
"parserOptions": { | ||
"parser": "babel-eslint" | ||
} | ||
}, | ||
"postcss": { | ||
"plugins": { | ||
"autoprefixer": {} | ||
} | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions" | ||
] | ||
} |
Binary file not shown.
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,22 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> | ||
<title>todo</title> | ||
<style> | ||
body { | ||
margin: 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<noscript> | ||
<strong>We're sorry but todo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
<!-- built files will be auto injected --> | ||
</body> | ||
</html> |
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,92 @@ | ||
<template> | ||
<div id="app"> | ||
<Header /> | ||
<keep-alive include="Dashboard"><router-view></router-view></keep-alive> | ||
<Footer /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Header from './components/Header.vue' | ||
import Footer from './components/Footer.vue' | ||
export default { | ||
name: 'app', | ||
components: { | ||
Header, | ||
Footer | ||
} | ||
} | ||
</script> | ||
|
||
<style> | ||
#app { | ||
font-family: 'Avenir', Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
text-align: center; | ||
color: #2c3e50; | ||
} | ||
.sign-pane { | ||
width: 50%; | ||
min-height: 300px; | ||
border: 2px solid brown; | ||
margin: auto; | ||
padding: 10px; | ||
} | ||
.input-field { | ||
margin: auto; | ||
margin-bottom: 7px; | ||
width: 80%; | ||
} | ||
.input-field label { | ||
width: 5%; | ||
text-align: right; | ||
float: left; | ||
font-size: 1em; | ||
font-weight: bolder; | ||
} | ||
.input-field input { | ||
width: 55%; | ||
height: 25px; | ||
padding-left: 5px; | ||
} | ||
.sign-head { | ||
color: rgb(28, 95, 28); | ||
margin-bottom: 40px; | ||
} | ||
button { | ||
background-color: aqua; | ||
border-radius: 30px; | ||
font-size: 18px; | ||
font-weight: bold; | ||
margin: 20px auto; | ||
padding: 10px 20px; | ||
} | ||
button:hover { | ||
cursor: pointer; | ||
background-color: rgb(76, 150, 150); | ||
color: blue; | ||
} | ||
.errorMessage { | ||
color: red; | ||
margin-top: -20px; | ||
} | ||
.successMessage { | ||
color: white; | ||
margin-top: -20px; | ||
background-color: green; | ||
padding: 5px; | ||
} | ||
.editSuccessMessage { | ||
color: white; | ||
margin-top: -20px; | ||
background-color: green; | ||
padding: 5px; | ||
} | ||
.main-content-page { | ||
min-height: 72vh; | ||
} | ||
</style> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
const todos = [ | ||
{ | ||
todoid: 100, | ||
userid: 400231, | ||
subject: `Presentation Slides`, | ||
description: `I want to design my presentation slide, add VFD logo | ||
to the master slide, surf the Internet, conduct research and outline | ||
research findings to the slides` | ||
}, | ||
{ | ||
todoid: 101, | ||
userid: 400231, | ||
subject: `Reply Nonso Okpala's mail`, | ||
description: `I want to reply Nonso Okpala's mail on the need for deploying | ||
a new approach to accessing the companies data from the database` | ||
}, | ||
{ | ||
todoid: 102, | ||
userid: 400231, | ||
subject: `Call Azubuike Emodi`, | ||
description: `I want to call Zuby, telling him why the work can not be done | ||
at the requested time and the best approach to get it done earlier` | ||
}, | ||
{ | ||
todoid: 103, | ||
userid: 400231, | ||
subject: `Presentation Slides`, | ||
description: `I want to design my presentation slide, add VFD logo | ||
to the master slide, surf the Internet, conduct research and outline | ||
research findings to the slides` | ||
}, | ||
{ | ||
todoid: 104, | ||
userid: 400231, | ||
subject: `Attend Mr. Babatunde's Request`, | ||
description: `I wish to attend to Mr. Babatunde's request to ensure that | ||
every aspect of the request is settled. Also to ensure that I get feedback | ||
from him and work on the feedback` | ||
}, | ||
{ | ||
todoid: 105, | ||
userid: 400231, | ||
subject: `Meet Mr. Godwin at Eko continental Hotel`, | ||
description: "I have an appointment with Mr. Godwin regarding expanding the \ | ||
scope of his business mobile application. One of the things I wish to achieve\ | ||
is to convince him as to why the said amount is insufficient to develop the app" | ||
}, | ||
{ | ||
todoid: 106, | ||
userid: 400231, | ||
subject: "Transfer N5,000,000 to Engr. Musa", | ||
description: "I want to transfer five million naira (N5,000,000) to Engineer \ | ||
Musa for the supply and installation of the computer systems and server. I wish\ | ||
to also ensure that the installation is accurately done." | ||
}, | ||
{ | ||
todoid: 107, | ||
userid: 400231, | ||
subject: `Setting up my project repository on github`, | ||
description: "I want to set up my new project's repository on github. I need to ensure it\ | ||
done on or before friday 29th of November, 2019. I also want to ensure that develop is made\ | ||
my default branch." | ||
} | ||
]; | ||
|
||
export default todos; |
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,18 @@ | ||
const users = [ | ||
{ | ||
userid: 400230, | ||
firstname: 'Muhammed', | ||
lastname: 'Ibrahim', | ||
email: '[email protected]', | ||
password: 'thisismypassword' | ||
}, | ||
{ | ||
userid: 400231, | ||
firstname: 'John', | ||
lastname: 'Olanrewaju', | ||
email: '[email protected]', | ||
password: 'thisismypassword' | ||
} | ||
]; | ||
|
||
export default users; |
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,60 @@ | ||
<template> | ||
<div > | ||
<section> | ||
<div class="heading"> | ||
<h3>{{todo.subject}}</h3> | ||
</div> | ||
<article> | ||
{{todo.description}} | ||
</article> | ||
</section> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'DoneTodoItem', | ||
props: ['todo'], | ||
methods: { | ||
openTodo: function(id) { | ||
this.$router.push({name: 'todo', params: {todoId: id}}) | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.heading h3 { | ||
color: indigo; | ||
} | ||
#complete-todo { | ||
width: 18px; | ||
height: 18px; | ||
} | ||
.heading { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
margin: 0; | ||
padding: 5px; | ||
} | ||
article { | ||
height: auto; | ||
border-top: 2px dashed gray; | ||
border-bottom: 3px solid red; | ||
padding: 10px; | ||
text-align: justify | ||
} | ||
.button-area { | ||
display: block; | ||
text-align: right; | ||
} | ||
button { | ||
padding: 5px 10px; | ||
border-radius: 10px; | ||
background-color: green; | ||
color: white; | ||
font-size: 14px; | ||
margin: 10px; | ||
} | ||
</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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<template> | ||
<footer><p>©Success Info. Solution™ 2019</p></footer> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'Footer' | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
footer { | ||
height: 70px; | ||
background-color: gray; | ||
color: white; | ||
font-size: 17px; | ||
} | ||
footer p { | ||
padding-top: 25px; | ||
} | ||
</style> |
Oops, something went wrong.