-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathform.html
202 lines (201 loc) · 22.5 KB
/
form.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
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>DOAP generator form</title><link rel="stylesheet" href="styles/app.css"><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.2/styles/default.min.css"></head><body><form id="doap-form" data-abide="ajax"><div class="large-12 columns"><div class="row"><h1>DOAP Generator</h1><ul role="tablist" class="tabs"><li role="presentational" class="tab-title active"><a href="#project-panel" role="tabbutton" aria-selected="true">Project</a></li><li role="presentational" class="tab-title"><a href="#people-panel" role="tabbutton" aria-selected="false">People</a></li><li role="presentational" class="tab-title"><a href="#versions-panel" role="tabbutton" aria-selected="false">Versions</a></li><li role="presentational" class="tab-title"><a href="#specs-panel" role="tabbutton" aria-selected="false">Specs</a></li><li role="presentational" class="tab-title"><a href="#consumes-panel" role="tabbutton" aria-selected="false">Consumes</a></li><li role="presentational" class="tab-title"><a href="#social-media-panel" role="tabbutton" aria-selected="false">Social Media</a></li></ul><div class="tabs-content"><section id="project-panel" role="tabpanel" aria-hidden="false" class="content active"><div class="small-12 columns"><div class="input-container"><label for="name">Project Name<small>required</small><input id="name" type="text" name="name" placeholder="Project Name" required="" tabindex="0"></label></div><div class="input-container"><label for="shortdesc">Short Description<small>required</small><input id="shortdesc" type="text" name="shortdesc" placeholder="Short Description, one line" required=""></label></div><div class="input-container"><label for="vendor">Vendor<small>required</small><select id="vendor" name="vendor" required=""><option value="">Select One</option><option value="Red Hat">Red Hat</option><option value="Apache">Apache</option><option value="Eclipse">Eclipse</option></select></label></div><div class="input-container"><label>Description<small>required</small><textarea id="desc" name="desc" placeholder="Longer Description" required="" cols="120" rows="10"></textarea></label></div><div class="input-container"><label>Status<small>required</small><select id="status" name="status" required=""><option value="">Select One</option><option value="incubating">Incubating</option><option value="active">Active</option><option value="sustained">Sustained</option><option value="retired">Retired</option></select></label></div><div class="input-container"><label>Homepage<small>required</small><input id="homepage" type="url" name="homepage" placeholder="Homepage of the project" required=""></label></div><div class="input-container"><label>Logo URL<small>required</small><input id="logoURL" type="url" name="logoURL" value="http://static.jboss.org/<project_name>/images/<project_name>_200x150.png" required=""></label></div><div class="input-container"><label>Project License<small>required</small><select id="licenseURL" name="licenseURL" required=""><option value="">Select One</option><option value="http://opensource.org/licenses/GPL-2.0">GPL 2.0</option><option value="http://opensource.org/licenses/GPL-3.0">GPL 3.0</option><option value="http://opensource.org/licenses/LGPL-2.1">LGPL 2.1</option><option value="http://opensource.org/licenses/LGPL-3.0">LGPL 3.0</option><option value="http://opensource.org/licenses/Apache-2.0">Apache 2.0</option><option value="http://opensource.org/licenses/EPL-1.0">Eclipse</option><option value="http://opensource.org/licenses/AGPL-3.0">AGPL 3.0</option><option value="http://opensource.org/licenses/MIT">MIT</option><option value="http://opensource.org/licenses/BSD-3-Clause">BSD 3 Clause</option><option value="http://opensource.org/licenses/BSD-2-Clause">BSD 2 Clause</option></select></label></div><div class="input-container"><label>Repository Type<small>required</small><select id="repositorytype" name="repositoryType" required=""><option value="">Select One</option><option value="CVSRepository">CVS</option><option value="SVNRepository">SVN</option><option value="ArchRepository">Arch</option><option value="BKRepository">BitKeeper</option><option value="GitRepository">Git</option><option value="BazaarBranch">Bazar</option><option value="HgRepository">Mercurial</option><option value="DarcsRepository">Darcs</option></select></label></div><div id="repoLocationGroup" class="hide repository input-container"><label>Checkout URL<small>required</small><input type="url" name="repoLocation" placeholder="Repository URL (.git, svn repo location)"></label></div><div id="repoModuleGroup" class="hide repository"><label>Module<small>required</small><input type="text" name="repoModule" placeholder="Module"></label></div><div id="repoAnonRoot" class="hide repository input-container"><label>Anon Root<small>required</small><input type="text" name="repoAnonRoot" placeholder="Anon-Root"></label></div><div id="repoBrowseGroup" class="hide repository input-container"><label>Repo Homepage<input type="url" name="repoBrowse" placeholder="Fisheye, viewcvs, Github URL, Bitbucket URL"></label></div><div class="input-container"><label>Issue Tracker URL<input id="issueDB" type="url" name="issueDB" placeholder="Issue Tracker URL"></label></div><div class="input-container"><label>Wiki URL<input id="wiki" type="url" name="wiki" placeholder="Wiki URL"></label></div><div class="input-container"><label>Mailing List URI<input id="mailingListURL" type="text" pattern="uri" name="mailingListURL" placeholder="Mailing List subscribe URI (http or mailto)"></label></div><div class="input-container"><label>Project Blog URL<input id="blogURL" type="url" name="blogURL" placeholder="Blog URL"></label></div><div class="input-container"><label>User Forum<input id="userForum" type="url" name="userForum" placeholder="User Forum URL"></label></div><div class="input-container"><label>Developer Forum<input id="developerForum" type="url" name="developerForum" placeholder="Developer Forum URL"></label></div><div class="input-container"><label>Programming Language<select id="language" name="language" multiple="" class="language-container"><option value="Java">Java</option><option value="C/C++">C/C++</option><option value="Swift">Swift</option><option value="Objective-C">Objective-C</option><option value="HTML5">HTML5</option><option value="JavaScript">JavaScript</option><option value="Groovy">Groovy</option><option value="Ruby">Ruby</option><option value="Scala">Scala</option><option value="Clojure">Clojure</option><option value="Perl">Perl</option></select></label></div></div><div class="row"><div class="small-6 small-offset-5 columns end"><a href="#people-panel" role="tabbutton" class="next button">Next Page >></a></div></div></section><section id="people-panel" role="tabpanel" aria-hidden="true" class="content"><div class="small-6 columns"><a id="findPerson" href="#" class="add button">Find a Person</a><div class="input-container"><label>First Name<small>required</small><input id="first-name" type="text" name="first-name" placeholder="First Name"></label></div><div class="input-container"><label>Last Name<small>required</small><input id="last-name" type="text" name="last-name" placeholder="Last Name"></label></div><div class="input-container"><label>JBoss Community Account<input id="community-account" type="text" name="community-account" placeholder="JBoss Community Account Username"></label></div><div class="input-container"><label>Role within the project (must have at least one Lead)<small>required</small><select id="role" name="role"><option value="">Select one</option><option value="lead">Lead</option><option value="maintainer">Maintainer</option><option value="documenter">Documenter</option><option value="tester">Tester</option><option value="developer">Developer</option><option value="helper">Helper</option><option value="translator">Translator</option></select></label></div><a id="addPerson" href="#" class="add button">Add This Person</a></div><div class="small-6 columns"><label>People Added<select id="people-container" name="people-container" multiple="" class="people-container"></select></label><button id="removePerson" type="button" class="remove button">Remove</button></div><div class="row"><div class="small-6 small-offset-5 columns end"><a href="#versions-panel" role="tabbutton" class="next button">Next Page >></a></div></div></section><section id="versions-panel" role="tabpanel" aria-hidden="true" class="content"><div class="small-12 columns"><div class="row"><p>Use this page to provide details of recent releases. There's no need to provide every single release for the project. For example, you could provide the latest GA release, the latest early-access release from an upcoming GA release and maybe the latest GA release that is available in a current product. If don't have any recent releases, or do not wish to add releases, there is nothing to fill out.</p></div></div><div class="small-6 columns"><div class="input-container"><label>Release Name<input id="version-release-name" type="text" name="release-name" placeholder="Name"></label></div><div class="input-container"><label>Revision Number<small>required</small><input id="version-revision" type="text" name="revision" required=""></label></div><div class="input-container"><label>Created Date<small>required</small><input id="version-created" type="date" name="created" required="" placeholder="YYYY-MM-DD"></label></div><a id="addVersion" href="#" class="add button">Add This Version</a></div><div class="small-6 columns"><label>Versions Added<select id="versions-container" name="versions-container" multiple="" class="versions-container"></select></label><button id="removeVersion" type="button" class="remove button">Remove</button></div><div class="row"><div class="small-6 small-offset-5 columns end"><a href="#specs-panel" role="tabbutton" class="next button">Next Page >></a></div></div></section><section id="specs-panel" role="tabpanel" aria-hidden="true" class="content"><div class="small-12 columns"><div class="row"><p>Use this page to provide details of specifications the project implements or uses. For example, a JSR number if the project implements it, or an OSIS or IEEE specification used in the project. If don't have any specifications being used or implemented, or do not wish to add them, there is nothing to fill out.</p></div></div><div class="small-6 columns"><label>Name<small>required</small><input id="spec-name" type="text" name="specName" placeholder="Spec Name" required=""></label><label>Description<textarea id="spec-desc" name="specDecs"></textarea></label><label>URL<input id="spec-url" type="url" name="seeAlsoURL"></label><a id="addSpec" href="#" class="add button">Add This Spec</a></div><div class="small-6 columns"><label>Specs Added<select id="specs-container" name="specs-container" multiple="" class="specs-container"></select></label><button id="removeSpec" type="button" class="remove button">Remove</button></div><div class="row"><div class="small-6 small-offset-5 columns end"><a href="#consumes-panel" role="tabbutton" class="next button">Next Page >></a></div></div></section><section id="consumes-panel" role="tabpanel" aria-hidden="true" class="content"><div class="small-12 columns"><div class="row"><p>Please provide a list of doap urls for other projects that are consumed by this project, if any.</p></div></div><div class="small-6 columns"><label>Project DOAP URL<small>required</small><input id="consume-url-entry" type="url" name="consume-url-entry" placeholder="Project DOAP URL" required=""></label><a id="addConsume" href="#" class="add button">Add This Project</a></div><div class="small-6 columns"><label>Projects Consumed<select id="consume-container" name="consume-container" multiple="" class="consume-container"></select></label><button id="removeConsume" type="button" class="remove button">Remove</button></div><div class="row"><div class="small-6 small-offset-5 columns end"><a href="#social-media-panel" role="tabbutton" class="next button">Next Page >></a></div></div></section><section id="social-media-panel" role="tabpanel" aria-hidden="true" class="content"><div class="small-12 columns"><div class="row"><p>Use this page to add any social media services your project uses. If your project doesn't use social media, or you do not wish to add them, there is nothing to fill out.</p></div></div><div class="small-6 columns"><label>Service<small>required</small><select id="account-homepage"><option value="">Select One</option><option value="https://www.twitter.com">Twitter</option><option value="https://plus.google.com">Google Plus</option><option value="https://www.facebook.com">FaceBook</option><option value="https://www.linkedin.com">LinkedIn</option></select></label><label>Account Name<small>required</small><input id="account-name" type="text" name="accountName" required=""></label><a id="addAccount" href="#" class="add button">Add Account</a></div><div class="small-6 columns"><label>Accounts Added<select id="accounts-container" name="accounts-container" multiple="" class="accounts-container"></select></label><button id="removeAccount" type="button" class="remove button">Remove</button></div><div class="row"><div class="small-5 small-offset-5 columns end"><button id="submit-button" type="submit" class="button">Generate DOAP</button></div></div></section></div></div></div></form><div id="doap-modal" data-reveal="" class="reveal-modal"><a id="download-button" href="#" class="button">Download</a><pre><code id="doap-code" class="rdf-output"></code></pre><a class="close-reveal-modal">×</a></div><div id="project-chooser" data-reveal="" class="reveal-modal"><a class="close-reveal-modal">×</a><h1>Find a Red Hat Sponsored Project</h1><div class="row"><div class="large-12 columns"><p>To help get you started creating the DOAP file for your project,
please find and select the project below. Selecting a project
will populate known information into the form. Should you choose
to start from scratch, simply closing this modal (ESC or the 'X'
above) or clicking outside of it will allow you start filling in the
a blank form.</p></div></div><div class="row"><div class="large-12 columns"><select id="searchResults" name="searchResults"><option value="">Select One</option></select></div></div></div><div id="person-finder" data-reveal="" class="reveal-modal"><a class="close-reveal-modal">×</a><h1>Find a contributor by searching their name</h1><div class="row collapse"><div class="large-12 columns"><form id="person-finder-form"><div class="large-9 columns"><input id="person-finder-form-name" type="text" placeholder="Name of Person"></div><div class="large-3 columns"><button type="submit" class="postfix">Submit</button></div></form></div></div><div class="row"><div class="large-12 columns"><ul id="person-finder-search-results" class="large-block-grid-5"></ul></div></div></div><script id="rdf_template" type="text/html"><?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xml:lang="en" xmlns="http://usefulinc.com/ns/doap#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:rhtdoap="https://www.jboss.org/schema/rdf/doap-extension">
<rhtdoap:Project rdf:about="{{{homepage}}}">
<name>{{{name}}}</name>
<homepage rdf:resource="{{{homepage}}}" />
<shortdesc>{{{shortdesc}}}</shortdesc>
<description>{{{desc}}}</description>
{{#mailingListURL}}<mailing-list rdf:resource="{{{mailingListURL}}}" />{{/mailingListURL}}
{{#blogURL}}<foaf:weblog rdf:resource="{{{blogURL}}}"/>{{/blogURL}}
{{#lead}}
<rhtdoap:lead>
<foaf:Person>
<foaf:name>{{{firstName}}} {{{lastName}}}</foaf:name>
<foaf:firstName>{{{firstName}}}</foaf:firstName>
<foaf:lastName>{{{lastName}}}</foaf:lastName>
{{#community}}
<foaf:account>
<foaf:OnlineAccount>
<rdf:type rdf:resource="http://xmln.com/foaf/0.1/OnlineAccount" />
<foaf:accountServiceHomepage rdf:resource="https://developer.jboss.org/people" />
<foaf:accountName>{{{community}}}</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
{{/community}}
</foaf:Person>
</rhtdoap:lead>
{{/lead}}
{{#developer}}
<developer>
<foaf:Person>
<foaf:name>{{{firstName}}} {{{lastName}}}</foaf:name>
<foaf:firstName>{{{firstName}}}</foaf:firstName>
<foaf:lastName>{{{lastName}}}</foaf:lastName>
{{#community}}
<foaf:account>
<foaf:OnlineAccount>
<rdf:type rdf:resource="http://xmln.com/foaf/0.1/OnlineAccount" />
<foaf:accountServiceHomepage rdf:resource="https://community.jboss.org" />
<foaf:accountName>{{{community}}}</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
{{/community}}
</foaf:Person>
</developer>
{{/developer}}
{{#maintainer}}
<maintainer>
<foaf:Person>
<foaf:name>{{{firstName}}} {{{lastName}}}</foaf:name>
<foaf:firstName>{{{firstName}}}</foaf:firstName>
<foaf:lastName>{{{lastName}}}</foaf:lastName>
{{#community}}
<foaf:account>
<foaf:OnlineAccount>
<rdf:type rdf:resource="http://xmln.com/foaf/0.1/OnlineAccount" />
<foaf:accountServiceHomepage rdf:resource="https://community.jboss.org" />
<foaf:accountName>{{{community}}}</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
{{/community}}
</foaf:Person>
</maintainer>
{{/maintainer}}
{{#documenter}}
<documenter>
<foaf:Person>
<foaf:name>{{{firstName}}} {{{lastName}}}</foaf:name>
<foaf:firstName>{{{firstName}}}</foaf:firstName>
<foaf:lastName>{{{lastName}}}</foaf:lastName>
{{#community}}
<foaf:account>
<foaf:OnlineAccount>
<rdf:type rdf:resource="http://xmln.com/foaf/0.1/OnlineAccount" />
<foaf:accountServiceHomepage rdf:resource="https://community.jboss.org" />
<foaf:accountName>{{{community}}}</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
{{/community}}
</foaf:Person>
</documenter>
{{/documenter}}
{{#translator}}
<translator>
<foaf:Person>
<foaf:name>{{{firstName}}} {{{lastName}}}</foaf:name>
<foaf:firstName>{{{firstName}}}</foaf:firstName>
<foaf:lastName>{{{lastName}}}</foaf:lastName>
{{#community}}
<foaf:account>
<foaf:OnlineAccount>
<rdf:type rdf:resource="http://xmln.com/foaf/0.1/OnlineAccount" />
<foaf:accountServiceHomepage rdf:resource="https://community.jboss.org" />
<foaf:accountName>{{{community}}}</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
{{/community}}
</foaf:Person>
</translator>
{{/translator}}
{{#tester}}
<tester>
<foaf:Person>
<foaf:name>{{{firstName}}} {{{lastName}}}</foaf:name>
<foaf:firstName>{{{firstName}}}</foaf:firstName>
<foaf:lastName>{{{lastName}}}</foaf:lastName>
{{#community}}
<foaf:account>
<foaf:OnlineAccount>
<rdf:type rdf:resource="http://xmln.com/foaf/0.1/OnlineAccount" />
<foaf:accountServiceHomepage rdf:resource="https://community.jboss.org" />
<foaf:accountName>{{{community}}}</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
{{/community}}
</foaf:Person>
</tester>
{{/tester}}
{{#helper}}
<helper>
<foaf:Person>
<foaf:name>{{{firstName}}} {{{lastName}}}</foaf:name>
<foaf:firstName>{{{firstName}}}</foaf:firstName>
<foaf:lastName>{{{lastName}}}</foaf:lastName>
{{#community}}
<foaf:account>
<foaf:OnlineAccount>
<rdf:type rdf:resource="http://xmln.com/foaf/0.1/OnlineAccount" />
<foaf:accountServiceHomepage rdf:resource="https://community.jboss.org" />
<foaf:accountName>{{{community}}}</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
{{/community}}
</foaf:Person>
</helper>
{{/helper}}
{{#category}}<category>{{{category}}}</category>{{/category}}
{{#releases}}
<release>
<Version>
{{#releaseName}}<name>{{{releaseName}}}</name>{{/releaseName}}
<revision>{{{revision}}}</revision>
<created>{{{created}}}</created>
</Version>
</release>
{{/releases}}
<license rdf:resource="{{{licenseURL}}}" />
{{#repositoryType}}
<repository>
<{{repositoryType}}>
{{#repoLocation}}<location rdf:resource="{{{repoLocation}}}" />{{/repoLocation}}{{^repoLocation}}{{/repoLocation}}
{{#repoBrowse}}<browse rdf:resource="{{{repoBrowse}}}" />{{/repoBrowse}}{{^repoBrowse}}{{/repoBrowse}}
{{#repoModule}}<module>{{repoModule}}</module>{{/repoModule}}{{^repoModule}}{{/repoModule}}
{{#repoAnonRoot}}<anon-root>{{repoAnonRoot}}</anon-root>{{/repoAnonRoot}}{{^repoAnonRoot}}{{/repoAnonRoot}}
</{{repositoryType}}>
</repository>
{{/repositoryType}}
{{#issueDB}}<bug-database rdf:resource="{{{issueDB}}}" />{{/issueDB}}
{{#wiki}}<wiki rdf:resource="{{{wiki}}}" />{{/wiki}}{{^wiki}}{{/wiki}}
{{#language}}
<programming-language>{{{.}}}</programming-language>
{{/language}}
<vendor>{{{vendor}}}</vendor>
{{#specs}}
<implements>
<Specification>
<name>{{{specName}}}</name>
{{#specDesc}}<description>{{{specDesc}}}</description>{{/specDesc}}
{{#seeAlsoURL}}<rdfs:seeAlso rdf:resource="{{{seeAlsoURL}}}" />{{/seeAlsoURL}}
</Specification>
</implements>
{{/specs}}
<foaf:logo rdf:resource="{{{logoURL}}}" />
{{#accounts}}
<foaf:account>
<foaf:OnlineAccount>
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/OnlineChatAccount" />
<foaf:accountServiceHomepage rdf:resource="{{{serviceHomepage}}}" />
<foaf:accountName>{{accountName}}</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
{{/accounts}}
{{#consumesProject}}
<rhtdoap:consumesProject rdf:resource="{{{.}}}" />
{{/consumesProject}}
{{#status}}
<rhtdoap:status>{{{status}}}</rhtdoap:status>
{{/status}}
{{#userForum}}
<rhtdoap:userForum rdf:resource="{{{userForum}}}" />
{{/userForum}}
{{#developerForum}}
<rhtdoap:developerForum rdf:resource="{{{developerForum}}}" />
{{/developerForum}}
</rhtdoap:Project>
</rdf:RDF>
</script><script src="//cdnjs.cloudflare.com/ajax/libs/mustache.js/0.7.2/mustache.min.js"></script><script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.2/highlight.min.js"></script><script src="scripts/all.js"></script></body></html>