Tools: fix some small issues

This commit is contained in:
mDuo13
2021-07-19 14:01:46 -07:00
parent 817a3f0e59
commit b97f2dbef6
4 changed files with 18 additions and 51 deletions

File diff suppressed because one or more lines are too long

View File

@@ -24,6 +24,14 @@
border-color: $success; border-color: $success;
} }
.api-input-area .btn-group > .send-request.btn {
// This button is part of a toolbar with a loader animation, which causes the
// right edges to not be rounded even though the loader is usually invisible.
// So, this forces the button's corners to be consistently rounded.
border-bottom-right-radius: $border-radius-sm;
border-top-right-radius: $border-radius-sm;
}
#tx-sender-history ul { #tx-sender-history ul {
overflow: auto; overflow: auto;
height: 220px; height: 220px;
@@ -60,47 +68,6 @@
} }
#rest_url_wrapper p {
margin: 0;
border-radius: 4px;
// $code-bg and $code-padding are from _code-tabs.scss
background-color: $code-bg;
padding: $code-padding;
overflow: auto;
}
#rest_url {
width: auto;
border: 0;
background: none;
font-size:13px;
vertical-align: top;
.editable {
color: $white;
font-weight: bold;
font-family: $font-family-monospace;
border-width: 0 0px 1px 0;
border-style: dotted;
border-color: $gray-200;
min-width: 5em;
background: none;
vertical-align: top;
}
.non_editable {
vertical-align: top;
}
div {
display: inline-block;
}
input {
margin: 0 !important;
}
}
.rpc-tool .main { .rpc-tool .main {
h1::before, h2::before, h3::before { h1::before, h2::before, h3::before {
// These aren't anchors, and the placement of the anchor fix thing // These aren't anchors, and the placement of the anchor fix thing

View File

@@ -31,7 +31,7 @@
</div><!--/.input-group.loader--> </div><!--/.input-group.loader-->
</div><!--/.btn-group--> </div><!--/.btn-group-->
<div class="btn-group request-options" role="group"> <div class="btn-group request-options" role="group">
<button class="btn btn-outline-secondary connection" data-toggle="modal" data-target="#wstool-1-connection-settings">Offline (Main Net)</button> <button class="btn btn-outline-secondary connection" data-toggle="modal" data-target="#wstool-1-connection-settings">Offline (Mainnet)</button>
<div class="input-group loader connect-loader" style="display:none;"> <div class="input-group loader connect-loader" style="display:none;">
<span class="input-group-append"> <span class="input-group-append">
<img src="assets/img/xrp-loader-96.png" height="24" width="24" /> <img src="assets/img/xrp-loader-96.png" height="24" width="24" />
@@ -51,7 +51,7 @@
<div class="input-group-prepend"> <div class="input-group-prepend">
<div class="input-group-text" id="wstool-1-keep-last-label">Keep last:</div> <div class="input-group-text" id="wstool-1-keep-last-label">Keep last:</div>
</div><!--/.input-group-prepend--> </div><!--/.input-group-prepend-->
<input type="number" value="50" aria-label="Number of responses to keep at once" aria-describedby="wstool-1-keep-last-label" class="form-control keep-last"> <input type="number" value="50" min="1" aria-label="Number of responses to keep at once" aria-describedby="wstool-1-keep-last-label" class="form-control keep-last">
</div><!--/.input-group--> </div><!--/.input-group-->
<div class="btn-group" role="group"> <div class="btn-group" role="group">
@@ -90,19 +90,19 @@
<div class="modal-body"> <div class="modal-body">
<div class="form-check"> <div class="form-check">
<input class="form-check-input" type="radio" name="wstool-1-connection" id="wstool-1-connection-s1" value="wss://s1.ripple.com/" data-jsonrpcurl="https://s1.ripple.com:51234/" data-shortname="Mainnet" checked> <input class="form-check-input" type="radio" name="wstool-1-connection" id="wstool-1-connection-s1" value="wss://s1.ripple.com/" data-jsonrpcurl="https://s1.ripple.com:51234/" data-shortname="Mainnet s1" checked>
<label class="form-check-label" for="wstool-1-connection-s1"> <label class="form-check-label" for="wstool-1-connection-s1">
s1.ripple.com (Mainnet Public Cluster) s1.ripple.com (Mainnet Public Cluster)
</label> </label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input class="form-check-input" type="radio" name="wstool-1-connection" id="wstool-1-connection-xrplws" value="wss://xrpl.ws/" data-jsonrpcurl="https://xrpl.ws/" data-shortname="Mainnet"> <input class="form-check-input" type="radio" name="wstool-1-connection" id="wstool-1-connection-xrplcluster" value="wss://xrplcluster.com/" data-jsonrpcurl="https://xrplcluster.com/" data-shortname="Mainnet xrplcluster">
<label class="form-check-label" for="wstool-1-connection-xrplws"> <label class="form-check-label" for="wstool-1-connection-xrplcluster">
xrpl.ws (Mainnet Full History Cluster) xrplcluster.com (Mainnet Full History Cluster)
</label> </label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input class="form-check-input" type="radio" name="wstool-1-connection" id="wstool-1-connection-s2" value="wss://s2.ripple.com/" data-jsonrpcurl="https://s2.ripple.com:51234/" data-shortname="Full History"> <input class="form-check-input" type="radio" name="wstool-1-connection" id="wstool-1-connection-s2" value="wss://s2.ripple.com/" data-jsonrpcurl="https://s2.ripple.com:51234/" data-shortname="Mainnet s2">
<label class="form-check-label" for="wstool-1-connection-s2"> <label class="form-check-label" for="wstool-1-connection-s2">
s2.ripple.com (Mainnet Full History Cluster) s2.ripple.com (Mainnet Full History Cluster)
</label> </label>

View File

@@ -48,8 +48,8 @@
<p>These funds are intended for <strong>testing</strong> only. The Testnet ledger and balances will be reset approximately every 90 days, or when otherwise necessary. Devnet funds may be reset without warning as needed.</p> <p>These funds are intended for <strong>testing</strong> only. The Testnet ledger and balances will be reset approximately every 90 days, or when otherwise necessary. Devnet funds may be reset without warning as needed.</p>
<p>Testnet and Devnet balances are separate. As a precaution, do not use the Testnet or Devnet credentials on the Mainnet.</p> <p>Testnet and Devnet balances are separate. As a precaution, do not use the Testnet or Devnet credentials on the Mainnet.</p>
<div class="btn-toolbar" role="toolbar" aria-label="Button"> <div class="btn-toolbar" role="toolbar" aria-label="Button">
<button id="testnet-creds-button" class="btn btn-primary mr-2">Generate Testnet credentials</button> <button id="testnet-creds-button" class="btn btn-primary mr-2 mb-2">Generate Testnet credentials</button>
<button id="devnet-creds-button" class="btn btn-primary">Generate Devnet credentials</button> <button id="devnet-creds-button" class="btn btn-primary mb-2">Generate Devnet credentials</button>
</div><!--/.btn-toolbar--> </div><!--/.btn-toolbar-->
<div id='your-credentials'></div> <div id='your-credentials'></div>
<div id='loader' style="display: none;"><img class="throbber" src="assets/img/xrp-loader-96.png"> Generating Keys...</div> <div id='loader' style="display: none;"><img class="throbber" src="assets/img/xrp-loader-96.png"> Generating Keys...</div>