lib/rhoconnect/web-console/views/home.js in rhoconnect-3.2.0.beta1 vs lib/rhoconnect/web-console/views/home.js in rhoconnect-3.2.0.beta2

- old
+ new

@@ -46,10 +46,31 @@ out += "</div></div>" out += "<div class='span4'>" out += "<table id='source-table' class='table table-bordered'><thead><tr><th><h3>App partition sources</h3></th></tr></thead>" out += "</table></div>" out += "<div class='span4 pull-right'><h3>Sync Server URL</h3><code style='margin:0'>http://"+domain+"</code></br>"; - out += "<em style='margin-top:5px'>Paste this url into your client app configuration to sync with this RhoConnect instance.</em></div>" + out += "<em style='margin-top:5px'>Paste this url into your client app configuration to sync with this RhoConnect instance.</em></div>"; + out += "<div class='span12' style='margin-top:20px'><h2>Getting Started with RhoConnect</h2>"; + out += "<ol style='font-size:18px;margin-top:20px'><li>The Home Screen</li>"; + out += "<ul style='margin:20px'>" + out += "<li>Sync Server URL<p style='margin-top:5px'> This url is the domain of this page appended with 'application'. This is a convenience function as you will need to paste this url into your rhodes app to sync with rhoconnect</p></li>" + out += "<li>App partition sources</li><p style='margin-top:5px'>This is a list of all your source adapters partitioned by :app. Click on the source links to view the attributes and document key/values stored in redis</p>" + out += "<li><a class='btn btn-danger'>Reset</a> button</li>" + out += "<p style='margin-top:5px'>The reset button will clear the redis db of all data. <b><em>Be careful when reseting the db as you will lose all your user information and document data.</em></b></p>" + out += "</ul>" + out += "<li>Server Doc</li>"; + out += "<p style='margin:10px'>Enter a dbkey to view the stored value in redis. You can also set and delete doc values here.</p>" + out += "<li>Users</li>" + out += "<p style='margin:10px'>View a list of registered users here. You can also create,delete and ping users. Viewing a particular user will allow you to view source apdapters partitioned by user as well as that users registered devices." + out += "<li>Settings</li><ul style='margin:20px'><li>Change Admin Password</li><p style='margin-top:10px'>By default the admin password is blank. Here you can change the admin password.</p>" + out += "<li>API Token</li><p>View your RhoConnect API Token. This token needs to be included in all API calls made to RhoConnect</p>" + out += "<li>Plugin Settings</li><p style='margin-top:10px'>If you are using Dynamic Adapters (opposed to source adapters) with <a href='http://docs.rhomobile.com/rhoconnect/plugin-intro' target='_blank'>RhoConnect Plugins</a>, you will need to " + out += "define your backend app URL here. For example, if I am using the plugin rhoconnect-rb with my rails app, I would put the URL http://myrailsapp.com here. <em><b>This value needs to be set in order to use RhoConnect Plugins.</b></em></p></ul>" + out += "<li>Statistics</li>" + out += "<p style='margin-top:10px'>If you do not see a link to Statistics, it is not enabled in your config.ru file. By default Rhoconnect apps will have this line <code>Rhoconnect::Server.enable :stats</code> commented out. " + out += "Older versions of Rhoconnect will not have this line in the config.ru file at all. Uncomment or add the line above to enable Statistics. The Statistics tab will have different graphs to measure metrics/performance for Rhoconnect.</p>" + out += "</ol></div>" + $(this.el).html(out); $('#main_content').html(this.el); return this } });