-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtext.txt
129 lines (97 loc) · 3.11 KB
/
text.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<NewJob open={this.state.openNewJob} onClose={this.handleNewJob}>
</NewJob>
/*
*
* AddJob
*
*/
import React from 'react';
import Helmet from 'react-helmet';
import './style.css';
import './styleM.css';
export default class AddJob extends React.PureComponent {
constructor (props) {
super(props);
this.state = {
openNewJob:false,
// jobs:JSON.parse(sessionStorage.getJob('jobs'))
jobs:{
jobTitle: "Web Developer",
jobDesc:"Doing some Job stuff all day everyday...",
companyName:"Websites R US",
companyWebsite:"websitesRus.com",
jobLocation:"London,GA",
workers:"5",
budget:"$1,000,000",
startDate:"tomorrow",
timeFrame:"til christmas",
timeStamp:"today"
}
}
}
render() {
console.log(this.state.jobs.id);
return (
<div className="addJobContainer">
<Helmet title="AddJob" meta={[ { name: 'description', content: 'Description of AddJob' }]}/>
<div className="addJobFullOverlay">
</div>
<div className="jobDetailContainer">
<div className="jobTitle">
<p><b>Job Title:</b></p>
<h1><p><input type="text" placeholder="Job Title" /></p>{this.state.jobs.jobTitle}
</h1>
</div>
<div className="jobDesc">
<p><b>Job Description:</b></p>
{this.state.jobs.jobDesc}
<p><textarea rows="10" cols="30" wrap="hard"
placeholder="Job Description"/></p>
</div>
<div className="companyName">
<p><p><input type="text" placeholder="Company Name" /></p>
<b>Company Name: </b>{this.state.company.companyName}
</p>
</div>
<div className="companyWebsite">
<p><p><input type="text" placeholder="Email address"/></p>
<b>Company Website: </b>{this.state.company.companyWebsite}
</p>
</div>
<div className="jobLocation">
<p><p><input type="text" placeholder="Location" /></p>
<b>Job Location: </b>{this.state.jobs.jobLocation}
</p>
</div>
<div className="workers">
<p><p><input type="text" placeholder="Workers Needed" /></p>
<b>Workers Needed: </b>{this.state.jobs.workers}
</p>
</div>
<div className="budget">
<p><p><input type="text" placeholder="Budget" /></p>
<b>Budget: </b>{this.state.jobs.budget}
</p>
</div>
<div className="startDate">
<p><p><input type="text" placeholder="Start Date" /></p>
<b>Start Date: </b>{this.state.jobs.startDate}
</p>
</div>
<div className="timeFrame">
<p><p><input type="text" placeholder="Time Frame" /></p>
<b>Time Frame: </b>{this.state.jobs.timeFrame}
</p>
</div>
<div classname="timeStamp">
<p><b>Posted On: </b>{this.state.jobs.timestamp}
</p>
</div>
</div>
</div>
);
}
}
AddJob.contextTypes = {
router: React.PropTypes.object
};