afkratien 12 Posted May 22, 2017 Report Share Posted May 22, 2017 hi , i am finding a solution for table like indexnuke . my program will check account , password from a text file and display result (ok or no.)i need to create table to display that . Anyone suggest me any plugin or any video tutorial for that ? thank a lot Quote Link to post Share on other sites
deliter 203 Posted May 23, 2017 Report Share Posted May 23, 2017 Heres a full replica, I have been meaning to make some UI Table commands for the community, I guess I might make a start on it, on this you can select the row, give it a color and a message, just like the UI above, and the delete button works too ui html panel("<!DOCTYPE html> <html lang=\"en\"> <head> <title>Bootstrap Example</title> <meta charset=\"utf-8\"> <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\"> <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js\"></script> <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js\"></script> <style> #tHeader\{ color:white; background-color:#003366; \} .table td\{ border: black solid 1px !important; \} #tBody\{ color:white; background-color:#6699ff; \} .deleteR\{ background-color:red; \} </style> </head> <body> <input type=\"hidden\" id=\"invElem\" variable=\"#varThree\" onChange=\'evalUI()\' /> <div id=\"yourDiv\"></div> <script> function evalUI()\{ ubot.runScript(\'set(#UIOutput,\"\'+encodeURIComponent(eval(document.querySelector(\"#invElem\").value).toString())+\'\",\"Global\")\') \} </script> <div class=\"container\"> <h2>Bordered Table</h2> <p>The .table-bordered class adds borders to a table:</p> <table class=\"table table-bordered\"> <thead id=\"tHeader\"> <tr> <th>Job ID</th> <th>Campaign Name</th> <th>Date Added</th> <th>Next Run</th> <th>\'# URL\'s</th> <th>Campaign Status</th> <th></th> </tr> </thead> <tbody id=\"tBody\"> <tr> <td>7442</td> <td>Home Page</td> <td>11/04/2015</td> <td>11/04/2015</td> <td>1</td> <td>Submitting: Sending to Cloud</td> <td class=\"deleteR\" onClick=\"remove(this)\" >DELETE</td> </tr> <tr> <td>7442</td> <td>Home Page</td> <td>11/04/2015</td> <td>11/04/2015</td> <td>1</td> <td>Waiting: Drip Schedule</td> <td class=\"deleteR\" onClick=\"remove(this)\" >DELETE</td> </tr> <tr> <td>7442</td> <td>Home Page</td> <td>11/04/2015</td> <td>11/04/2015</td> <td>1</td> <td>Finished: Drip Schedule</td> <td class=\"deleteR\" onClick=\"remove(this)\" >DELETE</td> </tr> </tbody> </table> </div> <script> function remove(elem)\{ $(elem.parentElement).remove() \} </script> </body> </html> ",300) define changeCampaignStatus(#row, #color, #Message) { set(#item,$add(#row,1),"Local") return($evalUI("$(\"#tBody > tr:nth-child({#item}) > td:nth-child(6)\")[0].textContent = \"{#Message}\" $(\"#tBody > tr:nth-child({#item}) > td:nth-child(6)\")[0].style.backgroundColor = \"{#color}\" ")) } define $evalUI(#input) { set(#varThree,#input,"Global") wait(0.5) set(#varThree,"","Global") } wait(10) changeCampaignStatus(0, "green", "Submitting") wait(15) changeCampaignStatus(1, "orange", "Waiting") wait(10) changeCampaignStatus(2, "red", "Completed") 6 Quote Link to post Share on other sites
afkratien 12 Posted May 23, 2017 Author Report Share Posted May 23, 2017 (edited) thank alotit is amazing and i have a question , is there anyway to add a row ? and if there are many rows , it will show current row ?thank Edited May 23, 2017 by afkratien 1 Quote Link to post Share on other sites
deliter 203 Posted May 23, 2017 Report Share Posted May 23, 2017 thank alotit is amazing and i have a question , is there anyway to add a row ? and if there are many rows , it will show current row ?thank Nice ideas will add these features later today and also a way to dynamically insert a full html table from your Ubot Table too It appears Ubot has blocked me from starting threads in the free bots/plugins thread, so I am awaiting the outcome as to why this is 1 Quote Link to post Share on other sites
afkratien 12 Posted May 23, 2017 Author Report Share Posted May 23, 2017 Nice ideas will add these features later today and also a way to dynamically insert a full html table from your Ubot Table too It appears Ubot has blocked me from starting threads in the free bots/plugins thread, so I am awaiting the outcome as to why this issure , i will pay for thischeck inbox plsthank 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.