commit ce110856f7f317c4c793137aa0b8c0e33e7b2038 parent 48395a34be8b699a37d49ccbcd2194a828e1387f Author: MTRNord <mtrnord1@gmail.com> Date: Wed, 30 Mar 2016 00:14:46 +0200 Update Table Diffstat:
| M | web/theme/js/pluginManagerConnect.js | | | 2 | +- |
| M | web/theme/pluginManager.html | | | 14 | +++++++++----- |
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/web/theme/js/pluginManagerConnect.js b/web/theme/js/pluginManagerConnect.js @@ -32,7 +32,7 @@ function drawTable(data) { function drawRow(rowData) { var row = $("<tr />") - $("#SourcemodVersions").append(row); //this will append tr element to table... keep its reference for a while since we will add cels into it + $("#SourcemodVersions_body").append(row); //this will append tr element to table... keep its reference for a while since we will add cels into it row.append($("<td>" + rowData.name + "</td>")); console.error(rowData.name); row.append($("<td>" + rowData.zipball_url + "</td>")); diff --git a/web/theme/pluginManager.html b/web/theme/pluginManager.html @@ -111,11 +111,15 @@ <button type="button" class="btn btn-info pull-right" id="refreshSourcemodReleases"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> Refresh</button> <br/> <table class="table table-hover" id="SourcemodVersions"> - <tr> - <th>Id</th> - <th>First Name</th> - <th>Last Name</th> - </tr> + <thead> + <tr> + <th>Version</th> + <th>Zip URL</th> + <th>Commit</th> + </tr> + </thead> + <tbody id="SourcemodVersions_body"> + </tbody> </table> </div> </div>