Sha256: 3e2c2245a079e25e972e4890e7ca81a67a44396044bb7da254ebf5d326b431f0

Contents?: true

Size: 1.34 KB

Versions: 9

Compression:

Stored size: 1.34 KB

Contents

(function() {
    var Help = function(json) {
      view.View.call(this, json);
      this.clickFocusable = true;
      this.el.addClass("help");
      this.el.append('<div class="box">' +
        "<p>Welcome to Riemann-Dash.</p>" +
        "<p>Click to select a view. Escape unfocuses. Use the arrow keys to move a view. Use Control+arrow to <i>split</i> a view in the given direction.</p>" +
        "<p>To edit a view, hit e. Use enter, or click 'apply', to apply your changes. Escape cancels.</p>" +
        "<p>To save your changes to the server, press s. You can refresh the page, or press r to reload.</p>" +
        "<p>Make views bigger and smaller with the +/- keys. Pageup selects the parent of the current view. To delete a view, use the delete key.</p>" +
        "<p>Switch between workspaces with alt-1, alt-2, etc.</p>" +
        "<p>My sincere apologies for layout jankiness. There are a few gross bugs and incapabilities in the current hstack/vstack system; if things get really bad, you can always edit ws/config.json on the server. The control scheme will probably change; I appreciate your ideas and patches.</p>" +
        '</div>'
    );
    }

    view.inherit(view.View, Help);
    view.Help = Help;
    view.types.Help = Help;

    Help.prototype.json = function() {
      return {
        type: 'Help',
        title: this.title
      };
    }
})();

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
riemann-dash-0.2.6 lib/riemann/dash/public/views/help.js
riemann-dash-0.2.5 lib/riemann/dash/public/views/help.js
riemann-dash-0.2.4 lib/riemann/dash/public/views/help.js
riemann-dash-0.2.3 lib/riemann/dash/public/views/help.js
mindreframer-riemann-dash-0.2.3 lib/riemann/dash/public/views/help.js
mindreframer-reslike-dash-0.2.2 lib/riemann/dash/public/views/help.js
riemann-dash-0.2.1 lib/riemann/dash/public/views/help.js
riemann-dash-0.2.0 lib/riemann/dash/public/views/help.js
riemann-dash-0.1.1 lib/riemann/dash/public/views/help.js