The following documentation is directed towards people developing the front-end for EVE-SRP. These functions should not be used by end-users, and are purely an implementation detail.
Convert an integer representing a month to the three letter abbreviation.
Arguments: |
|
---|---|
Returns: | The three letter abbreviation for that month. |
Return type: | string |
Pad a number with leading 0s to the given width.
Arguments: |
|
---|---|
Returns: | num padded to width with 0s. |
Return type: | string |
Return an array of page numbers, skipping some of them as configured by the options argument. This function should be functionally identical to Flask-SQLAlchemy’s Pagination.iter_pages (including in default arguments). One deviation is that this function uses 0-indexed page numbers instead of 1-indexed, to ease compatibility with PourOver. Skipped numbers are represented by null.
Arguments: |
|
---|---|
Returns: | The page numbers to be show, in order. |
Return type: | An array on integers (and null). |
Event callback for pager links. It intercepts the event and changes the current PourOver view to reflect the new page.
Arguments: |
|
---|
An extension of PourOver.View with a custom render function recreating a table of Requests with the associated pager.