-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinvite-model
128 lines (121 loc) · 6.63 KB
/
invite-model
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
<div id="invitemodel" class="modal fade bs-example-modal-lg modelw " tabindex="-1" role="dialog" aria-labelledby="postgigmodel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<section class="postgigform" id="postgigform">
<h2 id="login1">Post a Gig </h2>
<h2 class="source">Post a new Gig for free. Invite Gigsters to bid on your gig.</h2>
<form class="form-horizontal postgigforminner" action="<?php echo $serverpath;?>saveGig" role="form" method="post" >
<div class="form-group">
<label for="creategig" class="col-sm-2 control-label labelb">Title</label>
<div class="col-sm-10">
<input type="text" required class="form-control" id="prjTitle" name="prjTitle" placeholder="Add title for you gig" >
</div>
</div>
<div class="form-group">
<label for="gigdescription" class="col-sm-2 control-label dis ">Description</label>
<div class="col-sm-10">
<textarea class="form-control" id="prjdesc" name="prjdesc" placeholder="Describe your gig" row="5" column="10"></textarea>
</div>
</div>
<h2 class="loginlead" >Would you like the job to be hourly or fixed ?</h2>
<div class="form-group">
<div class=" col-sm-10 ">
<label class="radio-inline">
<input type="radio" name="jobtype[]" id="jobtype" value="h" onChange="change_caption('h')"> Hourly
</label>
<label class="radio-inline">
<input type="radio" name="jobtype[]" id="jobtype" value="f" checked="checked" onChange="change_caption('f')">Fixed Price
</label>
</div>
</div>
<h2 class="loginlead" id="mlabel">Whats the best fix price you intend to pay ?</h2>
<div class="form-group">
<div class="col-sm-10">
<input required style="width:30%" type="text" name="proposedprice" id="proposedprice" class="form-control" placeholder="" onKeyDown="return only_numbers(event);">
</div>
</div>
<h2 class="loginlead" >Skills</h2>
<div class="form-group">
<div class="col-sm-10">
<input required type="hidden" name="keywords" id="keywords" class="" />
</div>
</div>
<h2 class="loginlead">Enter expiry date of your Gig</h2>
<div class="form-group">
<div class="col-sm-10">
<input type="text" id="datepic"style="width:47%" name="enddate" class="mdatepicker"/>
</div>
</div>
<?php $tags=get_tags();
$tags=implode(",",$tags);
?>
<script type="text/javascript">$("#keywords").select2({tags:[<?php echo$tags;?>]});</script>
<h2 class="loginlead"> Would you like to invite any Gigster’s for your project ?</h2>
<div class="form-group">
<div class="col-sm-10 ">
<label class="radio-inline">
<input type="radio" name="inviteusers[]" id="inviteusers" value="y"> Yes
</label>
<label class="radio-inline">
<input type="radio" name="inviteusers[]" id="inviteusers" value="n"> No
</label>
</div>
</div>
<div class="form-group submit">
<button type="submit" class="btn btn-warning">Post Gig</button>
</div>
</form>
</section>
<section class="postgigform mhidden" id="inviteform">
<h2 id="login1">Invite Users</h2>
<h2 class="source">Post a new Gig for free. Invite Gigsters to bid on your gig.</h2>
<form class="form-horizontal postgigforminner" action="<?php echo $serverpath;?>saveGig" role="form" method="post" target="targetframe" >
<div class="form-group">
<label for="creategig" class="col-sm-2 control-label labelb">Title</label>
<div class="col-sm-10">
<input type="text" required class="form-control" id="prjTitle" name="prjTitle" placeholder="Looking for a marriage photographer" >
</div>
</div>
<div class="form-group">
<label for="gigdescription" class="col-sm-2 control-label dis ">Description</label>
<div class="col-sm-10">
<textarea class="form-control" id="prjdesc" name="prjdesc" placeholder="Describe your gig" row="5" column="10"></textarea>
</div>
</div>
<h2 class="loginlead" >Would you like the job to be hourly or fixed ?</h2>
<div class="form-group">
<div class=" col-sm-10 ">
<label class="radio-inline">
<input type="radio" name="jobtype[]" id="jobtype" value="h" onChange="change_caption('h')"> Hourly
</label>
<label class="radio-inline">
<input type="radio" name="jobtype[]" id="jobtype" value="f" checked="checked" onChange="change_caption('f')">Fixed Price
</label>
</div>
</div>
<h2 class="loginlead" id="mlabel">Whats the best hourly pricing you intend to pay ?</h2>
<div class="form-group">
<div class="col-sm-10">
<input required style="width:30%" type="text" name="proposedprice" id="proposedprice" class="form-control" placeholder="">
</div>
</div>
<h2 class="loginlead"> Would you like to invite any Gigster’s for your project ?</h2>
<div class="form-group">
<div class="col-sm-10 ">
<label class="radio-inline">
<input type="radio" name="inviteusers[]" id="inviteusers" value="y"> Yes
</label>
<label class="radio-inline">
<input type="radio" name="inviteusers[]" id="inviteusers" value="n"> No
</label>
</div>
</div>
<div class="form-group submit">
<button type="submit" class="btn btn-warning">Post Gig</button>
</div>
</form>
</section>
</div>
</div>
</div>