forked from codeforamerica/bizfriendly-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnew-service.html
205 lines (197 loc) · 11.2 KB
/
new-service.html
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
---
layout: default
title: Add a new service
js: new-service
---
<div id="new-service">
<div id="subnav" class="row hidden-xs">
<ul class="list-inline col-xs-12 col-sm-8 col-sm-offset-3">
<li class="col-sm-4 col-md-3"><a class="active">Content Creator</a></li>
<li class="col-sm-4 col-md-3 col-md-offset-1"><a href="teaching-guide.html">Teaching Guide</a></li>
<li class="col-sm-4 col-md-3 col-md-offset-1"><a href="content-requests.html">Content Requests</a></li>
</ul>
</div>
<div id="subheader" class="row">
<div class="col-sm-offset-1">
<h1>Use the form below to add a new web service to BizFriend.ly</h1>
<p>If you're new to creating content, we recommend checking out the <a href="#">Teaching Guide</a> before you begin.</p><p>Please complete all fields and upload an icon and image before submitting. </p>
</div>
<div class="alert alert-info login-required col-sm-offset-1">
You'll need to create a BizFriend.ly account before you can create a lesson. <a id="signInLink" href="signin.html">Sign In</a> | <a href="signup.html">Sign up</a> then come back here.
</div>
</div>
<section id="main" class="row">
<form id="new-category-form" role="form" class="col-sm-offset-1 col-sm-8">
<legend>Service Information</legend>
<p>To create a lesson about a web service that is new to BizFriend.ly, you'll have to provide some information that helps others know why they should learn about it.</p>
<div class="form-group">
<input type="text" class="form-control" id="new-service-name" placeholder="Name of website / web service">
</div>
<div class="form-group">
<input type="url" class="form-control" id="new-service-url" placeholder="Web address">
</div>
<div class="form-group">
<input type="text" class="form-control" id="new-service-short-description" placeholder="Short description for landing page">
</div>
<div class="form-group">
<textarea id="new-service-long-description" class="form-control" placeholder="Longer description for the service landing page that describes what the web service does and its of value to small business owners." rows="4"></textarea>
</div>
<legend>Tips to Keep in Mind</legend>
<p>Up to three brief points that learners should keep in mind.</p>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control" id="tips1" placeholder="Tips to keep in mind">
</div>
<div class="col-xs-1">
<img id="add-tips" src="img/plus-step.png">
</div>
</div>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control hidden" id="tips2" placeholder="Tips to keep in mind">
</div>
</div>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control hidden" id="tips3" placeholder="Tips to keep in mind">
</div>
</div>
<legend>Additional Resources</legend>
<p>Add up to five links to additional resources related to how to use the web service.</p>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control" id="additional-resources-name1" placeholder="Additional resource Name">
</div>
<div class="col-xs-1">
<img id="add-resources" src="img/plus-step.png">
</div>
</div>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control" id="additional-resources-url1" placeholder="Additional resource URL">
</div>
</div>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control hidden" id="additional-resources-name2" placeholder="Additional resource Name">
</div>
</div>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control hidden" id="additional-resources-url2" placeholder="Additional resource URL">
</div>
</div>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control hidden" id="additional-resources-name3" placeholder="Additional resource Name">
</div>
</div>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control hidden" id="additional-resources-url3" placeholder="Additional resource URL">
</div>
</div>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control hidden" id="additional-resources-name4" placeholder="Additional resource Name">
</div>
</div>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control hidden" id="additional-resources-url4" placeholder="Additional resource URL">
</div>
</div>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control hidden" id="additional-resources-name5" placeholder="Additional resource Name">
</div>
</div>
<div class="form-group">
<div class="col-xs-11">
<input type="text" class="form-control hidden" id="additional-resources-url5" placeholder="Additional resource URL">
</div>
</div>
<legend>Service Icon</legend>
<p>Add an icon for the web service. It’s important that the icon is 30 pixels by 30 pixels or less. See the <a href="teaching-guide.html">teaching guide</a> for more info on icons.</p>
<div id="icon-upload-form">
<input id="icon-upload" type="file" name="files[]">
<!-- The global progress bar -->
<div id="icon-upload-progress" class="progress">
<div class="progress-bar progress-bar-success"></div>
</div>
<!-- The container for the uploaded files -->
<div id="icon-upload-files" class="files"></div>
</div>
<div id="uploaded-icon"></div>
<legend>Service Video or Image</legend>
<p>Add an image or a video about the web service. The image should be 600 pixels by 338 pixels and either a JPEG or PNG. Copy and paste a Vimeo or YouTube embed code with size set to 600 x 338.</p>
<div id="image-upload-form">
<label for="image-upload">Image Upload</label>
<input id="image-upload" type="file" name="files[]">
<!-- The global progress bar -->
<div id="image-upload-progress" class="progress">
<div class="progress-bar progress-bar-success"></div>
</div>
<!-- The container for the uploaded files -->
<div id="image-upload-files" class="files"></div>
</div>
<div id="uploaded-image"></div>
<div class="form-group">
<label for="video-embed">Video Embed</label>
<input id="video-embed" type="url" class="form-control" placeholder="Copy and paste a Vimeo or YouTube embed code with size set to 600 x 338.">
</div>
<div class="form-group">
<legend>Select A Skill</legend>
<p>Select a skill that best fits with your web service. If none of the options look right, use the "add new skill" option in the menu to create a new skill.</p>
<br/>
<select id="category-id" class="selectpicker" data-width="auto"></select>
</div>
<div id="form-alert-name" class="hidden alert alert-danger"></div>
<div id="form-alert-url" class="hidden alert alert-danger"></div>
<div id="service-form-buttons" class="row">
<div class="col-sm-6 col-md-5 col-lg-4">
<!--<button id="preview" type="button" class="btn btn-blue">Preview</button>-->
<button id="save-draft" type="button" class="btn btn-default">Save Draft</button>
<button id="submit" type="button" class="btn btn-primary">Submit</button>
</div>
<div class="col-sm-6">
<input id="terms" type="checkbox" checked> <span class="bold">Agree to Terms</span>
<p><small>When you create new content on BizFriend.ly you’re agreeing to share with the community. All content on BizFriend.ly is licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_US">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.</small></p>
</div>
</div>
</form>
</section>
<!-- Modal -->
<div class="modal fade" id="previewModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title"></h4>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<!-- Modal -->
<div class="modal fade" id="submissionModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Nice Work!</h4>
</div>
<div class="modal-body">
<p>You created a new service called <span class="service-name orange"></span></p>
<p>To ensure high quality content on BizFriend.ly, your service will be reviewed by a real human before it goes live. In the meantime, you can build lessons for your web service by selecting the skill and web service in the pulldown menu at the top of the <a href="lesson-builder.html">lesson builder<a/>.</p>
<a type="button" class="btn btn-default" href="/new-service.html">Create Another</a>
<a type="button" class="btn btn-default" href="/profile.html">See What You've Created</a>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div>
</div><!-- /.modal -->