Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add maintainers field #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@
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>
<h3>Basic</h3>
<div>
<h4>Mandatory</h4>
<ol id="mandatory_fields">
<li>
<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>
Expand Down Expand Up @@ -150,7 +151,17 @@ <h3>Mandatory</h3>
<br />
<small>While not technically mandatory, not providing this field is considered bad practice.</small>
</li>

</ol>
<h4>Nice to have</h4>
<ol id="nice_to_have">
<li>
<label>Index Maintainers (one per line)<br /><textarea id="x_maintained_by" cols="40"></textarea></label>
<br />
<small>
Please put the people here who take care of the entry you are making at the moment if not the same as the authors:
Propably <strong>you</strong> and maybe others
</small>
</li>
</ol>
</div>
<h3>Resources (Suggested)</h3>
Expand Down
3 changes: 2 additions & 1 deletion static/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ function generate_netkan() {
sets(o, "abstract");
seta(o, "license");
seta(o, "author");
seta(o, "x_maintained_by");
sets(o, "download");
sets(o, "kref", "$kref");
if ($("#add_vref:checked").val()) {
Expand Down Expand Up @@ -423,4 +424,4 @@ $(function () {
$("#install").append(install);
});

});
});