diff --git a/assets/css/devportal.css b/assets/css/devportal.css index 0ab93a4022..275ac93829 100644 --- a/assets/css/devportal.css +++ b/assets/css/devportal.css @@ -802,11 +802,13 @@ a.current { margin-left: 0; } -.right-sidebar .level-1 a { +.right-sidebar .level-1 a, +.right-sidebar .separator { font-weight: 700; font-family: "Space Mono", monospace; } -.right-sidebar .level-2 { +.right-sidebar .level-2, +.right-sidebar .method { margin-left: 0; } @@ -989,6 +991,12 @@ a.current { text-decoration: none; } +.btn-group .btn:hover:after { + /* Don't resize buttons in a group this way, because it can cause the group + to spill into additional lines or worse */ + padding-left: 7px; +} + .btn.fa-search::after, .btn.fa-search:hover::after { content: ""; diff --git a/assets/js/apitool-methods-ws.js b/assets/js/apitool-methods-ws.js index ddad52ee54..82e64ee767 100644 --- a/assets/js/apitool-methods-ws.js +++ b/assets/js/apitool-methods-ws.js @@ -11,3 +11,14 @@ Request('account_channels', { "ledger_index": "validated" } }) + +Request('account_currencies', { + description: "Retrieves a list of currencies that an account can send or receive, based on its trust lines.", + link: "account_currencies.html", + body: { + "command": "account_currencies", + "account": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59", + "strict": true, + "ledger_index": "validated" + } +}) diff --git a/assets/js/apitool-websocket2.js b/assets/js/apitool-websocket2.js index cc7d0feb86..3fbeba17a8 100644 --- a/assets/js/apitool-websocket2.js +++ b/assets/js/apitool-websocket2.js @@ -2,6 +2,7 @@ const commandlist = $("#command_list") const request_body = $(".request-body.io") const response_body = $(".response-body.io") const request_button = $('.request_button') +const conn_btn = $(".connection") const GET = "GET" const POST = "POST" @@ -48,7 +49,7 @@ function generate_table_of_contents() { if (req.slug === null) { commandlist.append("