Skip to content

Commit

Permalink
Merge pull request #5 from KSP-CKAN/rewording
Browse files Browse the repository at this point in the history
Reword many fields, add explanations, move fields into different sections.
  • Loading branch information
janbrohl committed May 22, 2016
2 parents 5f98ca4 + 0e6b7b2 commit aa83bc9
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,35 +108,35 @@
</div>
</div>
<p>
Fields filled by the NetKAN indexer look like <input type="text" class="filled-by-netkan" disabled="disabled" /> - you can override auto-detection by setting a value yourself. <em>If unsure - don't override.</em>
Fields filled by the NetKAN indexer look like <input type="text" class="filled-by-netkan" disabled="disabled" /> - you can override auto-detection by setting a value yourself. <strong>If unsure - don't override.</strong>
</p>
<div id="accordion">
<h3>Mandatory</h3>
<div>
<ol id="mandatory_fields">
<li>
<label>Identifier<br /><input type="text" id="identifier" placeholder="Machine-friendly name for the mod" size="40" pattern="^[A-Za-z][A-Za-z0-9-]*$" /></label> <em id="identifier_info"></em>
<label>Identifier - Machine-friendly name for the mod (only numbers, letters, and dashes, no spaces)<br /><input type="text" id="identifier" placeholder="AwesomeMod" size="40" pattern="^[A-Za-z][A-Za-z0-9-]*$" /></label> <strong id="identifier_info"></strong>
</li>
<li>
<label>Name<br /><input type="text" id="name" placeholder="User-friendly name for the mod" size="40" /></label> <em id="name_info"></em>
<label>Name - User-friendly name for the mod<br /><input type="text" id="name" placeholder="Awesome Mod" size="40" /></label> <strong id="name_info"></strong>
</li>
<li>
<label><input type="checkbox" id="add_vref" value="1" onchange="switch_add_vref()" /> Installs <code>.version</code> file</label>
</li>
<li>
<label>Version<br /><input type="text" id="version" size="40" /></label>
<label>Mod Version<br /><input type="text" id="version" size="40" /></label>
</li>
<li>
<label>Abstract<br /><textarea id="abstract" placeholder="A short description of what the mod does" size="40"></textarea></label>
<label>Abstract - A short description of what the mod does<br /><textarea id="abstract" placeholder="Awesome mod makes everything better!" cols="40" ></textarea></label>
</li>
<li>
<label>Download<br /><input type="url" id="download" size="40" /></label>
<label>Download URI<br /><input type="url" id="download" size="40" /></label>
</li>
<li>
<label>Authors (one per line)<br /><textarea id="author" cols="40"></textarea></label>
<label>Mod Authors (one per line)<br /><textarea id="author" cols="40"></textarea></label>
</li>
<li>
<label>Licenses<br /><textarea id="license" cols="40"></textarea></label>
<label>License(s)<br /><textarea id="license" cols="40"></textarea></label>
<button type="button" id="add_license_button">Add</button> Users can choose to which of these to adhere
<div id="add_license" title="Add license">
<a href="https://github.com/KSP-CKAN/CKAN/blob/master/Spec.md#license" target="_blank">About valid licenses</a>
Expand All @@ -145,55 +145,52 @@ <h3>Mandatory</h3>
</div>
</div>
</li>

</ol>
</div>
<h3>Extra Info (suggested)</h3>
<div id="extra_fields">
<ol>
<li>
<label>KSP-Version<br /><input type="text" id="ksp_version" size="40" /></label> examples: <code>==1.0</code> or <code>&lt;=1.1&gt;=1.0.3</code>
<br />
<small>While not technically mandatory, not providing this field is considered bad practice.</small>
</li>
<li>
<label><input type="checkbox" id="add_ksp_version_strict" value="1" size="40" /> Install only on exact KSP-Version match</label>
</li>
</ol>

