Cleaned up distribution.json for mod toggle UI.

Removed the version from the module's name. The version can be retrieved
from the identifier and placed wherever desired.
Reorganized the modules to have the more popular/important mods listed
first. The order in which modules are declared is the order they appear
on the UI.
Updated the docs to make it clear that maven identifiers are required for
all modules not of type File.
This commit is contained in:
Daniel Scalzi
2018-07-24 02:25:39 -04:00
parent e583133c8b
commit 40506c4283
3 changed files with 329 additions and 329 deletions

View File

@@ -455,7 +455,7 @@ function parseModulesForUI(mdls, submodules = false, servConf){
<div class="settingsModMainWrapper">
<div class="settingsModStatus"></div>
<div class="settingsModDetails">
<span class="settingsModName">${mdl.getName().substring(0, mdl.getName().indexOf('('))}</span>
<span class="settingsModName">${mdl.getName()}</span>
<span class="settingsModVersion">v${mdl.getVersion()}</span>
</div>
</div>
@@ -479,7 +479,7 @@ function parseModulesForUI(mdls, submodules = false, servConf){
<div class="settingsModMainWrapper">
<div class="settingsModStatus"></div>
<div class="settingsModDetails">
<span class="settingsModName">${mdl.getName().substring(0, mdl.getName().indexOf('('))}</span>
<span class="settingsModName">${mdl.getName()}</span>
<span class="settingsModVersion">v${mdl.getVersion()}</span>
</div>
</div>