lib/rhoconnect/web-console/views/home.js in rhoconnect-3.3.1.beta2 vs lib/rhoconnect/web-console/views/home.js in rhoconnect-3.3.1.beta3

- old
+ new

@@ -2,11 +2,11 @@ events: { "click a#reset" : "reset", "click #app_url" : "set_adapter", "submit form" : "edit", - "click #api_btn" : "toggle_api_token" + "click #api_btn" : "toggle_api_token" }, initialize: function() { var domain = $('input#domain').val(); this.model.get_license_info(); @@ -119,25 +119,10 @@ out += "<td width='40%'><p style='margin-top:10px'><input id='input_adapter' type='text' name='adapter_url' value='' class='input-xlarge' placeholder='Enter URL' style='margin:0'/>"; out += "<input id='app_url' type='button' value='Save' class='btn btn-primary' style='margin-left:10px'/><div class='setadapter-status' style='display:inline;margin-left:10px;visibility:hidden'><span class=''></span></div></p></td>"; out += "<td width='40%'><p style='margin-top:10px'>If you are using <a href='http://docs.rhomobile.com/rhoconnect/plugin-intro' target='_blank'>RhoConnect Plugins</a>, you will need to "; out += "define your backend app URL either here or in the plugin configuration. For example, if you are using the rhoconnect-rb plugin in your rails app running locally, use the URL http://localhost:3000. <em><b>This needs to be set in order to use RhoConnect Plugins.</b></em></p></td>" out += "</table>" - - 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'>Use this url in your client application 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 resetting 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 key to view the stored value in the database. You can also set and delete keys 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 adapters partitioned by user as well as that user's registered devices." - out += "</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 += "<p style='margin-top:10px'>*If Statistics is greyed out, 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>" out += "<div class='pull-right'>" out += "<div class='reset-status' style='display:inline;'><span class='' style='margin-right:5px'></span></div>" out += "<a id='reset' class='btn btn-danger'>Reset</a>"