</ol>
</div>
<h3>Ressources (suggested)</h3>
<h3>Resources (Suggested)</h3>
<div id="resources_fields">
<ol>
<li>
<label>Repository<br /><input type="url" id="resources_repository" size="40" /></label> The repository where the module source can be found
<label>Homepage<br /><input type="url" id="resources_homepage" size="40" /></label> URI to the preferred landing page for the mod
</li>
<li>
<label>Homepage<br /><input type="url" id="resources_homepage" size="40" /></label> The preferred landing page for the mod
</li>
<label>Repository<br /><input type="url" id="resources_repository" size="40" /></label> URI to the repository where the mod's source can be found
</li>
<li>
<label>Bugtracker<br /><input type="url" id="resources_bugtracker" size="40" /></label> The mod's bugtracker if it exists
<label>CI<br /><input type="url" id="resources_ci" size="40" /></label> Continuous Integration (e.g. Jenkins) Server where the module is being built
</li>
<li>
<label>CI<br /><input type="url" id="resources_ci" size="40" /></label> Continuous Integration (e.g. Jenkins) Server where the module is being built
<label>SpaceDock<br /><input type="url" id="resources_spacedock" size="40" /></label> URI to the mod's SpaceDock page
</li>
<li>
<label>SpaceDock<br /><input type="url" id="resources_spacedock" size="40" /></label> The mod on SpaceDock
<label>Manual<br /><input type="url" id="resources_manual" size="40" /></label> URI to the mod's user manual if it exists
</li>
<li>
<label>Manual<br /><input type="url" id="resources_manual" size="40" /></label> The mod's bugtracker if it exists
<label>License<br /><input type="url" id="resources_license" size="40" /></label> URI to the mod's license
</li>
<li>
<label>License<br /><input type="url" id="resources_license" size="40" /></label> The mod's license
<label>Bugtracker<br /><input type="url" id="resources_bugtracker" size="40" /></label> URI to the mod's bugtracker if it exists (Preferred page to post problems/questions)
</li>
<li>
<label>Screenshot<br /><input type="url" id="resources_x_screenshot" size="40" /></label>
<label>Screenshot<br /><input type="url" id="resources_x_screenshot" size="40" /></label> A direct URL to a screenshot of the mod
</li>
</ol>
</div>
<h3>Special Install</h3>
<h3>Installation</h3>
<div id="install_fields">
<p>
If this mod requires other mods to be installed alongside it, use Relationships.
<strong>Do not use install instructions to install multiple mods.</strong>
</p>
<ol>
<li>
<label>Install Root<br /><input type="text" id="file" size="40" /></label>
<label>Install from<br /><input type="text" id="file" size="40" /></label>
</li>
<li>
<label>
Expand All @@ -213,14 +210,14 @@ <h3>Special Install</h3>
</li>
</ol>
</div>
<h3>References</h3>
<h3>Relationships</h3>
<div id="references_fields">
<p>
You can add version restrictions. For example <code>SomeModID</code> can be restricted like <code>SomeModID ==1.0</code> or <code>SomeModID &lt;=1.1 &gt;=1.0.3</code>
</p>
<ol>
<li>
<label>Depends on<br /><textarea id="depends" cols="40"></textarea></label>
<label>Depends on (mod will not run without it)<br /><textarea id="depends" cols="40"></textarea></label>
<button type="button" id="add_depends_button">Add</button>
<div id="add_depends" title="Add requirement">
<div class="ui-widget">
Expand All @@ -232,7 +229,7 @@ <h3>References</h3>
</div>
</li>
<li>
<label>Recommends<br /><textarea id="recommends" cols="40"></textarea></label>
<label>Recommends (mod is greatly complimented by these mods)<br /><textarea id="recommends" cols="40"></textarea></label>
<button type="button" id="add_recommends_button">Add</button>
<div id="add_recommends" title="Add recommendation">
<div class="ui-widget">
Expand All @@ -244,7 +241,7 @@ <h3>References</h3>
</div>
</li>
<li>
<label>Suggests<br /><textarea id="suggests" cols="40"></textarea></label>
<label>Suggests (mod is complimented by these mods)<br /><textarea id="suggests" cols="40"></textarea></label>
<button type="button" id="add_suggests_button">Add</button>
<div id="add_suggests" title="Add suggestion">
<div class="ui-widget">
Expand All @@ -256,7 +253,7 @@ <h3>References</h3>
</div>
</li>
<li>
<label>Supports<br /><textarea id="supports" cols="40"></textarea></label>
<label>Supports (mod has specific code to relating to these mods ex. Toolbar integration)<br /><textarea id="supports" cols="40"></textarea></label>
<button type="button" id="add_supports_button">Add</button>
<div id="add_supports" title="Add supported">
<div class="ui-widget">
Expand All @@ -269,7 +266,7 @@ <h3>References</h3>
</li>

<li>
<label>Conflicts with<br /><textarea id="conflicts" cols="40"></textarea></label>
<label>Conflicts with (mod will break or be broken by these mods)<br /><textarea id="conflicts" cols="40"></textarea></label>
<button type="button" id="add_conflicts_button">Add</button>
<div id="add_conflicts" title="Add conflicted">
<div class="ui-widget">
Expand All @@ -286,7 +283,7 @@ <h3>Advanced</h3>
<div id="advanced_fields">
<ol>
<li>
<label>Provides<br /><textarea id="provides" cols="40"></textarea></label>
<label>Provides (can be installed instead of these mods without problems)<br /><textarea id="provides" cols="40"></textarea></label>
<button type="button" id="add_provides_button">Add</button>
<div id="add_provides" title="Add provided">
<div class="ui-widget">
Expand All @@ -297,6 +294,9 @@ <h3>Advanced</h3>
</div>
</div>
</li>
<li>
<label><input type="checkbox" id="add_ksp_version_strict" value="1" size="40" /> Install only on exact KSP-Version match</label> in case this mods is not compatible with small KSP patches/hotfixes
</li>

</ol>
</div>
Expand All @@ -307,7 +307,7 @@ <h3>Don't Touch</h3>
<label>$kref<br /><input type="text" id="kref" size="40" /></label>
</li>
<li>
<label>Update JSON<br /><textarea id="update_json" size="40">{}</textarea></label>
<label>Update JSON<br /><textarea id="update_json" cols="40">{}</textarea></label>
</li>
</ol>
</div>
Expand Down

0 comments on commit aa83bc9

Please sign in to comment.