-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.php
101 lines (94 loc) · 4.24 KB
/
project.php
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
<?php include 'session.php'; ?>
<?php include 'layouts/header.php'; ?>
<div class="wrapper ">
<?php include 'layouts/sidebar.php'; ?>
<div class="main-panel">
<!-- Navbar -->
<?php include 'layouts/navbar.php'; ?>
<!-- End Navbar -->
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-md-8 offset-md-2">
<div class="card">
<div class="card-header card-header-primary">
<h4 class="card-title">Add Project</h4>
<p class="card-category">Write Details Of The New Project</p>
</div>
<div class="card-body project-fade-in">
<div class="row">
<div class="col-md-12">
<div class="alert alert-danger" v-if="projectError">
<button type="button" data-dismiss="alert" aria-label="Close" class="close" @click="empty">
<i class="material-icons">
close
</i>
</button>
<span>{{ projectError }}</span>
</div>
<div class="alert alert-success" v-if="projectSuccess">
<button type="button" data-dismiss="alert" aria-label="Close" class="close" @click="empty">
<i class="material-icons">
close
</i>
</button>
<span>{{ projectSuccess }}</span>
</div>
</div>
</div>
<div class="loading" v-if="theLoader">
<img src="./assets/img/loading.gif" class="loader" width="50px">
</div>
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label class="bmd-label-floating">Project Name</label>
<input type="text" class="form-control" v-model="project.name">
</div>
</div>
<div class="col-md-6">
<div class="form-group" style="margin-top: 0.82rem !important;">
<label class="bmd-label-floating">Price ($)</label>
<input type="number" class="form-control" v-model="project.price" autocomplete="no">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<select class="bmd-select form-control" v-model="project.platform">
<option disabled selected value> -- Select a platform -- </option>
<option value="upwork">Upwork</option>
<option value="fiverr">Fiverr</option>
<option value="local">Local</option>
</select>
</div>
</div>
</div>
<button type="submit" class="btn btn-primary pull-right" @click="addProject">Add Project</button>
<div class="clearfix"></div>
</div>
</div>
</div>
<!-- <div class="col-md-4">
<div class="card card-profile">
<div class="card-avatar">
<a href="javascript:;">
<img class="img" src="assets/img/<?php echo $user['image']; ?>" />
</a>
</div>
<div class="card-body">
<h6 class="card-category text-gray"><?php echo $user['passion']; ?></h6>
<h4 class="card-title"><?php echo $user['fName']." ".$user['lName']; ?></h4>
<p class="card-description">
<?php echo $user['about']; ?>
</p>
</div>
</div>
</div> -->
</div>
</div>
</div>
</div>
</div>
<?php include 'layouts/scripts.php'; ?>
</body>
</html>