mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 20:25:51 +00:00
reorg repo - remove some old stuff and style to look like ripple.com
This commit is contained in:
@@ -1,886 +0,0 @@
|
||||
# INTRODUCTION #
|
||||
|
||||
`ripple-rest : v1.1.1`
|
||||
|
||||
## Ripple-REST API ##
|
||||
|
||||
The `ripple-rest` API makes it easy to access the Ripple system via a RESTful web interface. In this section, we will cover the concepts you need to understand, and get you started accessing the API and learning how to use it.
|
||||
|
||||
While there are other API's to use with Ripple (i.e. Accessing the `rippled` server directly via a web socket), this documentation is meant only for the `ripple-rest` API as this is the high-level API recommended for working with Ripple and some of the endpoints provide abstractions to make it much easier to use than the traditional websocket API's.
|
||||
|
||||
Installation instructions and source code can be found in the `ripple-rest` repository <a href="https://github.com/ripple/ripple-rest" target="_blank">here</a>.
|
||||
|
||||
Older versions of the `ripple-rest` documentation will archived <a href="https://github.com/ripple/ripple-dev-portal/tree/master/archive" target="_blank">here</a>.
|
||||
|
||||
|
||||
## Available API Routes ##
|
||||
|
||||
* [`GET /v1/accounts/{:address}/payments/paths`](#preparing-a-payment)
|
||||
* [`GET /v1/accounts/{:address}/payments`](#confirming-a-payment)
|
||||
* [`GET /v1/accounts/{:address}/balances`](#account-balances)
|
||||
* [`GET /v1/accounts/{:address}/settings`](#account-settings)
|
||||
* [`GET /v1/accounts/{:address}/trustlines`](#reviewing-trustlines)
|
||||
* [`GET /v1/accounts/{:address}/notifications`](#checking-notifications)
|
||||
* [`GET /v1/server/connected`](#check-connection-state)
|
||||
* [`GET /v1/server`](#get-server-status)
|
||||
* [`GET /v1/tx`](#retrieve-ripple-transaction)
|
||||
* [`GET /v1/uuid`](#create-client-resource-id)
|
||||
|
||||
|
||||
* [`POST /v1/payments`](#submitting-a-payment)
|
||||
* [`POST /v1/accounts/{:address}/settings`](#updating-account-settings)
|
||||
* [`POST /v1/accounts/{:address}/trustlines`](#granting-a-trustline)
|
||||
|
||||
## API Overview ##
|
||||
|
||||
### Ripple Concepts ###
|
||||
|
||||
Ripple is a system for making financial transactions. You can use Ripple to send money anywhere in the world, in any currency, instantly and for free.
|
||||
|
||||
In the Ripple world, each account is identified by a <a href="https://ripple.com/wiki/Account" target="_blank">Ripple Address</a>. A Ripple address is a string that uniquely identifies an account, for example: `rNsJKf3kaxvFvR8RrDi9P3LBk2Zp6VL8mp`
|
||||
|
||||
A Ripple ___payment___ can be sent using Ripple's native currency, XRP, directly from one account to another. Payments can also be sent in other currencies, for example US dollars, Euros, Pounds or Bitcoins, though the process is slightly more complicated.
|
||||
|
||||
Payments are made between two accounts, by specifying the ___source___ and ___destination___ address for those accounts. A payment also involves an ___amount___, which includes both the numeric amount and the currency, for example: `100+XRP`.
|
||||
|
||||
When you make a payment in a currency other than XRP, you also need to include the Ripple address of the ___issuer___. The issuer is the gateway or other entity who holds the foreign-currency funds on your behalf. For foreign-currency payments, the amount will look something like this: `100+USD+rNsJKf3kaxvFvR8RrDi9P3LBk2Zp6VL8mp`.
|
||||
|
||||
While the `ripple-rest` API provides a high-level interface for sending and receiving payments, there are other endpoints within the API that you can use to work with generic ripple transactions, and to check the status of the Ripple server.
|
||||
|
||||
### Sending Payments ###
|
||||
|
||||
Sending a payment involves three steps:
|
||||
|
||||
1. You need to generate the payment object by doing using what is called a pathfind(preparing a payment). If the payment is to be made in a currency other than XRP, the Ripple system will identify the chain of trust, or ___path___, that connects the source and destination accounts; when creating the payment, the `ripple-rest` API will automatically find the set of possible paths for you.
|
||||
|
||||
2. You can modify the payment object if necessary, and then ___submit___ it to the API for processing. It is recommended to submit the payment object generated directly to prevent any errors from occuring.
|
||||
|
||||
3. Finally, you have to ___confirm___ that the payment has gone through by checking the payment's ___status___. This is because the payment submission is considered an asynchronous process, payments themselves can still fail even after they have been submitted successfully.
|
||||
|
||||
Note that when you submit a payment for processing, you have to assign a unique `client resource identifier` to that payment. This is a string which uniquely identifies the payment, and ensures that you do not accidentally submit the same payment twice. You can also use the `client_resource_id` to retrieve a payment once it has been submitted.
|
||||
|
||||
### Transaction Types ###
|
||||
|
||||
The Ripple protocol supports multiple types of transactions other than just payments. Transactions are considered to be any changes to the database made on behalf of a Ripple Address. Transactions are first constructed and then submitted to the network. After transaction processing, meta data is associated with the transaction which itemizes the resulting changes to the ledger.
|
||||
|
||||
+ Payment: Payment transaction is an authorized transfer of balance from one address to another.
|
||||
|
||||
+ Trustline: Trustline transaction is an authorized grant of trust between two addresses.
|
||||
|
||||
+ Setting: Setting transaction is an authorized update of account flags under a Ripple Account.
|
||||
|
||||
## Getting Started ##
|
||||
|
||||
### Setup ###
|
||||
|
||||
Before you can use the `ripple-rest` API, you will need to have three things:
|
||||
|
||||
* An installed version of `ripple-rest` running locally or remotely. Instructions on installing `ripple-rest` can be found in the readme.md file in the Github Repository <a href="https://github.com/ripple/ripple-rest" target="_blank">here</a>.
|
||||
|
||||
* An activated Ripple account. If you don't have a Ripple account, you can use the Ripple web client to create one, as described in the <a href="https://ripple.com/wiki/Client_Manual" target="_blank">Client Manual</a>. Make sure you have a copy of the Ripple address for your account; the address can be found by clicking on the __Receive__ tab in the web client.
|
||||
|
||||
* The URL of the server running the `ripple-rest` API that you wish to use. In this documentation, we will assume that the server is installed and running on a server you have connectivity to.
|
||||
|
||||
As a programmer, you will also need to have a suitable HTTP client library that allows you to make secure HTTP (`HTTPS`) requests. To follow the examples below, you will need to have access to the `curl` command-line tool.
|
||||
|
||||
|
||||
### Exploring the API ###
|
||||
|
||||
Let's start by using `curl` to see if the `ripple-rest` API is currently running. Type the following into a terminal window:
|
||||
|
||||
`curl http://[ripple-rest-server]/v1/server`
|
||||
|
||||
After a short delay, the following response should be displayed:
|
||||
|
||||
```js
|
||||
{
|
||||
"rippled_server_url": "wss://s-west.ripple.com:443",
|
||||
"rippled_server_status": {
|
||||
"build_version": "0.23.0",
|
||||
"complete_ledgers": "5526705-6142138",
|
||||
"fetch_pack": 2004,
|
||||
"hostid": "NEAT",
|
||||
"last_close": {
|
||||
"converge_time_s": 2.005,
|
||||
"proposers": 5
|
||||
},
|
||||
"load_factor": 1,
|
||||
"peers": 55,
|
||||
"pubkey_node": "n9KmrBnGoyVf89WYdiAnvGnKFaVqjLdAYjKrBuvg2r8pMxGPp6MF",
|
||||
"server_state": "full",
|
||||
"validated_ledger": {
|
||||
"age": 1,
|
||||
"base_fee_xrp": 0.00001,
|
||||
"hash": "BADDAB671EF21E8ED56B21253123D2C74139FE34E12DBE4B1F5527772EC88494",
|
||||
"reserve_base_xrp": 20,
|
||||
"reserve_inc_xrp": 5,
|
||||
"seq": 6142138
|
||||
},
|
||||
"validation_quorum": 3
|
||||
},
|
||||
"success": true,
|
||||
"api_documentation_url": "https://github.com/ripple/ripple-rest"
|
||||
}
|
||||
```
|
||||
|
||||
The `ripple-rest` API conforms to the following general behavior for a web interface:
|
||||
|
||||
* The HTTP method identifies what you are trying to do. Generally, HTTP `GET` requests are used to retrieve information, while HTTP `POST` requests are used to make changes or submit information.
|
||||
|
||||
* You make HTTP (or HTTPS) requests to the API endpoint, including the desired resources within the URL itself.
|
||||
|
||||
* If more complicated information needs to be sent, it will be included as JSON-formatted data within the body of the HTTP POST request.
|
||||
|
||||
* Upon completion, the server will return an HTTP status code of 200 (OK), and a `Content-Type` value of `application/json`. The body of the response will be a JSON-formatted object containing the information returned by the endpoint.
|
||||
|
||||
* The returned JSON object will include a `success` field indicating whether the request was successful or not.
|
||||
|
||||
|
||||
### Errors ###
|
||||
|
||||
There are two different ways in which errors are returned by the `ripple-rest` API:
|
||||
|
||||
Low-level errors are indicated by the server returning an appropriate HTTP status code. The following status codes are currently supported:
|
||||
|
||||
+ `Bad Request (400)` The JSON body submitted is malformed or invalid.
|
||||
+ `Method Not Accepted (404)` The endpoint is not allowed.
|
||||
+ `Gateway Timeout (502)` The rippled server is taking to long to respond.
|
||||
+ `Bad Gateway (504)` The rippled server is non-responsive.
|
||||
|
||||
Application-level errors are described further in the body of the JSON response with the following fields:
|
||||
|
||||
+ `success` This will be set to `false` if an error occurred.
|
||||
|
||||
+ `error` A short string identifying the error that occurred.
|
||||
|
||||
+ `message` A longer human-readable string explaining what went wrong.
|
||||
|
||||
|
||||
### API Objects ###
|
||||
|
||||
#### <a id="amount_object"></a> 1. Amount ####
|
||||
|
||||
All currencies on the Ripple Network have issuers, except for XRP. In the case of XRP, the `issuer` field may be omitted or set to `""`. Otherwise, the `issuer` must be a valid Ripple address of the gateway that issues the currency.
|
||||
|
||||
For more information about XRP see <a href="https://ripple.com/wiki/XRP" target="_blank">the Ripple wiki page on XRP</a>. For more information about using currencies other than XRP on the Ripple Network see <a href="https://ripple.com/wiki/Ripple_for_Gateways" target="_blank">the Ripple wiki page for gateways</a>.
|
||||
|
||||
Amount Object:
|
||||
|
||||
```js
|
||||
{
|
||||
"value": "1.0",
|
||||
"currency": "USD",
|
||||
"issuer": "r..."
|
||||
}
|
||||
```
|
||||
|
||||
or for XRP:
|
||||
|
||||
```js
|
||||
{
|
||||
"value": "1.0",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
}
|
||||
```
|
||||
|
||||
#### <a id="payment_object"></a> 2. Payment ####
|
||||
|
||||
The `Payment` object is a simplified version of the standard Ripple transaction format.
|
||||
|
||||
This `Payment` format is intended to be straightforward to create and parse, from strongly or loosely typed programming languages. Once a transaction is processed and validated it also includes information about the final details of the payment.
|
||||
|
||||
<!-- A minimal `Payment` object will look like this:
|
||||
|
||||
```js
|
||||
{
|
||||
"src_address": "rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz",
|
||||
"dst_address": "rNw4ozCG514KEjPs5cDrqEcdsi31Jtfm5r",
|
||||
"dst_amount": {
|
||||
"value": "0.001",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
}
|
||||
}
|
||||
```
|
||||
-->
|
||||
|
||||
+ `source_address` is the Ripple address for the source account, as a string.
|
||||
|
||||
+ `destination_address` is the Ripple address for the destination account, as a string.
|
||||
|
||||
+ `destination_amount` is an [Amount](#amount_object) object representing the amount that should be deposited into the destination account.
|
||||
|
||||
The full set of fields accepted on `Payment` submission is as follows:
|
||||
|
||||
+ `source_tag` is an optional unsigned 32 bit integer (0-4294967294, inclusive) that is generally used if the sender is a hosted wallet at a gateway. This should be the same as the `destination_tag` used to identify the hosted wallet when they are receiving a payment.
|
||||
|
||||
+ `destination_tag` is an optional unsigned 32 bit integer (0-4294967294, inclusive) that is generally used if the receiver is a hosted wallet at a gateway.
|
||||
|
||||
+ `source_slippage` can be specified to give the `source_amount` a cushion and increase its chance of being processed successfully. This is helpful if the payment path changes slightly between the time when a payment options quote is given and when the payment is submitted. The `source_address` will never be charged more than `source_slippage` + the `value` specified in `source_amount`.
|
||||
|
||||
+ `invoice_id` is an optional 256-bit hash field that can be used to link payments to an invoice or bill.
|
||||
|
||||
+ `paths` is a "stringified" version of the Ripple PathSet structure. Most users of this API will want to treat this field as opaque. See the [Ripple Wiki](https://ripple.com/wiki/Payment_paths) for more information about Ripple pathfinding.
|
||||
|
||||
+ `flag_no_direct_ripple` is a boolean that can be set to `true` if `paths` are specified and the sender would like the Ripple Network to disregard any direct paths from the `source_address` to the `destination_address`. This may be used to take advantage of an arbitrage opportunity or by gateways wishing to issue balances from a hot wallet to a user who has mistakenly set a trustline directly to the hot wallet. Most users will not need to use this option.
|
||||
|
||||
+ `flag_partial_payment` is a boolean that, if set to true, indicates that this payment should go through even if the whole amount cannot be sent because of a lack of liquidity or funds in the `source_address` account. The vast majority of senders will never need to use this option.
|
||||
|
||||
Payment Object:
|
||||
|
||||
```js
|
||||
{
|
||||
/* User Specified */
|
||||
|
||||
"source_address": "rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz",
|
||||
"source_tag": "",
|
||||
"source_amount": {
|
||||
"value": "0.001",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
},
|
||||
"source_slippage": "0",
|
||||
"destination_address": "rNw4ozCG514KEjPs5cDrqEcdsi31Jtfm5r",
|
||||
"destination_tag": "",
|
||||
"destination_amount": {
|
||||
"value": "0.001",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
},
|
||||
|
||||
/* Advanced Options */
|
||||
|
||||
"invoice_id": "",
|
||||
"paths": "[]",
|
||||
"flag_no_direct_ripple": false,
|
||||
"flag_partial_payment": false
|
||||
}
|
||||
```
|
||||
# PAYMENTS #
|
||||
|
||||
`ripple-rest` provides access to `ripple-lib`'s robust transaction submission processes. This means that it will set the fee, manage the transaction sequence numbers, sign the transaction with your secret, and resubmit the transaction up to 10 times if `rippled` reports an initial error that can be solved automatically.
|
||||
|
||||
## Making Payments ##
|
||||
|
||||
### Preparing a Payment ###
|
||||
|
||||
__GET /v1/accounts/{:address}/payments/paths/{destination_account}/{destination_amount}__
|
||||
|
||||
|
||||
To prepare a payment, you first make an HTTP `GET` call to the above endpoint. This will generate a list of possible payments between the two parties for the desired amount, taking into account the established trustlines between the two parties for the currency being transferred. You can then choose one of the returned payments, modify it if necessary (for example, to set slippage values or tags), and then submit the payment for processing.
|
||||
|
||||
The following URL parameters are required by this API endpoint:
|
||||
|
||||
+ `address` *[required]* The Ripple address for the source account.
|
||||
+ `destination_account` *[required]* The Ripple address for the destination account.
|
||||
+ `destination_amount` *[required]* The amount to be sent to the destination account. Note that this value uses `+` characters to separate the `value`, `currency` and `issuer` fields.
|
||||
+ For XRP, the format is: `0.1+XRP`
|
||||
|
||||
+ For other currencies, you need to include the Ripple address of the currency's issuer, like this: `0.1+USD+r...`
|
||||
|
||||
Optionally, you can also include the following as a query string parameter:
|
||||
|
||||
`source_currencies` *[optional]* A comma-separated list of source currencies. This is used to filter the returned list of possible payments. Each source currency can be specified either as a currency code (eg, `USD`), or as a currency code and issuer (eg, `USD+r...`). If the issuer is not specified for a currency other than XRP, then the results will be limited to the specified currency, but any issuer for that currency will be included in the results.
|
||||
|
||||
Note that this call is a wrapper around the [Ripple path-find](https://ripple.com/wiki/RPC_API#path_find) command, and returns an array of [`Payment`](#payment_object) objects, like this:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"payments": [
|
||||
{ /* Payment */ },
|
||||
{ /* Payment */ },
|
||||
...
|
||||
]
|
||||
}
|
||||
```
|
||||
You can then select the desired payment, modify it if necessary, and submit the payment object to the [`POST /v1/payments`](#submitting-a-payment) endpoint for processing.
|
||||
|
||||
__NOTE:__ This command may be quite slow. If the command times out, please try it again.
|
||||
|
||||
### Submitting a Payment ###
|
||||
|
||||
__`POST /v1/payments`__
|
||||
|
||||
Before you can submit a payment, you will need to have three pieces of information:
|
||||
|
||||
+ The [`Payment`](#payment_object) *[required]* object to be submitted.
|
||||
|
||||
+ The `secret` *[required]* or private key for your Ripple account.
|
||||
|
||||
__DO NOT SUBMIT YOUR SECRET TO AN UNTRUSTED REST API SERVER__ -- this is the key to your account and your money. If you are using the test server provided, only use test accounts to submit payments.
|
||||
|
||||
+ A `client_resource_id` *[required]* that will uniquely identify this payment. This is a 36-character UUID (universally unique identifier) value which will uniquely identify this payment within the `ripple-rest` API. Note that you can use the [`GET /v1/uuid`](#calculating_a_uuid) endpoint to calculate a UUID value if you do not have a UUID generator readily available.
|
||||
|
||||
This HTTP `POST` request must have a content-type of `application/json`, and the body of the request should look like this:
|
||||
|
||||
```js
|
||||
{
|
||||
"secret": "s...",
|
||||
"client_resource_id": "...",
|
||||
"payment": {
|
||||
"source_account": "rPs7nVbSops6xm4v77wpoPFf549cqjzUy9",
|
||||
"source_tag": "",
|
||||
"source_amount": {
|
||||
"value": "1",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
},
|
||||
"source_slippage": "0",
|
||||
"destination_account" "rKB4oSXwPkRpb2sZRhgGyRfaEhhYS6tf4M",
|
||||
"destination_tag": "",
|
||||
"destination_amount": {
|
||||
"value": "1",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
},
|
||||
"invoice_id": "",
|
||||
"paths": "[]",
|
||||
"no_direct_ripple": false,
|
||||
"partial_payment": false,
|
||||
"direction": "outgoing",
|
||||
"state": "validated",
|
||||
"result": "tesSUCCESS",
|
||||
"ledger": "6141074",
|
||||
"hash": "85C5E6762DE7969DC1BD69B3C8C7387A5B8FCE6A416AA1F74C0ED5D10F08EADD",
|
||||
"timestamp": "2014-04-18T01:21:00.000Z",
|
||||
"fee": "0.000012",
|
||||
"source_balance_changes":
|
||||
[
|
||||
{
|
||||
"value": "-1.000012",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
}
|
||||
],
|
||||
"destination_balance_changes":
|
||||
[
|
||||
{
|
||||
"value": "1",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Upon completion, the server will return a JSON object which looks like the following:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"client_resource_id": "f2f811b7-dc3b-4078-a2c2-e4ca9e453981",
|
||||
"status_url": ".../v1/accounts/r1.../payments/f2f811b7-dc3b-4078-a2c2-e4ca9e453981"
|
||||
}
|
||||
```
|
||||
|
||||
The `status_url` value is a URL that can be queried to get the current status for this payment. This will be a reference to the `GET /v1/accounts/{account}/payments` endpoint, with the client resource ID filled in to retrieve the details of the payment. More information on this endpoint can be found in the section on [confirming a payment](#confirming-a-payment).
|
||||
|
||||
If an error occurred that prevented the payment from being submitted, the response object will look like this:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": false,
|
||||
"error": "tecPATH_DRY",
|
||||
"message": "Path could not send partial amount. Please ensure that the src_address has sufficient funds (in the src_amount currency, if specified) to execute this transaction."
|
||||
}
|
||||
```
|
||||
|
||||
More information about transaction errors can be found on the [Ripple Wiki](https://ripple.com/wiki/Transaction_errors).
|
||||
|
||||
Note that payments cannot be cancelled once they have been submitted.
|
||||
|
||||
### Confirming a Payment ###
|
||||
|
||||
__`GET /v1/accounts/{:address}/payments/{:hash} or {:client_resource_id}`__
|
||||
|
||||
To confirm that your payment has been submitted successfully, you can call this API endpoint. The `hash` value can either be the transaction hash for the desired payment, or the payment's client resource ID.
|
||||
|
||||
The server will return the details of your payment:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"payment": {
|
||||
"source_account": "rPs7nVbSops6xm4v77wpoPFf549cqjzUy9",
|
||||
"source_tag": "",
|
||||
"source_amount": {
|
||||
"value": "1",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
},
|
||||
"source_slippage": "0",
|
||||
"destination_account" "rKB4oSXwPkRpb2sZRhgGyRfaEhhYS6tf4M",
|
||||
"destination_tag": "",
|
||||
"destination_amount": {
|
||||
"value": "1",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
},
|
||||
"invoice_id": "",
|
||||
"paths": "[]",
|
||||
"no_direct_ripple": false,
|
||||
"partial_payment": false,
|
||||
"direction": "outgoing",
|
||||
"state": "validated",
|
||||
"result": "tesSUCCESS",
|
||||
"ledger": "6141074",
|
||||
"hash": "85C5E6762DE7969DC1BD69B3C8C7387A5B8FCE6A416AA1F74C0ED5D10F08EADD",
|
||||
"timestamp": "2014-04-18T01:21:00.000Z",
|
||||
"fee": "0.000012",
|
||||
"source_balance_changes":
|
||||
[
|
||||
{
|
||||
"value": "-1.000012",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
}
|
||||
],
|
||||
"destination_balance_changes":
|
||||
[
|
||||
{
|
||||
"value": "1",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
You can then check the `state` field to see if the payment has gone through; it will have the value "validated" when the payment has been validated and written to the Ripple ledger.
|
||||
|
||||
If the payment cannot be found, then an error will be returned instead:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"error": "Payment Not Found",
|
||||
"message": "This may indicate that the payment was never validated and written into the Ripple ledger and it was not submitted through this ripple-rest instance. This error may also be seen if the databases of either ripple-rest or rippled were recently created or deleted."
|
||||
}
|
||||
```
|
||||
|
||||
Note that there can be a delay in processing a submitted payment; if the payment does not exist yet, or has not been validated, you should wait for a short period of time before checking again.
|
||||
|
||||
## Receiving Payments ##
|
||||
|
||||
As well as sending payments, your application will need to know when incoming payments have been received. To do this, you first make the following API call:
|
||||
|
||||
__`GET /v1/accounts/{:address}/payments`__
|
||||
|
||||
This will return the most recent payments (both incoming and outgoing will be denoted in the direction)
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"payments": [
|
||||
{ /* payment */ }.
|
||||
{ /* payment */ }.
|
||||
{ /* payment */ }.
|
||||
{ /* payment */ }.
|
||||
{ /* payment */ }
|
||||
]
|
||||
}
|
||||
```
|
||||
__`GET /v1/accounts/{:address}/payments?direction=incoming`__
|
||||
|
||||
This will return the most recent incoming payments for your account, up to a maximum of 20. You can process these historical payments if you want, and also retrieve more historical payments if you need to by using the `page` parameter, as described in the [Payment History](#payment-history) section below.
|
||||
|
||||
Regardless of what else you do with these payments, you need to extract the value of the `ledger` field from the most recent (ie, first) payment in the returned list. Convert this number to an integer and increment it by one. The resulting value, which will we call the `next_ledger` value, is the starting point for polling for new payments.
|
||||
|
||||
Your application should then periodically make the following API call:
|
||||
|
||||
__`GET /v1/accounts/{:address}/payments?direction=incoming&earliest_first=true&start_ledger={next_ledger}`__
|
||||
|
||||
This will return any _new_ payments which have been received, up to a maximum of 20. You should process these incoming payments. If you received a list of 20 payments, there may be more payments to be processed. You should then use the `page` parameter to get the next chunk of 20 payments, like this:
|
||||
|
||||
__`GET /v1/accounts/{:address}/payments?direction=incoming&earliest_first=true&start_ledger={next_ledger}&page=2`__
|
||||
|
||||
Continue retrieving the payments, incrementing the `page` parameter each time, until there are no new incoming payments to be processed.
|
||||
|
||||
__Note:__ We use the `earliest_first` parameter to retrieve the payments in ascending date order (ie, the oldest payment first). This ensures that if any more payments come in after the first API call with `start_ledger` set to `next_ledger`, you won't miss any payments. If you use the `page` parameter while retrieving the payments in descending order (ie, the most recent payment first), you may miss one or more payments while scanning through the pages.
|
||||
|
||||
Once you have retrieved all the payments, you should update your `next_ledger` value by once again taking the value of the `ledger` field from the most recent (ie, last) payment received, converting this value to an integer and incrementing it by one. This will give you the `next_ledger` value to use the next time you poll for payments.
|
||||
|
||||
Using this approach, you can regularly poll for new incoming payments, confident that no payments will be processed twice, and no incoming payments will be missed.
|
||||
|
||||
|
||||
## Payment History ##
|
||||
|
||||
__`GET /v1/accounts/{:address}/payments`__
|
||||
|
||||
This API endpoint can be used to browse through an account's payment history and also used to confirm specific payments after a payment has been submitted. The following query string parameters can be used to filter the list of returned payments:
|
||||
|
||||
+ `source_account` Filter the results to only include payments sent by the given account.
|
||||
|
||||
+ `destination_account` Filter the results to only include payments received by the given account.
|
||||
|
||||
+ `exclude_failed` If set to `true`, the results will only include payments which were successfully validated and written into the ledger. Otherwise, failed payments will be included.
|
||||
|
||||
+ `direction` Limit the results to only include the given type of payments. The following direction values are currently supported:
|
||||
+ `incoming`
|
||||
+ `outgoing`
|
||||
+ `pending`
|
||||
+ `earliest_first` If set to `true`, the payments will be returned in ascending date order. Otherwise, the payments will be returned in descending date order (ie, the most recent payment will be returned first). Defaults to `false`.
|
||||
|
||||
+ `start_ledger` The index for the starting ledger. If `earliest_first` is `true`, this will be the oldest ledger to be queried; otherwise, it will be the most recent ledger. Defaults to the first ledger in the `rippled` server's database.
|
||||
|
||||
+ `end_ledger` The index for the ending ledger. If `earliest_first` is `true`, this will be the most recent ledger to be queried; otherwise, it will be the oldest ledger. Defaults to the most recent ledger in the `rippled` server's database.
|
||||
|
||||
+ `results_per_page` The maximum number of payments to be returned at once. Defaults to 20.
|
||||
|
||||
+ `page` The page number to be returned. The first page of results will have page number `1`, the second page will have page number `2`, and so on. Defaults to `1`.
|
||||
|
||||
Upon completion, the server will return a JSON object which looks like the following:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"payments": [
|
||||
{
|
||||
"client_resource_id": "3492375b-d4d0-42db-9a80-a6a82925ccd5",
|
||||
"payment": {
|
||||
/* Payment */
|
||||
}
|
||||
}, {
|
||||
"client_resource_id": "4a4e3fa5-d81e-4786-8383-7164c3cc9b01",
|
||||
"payment": {
|
||||
/* Payment */
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
If the server returns fewer than `results_per_page` payments, then there are no more pages of results to be returned. Otherwise, increment the page number and re-issue the query to get the next page of results.
|
||||
|
||||
Note that the `ripple-rest` API has to retrieve the full list of payments from the server and then filter them before returning them back to the caller. This means that there is no speed advantage to specifying more filter values.
|
||||
|
||||
|
||||
|
||||
# ACCOUNTS #
|
||||
|
||||
`ripple-rest` provides the ability to review and confirm on information regarding your Ripple account. You can view your current balances and settings, as well as the ability to set your account setting flags.
|
||||
|
||||
## Account Balances ##
|
||||
|
||||
__`GET /v1/accounts/{:address}/balances`__
|
||||
|
||||
Retrieve the current balances for the given Ripple account.
|
||||
|
||||
The `account` parameter should be set to the Ripple address of the desired account. The server will return a JSON object which looks like the following:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"balances": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"amount": "1046.29877312",
|
||||
"issuer": ""
|
||||
},
|
||||
{
|
||||
"currency": "USD",
|
||||
"amount": "512.79",
|
||||
"issuer": "r...",
|
||||
}
|
||||
...
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
There will be one entry in the `balances` array for the account's XRP balance, and additional entries for each combination of currency code and issuer.
|
||||
|
||||
## Account Settings ##
|
||||
|
||||
You can retrieve an account's settings by using the following endpoint:
|
||||
|
||||
__`GET /v1/accounts/{account}/settings`__
|
||||
|
||||
The server will return a list of the current settings in force for the given account, in the form of a JSON object:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"settings": {
|
||||
"transfer_rate": 100,
|
||||
"password_spent": false,
|
||||
"require_destination_tag": false,
|
||||
"require_authorization": false,
|
||||
"disallow_xrp": false,
|
||||
"disable_master": false,
|
||||
"transaction_sequence": 22
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
The following account settings are currently supported:
|
||||
|
||||
+ `PasswordSpent` `true` if the password has been "spent", else `false`.
|
||||
<!--NOTE: This is not currently listed in the account settings schema, so I'm not sure what this setting is used for.
|
||||
-->
|
||||
+ `RequireDestTag` If this is set to `true`, incoming payments will only be validated if they include a `destination_tag` value. Note that this is used primarily by gateways that operate exclusively with hosted wallets.
|
||||
|
||||
+ `RequireAuth` If this is set to `true`, incoming trustlines will only be validated if this account first creates a trustline to the counterparty with the authorized flag set to true. This may be used by gateways to prevent accounts unknown to them from holding currencies they issue.
|
||||
|
||||
+ `DisallowXRP` If this is set to `true`, payments in XRP will not be allowed.
|
||||
|
||||
+ `EmailHash` The MD5 128-bit hash of the account owner's email address, if known.
|
||||
|
||||
+ `MessageKey` An optional public key, represented as a hex string, that can be used to allow others to send encrypted messages to the account owner.
|
||||
|
||||
+ `Domain` The domain name associated with this account.
|
||||
|
||||
+ `TransferRate` The rate charged each time a holder of currency issued by this account transfers some funds. The default rate is `"1.0"; a rate of `"1.01"` is a 1% charge on top of the amount being transferred. Up to nine decimal places are supported.
|
||||
|
||||
## Updating Account Settings ##
|
||||
|
||||
To change an account's settings, make an HTTP `POST` request to the above endpoint. The request must have a content-type of `application/json`, and the body of the request should look like this:
|
||||
|
||||
__`POST /v1/accounts/{account}/settings`__
|
||||
|
||||
```js
|
||||
{
|
||||
"secret": "s...",
|
||||
"settings": {
|
||||
"transfer_rate": 0,
|
||||
"password_spent": false,
|
||||
"require_destination_tag": false,
|
||||
"require_authorization": false,
|
||||
"disallow_xrp": false,
|
||||
"disable_master": false
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
The given settings will be updated.
|
||||
|
||||
# TRUSTLINES #
|
||||
|
||||
## Reviewing Trustlines ##
|
||||
|
||||
__`GET /v1/account/{:address}/trustlines`__
|
||||
|
||||
Retrieves all trustlines associated with the Ripple address. Upon completion, the server will return a JSON object which represents each trustline individually along with the currency, limit, and counterparty.
|
||||
|
||||
The following query string parameters are supported to provide additional filtering for either trustlines to a particular currency or trustlines from a specific counterparty:
|
||||
|
||||
+ `currency` Three letter currency denominations (i.e. USD, BTC).
|
||||
+ `counterparty` Ripple address of the counterparty trusted.
|
||||
|
||||
__`GET /v1/account/{:address}/trustlines?currency=USD&counterparty=rPs723Dsd...`__
|
||||
|
||||
The object returned looks like this:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"lines": [
|
||||
{
|
||||
"account": "rPs7nVbSops6xm4v77wpoPFf549cqjzUy9",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
|
||||
"currency": "USD",
|
||||
"trust_limit": "100",
|
||||
"reciprocated_trust_limit": "0",
|
||||
"account_allows_rippling": false,
|
||||
"counterparty_allows_rippling": true
|
||||
},
|
||||
{
|
||||
"account": "rPs7nVbSops6xm4v77wpoPFf549cqjzUy9",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs58B",
|
||||
"currency": "BTC",
|
||||
"trust_limit": "5",
|
||||
"reciprocated_trust_limit": "0",
|
||||
"account_allows_rippling": false,
|
||||
"counterparty_allows_rippling": true
|
||||
},
|
||||
{ /* trustline */ },
|
||||
{ /* trustline */ },
|
||||
{ /* trustline */ }
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Granting a Trustline ##
|
||||
|
||||
__`POST /v1/accounts/{:address}/trustlines`__
|
||||
|
||||
A trustline can also updated and simply set with a currency,amount,counterparty combination by submitting to this endpoint with the following JSON object.
|
||||
|
||||
```js
|
||||
{
|
||||
"secret": "sneThnzgBgxc3zXPG....",
|
||||
"trustline": {
|
||||
"limit": "110",
|
||||
"currency": "USD",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
|
||||
"allows_rippling": false
|
||||
}
|
||||
}
|
||||
```
|
||||
A successful submission will result in a returning JSON object that includes a transaction hash to the trustline transaction.
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"line": {
|
||||
"account": "rPs7nVbSops6xm4v77wpoPGf549cqjzUy9",
|
||||
"counterparty": "rKB4oSXwPkRpb2sZRhgGyRfaEhhYS6tf4M",
|
||||
"currency": "USD",
|
||||
"trust_limit": "100",
|
||||
"allows_rippling": true
|
||||
},
|
||||
"ledger": "6146255",
|
||||
"hash": "6434F18B3997D81152F1AB31911E8D40E1346A05478419B7B3DF78B270C1151A"
|
||||
}
|
||||
```
|
||||
# NOTIFICATIONS #
|
||||
|
||||
Notifications can be used as a looping mechanism to monitor any transactions against your Ripple address or to confirm against missed notifications if your connection to `rippled` goes down. Notifications are generic and span across all types of Ripple transactions which is different than the "Payments" endpoints which specifically retrieve payment transactions. The "Payments" endpoints also provide full payment objects versus the notification objects which described the transaction at a higher level with less detail.
|
||||
|
||||
## Checking Notifications ##
|
||||
|
||||
__`GET /v1/accounts/{:address}/notifications/{:transaction_hash}`__
|
||||
|
||||
This endpoint will grab the notification based on the specific transaction hash specified. Once called the notification object retreived will provide information on the type of transaction and also the previous and next notifications will be shown as well. The `previous_notification_url` and `next_notification_url` can be used to walk up and down the notification queue. Once the `next_notification_url` is empty that means you have the most current notification, this applies for the `previous_notification_url` similarly when it's empty as it means you are holding the earliest notification available on the `rippled` you are connecting to.
|
||||
|
||||
A successful retrieval will look like this:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"notification": {
|
||||
"account": "rPs7nVbSops6xm4v77wpoPFf549cqjzUy9",
|
||||
"type": "payment",
|
||||
"direction": "outgoing",
|
||||
"state": "validated",
|
||||
"result": "tesSUCCESS",
|
||||
"ledger": "5704389",
|
||||
"hash": "EA1C8349FFFDB180BF6805FB69B32A41A5C86E27B4F79BED3CD8BA9A1E902721",
|
||||
"timestamp": "+046228-05-27T00:20:00.000Z",
|
||||
"transaction_url": "/v1/accounts/rPs7nVbSops6xm4v77wpoPFf549cqjzUy9/payments/EA1C8349FFFDB180BF6805FB69B32A41A5C86E27B4F79BED3CD8BA9A1E902721",
|
||||
"previous_hash": "1578758880412050B6C9C367DAE090B5452649549F00780276BED51BDEECF63C",
|
||||
"previous_notification_url": "/v1/accounts/rPs7nVbSops6xm4v77wpoPFf549cqjzUy9/notifications/1578758880412050B6C9C367DAE090B5452649549F00780276BED51BDEECF63C",
|
||||
"next_hash": "441E8AEC90A3674318710B4978E9598BD47190CF51E44CBD11C28FFF75FBC934",
|
||||
"next_notification_url": "/v1/accounts/rPs7nVbSops6xm4v77wpoPFf549cqjzUy9/notifications/441E8AEC90A3674318710B4978E9598BD47190CF51E44CBD11C28FFF75FBC934"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
The notification of the most recent transaction will show `next_notification_url` as an empty string.
|
||||
|
||||
The earliest notification available on the `rippled` server will show `previous_notification_url` as an empty string.
|
||||
|
||||
# RIPPLED SERVER STATUS #
|
||||
|
||||
The following two endpoints can be used to check if the `ripple-rest` API is currently connected to a `rippled` server, and to retrieve information about the current status of the API.
|
||||
|
||||
## Check Connection State ##
|
||||
<span></span>
|
||||
__`GET /v1/server/connected`__
|
||||
|
||||
Checks to see if the `ripple-rest` API is currently connected to a `rippled` server, and is ready to be used. This provides a quick and easy way to check to see if the API is up and running, before attempting to process transactions.
|
||||
|
||||
No additional parameters are required. Upon completion, the server will return `true` if the API is connected, and `false` otherwise.
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"connected": true
|
||||
}
|
||||
```
|
||||
|
||||
## Get Server Status ##
|
||||
<span></span>
|
||||
__`GET /v1/server`__
|
||||
|
||||
Retrieve information about the current status of the `ripple-rest` API and the `rippled` server it is connected to.
|
||||
|
||||
This endpoint takes no parameters, and returns a JSON object with information on the current status of the API:
|
||||
|
||||
```js
|
||||
{
|
||||
"api_server_status": "online",
|
||||
"rippled_server_url": "wss://s_west.ripple.com:443",
|
||||
"rippled_server_status": {
|
||||
"info": {
|
||||
"build_version": "0.21.0-rc2",
|
||||
"complete_ledgers": "32570-4805506",
|
||||
"hostid": "BUSH",
|
||||
"last_close": {
|
||||
"converge_time_s": 2.011,
|
||||
"proposers": 5
|
||||
},
|
||||
"load_factor": 1,
|
||||
"peers": 51,
|
||||
"pubkey_node": "n9KNUUntNaDqvMVMKZLPHhGaWZDnx7soeUiHjeQE8ejR45DmHyfx",
|
||||
"server_state": "full",
|
||||
"validated_ledger": {
|
||||
"age": 2,
|
||||
"base_fee_xrp": 0.00001,
|
||||
"hash": "2B79CECB06A500A2FB92F4FB610D33A20CF8D7FB39F2C2C7C3A6BD0D75A1884A",
|
||||
"reserve_base_xrp": 20,
|
||||
"reserve_inc_xrp": 5,
|
||||
"seq": 4805506
|
||||
},
|
||||
"validation_quorum": 3
|
||||
}
|
||||
},
|
||||
"api_documentation_url": "https://github.com/ripple/ripple-rest"
|
||||
}
|
||||
```
|
||||
|
||||
If the server is not currently connected to the Ripple network, the following error will be returned:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": false,
|
||||
"error": "rippled Disconnected",
|
||||
"message": "ripple-rest is unable to connect to the specified rippled server, or the rippled server is unable to communicate with the rest of the Ripple Network. Please check your internet and rippled server settings and try again"
|
||||
}
|
||||
```
|
||||
# UTILITIES #
|
||||
|
||||
## Retrieve Ripple Transaction ##
|
||||
|
||||
While the `ripple-rest` API is a high-level API built on top of the `rippled` server, there are times when you may need to access an underlying Ripple transaction rather than dealing with the `ripple-rest` data format. When you need to do this, you can retrieve a standard Ripple formatted transaction by using the following endpoint:
|
||||
|
||||
__`GET /v1/tx/{:transaction_hash}`__
|
||||
|
||||
This retrieves the underlying Ripple transaction with the given transaction hash value. Upon completion, the server will return following JSON object:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"tx": { /* Ripple Transaction */ }
|
||||
}
|
||||
```
|
||||
|
||||
Please refer to the [Transaction Format](https://ripple.com/wiki/Transactions) page in the Ripple Wiki for more information about Ripple transactions.
|
||||
|
||||
If the given transaction could not be found in the `rippled` server's historical database, the following error will be returned:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": false,
|
||||
"error": "txnNotFound",
|
||||
"message": "Transaction not found."
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Create Client Resource ID ##
|
||||
<span></span>
|
||||
__`GET /v1/uuid`__
|
||||
|
||||
This endpoint creates a universally unique identifier (UUID) value which can be used to calculate a client resource ID for a payment. This can be useful if the application does not have a UUID generator handy.
|
||||
|
||||
This API endpoint takes no parameters, and returns a JSON object which looks like the following:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"uuid": "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"
|
||||
}
|
||||
```
|
||||
@@ -1,512 +0,0 @@
|
||||
#INTRODUCTION
|
||||
|
||||
## Ripple-REST API (BETA)
|
||||
|
||||
_`ripple-rest` API is currently in BETA and subject to multiple changes and iterations as it is being finalized. Please double check with the_ <a href="https://github.com/ripple/ripple-rest" target="_blank">`ripple-rest`</a> _github repo for the most up-to-date versions and documentation. Feel free to poke around the branches to see what we're working on changing as well._
|
||||
|
||||
The `ripple-rest` API makes it easy to access the Ripple system via a RESTful web interface. In this section, we will cover the concepts you need to understand, and get you started accessing the API and learning how to use it.
|
||||
|
||||
While there are different APIs that you can use, for example by accessing the `rippled` server directly via a web socket, this documentation focuses on the `ripple-rest` API as this is the high-level API recommended for working with the Ripple system.
|
||||
|
||||
A test version of the `ripple-rest` server is up and running at:
|
||||
|
||||
<a href="https://ripple-rest.herokuapp.com" target="_blank">`https://ripple-rest.herokuapp.com`</a>
|
||||
|
||||
## Available API Routes
|
||||
|
||||
+ [`GET /api/v1/addresses/:address/payments/:dst_address/:dst_amount`](#preparing-a-payment)
|
||||
+ [`GET /api/v1/addresses/:address/next_notification`](#most-recent-notification)
|
||||
+ [`GET /api/v1/addresses/:address/next_notification/:prev-hash`](#checking-next-notification)
|
||||
+ [`GET /api/v1/addresses/:address/payments/:hash`](#retrieving-a-payment)
|
||||
+ [`GET /api/v1/status`](#check-rippled-status)
|
||||
+ [`POST /api/v1/addresses/:address/payments`](#submitting-a-payment)
|
||||
|
||||
## Ripple Concepts
|
||||
|
||||
### Ripple Address
|
||||
|
||||
Ripple is a system for making financial transactions. You can use Ripple to send money anywhere in the world, in any currency, instantly and for free.
|
||||
|
||||
In the Ripple world, each account is identified by a <a href="https://ripple.com/wiki/Account" target="_blank">Ripple Address</a>. A Ripple address is a string that uniquely identifies an account, for example: `rNsJKf3kaxvFvR8RrDi9P3LBk2Zp6VL8mp`
|
||||
|
||||
A Ripple ___payment___ can be sent using Ripple's native currency, XRP, directly from one account to another. Payments can also be sent in other currencies, for example US dollars, Euros, Pounds or Bitcoins, though the process is slightly more complicated.
|
||||
|
||||
Payments are made between two accounts, by specifying the ___source___ and ___destination___ address for those accounts. A payment also involves an ___amount___, which includes both the numeric amount and the currency, for example: `100+XRP`.
|
||||
|
||||
When you make a payment in a currency other than XRP, you also need to include the Ripple address of the ___issuer___. The issuer is the gateway or other entity who holds the foreign-currency funds on your behalf. For foreign-currency payments, the amount will look something like this: `100+USD+rNsJKf3kaxvFvR8RrDi9P3LBk2Zp6VL8mp`.
|
||||
|
||||
While the `ripple-rest` API provides a high-level interface for sending and receiving payments, there are other endpoints within the API that you can use to work with generic ripple transactions, and to check the status of the Ripple server.
|
||||
|
||||
### Sending Payments
|
||||
|
||||
Sending a payment involves three steps:
|
||||
|
||||
1. You need to create the payment object. If the payment is to be made in a currency other than XRP, the Ripple system will identify the chain of trust, or ___path___, that connects the source and destination accounts; when creating the payment, the `ripple-rest` API will automatically find the set of possible paths for you.
|
||||
|
||||
2. You can modify the payment object if necessary, and then ___submit___ it to the API for processing.
|
||||
|
||||
3. Finally, you can check to see if your payment has gone through by looking for the appropriate ___notification___.
|
||||
|
||||
You can also use notifications to see when a payment has been received.
|
||||
|
||||
### Transaction Types
|
||||
|
||||
The Ripple protocol supports multiple types of transactions other than just payments. Transactions are considered to be any changes to the database made on behalf of a Ripple Address. Transactions are first constructed and then submitted to the network. After transaction processing, meta data is associated with the transaction which itemizes the resulting changes to the ledger.
|
||||
|
||||
+ `Payment` - Payment transactions is an authorized transfer of balance from one address to another.
|
||||
+ `Trustline` - Trustline transactions is an authorized grant of trust between two addresses.
|
||||
|
||||
##Getting Started
|
||||
|
||||
### Setup
|
||||
|
||||
Before you can use the `ripple-rest` API, you will need to have two things:
|
||||
|
||||
* An activated Ripple account. If you don't have a Ripple account, you can use the Ripple web client to create one, as described in the <a href="https://ripple.com/wiki/Client_Manual" target="_blank">Client Manual</a>. Make sure you have a copy of the Ripple address for your account; the address can be found by clicking on the __Receive__ tab in the web client.
|
||||
|
||||
* The URL of the server running the `ripple-rest` API that you wish to use. In this documentation, we will assume that the server is running at <a href="https://ripple-rest.herokuapp.com" target="_blank">https://ripple-rest.herokuapp.com</a>, which is the URL for a test version of the server. When you follow the examples below, make sure that you replace this with the URL for the server you want to access. Please remember to only use
|
||||
|
||||
As a programmer, you will also need to have a suitable HTTP client library that allows you to make secure HTTP (`HTTPS`) requests. To follow the examples below, you will need to have access to the `curl` command-line tool.
|
||||
|
||||
|
||||
### Exploring the API
|
||||
|
||||
Let's start by using `curl` to see if the `ripple-rest` API is currently running. Type the following into a terminal window:
|
||||
|
||||
<a href="https://ripple-rest.herokuapp.com/api/v1/status" target="_blank">`curl https://ripple-rest.herokuapp.com/api/v1/status`</a>
|
||||
|
||||
After a short delay, the following response should be displayed:
|
||||
|
||||
```js
|
||||
{
|
||||
"api_server_status": "online",
|
||||
"rippled_server_url": "wss://s_west.ripple.com:443",
|
||||
"rippled_server_status": {
|
||||
"info": {
|
||||
"build_version": "0.21.0-rc2",
|
||||
"complete_ledgers": "32570-5254146",
|
||||
"hostid": "WEAN",
|
||||
"last_close": {
|
||||
"converge_time_s": 2.022,
|
||||
"proposers": 5
|
||||
},
|
||||
"load_factor": 1,
|
||||
"peers": 52,
|
||||
"pubkey_node": "n9LVyJ9GGBwHeeZ1bwPQUKj5P6vyD5tox2ozMPadMDvXx8CrPPmJ",
|
||||
"server_state": "full",
|
||||
"validated_ledger": {
|
||||
"age": 6,
|
||||
"base_fee_xrp": 1.0e-5,
|
||||
"hash": "ADF8BEFA91F4D355C60AE37E7ED79E91591704D052114F2BBDB6AF892E5E749E",
|
||||
"reserve_base_xrp": 20,
|
||||
"reserve_inc_xrp": 5,
|
||||
"seq": 5254146
|
||||
},
|
||||
"validation_quorum": 3
|
||||
}
|
||||
},
|
||||
"api_documentation_url": "https://github.com/ripple/ripple-rest"
|
||||
}
|
||||
```
|
||||
#### Using the API ####
|
||||
|
||||
The `ripple-rest` API conforms to the following general behavior for a web interface:
|
||||
|
||||
* The HTTP method identifies what you are trying to do. Generally, HTTP `GET` requests are used to retrieve information, while HTTP `POST` requests are used to make changes or submit information.
|
||||
|
||||
* You make HTTP (or HTTPS) requests to the API endpoint, including the desired resources within the URL itself.
|
||||
|
||||
* If more complicated information needs to be sent, it will be included as JSON-formatted data within the body of the HTTP POST request.
|
||||
|
||||
* Upon completion, the server will return an HTTP status code of 200 (OK), and a `Content-Type` value of `application/json`. The body of the response will be a JSON-formatted object containing the information returned by the endpoint.
|
||||
|
||||
* The returned JSON object will include a `success` field indicating whether the request was successful or not.
|
||||
|
||||
### Errors
|
||||
|
||||
Errors can be represented by general HTTP response codes. Errors specific to `ripple-rest` will return a 200 status but will include `error` and `message` fields, where `error` is a short string identifying the error that occurred, and `message` will be a longer human-readable string explaining what went wrong.
|
||||
|
||||
### API Objects
|
||||
|
||||
#### 1. Amount
|
||||
|
||||
All currencies on the Ripple Network have issuers, except for XRP. In the case of XRP, the `"issuer"` field may be omitted or set to `""`. Otherwise, the `"issuer"` must be a valid Ripple address of the gateway that issues the currency.
|
||||
|
||||
For more information about XRP see <a href="https://ripple.com/wiki/XRP" target="_blank">the Ripple wiki page on XRP</a>. For more information about using currencies other than XRP on the Ripple Network see <a href="https://ripple.com/wiki/Ripple_for_Gateways" target="_blank">the Ripple wiki page for gateways</a>.
|
||||
|
||||
Note that the `value` can either be specified as a string or a number. Internally this API uses a BigNumber library to retain higher precision if numbers are inputted as strings.
|
||||
|
||||
`Amount Object:`
|
||||
|
||||
```js
|
||||
{
|
||||
"value": "1.0",
|
||||
"currency": "USD",
|
||||
"issuer": "r..."
|
||||
}
|
||||
```
|
||||
`Or for XRP:`
|
||||
|
||||
```js
|
||||
{
|
||||
"value": "1.0",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
}
|
||||
```
|
||||
|
||||
#### 2. Payment
|
||||
|
||||
The `Payment` object is a simplified version of the standard Ripple transaction format.
|
||||
|
||||
This `Payment` format is intended to be straightforward to create and parse, from strongly or loosely typed programming languages. Once a transaction is processed and validated it also includes information about the final details of the payment.
|
||||
|
||||
The following fields are the minimum required to submit a `Payment`:
|
||||
|
||||
+ `src_address` is the Ripple address for the source account, as a string.
|
||||
+ `dst_address` is the Ripple address for the destination account, as a string.
|
||||
|
||||
+ `dst_amount` is an [Amount](#1-amount) object representing the amount that should be deposited into the destination account.
|
||||
|
||||
```js
|
||||
{
|
||||
"src_address": "rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz",
|
||||
"dst_address": "rNw4ozCG514KEjPs5cDrqEcdsi31Jtfm5r",
|
||||
"dst_amount": {
|
||||
"value": "0.001",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
The full set of fields accepted on `Payment` submission is as follows:
|
||||
|
||||
+ `src_tag` is an optional unsigned 32 bit integer (0-4294967294, inclusive) that is generally used if the sender is a hosted wallet at a gateway. This should be the same as the `dst_tag` used to identify the hosted wallet when they are receiving a payment.
|
||||
+ `dst_tag` is an optional unsigned 32 bit integer (0-4294967294, inclusive) that is generally used if the receiver is a hosted wallet at a gateway
|
||||
+ `src_slippage` can be specified to give the `src_amount` a cushion and increase its chance of being processed successfully. This is helpful if the payment path changes slightly between the time when a payment options quote is given and when the payment is submitted. The `src_address` will never be charged more than `src_slippage` + the `value` specified in `src_amount`
|
||||
+ `invoice_id` is an optional 256-bit hash field that can be used to link payments to an invoice or bill
|
||||
+ `paths` is a "stringified" version of the Ripple PathSet structure. Most users of this API will want to treat this field as opaque. See the [Ripple Wiki](https://ripple.com/wiki/Payment_paths) for more information about Ripple pathfinding
|
||||
+ `flag_no_direct_ripple` is a boolean that can be set to `true` if `paths` are specified and the sender would like the Ripple Network to disregard any direct paths from the `src_address` to the `dst_address`. This may be used to take advantage of an arbitrage opportunity or by gateways wishing to issue balances from a hot wallet to a user who has mistakenly set a trustline directly to the hot wallet. Most users will not need to use this option.
|
||||
+ `flag_partial_payment` is a boolean that, if set to true, indicates that this payment should go through even if the whole amount cannot be sent because of a lack of liquidity or funds in the `src_address` account. The vast majority of senders will never need to use this option.
|
||||
|
||||
```js
|
||||
{
|
||||
/* User Specified */
|
||||
|
||||
"src_address": "rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz",
|
||||
"src_tag": "",
|
||||
"src_amount": {
|
||||
"value": "0.001",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
},
|
||||
"src_slippage": "0",
|
||||
"dst_address": "rNw4ozCG514KEjPs5cDrqEcdsi31Jtfm5r",
|
||||
"dst_tag": "",
|
||||
"dst_amount": {
|
||||
"value": "0.001",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
},
|
||||
|
||||
/* Advanced Options */
|
||||
|
||||
"invoice_id": "",
|
||||
"paths": "[]",
|
||||
"flag_no_direct_ripple": false,
|
||||
"flag_partial_payment": false
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
When a payment is confirmed in the Ripple ledger, it will have additional fields added:
|
||||
|
||||
+ `tx_result` will be `tesSUCCESS` if the transaction was successfully processed. If it was unsuccessful but a transaction fee was claimed the code will start with `tec`. More information about transaction errors can be found on the [Ripple Wiki](https://ripple.com/wiki/Transaction_errors).
|
||||
+ `tx_timestamp` is the UNIX timestamp for when the transaction was validated
|
||||
+ `tx_fee` is the network transaction fee charged for processing the transaction. For more information on fees, see the [Ripple Wiki](https://ripple.com/wiki/Transaction_fees). In the standard Ripple transaction format fees are expressed in drops, or millionths of an XRP, but for clarity the new formats introduced by this API always use the full XRP unit.
|
||||
+ `tx_src_bals_dec` is an array of [`Amount`](#1-amount) objects representing all of the balance changes of the `src_address` caused by the payment. Note that this includes the `tx_fee`
|
||||
+ `tx_dst_bals_inc` is an array of [`Amount`](#1-amount) objects representing all of the balance changes of the `dst_address` caused by the payment
|
||||
|
||||
```js
|
||||
{
|
||||
/* ... */
|
||||
|
||||
/* Generated After Validation */
|
||||
|
||||
"tx_direction": "outgoing",
|
||||
"tx_state": "confirmed",
|
||||
"tx_result": "tesSUCCESS",
|
||||
"tx_ledger": 4696959,
|
||||
"tx_hash": "55BA3440B1AAFFB64E51F497EFDF2022C90EDB171BBD979F04685904E38A89B7",
|
||||
"tx_timestamp": 1391025100000,
|
||||
"tx_timestamp_human": "2014-01-29T19:51:40.000Z",
|
||||
"tx_fee": "0.000012",
|
||||
"tx_src_bals_dec": [{
|
||||
"value": "-0.001012",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
}],
|
||||
"tx_dst_bals_inc": [{
|
||||
"value": "0.001",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
}]
|
||||
}
|
||||
```
|
||||
|
||||
#### 3. Notification
|
||||
|
||||
Notifications are new type of object not used elsewhere on the Ripple Network but intended to simplify the process of monitoring accounts for new activity.
|
||||
|
||||
If there is a new `Notification` for an account it will contain information about the type of transaction that affected the account, as well as a link to the full details of the transaction and a link to get the next notification.
|
||||
|
||||
|
||||
If there is a new `notification` for an account, it will come in this format:
|
||||
|
||||
+ `timestamp` is the UNIX timestamp for when the transaction was validated, or the number of milliseconds since January 1st, 1970 (00:00 UTC)
|
||||
+ `timestamp_human` is the transaction validation time represented in the format `YYYY-MM-DDTHH:mm:ss.sssZ`. The timezone is always UTC as denoted by the suffix "Z"
|
||||
+ `transaction_url` is a URL that can be queried to retrieve the full details of the transaction. If it the transaction is a payment it will be returned in the `Payment` object format, otherwise it will be returned in the standard Ripple transaction format
|
||||
+ `next_notification_url` is a URL that can be queried to get the notification following this one for the given address
|
||||
+ `source_transaction_id` will be the same as the `source_transaction_id` originally submitted by the sender. Senders should look for the `source_transaction_id`'s of payments they have submitted to `ripple-rest` amongst `Notification`s of validated payments. If the `source_transaction_id` of a particular payment appears in a `Notification` with the `state` listed as `validated`, then that payment has been successfully written into the Ripple Ledger
|
||||
|
||||
```js
|
||||
{
|
||||
"address": "rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz",
|
||||
"type": "payment",
|
||||
"tx_direction": "outgoing",
|
||||
"tx_state": "confirmed",
|
||||
"tx_result": "tesSUCCESS",
|
||||
"tx_ledger": 4696959,
|
||||
"tx_hash": "55BA3440B1AAFFB64E51F497EFDF2022C90EDB171BBD979F04685904E38A89B7",
|
||||
"tx_timestamp": 1391025100000,
|
||||
"tx_timestamp_human": "2014-01-29T19:51:40.000Z",
|
||||
"tx_url":"http://api/v1/addresses/r../payments/55B..",
|
||||
"next_notification_url":"http://api/v1/addresses/r../next_notification/5.."
|
||||
"confirmation_token": "55BA3440B1AAFFB64E51F497EFDF2022C90EDB171BBD979F04685904E38A89B7"
|
||||
}
|
||||
```
|
||||
|
||||
If there are no new notifications, the empty `Notification` object will be returned in this format:
|
||||
|
||||
+ `type` will be `none` if there are no new notifications
|
||||
+ `tx_state` will be `pending` if there are still transactions waiting to clear and `empty` otherwise
|
||||
+ `next_notification_url` will be provided whether there are new notifications or not so that that field can always be used to query the API for new notifications.
|
||||
|
||||
```js
|
||||
{
|
||||
"address": "rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz",
|
||||
"type": "none",
|
||||
"tx_direction": "",
|
||||
"tx_state": "empty",
|
||||
"tx_result": "",
|
||||
"tx_ledger": "",
|
||||
"tx_hash": "",
|
||||
"tx_timestamp": "",
|
||||
"tx_timestamp_human": "",
|
||||
"tx_url": "",
|
||||
"next_notification_url": "http://api/v1/addresses/r../next_notification/5..",
|
||||
"confirmation_token": ""
|
||||
}
|
||||
```
|
||||
|
||||
# PAYMENTS
|
||||
|
||||
`ripple-rest` provides access to `ripple-lib`'s robust transaction submission processes. This means that it will set the fee, manage the transaction sequence numbers, sign the transaction with your secret, and resubmit the transaction up to 10 times if `rippled` reports an initial error that can be solved automatically.
|
||||
|
||||
## Making Payments
|
||||
|
||||
### Preparing a Payment
|
||||
|
||||
#### `GET /api/v1/addresses/:address/payments/:dst_address/:dst_amount`
|
||||
|
||||
A payment needs to be formatted in the following order with the payment object to be submitted as a valid payment.
|
||||
|
||||
```js
|
||||
{
|
||||
"secret": "s...",
|
||||
"payment": { /* Payment Object */
|
||||
"source_address": "rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz",
|
||||
"source_transaction_id": "12345",
|
||||
"destination_address": "rNw4ozCG514KEjPs5cDrqEcdsi31Jtfm5r",
|
||||
"destination_amount": {
|
||||
"value": "0.001",
|
||||
"currency": "XRP",
|
||||
"issuer": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
The payment object itself can be prepared manually for any transactions that are occuring directly with XRP or if there are already established trustlines between the two parties for the currency being transferred. In most cases, a payment object can be created automatically by performing a `GET` on the payments endpoint.
|
||||
|
||||
This call generates possible payments for a given set of parameters. This is a wrapper around the [Ripple path-find command](https://ripple.com/wiki/RPC_API#path_find) that returns an array of [`Payment Objects`](#2-payment), which can be submitted directly.
|
||||
|
||||
This uses the [`Payment` Object format](#2-payment).
|
||||
|
||||
The `:dst_amount` parameter uses `+` to separate the `value`, `currency`, and `issuer` fields. For XRP the format is `0.1+XRP` and for other currencies it is `0.1+USD+r...`, where the `r...` is the Ripple address of the currency's issuer.
|
||||
|
||||
__NOTE:__ This command may be quite slow. If the command times out, please try it again.
|
||||
|
||||
### Submitting a Payment
|
||||
|
||||
#### `POST /api/v1/addresses/:address/payments`
|
||||
|
||||
Submit a payment in the [`Payment` Object](#2-payment) format.
|
||||
|
||||
__DO NOT SUBMIT YOUR SECRET TO AN UNTRUSTED REST API SERVER__ -- this is the key to your account and your money. If you are using the test server provided, only use test accounts to submit payments.
|
||||
|
||||
Request JSON:
|
||||
```js
|
||||
{
|
||||
"secret": "s...",
|
||||
"payment": { /* Payment */ }
|
||||
}
|
||||
```
|
||||
|
||||
Response:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"confirmation_token": "55BA3440B1AAFFB64E51F497EFDF2022C90EDB171BBD979F04685904E38A89B7"
|
||||
}
|
||||
```
|
||||
Or if there is a problem with the transaction:
|
||||
|
||||
```js
|
||||
{
|
||||
"success": false,
|
||||
"error": "tecPATH_DRY",
|
||||
"message": "Path could not send partial amount. Please ensure that the src_address has sufficient funds (in the src_amount currency, if specified) to execute this transaction."
|
||||
}
|
||||
```
|
||||
More information about transaction errors can be found on the [Ripple Wiki](https://ripple.com/wiki/Transaction_errors).
|
||||
|
||||
Save the `confirmation_token` to check for transaction confirmation by matching that against new `notification`'s. Payments cannot be cancelled once they are submitted.
|
||||
|
||||
### Confirming a Payment
|
||||
|
||||
#### `GET /api/v1/addresses/:address/next_notification/:tx_hash`
|
||||
|
||||
A payment can be confirmed by retrieving a notification with the `confirmation_token` from the sucessfully submited payment. The tx_state will be "confirmed" if the payment has successfully gone through.
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"notification": {
|
||||
"address": "rNw4ozCG514KEjPs5cDrqEcdsi31Jtfm5r",
|
||||
"type": "payment",
|
||||
"tx_direction": "outgoing",
|
||||
"tx_state": "confirmed",
|
||||
"tx_result": "tesSUCCESS",
|
||||
"tx_ledger": 4850743,
|
||||
"tx_hash": "81D48826FA84B0B83902CA3BFE49E2503A5BA1069B214D492AE6AB145B6C4781",
|
||||
"tx_timestamp": 1391792990000,
|
||||
"tx_timestamp_human": "2014-02-07T17:09:50.000Z",
|
||||
"tx_url": "https://api/v1/addresses/r../payments/81..?ledger=4850743",
|
||||
"next_notification_url": "https://api/v1/addresses/r../next_notification/81..?ledger=4850743"
|
||||
"confirmation_token": "81D48826FA84B0B83902CA3BFE49E2503A5BA1069B214D492AE6AB145B6C4781"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#MONITORING
|
||||
|
||||
Applications will not only need to submit payments but monitor all incoming transactions that our occuring against the Ripple address. The general rule of thumb for monitoring your account should be the following:
|
||||
|
||||
1. Checking the most recent notification
|
||||
2. Checking the next notification
|
||||
|
||||
## Checking Notifications
|
||||
|
||||
### Most recent notification
|
||||
|
||||
#### `GET /api/v1/addresses/:address/next_notification`
|
||||
|
||||
Use this to retrieve the most recent notification on the account:
|
||||
|
||||
To find out more information about that payment follow the link at `tx_url`. Otherwise follow the `next_notification_url` and check for the next notification.
|
||||
|
||||
If notifications are being retrieved from a `rippled` server that does not have a full historical database, the response may have serveral blank fields.
|
||||
|
||||
```js
|
||||
{
|
||||
"success": true,
|
||||
"notification": {
|
||||
"address": "rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz",
|
||||
"type": "payment",
|
||||
"tx_direction": "incoming",
|
||||
"tx_state": "confirmed",
|
||||
"tx_result": "tesSUCCESS",
|
||||
"tx_ledger": 4716034,
|
||||
"tx_hash": "EC19E24AA51D39E809597A5DCF3A7E253F98C27FE3287CB919319A5C59AD8302",
|
||||
"tx_timestamp": 1391130630000,
|
||||
"tx_timestamp_human": "2014-01-31T01:10:30.000Z",
|
||||
"tx_url": "http://ripple-rest.herokuapp.com:49598/api/v1/addresses/rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz/payments/EC19E24AA51D39E809597A5DCF3A7E253F98C27FE3287CB919319A5C59AD8302?ledger=4716034",
|
||||
"next_notification_url": "http://ripple-rest.herokuapp.com:49598/api/v1/addresses/rKXCummUHnenhYudNb9UoJ4mGBR75vFcgz/next_notification/EC19E24AA51D39E809597A5DCF3A7E253F98C27FE3287CB919319A5C59AD8302?ledger=4716034"
|
||||
"confirmation_token": ""
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Checking next notification
|
||||
|
||||
#### `GET /api/v1/addresses/:address/next_notification/:prev_tx_hash`
|
||||
|
||||
By checking for the most recent notification above, take the hash from the most recent notification to monitor if another notification has arrived. If there is no notifications newer than the most recent, than you will receive the notification object with:
|
||||
|
||||
`"type": "none"`
|
||||
`"tx_state": "empty"`
|
||||
|
||||
Because the `type` is `none` and the `tx_state` is `empty`, that means there is no next notification (yet) and there are no transactions pending in the outgoing queue. A `tx_state` of `pending` would indicate that there are still transactions waiting for confirmation.
|
||||
|
||||
If there is a newer notification than the one you are checking on, than the response will contain a new notification object.
|
||||
|
||||
## Retrieving a Payment
|
||||
|
||||
#### `GET /api/v1/addresses/:address/payments/:tx_hash`
|
||||
|
||||
Use this to retrieve the details of a specfic payment with the transaction hash. A [`Payment` object format](#2-payment) will be returned with the details of the payment filled out including the path of the payment.
|
||||
|
||||
#RIPPLED SERVER STATUS
|
||||
|
||||
It is important to be able to check on the status of the `ripple-rest` server and the connected `rippled` server that it is currently connected to.
|
||||
|
||||
## Check 'rippled' Status
|
||||
|
||||
#### `GET /api/v1/status`
|
||||
|
||||
Will return the status of the current `rippled` server that the `ripple-rest` server is configured to communicate with. The response body looks like this:
|
||||
|
||||
```js
|
||||
{
|
||||
"api_server_status": "online",
|
||||
"rippled_server_url": "wss://s_west.ripple.com:443",
|
||||
"rippled_server_status": {
|
||||
"info": {
|
||||
"build_version": "0.21.0-rc2",
|
||||
"complete_ledgers": "32570-4805506",
|
||||
"hostid": "BUSH",
|
||||
"last_close": {
|
||||
"converge_time_s": 2.011,
|
||||
"proposers": 5
|
||||
},
|
||||
"load_factor": 1,
|
||||
"peers": 51,
|
||||
"pubkey_node": "n9KNUUntNaDqvMVMKZLPHhGaWZDnx7soeUiHjeQE8ejR45DmHyfx",
|
||||
"server_state": "full",
|
||||
"validated_ledger": {
|
||||
"age": 2,
|
||||
"base_fee_xrp": 0.00001,
|
||||
"hash": "2B79CECB06A500A2FB92F4FB610D33A20CF8D7FB39F2C2C7C3A6BD0D75A1884A",
|
||||
"reserve_base_xrp": 20,
|
||||
"reserve_inc_xrp": 5,
|
||||
"seq": 4805506
|
||||
},
|
||||
"validation_quorum": 3
|
||||
}
|
||||
},
|
||||
"api_documentation_url": "https://github.com/ripple/ripple-rest"
|
||||
}
|
||||
```
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 KiB |
430
css/devportal.css
Normal file
430
css/devportal.css
Normal file
@@ -0,0 +1,430 @@
|
||||
/* Big draft warning at top of page so it's hard to mix up with the live site */
|
||||
.draft-warning {
|
||||
background-color: red;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
margin: 10px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Images should occupy the full main column width if possible */
|
||||
.page-template-template-dev-portal-php .content img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Underline links in Dev Portal content */
|
||||
.page-template-template-dev-portal-php .main a {
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
|
||||
/* "Button-style" links should look like buttons, not links */
|
||||
.page-template-template-dev-portal-php a.button {
|
||||
cursor: pointer;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
/* Code Tabs stuff */
|
||||
.page-template-template-dev-portal-php .multicode {
|
||||
color: #000;
|
||||
margin: 12px 0px 0px 0px;
|
||||
padding: 0 0 0 0;
|
||||
z-index: 1;
|
||||
padding-left: 10px;
|
||||
position: relative;
|
||||
}
|
||||
.page-template-template-dev-portal-php .multicode ul {
|
||||
margin: 0 !important;
|
||||
padding: 0;
|
||||
}
|
||||
.page-template-template-dev-portal-php .multicode pre {
|
||||
padding-top: 0;
|
||||
clear: both;
|
||||
}
|
||||
.page-template-template-dev-portal-php .multicode li {
|
||||
display: block;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
list-style-type: none;
|
||||
margin-right: 5px;
|
||||
border-top: 1px solid #DBDDE2;
|
||||
}
|
||||
.page-template-template-dev-portal-php .multicode ul > li:before {
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
.page-template-template-dev-portal-php .multicode a,
|
||||
.page-template-template-dev-portal-php a.current {
|
||||
color: black;
|
||||
background: #DFE2E7;
|
||||
border: 1px solid #DBDDE2;
|
||||
padding: 1em 1em 0 1em;
|
||||
margin: 0px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.page-template-template-dev-portal-php .multicode a.current {
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #fff;
|
||||
color: black;
|
||||
}
|
||||
.page-template-template-dev-portal-php .multicode a:hover {
|
||||
color: black;
|
||||
background: white;
|
||||
}
|
||||
/* End of code tabs stuff */
|
||||
|
||||
.page-template-template-dev-portal-php .button {
|
||||
border-radius: 5px;
|
||||
background-color: #27a2db;
|
||||
padding: 5px 20px;
|
||||
text-align: center;
|
||||
cursor: default;
|
||||
margin: 10px 0;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
color: #ffffff;
|
||||
-o-transition: .5s;
|
||||
-webkit-transition: .5s;
|
||||
transition: .5s;
|
||||
}
|
||||
.page-template-template-dev-portal-php .button:hover {
|
||||
background-color: #43bded;
|
||||
-o-transition: .5s;
|
||||
-webkit-transition: .5s;
|
||||
transition: .5s;
|
||||
}
|
||||
.page-template-template-dev-portal-php pre {
|
||||
overflow: visible;
|
||||
word-wrap: normal;
|
||||
}
|
||||
.page-template-template-dev-portal-php pre code {
|
||||
white-space: pre;
|
||||
}
|
||||
.page-template-template-dev-portal-php .code_sample pre {
|
||||
background: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
.page-template-template-dev-portal-php .code_sample pre code {
|
||||
overflow: auto;
|
||||
max-height: 14em;
|
||||
background-color: #f5f5f5;
|
||||
border: 1px solid #cccccc;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.page-template-template-dev-portal-php .code_sample pre code.expanded {
|
||||
overflow: visible;
|
||||
max-height: none;
|
||||
position: absolute;
|
||||
min-width: 661px;
|
||||
}
|
||||
.page-template-template-dev-portal-php .code_sample .code_toggler {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
.page-template-template-dev-portal-php .navbar-default {
|
||||
border-bottom: none;
|
||||
}
|
||||
.page-template-template-dev-portal-php .wrap.container {
|
||||
margin-top: 110px;
|
||||
}
|
||||
.page-template-template-dev-portal-php .main {
|
||||
z-index: 5;
|
||||
border-left: 1px solid #cccccc;
|
||||
padding-left: 40px;
|
||||
}
|
||||
.page-template-template-dev-portal-php .content {
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
.page-template-template-dev-portal-php .level-1 {
|
||||
margin: 10px 0 3px 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.page-template-template-dev-portal-php .level-1 a {
|
||||
color: #000000;
|
||||
font-family: 'open_sansbold', sans-serif;
|
||||
letter-spacing: .04em;
|
||||
}
|
||||
.page-template-template-dev-portal-php .level-2 {
|
||||
margin-left: 2em;
|
||||
}
|
||||
.page-template-template-dev-portal-php .level-3 {
|
||||
margin-left: 4em;
|
||||
}
|
||||
.page-template-template-dev-portal-php .level-3 a {
|
||||
color: #999999;
|
||||
}
|
||||
.page-template-template-dev-portal-php .level-3 a:hover {
|
||||
color: #666;
|
||||
}
|
||||
.page-template-template-dev-portal-php ul#dev_nav_sidebar {
|
||||
padding-left: 5px;
|
||||
list-style-type: none;
|
||||
max-width: 370px;
|
||||
}
|
||||
.page-template-template-dev-portal-php .dev_nav_wrapper {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
overflow-y: scroll;
|
||||
top: 130px;
|
||||
bottom: 35px;
|
||||
}
|
||||
.page-template-template-dev-portal-php td {
|
||||
border: 1px solid #dbdde2;
|
||||
padding: 0.2em;
|
||||
}
|
||||
.page-template-template-dev-portal-php th {
|
||||
padding: 0.2em;
|
||||
}
|
||||
.page-template-template-dev-portal-php .content a[title="Source"] {
|
||||
float: right;
|
||||
padding-left: 20px;
|
||||
}
|
||||
.page-template-template-dev-portal-php .content table {
|
||||
clear: right;
|
||||
}
|
||||
.page-template-template-dev-portal-php h1:before,
|
||||
.page-template-template-dev-portal-php h2:before,
|
||||
.page-template-template-dev-portal-php h3:before {
|
||||
display: block;
|
||||
content: " ";
|
||||
margin-top: -130px;
|
||||
height: 130px;
|
||||
visibility: hidden;
|
||||
}
|
||||
@media (max-width: 1200px) {
|
||||
.page-template-template-dev-portal-php .dev_nav_wrapper {
|
||||
max-width: 300px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.page-template-template-dev-portal-php .dev_nav_wrapper {
|
||||
max-width: 230px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.page-template-template-dev-portal-php .dev_nav_wrapper,
|
||||
.page-template-template-dev-portal-php .sidebar {
|
||||
display: none;
|
||||
}
|
||||
.page-template-template-dev-portal-php .main {
|
||||
border-left: none;
|
||||
padding-left: 0px;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.page-template-template-dev-portal-php .main {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
@media (max-width: 480px) {
|
||||
.page-template-template-dev-portal-php html {
|
||||
overflow-x: hidden !important;
|
||||
}
|
||||
}
|
||||
@media print {
|
||||
.page-template-template-dev-portal-php {
|
||||
/* undo code tabs */
|
||||
/* wrap code, not scroll */
|
||||
/* Source URLs are too big to float */
|
||||
/* Show URLs after links - even for anchors */
|
||||
/* Drop header, footer, google translate */
|
||||
/* table of contents can't scroll */
|
||||
/* better margins on main content */
|
||||
/* crazy print-section-numbering idea */
|
||||
}
|
||||
.page-template-template-dev-portal-php .multicode > div {
|
||||
display: block !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php .multicode > ul {
|
||||
display: none !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php .multicode > em,
|
||||
.page-template-template-dev-portal-php .multicode > p > em {
|
||||
display: block !important;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
.page-template-template-dev-portal-php .multicode > p {
|
||||
display: block !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php pre {
|
||||
white-space: pre-wrap;
|
||||
max-height: none !important;
|
||||
overflow: visible;
|
||||
page-break-inside: auto;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.page-template-template-dev-portal-php pre code {
|
||||
white-space: pre-wrap !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php .content a[title="Source"] {
|
||||
float: none;
|
||||
}
|
||||
.page-template-template-dev-portal-php .main a:after {
|
||||
content: " (" attr(href) ")";
|
||||
}
|
||||
.page-template-template-dev-portal-php header,
|
||||
.page-template-template-dev-portal-php footer {
|
||||
display: none;
|
||||
}
|
||||
.page-template-template-dev-portal-php #goog-gt-tt {
|
||||
display: none;
|
||||
}
|
||||
.page-template-template-dev-portal-php .wrap.container {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php .dev_nav_wrapper {
|
||||
position: static !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php .sidebar:before {
|
||||
display: none !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php .sidebar {
|
||||
padding-top: 0 !important;
|
||||
display: block !important;
|
||||
float: none !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php h1 {
|
||||
page-break-before: always;
|
||||
}
|
||||
.page-template-template-dev-portal-php .main {
|
||||
float: none !important;
|
||||
width: 85% !important;
|
||||
border-left: 0 !important;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
display: block !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php .main {
|
||||
counter-reset: level1;
|
||||
counter-reset: level2;
|
||||
counter-reset: level3;
|
||||
}
|
||||
.page-template-template-dev-portal-php .main h1 {
|
||||
counter-increment: level1;
|
||||
counter-reset: level2;
|
||||
}
|
||||
.page-template-template-dev-portal-php .main h1:before {
|
||||
content: counter(level1) ". " !important;
|
||||
display: inline !important;
|
||||
background: none !important;
|
||||
position: static !important;
|
||||
box-shadow: none !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php .main h2 {
|
||||
counter-reset: level3;
|
||||
}
|
||||
.page-template-template-dev-portal-php .main h2:before {
|
||||
counter-increment: level2;
|
||||
content: counter(level1) "." counter(level2) ". " !important;
|
||||
display: inline !important;
|
||||
background: none !important;
|
||||
position: static !important;
|
||||
box-shadow: none !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php .main h3:before {
|
||||
counter-increment: level3;
|
||||
content: counter(level1) "." counter(level2) "." counter(level3) ". " !important;
|
||||
display: inline !important;
|
||||
background: none !important;
|
||||
position: static !important;
|
||||
box-shadow: none !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php .menubar,
|
||||
.page-template-template-dev-portal-php .dev_nav_wrapper {
|
||||
counter-reset: toclevel1;
|
||||
}
|
||||
.page-template-template-dev-portal-php .level-1 {
|
||||
counter-reset: toclevel2;
|
||||
}
|
||||
.page-template-template-dev-portal-php .level-1:before {
|
||||
counter-increment: toclevel1;
|
||||
content: counters(toclevel1, ".") ". " !important;
|
||||
display: inline !important;
|
||||
background: none !important;
|
||||
position: static !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php .level-2 {
|
||||
counter-reset: toclevel3;
|
||||
}
|
||||
.page-template-template-dev-portal-php .level-2:before {
|
||||
counter-increment: toclevel2;
|
||||
content: counters(toclevel1, ".") "." counters(toclevel2, ".") ". " !important;
|
||||
display: inline !important;
|
||||
background: none !important;
|
||||
position: static !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.page-template-template-dev-portal-php .level-3:before {
|
||||
counter-increment: toclevel3;
|
||||
content: counters(toclevel1, ".") "." counters(toclevel2, ".") "." counters(toclevel3, ".") ". " !important;
|
||||
display: inline !important;
|
||||
background: none !important;
|
||||
position: static !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------- Code Tabs -----------------------------------------*/
|
||||
.multicode {
|
||||
color: #000;
|
||||
border-bottom: 1px solid #DBDDE2;
|
||||
margin: 12px 0px 0px 0px;
|
||||
padding: 0 0 0 0;
|
||||
z-index: 1;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.multicode ul {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.multicode pre {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.multicode li {
|
||||
display: inline;
|
||||
overflow: hidden;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.multicode ul > li:before {
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.multicode a, a.current {
|
||||
color: black;
|
||||
background: #DFE2E7;
|
||||
border: 1px solid #DBDDE2;
|
||||
padding: 1em 1em 0 1em;
|
||||
margin: 0px;
|
||||
text-decoration: none; }
|
||||
|
||||
.multicode a.current {
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #fff;
|
||||
color : black;
|
||||
}
|
||||
|
||||
.multicode a:hover {
|
||||
color: black;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.multicode a.current:hover {}
|
||||
|
||||
8685
css/ripple.css
Normal file
8685
css/ripple.css
Normal file
File diff suppressed because it is too large
Load Diff
@@ -14,36 +14,32 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body >
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -82,6 +78,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -93,17 +90,16 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div id='wrapper'>
|
||||
<div style="clear:both;"></div>
|
||||
<div id='command_wrapper'>
|
||||
@@ -132,7 +128,7 @@
|
||||
<div id='output' class='io'>
|
||||
<h2>Response</h2>
|
||||
<div>
|
||||
<img class="loader" src="assets/img/rippleThrobber.png" style="vertical-align: middle; display:none;"/>
|
||||
<img class="loader" src="img/rippleThrobber.png" style="vertical-align: middle; display:none;"/>
|
||||
<span id='rest_responsecode'></span>
|
||||
</div>
|
||||
<div id='response_body'></div>
|
||||
@@ -142,65 +138,60 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
|
||||
<link rel='stylesheet' type='text/css' href='css/api-style.css'/>
|
||||
|
||||
173
data_api_v2.html
173
data_api_v2.html
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,21 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="ripple-data-api-v2">Ripple Data API v2</h1>
|
||||
<p>The Ripple Data API v2 provides access to information about changes in the Ripple Consensus Ledger, including transaction history and processed analytical data. This information is stored in a database for easy access, which frees <code>rippled</code> servers to maintain fewer historical ledger versions. Additionally, the Data API v2 acts as data source for applications such as <a href="https://www.ripplecharts.com/">Ripple Charts</a> and <a href="https://www.ripple.com">ripple.com</a>.</p>
|
||||
@@ -5272,65 +5260,60 @@ $ node import/live
|
||||
node import/hbase/backfill --startIndex 2000000 --stopIndex 1000000
|
||||
</code></pre>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
182
fee-voting.html
182
fee-voting.html
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,30 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
<ul id="dev_nav_sidebar">
|
||||
<li class="level-1">Concepts</li>
|
||||
<li class="level-2"><a href="paths.html">Paths</a></li>
|
||||
<li class="level-2"><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li class="level-2"><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li class="level-2"><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li class="level-2"><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li class="level-2"><a href="reserves.html">Reserves</a></li>
|
||||
<li class="level-2"><a href="freeze.html">Freeze</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="fee-voting">Fee Voting</h1>
|
||||
<p>Validators can vote for changes to basic <a href="tx-cost.html">transaction cost</a> as well as <a href="reserves.html">reserve requirements</a>. If the preferences in a validator's configuration are different than the network's current settings, the validator expresses its preferences to the network periodically. If a quorum of validators agrees on a change, they can apply a change that takes effect thereafter. Validators may do this for various reasons, especially to reflect long-term changes in the value of XRP.</p>
|
||||
@@ -175,65 +172,60 @@
|
||||
<li><strong>Flag ledger +2</strong>: New settings take effect, if a SetFee psuedotransaction achieved consensus.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
182
fees.html
182
fees.html
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,30 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
<ul id="dev_nav_sidebar">
|
||||
<li class="level-1">Concepts</li>
|
||||
<li class="level-2"><a href="paths.html">Paths</a></li>
|
||||
<li class="level-2"><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li class="level-2"><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li class="level-2"><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li class="level-2"><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li class="level-2"><a href="reserves.html">Reserves</a></li>
|
||||
<li class="level-2"><a href="freeze.html">Freeze</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="fees-disambiguation">Fees (Disambiguation)</h1>
|
||||
<p>The Ripple Consensus Ledger is a decentralized ledger, secured by cryptography, and operated by a distributed peer-to-peer network of servers. This means that no one party, not even the Ripple, Inc., can charge a fee for access to the network.</p>
|
||||
@@ -146,65 +143,60 @@
|
||||
<p>While the above values are the only fees built into the Ripple Consensus Ledger, people can still invent ways to charge fees associated with the ledger. A common example is withdrawal or deposit fees charged by gateways, which are assessed when you use the gateway to get money into or out of the Ripple Consensus Ledger. This may cover the costs of transferring balances on traditional payment rails, or it may be in addition to those costs.</p>
|
||||
<p>Many other fees are also possible. Businesses might charge for access, account maintenance, exchange services (especially when buying XRP on a private market instead of directly within the Ripple Consensus Ledger) and any number of other services. Always be aware of the fee schedule before doing business with any gateway or other financial institution.</p>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
182
freeze.html
182
freeze.html
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,30 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
<ul id="dev_nav_sidebar">
|
||||
<li class="level-1">Concepts</li>
|
||||
<li class="level-2"><a href="paths.html">Paths</a></li>
|
||||
<li class="level-2"><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li class="level-2"><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li class="level-2"><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li class="level-2"><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li class="level-2"><a href="reserves.html">Reserves</a></li>
|
||||
<li class="level-2"><a href="freeze.html">Freeze</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="freeze-features">Freeze Features</h1>
|
||||
<p>The Ripple Consensus Ledger gives accounts the ability to freeze non-XRP balances, which can be useful to comply with regulatory requirements, or while investigating suspicious activity. There are three settings related to freezes:</p>
|
||||
@@ -819,65 +816,60 @@ api.connect().then(() => {
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal/tree/gh-pages/content/code_samples/freeze">Freeze Code Samples</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,21 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="becoming-a-ripple-gateway">Becoming a Ripple Gateway</h1>
|
||||
<p>Expanding an existing online financial system to support Ripple is a relatively simple task. Gateways are the businesses that link the Ripple network to the rest of the world. By becoming a Ripple gateway, existing online financial services, such as payment systems and digital currency exchange, can gain several advantages:</p>
|
||||
@@ -710,65 +698,60 @@ Content-Type: application/json
|
||||
<p>The <a href="https://wiki.ripple.com/Ripple.txt">ripple.txt</a> standard provides a way to publish information about your gateway so that automated tools and applications can read and understand it.</p>
|
||||
<p>For example, if you run a validating <code>rippled</code> server, you can use ripple.txt to publish the public key of your validating server. You can also publish information about what currencies your gateway issues, and which Ripple account addresses you control, to protect against impostors or confusion.</p>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
BIN
img/ripple-logo-color.png
Normal file
BIN
img/ripple-logo-color.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 734 B After Width: | Height: | Size: 734 B |
BIN
img/ripple_footer_v2.jpg
Normal file
BIN
img/ripple_footer_v2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 243 KiB |
157
index.html
157
index.html
@@ -14,8 +14,11 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
@@ -33,30 +36,23 @@
|
||||
<link href="vendor/font-awesome.min.css" rel="stylesheet">
|
||||
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body >
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -95,6 +91,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -106,16 +103,14 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<main class="main" role="main">
|
||||
|
||||
<!-- jumbotron -->
|
||||
<!-- <div class="container theme-showcase" role="main"> -->
|
||||
@@ -181,64 +176,60 @@ Ripple’s distributed settlement network is built on open-source technology tha
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$(document).ready(function() {
|
||||
tableOfContents = $("<ul class='tableofcontents'>").appendTo(".menubar > .menu.section")
|
||||
tableOfContents = $("<ul id='dev_nav_sidebar'>").appendTo(".sidebar #cont")
|
||||
$("h1, h2, h3").each(function() {
|
||||
indent_level = this.tagName.toLowerCase().substr(1);
|
||||
if (this.id) { //only show headers with IDs. which should be all of them.
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
// Generated by grunt-webfont
|
||||
// Based on https://github.com/endtwist/fontcustom/blob/master/lib/fontcustom/templates/fontcustom.css
|
||||
|
||||
@font-face {
|
||||
font-family:"rippleicons";
|
||||
src:url("../font/icons-69f2993ae31bde255c4a342228474e94.eot");
|
||||
src:url("../font/icons-69f2993ae31bde255c4a342228474e94.eot?#iefix") format("embedded-opentype"),
|
||||
url("../font/icons-69f2993ae31bde255c4a342228474e94.woff") format("woff"),
|
||||
url("../font/icons-69f2993ae31bde255c4a342228474e94.ttf") format("truetype"),
|
||||
url("../font/icons-69f2993ae31bde255c4a342228474e94.svg?#icons") format("svg");
|
||||
font-weight:normal;
|
||||
font-style:normal;
|
||||
}
|
||||
|
||||
|
||||
// Bootstrap Overrides
|
||||
[class^="icon-"]:before,
|
||||
[class*=" icon-"]:before {
|
||||
font-family:"rippleicons";
|
||||
display:inline-block;
|
||||
vertical-align:middle;
|
||||
font-weight:normal;
|
||||
font-style:normal;
|
||||
speak:none;
|
||||
text-decoration:inherit;
|
||||
text-transform:none;
|
||||
text-rendering:optimizeLegibility;
|
||||
-webkit-font-smoothing:antialiased;
|
||||
-moz-osx-font-smoothing:grayscale;
|
||||
}
|
||||
|
||||
// Mixins
|
||||
|
||||
.icon-ripple-logo {
|
||||
&:before {
|
||||
font-family:"rippleicons";
|
||||
display:inline-block;
|
||||
font-weight:normal;
|
||||
font-style:normal;
|
||||
text-decoration:inherit;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Icons
|
||||
|
||||
.icon-ripple-logo {
|
||||
&:before {
|
||||
content:"\e001";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
980
less/main.less
980
less/main.less
@@ -1,980 +0,0 @@
|
||||
@import "icons.less";
|
||||
@import "modals.less";
|
||||
@import "variables.less";
|
||||
@import "mixins";
|
||||
*{
|
||||
box-sizing:border-box;
|
||||
-webkit-box-sizing:border-box;
|
||||
-moz-box-sizing:border-box;
|
||||
}
|
||||
|
||||
body{
|
||||
color: #898788;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
.content-root {
|
||||
background-color: #f3f6fb;
|
||||
-webkit-box-shadow: inset 780px 0 #fff, inset 781px 0 #dfe2e7, inset 790px 0 5px -10px rgba(0,0,0,0.1);
|
||||
box-shadow: inset 780px 0 #fff, inset 781px 0 #dfe2e7, inset 790px 0 5px -10px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
&:not(.no-literate){
|
||||
.header {
|
||||
position: relative;
|
||||
.left {
|
||||
.header-menu-button {
|
||||
display: none;
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
top: 8px;
|
||||
width: 40px;
|
||||
height: 38px;
|
||||
padding: 3px 4px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
background: url('../img/burger.png') center no-repeat;
|
||||
-moz-border-radius: 4px;
|
||||
z-index: 888;
|
||||
svg {
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
.right {
|
||||
width: 50px;
|
||||
iframe {
|
||||
width: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.content-root{
|
||||
background: #4a4a4c;
|
||||
}
|
||||
.content > pre, .content > blockquote {
|
||||
color: #fff;
|
||||
}
|
||||
a{
|
||||
color:#517ab8;
|
||||
}
|
||||
.content{
|
||||
|
||||
width: 100%;
|
||||
overflow-x: hidden;
|
||||
padding-top: 10px;
|
||||
&>h1,&>h2,&>h3{
|
||||
color: #474648;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
h1, h2, .big-heading, h3{
|
||||
padding-top: 20px;
|
||||
padding-bottom: 10px;
|
||||
&:before{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
h1 {
|
||||
font-size: 25px
|
||||
}
|
||||
h2 {
|
||||
font-size: 20px;
|
||||
}
|
||||
h3 {
|
||||
font-size: 17px;
|
||||
}
|
||||
/********************** CODE *****************/
|
||||
|
||||
pre {
|
||||
display: block;
|
||||
position: relative;
|
||||
float: left;
|
||||
width:40%;
|
||||
width: -moz-calc(~"100% - 550px");
|
||||
width: -webkit-calc(~"100% - 550px");
|
||||
width: -o-calc(~"100% - 550px");
|
||||
width: calc(~"100% - 550px");
|
||||
overflow-x: auto;
|
||||
|
||||
&:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
|
||||
visibility: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
code{
|
||||
color: #fff;
|
||||
word-wrap:break-word;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ul + pre {
|
||||
width: -moz-calc(~"100% - 570px");
|
||||
width: -webkit-calc(~"100% - 570px");
|
||||
width: -o-calc(~"100% - 570px");
|
||||
width: calc(~"100% - 570px");
|
||||
}
|
||||
li {
|
||||
position: relative;
|
||||
pre {
|
||||
width: -moz-calc(~"100% - 620px");
|
||||
width: -webkit-calc(~"100% - 620px");
|
||||
width: -o-calc(~"100% - 620px");
|
||||
width: calc(~"100% + 620px");
|
||||
padding-left: calc(~"100% + 40px");
|
||||
//
|
||||
overflow: inherit;
|
||||
code{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
ul,p,pre,h1,h2,h3,h4,h5,h6,blockquote {
|
||||
|
||||
}
|
||||
|
||||
/********************** CODE *****************/
|
||||
}
|
||||
|
||||
.guidelines-content {
|
||||
box-shadow: none;
|
||||
background: #fff;
|
||||
color: #6E6F7E;
|
||||
padding:0 15%;
|
||||
.content {
|
||||
padding-top: 20px;
|
||||
}
|
||||
.terms-conditions-link-container {
|
||||
font-size: 15px;
|
||||
background: #F3EEAE;
|
||||
border: 1px solid darken(#F3EEAE, 20%);
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
margin: 15px 0;
|
||||
color: #695221;
|
||||
a {
|
||||
text-decoration: underline;
|
||||
color: #695221;
|
||||
}
|
||||
}
|
||||
.download-all {
|
||||
text-align: center;
|
||||
font-size: 15px;
|
||||
background: #F9FAFC;
|
||||
border: 1px solid darken(#F9FAFC, 20%);
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
margin: 20px 0 20px;
|
||||
a {
|
||||
cursor: pointer;
|
||||
color: #507BBA;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
svg {
|
||||
display: inline-block;
|
||||
margin-top: -3px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
.brand-guidelines-row {
|
||||
overflow: hidden;
|
||||
padding-bottom: 25px;
|
||||
position: relative;
|
||||
|
||||
p {
|
||||
padding: 0;
|
||||
color: #6E6E70;
|
||||
font-size: 14px;
|
||||
a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
strong {
|
||||
color: #346AA9;
|
||||
}
|
||||
}
|
||||
}
|
||||
.brand-guidelines-title {
|
||||
color: #474648;
|
||||
text-transform: inherit;
|
||||
font-weight: 600;
|
||||
font-family: 'Open sans' sans-serif;
|
||||
border: 0;
|
||||
}
|
||||
.terms-conditions-content {
|
||||
p {
|
||||
margin-bottom: 20px;
|
||||
color: #6E6E70;
|
||||
&+h2{
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.xrp-logos {
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
.xrp-logo {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 32%;
|
||||
float: left;
|
||||
margin-right: 2%;
|
||||
margin-bottom: 15px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 7px;
|
||||
moz-border-radius: 7px;
|
||||
|
||||
&:nth-of-type(3n+3) {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.logo-container {
|
||||
padding-bottom: 90%;
|
||||
position: relative;
|
||||
.bg-container {
|
||||
padding-top: 23%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: -webkit-calc(~"100% - 50px");
|
||||
height: -moz-calc(~"100% - 50px");
|
||||
height: calc(~"100% - 50px");
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 90%;
|
||||
&.logo-triskelion {
|
||||
background-image: url(../img/ripple-triskelion.png);
|
||||
background-size: 50%;
|
||||
}
|
||||
&.logotype {
|
||||
background-image: url(../img/logotype.png);
|
||||
|
||||
}
|
||||
&.logo-full {
|
||||
background-image: url(../img/logo-lg.png);
|
||||
}
|
||||
&.badge-blue, &.badge-gray {
|
||||
background-size: 52%;
|
||||
}
|
||||
&.bg-badge-white {
|
||||
background-image: url(../img/badge-white.png);
|
||||
background-size: 80%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.logo-download-link {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
text-decoration: none;
|
||||
left: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
background: #F5F5F5;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
font-weight: bold;
|
||||
font-size: 17px;
|
||||
border-top: 1px solid #ddd;
|
||||
border-radius: 0 0 7px 7px;
|
||||
moz-border-radius: 0 0 7px 7px;
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
color: #346AA9;
|
||||
}
|
||||
svg {
|
||||
display: inline-block;
|
||||
margin-top: -2px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.brand-usage-types {
|
||||
padding-top: 25px;
|
||||
hr {
|
||||
display: block;
|
||||
width: 39%;
|
||||
float: left;
|
||||
border-color: #ddd;
|
||||
}
|
||||
.unacceptable {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
.usage-brand {
|
||||
overflow: hidden;
|
||||
margin-bottom: 30px;
|
||||
.brand-img {
|
||||
width: 40%;
|
||||
padding-right: 30px;
|
||||
float: left;
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.usage-brand-info {
|
||||
float: left;
|
||||
width: 60%;
|
||||
padding-left: 55px;
|
||||
position: relative;
|
||||
&:before {
|
||||
content: "";
|
||||
height: 16px;
|
||||
position: absolute;
|
||||
left: 25px;
|
||||
top:2px;
|
||||
display: block;
|
||||
background-position: center;
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
&.acceptable-use:before {
|
||||
width: 20px;
|
||||
background-image: url('../img/icon-check.png');
|
||||
|
||||
}
|
||||
&.unacceptable-use:before {
|
||||
top: 3px;
|
||||
width: 16px;
|
||||
background-image: url('../img/icon-remove.png');
|
||||
}
|
||||
span {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
color: #474648;
|
||||
|
||||
}
|
||||
li {
|
||||
font-size: 14px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
hr {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.attribution-badges {
|
||||
margin-bottom: 50px;
|
||||
padding-top: 25px;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
&>div {
|
||||
width: 25%;
|
||||
min-width: 140px;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
}
|
||||
.attribution-badge {
|
||||
position: relative;
|
||||
span.badge-blue {
|
||||
margin: 0 auto 20px;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
display: block;
|
||||
background: url('../img/Ripple_attribution_badge_blue.svg') center no-repeat;
|
||||
}
|
||||
span.badge-gray {
|
||||
margin: 0 auto 20px;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
display: block;
|
||||
background: url('../img/Ripple_attribution_badge_gray.svg') center no-repeat;
|
||||
}
|
||||
|
||||
span.badge-white {
|
||||
margin: 0 auto 20px;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
display: block;
|
||||
background: url('../img/Ripple_attribution_badge_white.svg') #000 center no-repeat;
|
||||
}
|
||||
a.download-logo {
|
||||
display: none;
|
||||
opacity: 0.6;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 10%;
|
||||
width: 33px;
|
||||
height: 28px;
|
||||
svg {
|
||||
width: 33px;
|
||||
height: 28px;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
a.download-logo {
|
||||
display: block;
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.badge-example {
|
||||
padding-bottom: 15px;
|
||||
position: relative;
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
.badge-location {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
display: inline-block;
|
||||
|
||||
&.left {
|
||||
left: 0;
|
||||
}
|
||||
&.right {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
&.center {
|
||||
left: 50%;
|
||||
margin-left: -75px;
|
||||
}
|
||||
&:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
width: 1px;
|
||||
height: 70px;
|
||||
border-left: 1px solid #EC008D;
|
||||
|
||||
}
|
||||
&:after {
|
||||
color: #EC008D;
|
||||
content: "●";
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
line-height: 4px;
|
||||
margin-left: -3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.modal {
|
||||
.modal-body {
|
||||
.modal-body-content {
|
||||
height: 360px;
|
||||
overflow-x: auto;
|
||||
border: 1px solid #ccc;
|
||||
color: #323332;
|
||||
padding:10px 15px;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
.modal-header {
|
||||
position: relative;
|
||||
background: #326BAA;
|
||||
padding: 20px 30px;
|
||||
.modal-title {
|
||||
color: #FFFFFF;
|
||||
font-size: 19px;
|
||||
|
||||
}
|
||||
.close {
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 15px;
|
||||
font-size: 30px;
|
||||
line-height: 15px;
|
||||
height: 15px;
|
||||
color: #93A5CF;
|
||||
}
|
||||
}
|
||||
.modal-footer {
|
||||
border-top: 0;
|
||||
margin: 0;
|
||||
padding-top: 10px;
|
||||
text-align: center;
|
||||
.btn {
|
||||
color: #fff;
|
||||
font-size: 17px;
|
||||
text-align: center;
|
||||
padding: 13px 15px;
|
||||
border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
width: 170px;
|
||||
display: inline-block;
|
||||
outline: none;
|
||||
border:0;
|
||||
|
||||
&.btn-download {
|
||||
background: #56B95C;
|
||||
cursor: pointer;
|
||||
}
|
||||
&.btn-disabled {
|
||||
background: #ccc;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
.modal-checkbox {
|
||||
text-align: left;
|
||||
padding-bottom: 10px;
|
||||
label {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
color: #323332;
|
||||
font-size: 17px;
|
||||
}
|
||||
input {
|
||||
margin: 7px 5px 2px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.badge-blue {
|
||||
margin: 0 auto 20px;
|
||||
width: 135px;
|
||||
height: 58px;
|
||||
display: inline-block;
|
||||
background: url('../img/Ripple_attribution_badge_blue.svg') center no-repeat;
|
||||
}
|
||||
.badge-gray {
|
||||
margin: 0 auto 20px;
|
||||
width: 135px;
|
||||
height: 58px;
|
||||
display: inline-block;
|
||||
background: url('../img/Ripple_attribution_badge_gray.svg') center no-repeat;
|
||||
}
|
||||
.badge-white {
|
||||
margin: 0 auto 20px;
|
||||
width: 135px;
|
||||
height: 58px;
|
||||
display: inline-block;
|
||||
background: url('../img/Ripple_attribution_badge_white.svg') #000 center no-repeat;
|
||||
}
|
||||
.menubar .section{
|
||||
padding-top: 10px;
|
||||
}
|
||||
.menu{
|
||||
a{
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-size: 13px;
|
||||
|
||||
&.level-1{
|
||||
color: #474648;
|
||||
font-size: 13px;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
&.level-2{
|
||||
padding-left: 25px;
|
||||
color: #466db2;
|
||||
font-size: 13px;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
text-transform: capitalize;
|
||||
&.active {
|
||||
color: #517ab8 !important;
|
||||
|
||||
}
|
||||
}
|
||||
&.level-3 {
|
||||
padding-left: 50px;
|
||||
color: #7A7979;
|
||||
&:before {
|
||||
content: "- ";
|
||||
}
|
||||
}
|
||||
&.active{
|
||||
|
||||
border: solid 1px #CED3E1 !important;
|
||||
background: rgba(206, 211, 225, 0.5);
|
||||
&:after{
|
||||
display: none;
|
||||
}
|
||||
&:hover {
|
||||
color: #517ab8 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
li.level-2{
|
||||
|
||||
a {
|
||||
border: solid 1px transparent;
|
||||
|
||||
&:hover, &:active {
|
||||
border: solid 1px #CED3E1;
|
||||
background: rgba(206, 211, 225, 0.5);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.header{
|
||||
background: #5d89ae;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
height: 56px;
|
||||
position: relative;
|
||||
-webkit-box-shadow:inset 0 -2px 2px 0 rgba(0,0,0,0.1);
|
||||
box-shadow:inset 0 -2px 2px 0 rgba(0,0,0,0.1);
|
||||
h1{
|
||||
border:0;
|
||||
margin-top: -3px;
|
||||
color: #fff;
|
||||
font-size: 30px;
|
||||
line-height: 56px;
|
||||
font-weight: normal;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
i{
|
||||
display: inline-block;
|
||||
margin-top: -2px;
|
||||
margin: 0 5px;
|
||||
font-size: 24px;
|
||||
line-height: 56px;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
h1 + ul{
|
||||
margin-left: 30px;
|
||||
border:0;
|
||||
li{
|
||||
display: inline-block;
|
||||
border:0;
|
||||
// margin-right: 10px;
|
||||
a{
|
||||
border:0;
|
||||
display: inline-block;
|
||||
line-height: 56px;
|
||||
padding: 0 20px;
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
text-shadow:none;
|
||||
&:hover{
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
&.active, &:hover{
|
||||
a{
|
||||
background: rgba(255,255,255,0.1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@media (min-width:1180px) {
|
||||
body {
|
||||
&:not(.no-literate) {
|
||||
.modal {
|
||||
.modal-dialog {
|
||||
width: 700px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (max-width: 1180px){
|
||||
body{
|
||||
|
||||
&:not(.no-literate){
|
||||
.body .content-root {
|
||||
background: #fff;
|
||||
box-shadow: none;
|
||||
width: 100%;
|
||||
}
|
||||
.content {
|
||||
pre {
|
||||
width: 100%;
|
||||
|
||||
overflow-x: auto;
|
||||
float: none;
|
||||
code {
|
||||
color: #000;
|
||||
padding-left: 20px;
|
||||
}
|
||||
}
|
||||
li {
|
||||
pre {
|
||||
width: 100%;
|
||||
padding-left: 0;
|
||||
code{
|
||||
padding-left: 20px;
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
}
|
||||
ul + pre {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
}
|
||||
.guidelines-content {
|
||||
padding: 0;
|
||||
.content {
|
||||
padding-top: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.content {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
background: #fff;
|
||||
pre {
|
||||
width: 100%;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
body{
|
||||
|
||||
&:not(.no-literate){
|
||||
.guidelines-content {
|
||||
padding: 0;
|
||||
.content {
|
||||
padding: 0 20px;
|
||||
padding-top: 50px;
|
||||
}
|
||||
.brand-guidelines-row {
|
||||
padding-bottom: 50px;
|
||||
.guidelines-label {
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
}
|
||||
.xrp-logos {
|
||||
.xrp-logo {
|
||||
width: 49%;
|
||||
&:nth-of-type(3n+3) {
|
||||
margin-right: 2%;
|
||||
}
|
||||
&:nth-of-type(even) {
|
||||
margin-right: 0;
|
||||
}
|
||||
a.logo-download-link {
|
||||
line-height: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.logo-container .bg-container {
|
||||
height: -webkit-calc(~"100% - 40px");
|
||||
height: -moz-calc(~"100% - 40px");
|
||||
height: calc(~"100% - 40px");
|
||||
}
|
||||
}
|
||||
}
|
||||
.guidelines-graphics-part{
|
||||
margin-bottom: 30px;
|
||||
width: 100%;
|
||||
}
|
||||
.guidelines-text-part {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
padding-bottom: 50px;
|
||||
.brand-guidelines-title,p {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
.logo-trademark-guideline {
|
||||
.colors-info {
|
||||
ul {
|
||||
width: 100%;
|
||||
li{
|
||||
width: 33%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.badge-example {
|
||||
.badge-location {
|
||||
font-size: 10px;
|
||||
&:before {
|
||||
height: 60px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.usage-brand {
|
||||
.usage-brand-info {
|
||||
width: 100%;
|
||||
}
|
||||
.brand-img {
|
||||
padding: 0 10%;
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
img {
|
||||
max-width: 365px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 700px) {
|
||||
body{
|
||||
|
||||
&:not(.no-literate){
|
||||
.header {
|
||||
position: relative;
|
||||
.left {
|
||||
.header-menu-button {
|
||||
display: inline-block;
|
||||
}
|
||||
ul {
|
||||
margin: 0;
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
background-color: #5D89AE;
|
||||
border: 1px solid #fff;
|
||||
border-radius: 0 0 8px 8px;
|
||||
-moz-border-radius: 0 0 8px 8px;
|
||||
z-index: 999;
|
||||
li {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
padding: 0;
|
||||
a {
|
||||
width: 100%;
|
||||
|
||||
font-weight: normal;
|
||||
font-size: 18px;
|
||||
line-height: 50px;
|
||||
border-bottom: 1px solid #fff;
|
||||
height: 50px;
|
||||
}
|
||||
&:last-child {
|
||||
a {
|
||||
border-bottom: 0px solid #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.active {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.right {
|
||||
right: 90px;
|
||||
width: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media (max-width: 400px) {
|
||||
|
||||
body{
|
||||
|
||||
&:not(.no-literate){
|
||||
.header {
|
||||
position: relative;
|
||||
.left {
|
||||
.header-menu-button {
|
||||
display: inline-block;
|
||||
}
|
||||
ul {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.guidelines-content {
|
||||
.content {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.xrp-logos {
|
||||
|
||||
.xrp-logo {
|
||||
|
||||
width: 100%;
|
||||
&:nth-of-type(3n+3) {
|
||||
margin-right: 0;
|
||||
}
|
||||
&:nth-of-type(even) {
|
||||
margin-right: 0;
|
||||
}
|
||||
a.logo-download-link {
|
||||
line-height: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
.logo-container .bg-container {
|
||||
height: -webkit-calc(~"100% - 50px");
|
||||
height: -moz-calc(~"100% - 50px");
|
||||
height: calc(~"100% - 50px");
|
||||
}
|
||||
}
|
||||
}
|
||||
.brand-usage-types {
|
||||
hr {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.usage-brand {
|
||||
|
||||
.usage-brand-info {
|
||||
padding-left: 20px;
|
||||
&:before {
|
||||
left: 0;
|
||||
}
|
||||
ul {
|
||||
li {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.attribution-badges {
|
||||
margin-bottom: 15px;
|
||||
&>div {
|
||||
width: 100%;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.attribution-badge {
|
||||
|
||||
span {
|
||||
margin-bottom: 5px !important;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.badge-example {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
858
less/mixins.less
858
less/mixins.less
@@ -1,858 +0,0 @@
|
||||
//
|
||||
// Mixins
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
// Utilities
|
||||
// -------------------------
|
||||
|
||||
// Clearfix
|
||||
// Source: http://nicolasgallagher.com/micro-clearfix-hack/
|
||||
//
|
||||
// For modern browsers
|
||||
// 1. The space content is one way to avoid an Opera bug when the
|
||||
// contenteditable attribute is included anywhere else in the document.
|
||||
// Otherwise it causes space to appear at the top and bottom of elements
|
||||
// that are clearfixed.
|
||||
// 2. The use of `table` rather than `block` is only necessary if using
|
||||
// `:before` to contain the top-margins of child elements.
|
||||
.clearfix() {
|
||||
&:before,
|
||||
&:after {
|
||||
content: " "; /* 1 */
|
||||
display: table; /* 2 */
|
||||
}
|
||||
&:after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
// WebKit-style focus
|
||||
.tab-focus() {
|
||||
// Default
|
||||
outline: thin dotted #333;
|
||||
// WebKit
|
||||
outline: 5px auto -webkit-focus-ring-color;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
// Center-align a block level element
|
||||
.center-block() {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
// Sizing shortcuts
|
||||
.size(@width; @height) {
|
||||
width: @width;
|
||||
height: @height;
|
||||
}
|
||||
.square(@size) {
|
||||
.size(@size; @size);
|
||||
}
|
||||
|
||||
// Placeholder text
|
||||
.placeholder(@color: @input-color-placeholder) {
|
||||
&:-moz-placeholder { color: @color; } // Firefox 4-18
|
||||
&::-moz-placeholder { color: @color; } // Firefox 19+
|
||||
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
|
||||
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
|
||||
}
|
||||
|
||||
// Text overflow
|
||||
// Requires inline-block or block for proper styling
|
||||
.text-overflow() {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
// CSS image replacement
|
||||
//
|
||||
// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
|
||||
// mixins being reused as classes with the same name, this doesn't hold up. As
|
||||
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`. Note
|
||||
// that we cannot chain the mixins together in Less, so they are repeated.
|
||||
//
|
||||
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
|
||||
|
||||
// Deprecated as of v3.0.1 (will be removed in v4)
|
||||
.hide-text() {
|
||||
font: ~"0/0" a;
|
||||
color: transparent;
|
||||
text-shadow: none;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
}
|
||||
// New mixin to use as of v3.0.1
|
||||
.text-hide() {
|
||||
font: ~"0/0" a;
|
||||
color: transparent;
|
||||
text-shadow: none;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// CSS3 PROPERTIES
|
||||
// --------------------------------------------------
|
||||
|
||||
// Single side border-radius
|
||||
.border-top-radius(@radius) {
|
||||
border-top-right-radius: @radius;
|
||||
border-top-left-radius: @radius;
|
||||
}
|
||||
.border-right-radius(@radius) {
|
||||
border-bottom-right-radius: @radius;
|
||||
border-top-right-radius: @radius;
|
||||
}
|
||||
.border-bottom-radius(@radius) {
|
||||
border-bottom-right-radius: @radius;
|
||||
border-bottom-left-radius: @radius;
|
||||
}
|
||||
.border-left-radius(@radius) {
|
||||
border-bottom-left-radius: @radius;
|
||||
border-top-left-radius: @radius;
|
||||
}
|
||||
|
||||
// Drop shadows
|
||||
.box-shadow(@shadow) {
|
||||
-webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1
|
||||
box-shadow: @shadow;
|
||||
}
|
||||
|
||||
// Transitions
|
||||
.transition(@transition) {
|
||||
-webkit-transition: @transition;
|
||||
transition: @transition;
|
||||
}
|
||||
.transition-property(@transition-property) {
|
||||
-webkit-transition-property: @transition-property;
|
||||
transition-property: @transition-property;
|
||||
}
|
||||
.transition-delay(@transition-delay) {
|
||||
-webkit-transition-delay: @transition-delay;
|
||||
transition-delay: @transition-delay;
|
||||
}
|
||||
.transition-duration(@transition-duration) {
|
||||
-webkit-transition-duration: @transition-duration;
|
||||
transition-duration: @transition-duration;
|
||||
}
|
||||
.transition-transform(@transition) {
|
||||
-webkit-transition: -webkit-transform @transition;
|
||||
-moz-transition: -moz-transform @transition;
|
||||
-o-transition: -o-transform @transition;
|
||||
transition: transform @transition;
|
||||
}
|
||||
|
||||
// Transformations
|
||||
.rotate(@degrees) {
|
||||
-webkit-transform: rotate(@degrees);
|
||||
-ms-transform: rotate(@degrees); // IE9+
|
||||
transform: rotate(@degrees);
|
||||
}
|
||||
.scale(@ratio) {
|
||||
-webkit-transform: scale(@ratio);
|
||||
-ms-transform: scale(@ratio); // IE9+
|
||||
transform: scale(@ratio);
|
||||
}
|
||||
.translate(@x; @y) {
|
||||
-webkit-transform: translate(@x, @y);
|
||||
-ms-transform: translate(@x, @y); // IE9+
|
||||
transform: translate(@x, @y);
|
||||
}
|
||||
.skew(@x; @y) {
|
||||
-webkit-transform: skew(@x, @y);
|
||||
-ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
|
||||
transform: skew(@x, @y);
|
||||
}
|
||||
.translate3d(@x; @y; @z) {
|
||||
-webkit-transform: translate3d(@x, @y, @z);
|
||||
transform: translate3d(@x, @y, @z);
|
||||
}
|
||||
|
||||
.rotateX(@degrees) {
|
||||
-webkit-transform: rotateX(@degrees);
|
||||
-ms-transform: rotateX(@degrees); // IE9+
|
||||
transform: rotateX(@degrees);
|
||||
}
|
||||
.rotateY(@degrees) {
|
||||
-webkit-transform: rotateY(@degrees);
|
||||
-ms-transform: rotateY(@degrees); // IE9+
|
||||
transform: rotateY(@degrees);
|
||||
}
|
||||
.perspective(@perspective) {
|
||||
-webkit-perspective: @perspective;
|
||||
-moz-perspective: @perspective;
|
||||
perspective: @perspective;
|
||||
}
|
||||
.perspective-origin(@perspective) {
|
||||
-webkit-perspective-origin: @perspective;
|
||||
-moz-perspective-origin: @perspective;
|
||||
perspective-origin: @perspective;
|
||||
}
|
||||
.transform-origin(@origin) {
|
||||
-webkit-transform-origin: @origin;
|
||||
-moz-transform-origin: @origin;
|
||||
transform-origin: @origin;
|
||||
}
|
||||
|
||||
// Animations
|
||||
.animation(@animation) {
|
||||
-webkit-animation: @animation;
|
||||
animation: @animation;
|
||||
}
|
||||
|
||||
// Backface visibility
|
||||
// Prevent browsers from flickering when using CSS 3D transforms.
|
||||
// Default value is `visible`, but can be changed to `hidden`
|
||||
.backface-visibility(@visibility){
|
||||
-webkit-backface-visibility: @visibility;
|
||||
-moz-backface-visibility: @visibility;
|
||||
backface-visibility: @visibility;
|
||||
}
|
||||
|
||||
// Box sizing
|
||||
.box-sizing(@boxmodel) {
|
||||
-webkit-box-sizing: @boxmodel;
|
||||
-moz-box-sizing: @boxmodel;
|
||||
box-sizing: @boxmodel;
|
||||
}
|
||||
|
||||
// User select
|
||||
// For selecting text on the page
|
||||
.user-select(@select) {
|
||||
-webkit-user-select: @select;
|
||||
-moz-user-select: @select;
|
||||
-ms-user-select: @select; // IE10+
|
||||
-o-user-select: @select;
|
||||
user-select: @select;
|
||||
}
|
||||
|
||||
// Resize anything
|
||||
.resizable(@direction) {
|
||||
resize: @direction; // Options: horizontal, vertical, both
|
||||
overflow: auto; // Safari fix
|
||||
}
|
||||
|
||||
// CSS3 Content Columns
|
||||
.content-columns(@column-count; @column-gap: @grid-gutter-width) {
|
||||
-webkit-column-count: @column-count;
|
||||
-moz-column-count: @column-count;
|
||||
column-count: @column-count;
|
||||
-webkit-column-gap: @column-gap;
|
||||
-moz-column-gap: @column-gap;
|
||||
column-gap: @column-gap;
|
||||
}
|
||||
|
||||
// Optional hyphenation
|
||||
.hyphens(@mode: auto) {
|
||||
word-wrap: break-word;
|
||||
-webkit-hyphens: @mode;
|
||||
-moz-hyphens: @mode;
|
||||
-ms-hyphens: @mode; // IE10+
|
||||
-o-hyphens: @mode;
|
||||
hyphens: @mode;
|
||||
}
|
||||
|
||||
// Opacity
|
||||
.opacity(@opacity) {
|
||||
opacity: @opacity;
|
||||
// IE8 filter
|
||||
@opacity-ie: (@opacity * 100);
|
||||
filter: ~"alpha(opacity=@{opacity-ie})";
|
||||
}
|
||||
|
||||
|
||||
|
||||
// GRADIENTS
|
||||
// --------------------------------------------------
|
||||
|
||||
#gradient {
|
||||
|
||||
// Horizontal gradient, from left to right
|
||||
//
|
||||
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
||||
// Color stops are not available in IE9 and below.
|
||||
.horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
|
||||
background-image: -webkit-gradient(linear, @start-percent top, @end-percent top, from(@start-color), to(@end-color)); // Safari 4+, Chrome 2+
|
||||
background-image: -webkit-linear-gradient(left, color-stop(@start-color @start-percent), color-stop(@end-color @end-percent)); // Safari 5.1+, Chrome 10+
|
||||
background-image: -moz-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // FF 3.6+
|
||||
background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10
|
||||
background-repeat: repeat-x;
|
||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down
|
||||
}
|
||||
|
||||
// Vertical gradient, from top to bottom
|
||||
//
|
||||
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
||||
// Color stops are not available in IE9 and below.
|
||||
.vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
|
||||
background-image: -webkit-gradient(linear, left @start-percent, left @end-percent, from(@start-color), to(@end-color)); // Safari 4+, Chrome 2+
|
||||
background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1+, Chrome 10+
|
||||
background-image: -moz-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // FF 3.6+
|
||||
background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10
|
||||
background-repeat: repeat-x;
|
||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down
|
||||
}
|
||||
|
||||
.directional(@start-color: #555; @end-color: #333; @deg: 45deg) {
|
||||
background-repeat: repeat-x;
|
||||
background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1+, Chrome 10+
|
||||
background-image: -moz-linear-gradient(@deg, @start-color, @end-color); // FF 3.6+
|
||||
background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10
|
||||
}
|
||||
.horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
|
||||
background-image: -webkit-gradient(left, linear, 0 0, 0 100%, from(@start-color), color-stop(@color-stop, @mid-color), to(@end-color));
|
||||
background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
|
||||
background-image: -moz-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
|
||||
background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);
|
||||
background-repeat: no-repeat;
|
||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
|
||||
}
|
||||
.vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@start-color), color-stop(@color-stop, @mid-color), to(@end-color));
|
||||
background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);
|
||||
background-image: -moz-linear-gradient(top, @start-color, @mid-color @color-stop, @end-color);
|
||||
background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);
|
||||
background-repeat: no-repeat;
|
||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
|
||||
}
|
||||
.radial(@inner-color: #555; @outer-color: #333) {
|
||||
background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(@inner-color), to(@outer-color));
|
||||
background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);
|
||||
background-image: -moz-radial-gradient(circle, @inner-color, @outer-color);
|
||||
background-image: radial-gradient(circle, @inner-color, @outer-color);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.striped(@color: rgba(255,255,255,.15); @angle: 45deg) {
|
||||
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, @color), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, @color), color-stop(.75, @color), color-stop(.75, transparent), to(transparent));
|
||||
background-image: -webkit-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
|
||||
background-image: -moz-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
|
||||
background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
|
||||
}
|
||||
}
|
||||
|
||||
// Reset filters for IE
|
||||
//
|
||||
// When you need to remove a gradient background, do not forget to use this to reset
|
||||
// the IE filter for IE9 and below.
|
||||
.reset-filter() {
|
||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Retina images
|
||||
//
|
||||
// Short retina mixin for setting background-image and -size
|
||||
|
||||
.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
|
||||
background-image: url("@{file-1x}");
|
||||
|
||||
@media
|
||||
only screen and (-webkit-min-device-pixel-ratio: 2),
|
||||
only screen and ( min--moz-device-pixel-ratio: 2),
|
||||
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
||||
only screen and ( min-device-pixel-ratio: 2),
|
||||
only screen and ( min-resolution: 192dpi),
|
||||
only screen and ( min-resolution: 2dppx) {
|
||||
background-image: url("@{file-2x}");
|
||||
background-size: @width-1x @height-1x;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Responsive image
|
||||
//
|
||||
// Keep images from scaling beyond the width of their parents.
|
||||
|
||||
.img-responsive(@display: block;) {
|
||||
display: @display;
|
||||
max-width: 100%; // Part 1: Set a maximum relative to the parent
|
||||
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
|
||||
}
|
||||
|
||||
|
||||
// COMPONENT MIXINS
|
||||
// --------------------------------------------------
|
||||
|
||||
// Horizontal dividers
|
||||
// -------------------------
|
||||
// Dividers (basically an hr) within dropdowns and nav lists
|
||||
.nav-divider(@color: #e5e5e5) {
|
||||
height: 1px;
|
||||
margin: ((@line-height-computed / 2) - 1) 0;
|
||||
overflow: hidden;
|
||||
background-color: @color;
|
||||
}
|
||||
|
||||
// Panels
|
||||
// -------------------------
|
||||
.panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border;) {
|
||||
border-color: @border;
|
||||
|
||||
& > .panel-heading {
|
||||
color: @heading-text-color;
|
||||
background-color: @heading-bg-color;
|
||||
border-color: @heading-border;
|
||||
|
||||
+ .panel-collapse .panel-body {
|
||||
border-top-color: @border;
|
||||
}
|
||||
& > .dropdown .caret {
|
||||
border-color: @heading-text-color transparent;
|
||||
}
|
||||
}
|
||||
& > .panel-footer {
|
||||
+ .panel-collapse .panel-body {
|
||||
border-bottom-color: @border;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Alerts
|
||||
// -------------------------
|
||||
.alert-variant(@background; @border; @text-color) {
|
||||
background-color: @background;
|
||||
border-color: @border;
|
||||
color: @text-color;
|
||||
|
||||
hr {
|
||||
border-top-color: darken(@border, 5%);
|
||||
}
|
||||
.alert-link {
|
||||
color: darken(@text-color, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
// Tables
|
||||
// -------------------------
|
||||
.table-row-variant(@state; @background; @border) {
|
||||
// Exact selectors below required to override `.table-striped` and prevent
|
||||
// inheritance to nested tables.
|
||||
.table > thead > tr,
|
||||
.table > tbody > tr,
|
||||
.table > tfoot > tr {
|
||||
> td.@{state},
|
||||
> th.@{state},
|
||||
&.@{state} > td,
|
||||
&.@{state} > th {
|
||||
background-color: @background;
|
||||
}
|
||||
}
|
||||
|
||||
// Hover states for `.table-hover`
|
||||
// Note: this is not available for cells or rows within `thead` or `tfoot`.
|
||||
.table-hover > tbody > tr {
|
||||
> td.@{state}:hover,
|
||||
> th.@{state}:hover,
|
||||
&.@{state}:hover > td,
|
||||
&.@{state}:hover > th {
|
||||
background-color: darken(@background, 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Button variants
|
||||
// -------------------------
|
||||
// Easily pump out default styles, as well as :hover, :focus, :active,
|
||||
// and disabled options for all buttons
|
||||
.button-variant(@color; @background; @border) {
|
||||
color: @color;
|
||||
background-color: @background;
|
||||
border-color: @border;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active,
|
||||
.open .dropdown-toggle& {
|
||||
color: @color;
|
||||
background-color: darken(@background, 8%);
|
||||
border-color: darken(@border, 12%);
|
||||
}
|
||||
&:active,
|
||||
&.active,
|
||||
.open .dropdown-toggle& {
|
||||
background-image: none;
|
||||
}
|
||||
&.disabled,
|
||||
&[disabled],
|
||||
fieldset[disabled] & {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active {
|
||||
background-color: @background;
|
||||
border-color: @border;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Button sizes
|
||||
// -------------------------
|
||||
.button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
||||
padding: @padding-vertical @padding-horizontal;
|
||||
font-size: @font-size;
|
||||
line-height: @line-height;
|
||||
border-radius: @border-radius;
|
||||
}
|
||||
|
||||
// Pagination
|
||||
// -------------------------
|
||||
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {
|
||||
> li {
|
||||
> a,
|
||||
> span {
|
||||
padding: @padding-vertical @padding-horizontal;
|
||||
font-size: @font-size;
|
||||
}
|
||||
&:first-child {
|
||||
> a,
|
||||
> span {
|
||||
.border-left-radius(@border-radius);
|
||||
}
|
||||
}
|
||||
&:last-child {
|
||||
> a,
|
||||
> span {
|
||||
.border-right-radius(@border-radius);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Labels
|
||||
// -------------------------
|
||||
.label-variant(@color) {
|
||||
background-color: @color;
|
||||
&[href] {
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: darken(@color, 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Navbar vertical align
|
||||
// -------------------------
|
||||
// Vertically center elements in the navbar.
|
||||
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
|
||||
.navbar-vertical-align(@element-height) {
|
||||
margin-top: ((@navbar-height - @element-height) / 2);
|
||||
margin-bottom: ((@navbar-height - @element-height) / 2);
|
||||
}
|
||||
|
||||
// Progress bars
|
||||
// -------------------------
|
||||
.progress-bar-variant(@color) {
|
||||
background-color: @color;
|
||||
.progress-striped & {
|
||||
#gradient > .striped();
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive utilities
|
||||
// -------------------------
|
||||
// More easily include all the states for responsive-utilities.less.
|
||||
.responsive-visibility() {
|
||||
display: block !important;
|
||||
tr& { display: table-row !important; }
|
||||
th&,
|
||||
td& { display: table-cell !important; }
|
||||
}
|
||||
|
||||
.responsive-invisibility() {
|
||||
&,
|
||||
tr&,
|
||||
th&,
|
||||
td& { display: none !important; }
|
||||
}
|
||||
|
||||
|
||||
// Grid System
|
||||
// -----------
|
||||
|
||||
// Centered container element
|
||||
.container-fixed() {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
padding-left: (@grid-gutter-width / 2);
|
||||
padding-right: (@grid-gutter-width / 2);
|
||||
.clearfix();
|
||||
}
|
||||
|
||||
// Creates a wrapper for a series of columns
|
||||
.make-row(@gutter: @grid-gutter-width) {
|
||||
margin-left: (@gutter / -2);
|
||||
margin-right: (@gutter / -2);
|
||||
.clearfix();
|
||||
}
|
||||
|
||||
// Generate the extra small columns
|
||||
.make-xs-column(@columns; @gutter: @grid-gutter-width) {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: percentage((@columns / @grid-columns));
|
||||
// Prevent columns from collapsing when empty
|
||||
min-height: 1px;
|
||||
// Inner gutter via padding
|
||||
padding-left: (@gutter / 2);
|
||||
padding-right: (@gutter / 2);
|
||||
}
|
||||
|
||||
// Generate the small columns
|
||||
.make-sm-column(@columns; @gutter: @grid-gutter-width) {
|
||||
position: relative;
|
||||
// Prevent columns from collapsing when empty
|
||||
min-height: 1px;
|
||||
// Inner gutter via padding
|
||||
padding-left: (@gutter / 2);
|
||||
padding-right: (@gutter / 2);
|
||||
|
||||
// Calculate width based on number of columns available
|
||||
@media (min-width: @screen-sm-min) {
|
||||
float: left;
|
||||
width: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
|
||||
// Generate the small column offsets
|
||||
.make-sm-column-offset(@columns) {
|
||||
@media (min-width: @screen-sm-min) {
|
||||
margin-left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-sm-column-push(@columns) {
|
||||
@media (min-width: @screen-sm-min) {
|
||||
left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-sm-column-pull(@columns) {
|
||||
@media (min-width: @screen-sm-min) {
|
||||
right: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
|
||||
// Generate the medium columns
|
||||
.make-md-column(@columns; @gutter: @grid-gutter-width) {
|
||||
position: relative;
|
||||
// Prevent columns from collapsing when empty
|
||||
min-height: 1px;
|
||||
// Inner gutter via padding
|
||||
padding-left: (@gutter / 2);
|
||||
padding-right: (@gutter / 2);
|
||||
|
||||
// Calculate width based on number of columns available
|
||||
@media (min-width: @screen-md-min) {
|
||||
float: left;
|
||||
width: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
|
||||
// Generate the medium column offsets
|
||||
.make-md-column-offset(@columns) {
|
||||
@media (min-width: @screen-md-min) {
|
||||
margin-left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-md-column-push(@columns) {
|
||||
@media (min-width: @screen-md) {
|
||||
left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-md-column-pull(@columns) {
|
||||
@media (min-width: @screen-md-min) {
|
||||
right: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
|
||||
// Generate the large columns
|
||||
.make-lg-column(@columns; @gutter: @grid-gutter-width) {
|
||||
position: relative;
|
||||
// Prevent columns from collapsing when empty
|
||||
min-height: 1px;
|
||||
// Inner gutter via padding
|
||||
padding-left: (@gutter / 2);
|
||||
padding-right: (@gutter / 2);
|
||||
|
||||
// Calculate width based on number of columns available
|
||||
@media (min-width: @screen-lg-min) {
|
||||
float: left;
|
||||
width: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
|
||||
// Generate the large column offsets
|
||||
.make-lg-column-offset(@columns) {
|
||||
@media (min-width: @screen-lg-min) {
|
||||
margin-left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-lg-column-push(@columns) {
|
||||
@media (min-width: @screen-lg-min) {
|
||||
left: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
.make-lg-column-pull(@columns) {
|
||||
@media (min-width: @screen-lg-min) {
|
||||
right: percentage((@columns / @grid-columns));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Framework grid generation
|
||||
//
|
||||
// Used only by Bootstrap to generate the correct number of grid classes given
|
||||
// any value of `@grid-columns`.
|
||||
|
||||
.make-grid-columns() {
|
||||
// Common styles for all sizes of grid columns, widths 1-12
|
||||
.col(@index) when (@index = 1) { // initial
|
||||
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
|
||||
.col(@index + 1, @item);
|
||||
}
|
||||
.col(@index, @list) when (@index =< @grid-columns) { // general; "=<" isn't a typo
|
||||
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
|
||||
.col(@index + 1, ~"@{list}, @{item}");
|
||||
}
|
||||
.col(@index, @list) when (@index > @grid-columns) { // terminal
|
||||
@{list} {
|
||||
position: relative;
|
||||
// Prevent columns from collapsing when empty
|
||||
min-height: 1px;
|
||||
// Inner gutter via padding
|
||||
padding-left: (@grid-gutter-width / 2);
|
||||
padding-right: (@grid-gutter-width / 2);
|
||||
}
|
||||
}
|
||||
.col(1); // kickstart it
|
||||
}
|
||||
|
||||
.make-grid-columns-float(@class) {
|
||||
.col(@index) when (@index = 1) { // initial
|
||||
@item: ~".col-@{class}-@{index}";
|
||||
.col(@index + 1, @item);
|
||||
}
|
||||
.col(@index, @list) when (@index < @grid-columns) { // general
|
||||
@item: ~".col-@{class}-@{index}";
|
||||
.col(@index + 1, ~"@{list}, @{item}");
|
||||
}
|
||||
.col(@index, @list) when (@index = @grid-columns) { // terminal
|
||||
@{list} {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
.col(1); // kickstart it
|
||||
}
|
||||
|
||||
.calc-grid(@index, @class, @type) when (@type = width) and (@index > 0) {
|
||||
.col-@{class}-@{index} {
|
||||
width: percentage((@index / @grid-columns));
|
||||
}
|
||||
}
|
||||
.calc-grid(@index, @class, @type) when (@type = push) {
|
||||
.col-@{class}-push-@{index} {
|
||||
left: percentage((@index / @grid-columns));
|
||||
}
|
||||
}
|
||||
.calc-grid(@index, @class, @type) when (@type = pull) {
|
||||
.col-@{class}-pull-@{index} {
|
||||
right: percentage((@index / @grid-columns));
|
||||
}
|
||||
}
|
||||
.calc-grid(@index, @class, @type) when (@type = offset) {
|
||||
.col-@{class}-offset-@{index} {
|
||||
margin-left: percentage((@index / @grid-columns));
|
||||
}
|
||||
}
|
||||
|
||||
// Basic looping in LESS
|
||||
.make-grid(@index, @class, @type) when (@index >= 0) {
|
||||
.calc-grid(@index, @class, @type);
|
||||
// next iteration
|
||||
.make-grid(@index - 1, @class, @type);
|
||||
}
|
||||
|
||||
|
||||
// Form validation states
|
||||
//
|
||||
// Used in forms.less to generate the form validation CSS for warnings, errors,
|
||||
// and successes.
|
||||
|
||||
.form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {
|
||||
// Color the label and help text
|
||||
.help-block,
|
||||
.control-label,
|
||||
.radio,
|
||||
.checkbox,
|
||||
.radio-inline,
|
||||
.checkbox-inline {
|
||||
color: @text-color;
|
||||
}
|
||||
// Set the border and box shadow on specific inputs to match
|
||||
.form-control {
|
||||
border-color: @border-color;
|
||||
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
||||
&:focus {
|
||||
border-color: darken(@border-color, 10%);
|
||||
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%);
|
||||
.box-shadow(@shadow);
|
||||
}
|
||||
}
|
||||
// Set validation states also for addons
|
||||
.input-group-addon {
|
||||
color: @text-color;
|
||||
border-color: @border-color;
|
||||
background-color: @background-color;
|
||||
}
|
||||
}
|
||||
|
||||
// Form control focus state
|
||||
//
|
||||
// Generate a customized focus state and for any input with the specified color,
|
||||
// which defaults to the `@input-focus-border` variable.
|
||||
//
|
||||
// We highly encourage you to not customize the default value, but instead use
|
||||
// this to tweak colors on an as-needed basis. This aesthetic change is based on
|
||||
// WebKit's default styles, but applicable to a wider range of browsers. Its
|
||||
// usability and accessibility should be taken into account with any change.
|
||||
//
|
||||
// Example usage: change the default blue border and shadow to white for better
|
||||
// contrast against a dark gray background.
|
||||
|
||||
.form-control-focus(@color: @input-border-focus) {
|
||||
@color-rgba: rgba(red(@color), green(@color), blue(@color), .6);
|
||||
&:focus {
|
||||
border-color: @color;
|
||||
outline: 0;
|
||||
.box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}");
|
||||
}
|
||||
}
|
||||
|
||||
// Form control sizing
|
||||
//
|
||||
// Relative text size, padding, and border-radii changes for form controls. For
|
||||
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
|
||||
// element gets special love because it's special, and that's a fact!
|
||||
|
||||
.input-size(@input-height; @padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
||||
height: @input-height;
|
||||
padding: @padding-vertical @padding-horizontal;
|
||||
font-size: @font-size;
|
||||
line-height: @line-height;
|
||||
border-radius: @border-radius;
|
||||
|
||||
select& {
|
||||
height: @input-height;
|
||||
line-height: @input-height;
|
||||
}
|
||||
|
||||
textarea& {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
132
less/modals.less
132
less/modals.less
@@ -1,132 +0,0 @@
|
||||
//
|
||||
// Modals
|
||||
// --------------------------------------------------
|
||||
|
||||
// .modal-open - body class for killing the scroll
|
||||
// .modal - container to scroll within
|
||||
// .modal-dialog - positioning shell for the actual modal
|
||||
// .modal-content - actual modal w/ bg and corners and shit
|
||||
|
||||
// Kill the scroll on the body
|
||||
.modal-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
// Container that the modal scrolls within
|
||||
.modal {
|
||||
display: none;
|
||||
overflow: auto;
|
||||
overflow-y: scroll;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: @zindex-modal-background;
|
||||
|
||||
// When fading in the modal, animate it to slide down
|
||||
&.fade .modal-dialog {
|
||||
.translate(0, -25%);
|
||||
.transition-transform(~"0.3s ease-out");
|
||||
}
|
||||
&.in .modal-dialog { .translate(0, 0)}
|
||||
}
|
||||
|
||||
// Shell div to position the modal with bottom padding
|
||||
.modal-dialog {
|
||||
position: relative;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: auto;
|
||||
padding: 10px;
|
||||
z-index: (@zindex-modal-background + 10);
|
||||
}
|
||||
|
||||
// Actual modal
|
||||
.modal-content {
|
||||
position: relative;
|
||||
background-color: @modal-content-bg;
|
||||
border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
|
||||
border: 1px solid @modal-content-border-color;
|
||||
border-radius: @border-radius-large;
|
||||
.box-shadow(0 3px 9px rgba(0,0,0,.5));
|
||||
background-clip: padding-box;
|
||||
// Remove focus outline from opened modal
|
||||
outline: none;
|
||||
}
|
||||
|
||||
// Modal background
|
||||
.modal-backdrop {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: (@zindex-modal-background - 10);
|
||||
background-color: @modal-backdrop-bg;
|
||||
// Fade for backdrop
|
||||
&.fade { .opacity(0); }
|
||||
&.in { .opacity(.5); }
|
||||
}
|
||||
|
||||
// Modal header
|
||||
// Top section of the modal w/ title and dismiss
|
||||
.modal-header {
|
||||
padding: @modal-title-padding;
|
||||
border-bottom: 1px solid @modal-header-border-color;
|
||||
min-height: (@modal-title-padding + @modal-title-line-height);
|
||||
}
|
||||
// Close icon
|
||||
.modal-header .close {
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
// Title text within header
|
||||
.modal-title {
|
||||
margin: 0;
|
||||
line-height: @modal-title-line-height;
|
||||
}
|
||||
|
||||
// Modal body
|
||||
// Where all modal content resides (sibling of .modal-header and .modal-footer)
|
||||
.modal-body {
|
||||
position: relative;
|
||||
padding: @modal-inner-padding;
|
||||
}
|
||||
|
||||
// Footer (for actions)
|
||||
.modal-footer {
|
||||
margin-top: 15px;
|
||||
padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;
|
||||
text-align: right; // right align buttons
|
||||
border-top: 1px solid @modal-footer-border-color;
|
||||
.clearfix(); // clear it in case folks use .pull-* classes on buttons
|
||||
|
||||
// Properly space out buttons
|
||||
.btn + .btn {
|
||||
margin-left: 5px;
|
||||
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
|
||||
}
|
||||
// but override that for button groups
|
||||
.btn-group .btn + .btn {
|
||||
margin-left: -1px;
|
||||
}
|
||||
// and override it for block buttons as well
|
||||
.btn-block + .btn-block {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Scale up the modal
|
||||
@media screen and (min-width: @screen-sm-min) {
|
||||
|
||||
.modal-dialog {
|
||||
width: 600px;
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
.modal-content {
|
||||
.box-shadow(0 5px 15px rgba(0,0,0,.5));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,637 +0,0 @@
|
||||
//
|
||||
// Variables
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
// Global values
|
||||
// --------------------------------------------------
|
||||
|
||||
// Grays
|
||||
// -------------------------
|
||||
|
||||
@gray-darker: lighten(#000, 13.5%); // #222
|
||||
@gray-dark: lighten(#000, 20%); // #333
|
||||
@gray: lighten(#000, 33.5%); // #555
|
||||
@gray-light: lighten(#000, 60%); // #999
|
||||
@gray-lighter: lighten(#000, 93.5%); // #eee
|
||||
|
||||
// Brand colors
|
||||
// -------------------------
|
||||
|
||||
@brand-primary: #428bca;
|
||||
@brand-success: #5cb85c;
|
||||
@brand-warning: #f0ad4e;
|
||||
@brand-danger: #d9534f;
|
||||
@brand-info: #5bc0de;
|
||||
|
||||
// Scaffolding
|
||||
// -------------------------
|
||||
|
||||
@body-bg: #fff;
|
||||
@text-color: @gray-dark;
|
||||
|
||||
// Links
|
||||
// -------------------------
|
||||
|
||||
@link-color: @brand-primary;
|
||||
@link-hover-color: darken(@link-color, 15%);
|
||||
|
||||
// Typography
|
||||
// -------------------------
|
||||
|
||||
@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
@font-family-serif: Georgia, "Times New Roman", Times, serif;
|
||||
@font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace;
|
||||
@font-family-base: @font-family-sans-serif;
|
||||
|
||||
@font-size-base: 14px;
|
||||
@font-size-large: ceil(@font-size-base * 1.25); // ~18px
|
||||
@font-size-small: ceil(@font-size-base * 0.85); // ~12px
|
||||
|
||||
@font-size-h1: floor(@font-size-base * 2.6); // ~36px
|
||||
@font-size-h2: floor(@font-size-base * 2.15); // ~30px
|
||||
@font-size-h3: ceil(@font-size-base * 1.7); // ~24px
|
||||
@font-size-h4: ceil(@font-size-base * 1.25); // ~18px
|
||||
@font-size-h5: @font-size-base;
|
||||
@font-size-h6: ceil(@font-size-base * 0.85); // ~12px
|
||||
|
||||
@line-height-base: 1.428571429; // 20/14
|
||||
@line-height-computed: floor(@font-size-base * @line-height-base); // ~20px
|
||||
|
||||
@headings-font-family: @font-family-base;
|
||||
@headings-font-weight: 500;
|
||||
@headings-line-height: 1.1;
|
||||
@headings-color: inherit;
|
||||
|
||||
|
||||
// Iconography
|
||||
// -------------------------
|
||||
|
||||
@icon-font-path: "../fonts/";
|
||||
@icon-font-name: "glyphicons-halflings-regular";
|
||||
|
||||
|
||||
// Components
|
||||
// -------------------------
|
||||
// Based on 14px font-size and 1.428 line-height (~20px to start)
|
||||
|
||||
@padding-base-vertical: 6px;
|
||||
@padding-base-horizontal: 12px;
|
||||
|
||||
@padding-large-vertical: 10px;
|
||||
@padding-large-horizontal: 16px;
|
||||
|
||||
@padding-small-vertical: 5px;
|
||||
@padding-small-horizontal: 10px;
|
||||
|
||||
@line-height-large: 1.33;
|
||||
@line-height-small: 1.5;
|
||||
|
||||
@border-radius-base: 4px;
|
||||
@border-radius-large: 6px;
|
||||
@border-radius-small: 3px;
|
||||
|
||||
@component-active-color: #fff;
|
||||
@component-active-bg: @brand-primary;
|
||||
|
||||
@caret-width-base: 4px;
|
||||
@caret-width-large: 5px;
|
||||
|
||||
// Tables
|
||||
// -------------------------
|
||||
|
||||
@table-cell-padding: 8px;
|
||||
@table-condensed-cell-padding: 5px;
|
||||
|
||||
@table-bg: transparent; // overall background-color
|
||||
@table-bg-accent: #f9f9f9; // for striping
|
||||
@table-bg-hover: #f5f5f5;
|
||||
@table-bg-active: @table-bg-hover;
|
||||
|
||||
@table-border-color: #ddd; // table and cell border
|
||||
|
||||
|
||||
// Buttons
|
||||
// -------------------------
|
||||
|
||||
@btn-font-weight: normal;
|
||||
|
||||
@btn-default-color: #333;
|
||||
@btn-default-bg: #fff;
|
||||
@btn-default-border: #ccc;
|
||||
|
||||
@btn-primary-color: #fff;
|
||||
@btn-primary-bg: @brand-primary;
|
||||
@btn-primary-border: darken(@btn-primary-bg, 5%);
|
||||
|
||||
@btn-success-color: #fff;
|
||||
@btn-success-bg: @brand-success;
|
||||
@btn-success-border: darken(@btn-success-bg, 5%);
|
||||
|
||||
@btn-warning-color: #fff;
|
||||
@btn-warning-bg: @brand-warning;
|
||||
@btn-warning-border: darken(@btn-warning-bg, 5%);
|
||||
|
||||
@btn-danger-color: #fff;
|
||||
@btn-danger-bg: @brand-danger;
|
||||
@btn-danger-border: darken(@btn-danger-bg, 5%);
|
||||
|
||||
@btn-info-color: #fff;
|
||||
@btn-info-bg: @brand-info;
|
||||
@btn-info-border: darken(@btn-info-bg, 5%);
|
||||
|
||||
@btn-link-disabled-color: @gray-light;
|
||||
|
||||
|
||||
// Forms
|
||||
// -------------------------
|
||||
|
||||
@input-bg: #fff;
|
||||
@input-bg-disabled: @gray-lighter;
|
||||
|
||||
@input-color: @gray;
|
||||
@input-border: #ccc;
|
||||
@input-border-radius: @border-radius-base;
|
||||
@input-border-focus: #66afe9;
|
||||
|
||||
@input-color-placeholder: @gray-light;
|
||||
|
||||
@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
|
||||
@input-height-large: (floor(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
|
||||
@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
|
||||
|
||||
@legend-color: @gray-dark;
|
||||
@legend-border-color: #e5e5e5;
|
||||
|
||||
@input-group-addon-bg: @gray-lighter;
|
||||
@input-group-addon-border-color: @input-border;
|
||||
|
||||
|
||||
// Dropdowns
|
||||
// -------------------------
|
||||
|
||||
@dropdown-bg: #fff;
|
||||
@dropdown-border: rgba(0,0,0,.15);
|
||||
@dropdown-fallback-border: #ccc;
|
||||
@dropdown-divider-bg: #e5e5e5;
|
||||
|
||||
@dropdown-link-color: @gray-dark;
|
||||
@dropdown-link-hover-color: darken(@gray-dark, 5%);
|
||||
@dropdown-link-hover-bg: #f5f5f5;
|
||||
|
||||
@dropdown-link-active-color: @component-active-color;
|
||||
@dropdown-link-active-bg: @component-active-bg;
|
||||
|
||||
@dropdown-link-disabled-color: @gray-light;
|
||||
|
||||
@dropdown-header-color: @gray-light;
|
||||
|
||||
@dropdown-caret-color: #000;
|
||||
|
||||
|
||||
// COMPONENT VARIABLES
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
// Z-index master list
|
||||
// -------------------------
|
||||
// Used for a bird's eye view of components dependent on the z-axis
|
||||
// Try to avoid customizing these :)
|
||||
|
||||
@zindex-navbar: 1000;
|
||||
@zindex-dropdown: 1000;
|
||||
@zindex-popover: 1010;
|
||||
@zindex-tooltip: 1030;
|
||||
@zindex-navbar-fixed: 1030;
|
||||
@zindex-modal-background: 1040;
|
||||
@zindex-modal: 1050;
|
||||
|
||||
// Media queries breakpoints
|
||||
// --------------------------------------------------
|
||||
|
||||
// Extra small screen / phone
|
||||
// Note: Deprecated @screen-xs and @screen-phone as of v3.0.1
|
||||
@screen-xs: 480px;
|
||||
@screen-xs-min: @screen-xs;
|
||||
@screen-phone: @screen-xs-min;
|
||||
|
||||
// Small screen / tablet
|
||||
// Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1
|
||||
@screen-sm: 768px;
|
||||
@screen-sm-min: @screen-sm;
|
||||
@screen-tablet: @screen-sm-min;
|
||||
|
||||
// Medium screen / desktop
|
||||
// Note: Deprecated @screen-md and @screen-desktop as of v3.0.1
|
||||
@screen-md: 992px;
|
||||
@screen-md-min: @screen-md;
|
||||
@screen-desktop: @screen-md-min;
|
||||
|
||||
// Large screen / wide desktop
|
||||
// Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1
|
||||
@screen-lg: 1200px;
|
||||
@screen-lg-min: @screen-lg;
|
||||
@screen-lg-desktop: @screen-lg-min;
|
||||
|
||||
// So media queries don't overlap when required, provide a maximum
|
||||
@screen-xs-max: (@screen-sm-min - 1);
|
||||
@screen-sm-max: (@screen-md-min - 1);
|
||||
@screen-md-max: (@screen-lg-min - 1);
|
||||
|
||||
|
||||
// Grid system
|
||||
// --------------------------------------------------
|
||||
|
||||
// Number of columns in the grid system
|
||||
@grid-columns: 12;
|
||||
// Padding, to be divided by two and applied to the left and right of all columns
|
||||
@grid-gutter-width: 30px;
|
||||
// Point at which the navbar stops collapsing
|
||||
@grid-float-breakpoint: @screen-sm-min;
|
||||
|
||||
|
||||
// Navbar
|
||||
// -------------------------
|
||||
|
||||
// Basics of a navbar
|
||||
@navbar-height: 50px;
|
||||
@navbar-margin-bottom: @line-height-computed;
|
||||
@navbar-border-radius: @border-radius-base;
|
||||
@navbar-padding-horizontal: floor(@grid-gutter-width / 2);
|
||||
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
|
||||
|
||||
@navbar-default-color: #777;
|
||||
@navbar-default-bg: #f8f8f8;
|
||||
@navbar-default-border: darken(@navbar-default-bg, 6.5%);
|
||||
|
||||
// Navbar links
|
||||
@navbar-default-link-color: #777;
|
||||
@navbar-default-link-hover-color: #333;
|
||||
@navbar-default-link-hover-bg: transparent;
|
||||
@navbar-default-link-active-color: #555;
|
||||
@navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);
|
||||
@navbar-default-link-disabled-color: #ccc;
|
||||
@navbar-default-link-disabled-bg: transparent;
|
||||
|
||||
// Navbar brand label
|
||||
@navbar-default-brand-color: @navbar-default-link-color;
|
||||
@navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
|
||||
@navbar-default-brand-hover-bg: transparent;
|
||||
|
||||
// Navbar toggle
|
||||
@navbar-default-toggle-hover-bg: #ddd;
|
||||
@navbar-default-toggle-icon-bar-bg: #ccc;
|
||||
@navbar-default-toggle-border-color: #ddd;
|
||||
|
||||
|
||||
// Inverted navbar
|
||||
//
|
||||
// Reset inverted navbar basics
|
||||
@navbar-inverse-color: @gray-light;
|
||||
@navbar-inverse-bg: #222;
|
||||
@navbar-inverse-border: darken(@navbar-inverse-bg, 10%);
|
||||
|
||||
// Inverted navbar links
|
||||
@navbar-inverse-link-color: @gray-light;
|
||||
@navbar-inverse-link-hover-color: #fff;
|
||||
@navbar-inverse-link-hover-bg: transparent;
|
||||
@navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
|
||||
@navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%);
|
||||
@navbar-inverse-link-disabled-color: #444;
|
||||
@navbar-inverse-link-disabled-bg: transparent;
|
||||
|
||||
// Inverted navbar brand label
|
||||
@navbar-inverse-brand-color: @navbar-inverse-link-color;
|
||||
@navbar-inverse-brand-hover-color: #fff;
|
||||
@navbar-inverse-brand-hover-bg: transparent;
|
||||
|
||||
// Inverted navbar toggle
|
||||
@navbar-inverse-toggle-hover-bg: #333;
|
||||
@navbar-inverse-toggle-icon-bar-bg: #fff;
|
||||
@navbar-inverse-toggle-border-color: #333;
|
||||
|
||||
|
||||
// Navs
|
||||
// -------------------------
|
||||
|
||||
@nav-link-padding: 10px 15px;
|
||||
@nav-link-hover-bg: @gray-lighter;
|
||||
|
||||
@nav-disabled-link-color: @gray-light;
|
||||
@nav-disabled-link-hover-color: @gray-light;
|
||||
|
||||
@nav-open-link-hover-color: #fff;
|
||||
@nav-open-caret-border-color: #fff;
|
||||
|
||||
// Tabs
|
||||
@nav-tabs-border-color: #ddd;
|
||||
|
||||
@nav-tabs-link-hover-border-color: @gray-lighter;
|
||||
|
||||
@nav-tabs-active-link-hover-bg: @body-bg;
|
||||
@nav-tabs-active-link-hover-color: @gray;
|
||||
@nav-tabs-active-link-hover-border-color: #ddd;
|
||||
|
||||
@nav-tabs-justified-link-border-color: #ddd;
|
||||
@nav-tabs-justified-active-link-border-color: @body-bg;
|
||||
|
||||
// Pills
|
||||
@nav-pills-border-radius: @border-radius-base;
|
||||
@nav-pills-active-link-hover-bg: @component-active-bg;
|
||||
@nav-pills-active-link-hover-color: @component-active-color;
|
||||
|
||||
|
||||
// Pagination
|
||||
// -------------------------
|
||||
|
||||
@pagination-bg: #fff;
|
||||
@pagination-border: #ddd;
|
||||
|
||||
@pagination-hover-bg: @gray-lighter;
|
||||
|
||||
@pagination-active-bg: @brand-primary;
|
||||
@pagination-active-color: #fff;
|
||||
|
||||
@pagination-disabled-color: @gray-light;
|
||||
|
||||
|
||||
// Pager
|
||||
// -------------------------
|
||||
|
||||
@pager-border-radius: 15px;
|
||||
@pager-disabled-color: @gray-light;
|
||||
|
||||
|
||||
// Jumbotron
|
||||
// -------------------------
|
||||
|
||||
@jumbotron-padding: 30px;
|
||||
@jumbotron-color: inherit;
|
||||
@jumbotron-bg: @gray-lighter;
|
||||
@jumbotron-heading-color: inherit;
|
||||
@jumbotron-font-size: ceil(@font-size-base * 1.5);
|
||||
|
||||
|
||||
// Form states and alerts
|
||||
// -------------------------
|
||||
|
||||
@state-success-text: #468847;
|
||||
@state-success-bg: #dff0d8;
|
||||
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
|
||||
|
||||
@state-info-text: #3a87ad;
|
||||
@state-info-bg: #d9edf7;
|
||||
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
|
||||
|
||||
@state-warning-text: #c09853;
|
||||
@state-warning-bg: #fcf8e3;
|
||||
@state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
|
||||
|
||||
@state-danger-text: #b94a48;
|
||||
@state-danger-bg: #f2dede;
|
||||
@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
|
||||
|
||||
|
||||
// Tooltips
|
||||
// -------------------------
|
||||
@tooltip-max-width: 200px;
|
||||
@tooltip-color: #fff;
|
||||
@tooltip-bg: #000;
|
||||
|
||||
@tooltip-arrow-width: 5px;
|
||||
@tooltip-arrow-color: @tooltip-bg;
|
||||
|
||||
|
||||
// Popovers
|
||||
// -------------------------
|
||||
@popover-bg: #fff;
|
||||
@popover-max-width: 276px;
|
||||
@popover-border-color: rgba(0,0,0,.2);
|
||||
@popover-fallback-border-color: #ccc;
|
||||
|
||||
@popover-title-bg: darken(@popover-bg, 3%);
|
||||
|
||||
@popover-arrow-width: 10px;
|
||||
@popover-arrow-color: #fff;
|
||||
|
||||
@popover-arrow-outer-width: (@popover-arrow-width + 1);
|
||||
@popover-arrow-outer-color: rgba(0,0,0,.25);
|
||||
@popover-arrow-outer-fallback-color: #999;
|
||||
|
||||
|
||||
// Labels
|
||||
// -------------------------
|
||||
|
||||
@label-default-bg: @gray-light;
|
||||
@label-primary-bg: @brand-primary;
|
||||
@label-success-bg: @brand-success;
|
||||
@label-info-bg: @brand-info;
|
||||
@label-warning-bg: @brand-warning;
|
||||
@label-danger-bg: @brand-danger;
|
||||
|
||||
@label-color: #fff;
|
||||
@label-link-hover-color: #fff;
|
||||
|
||||
|
||||
// Modals
|
||||
// -------------------------
|
||||
@modal-inner-padding: 20px;
|
||||
|
||||
@modal-title-padding: 15px;
|
||||
@modal-title-line-height: @line-height-base;
|
||||
|
||||
@modal-content-bg: #fff;
|
||||
@modal-content-border-color: rgba(0,0,0,.2);
|
||||
@modal-content-fallback-border-color: #999;
|
||||
|
||||
@modal-backdrop-bg: #000;
|
||||
@modal-header-border-color: #e5e5e5;
|
||||
@modal-footer-border-color: @modal-header-border-color;
|
||||
|
||||
|
||||
// Alerts
|
||||
// -------------------------
|
||||
@alert-padding: 15px;
|
||||
@alert-border-radius: @border-radius-base;
|
||||
@alert-link-font-weight: bold;
|
||||
|
||||
@alert-success-bg: @state-success-bg;
|
||||
@alert-success-text: @state-success-text;
|
||||
@alert-success-border: @state-success-border;
|
||||
|
||||
@alert-info-bg: @state-info-bg;
|
||||
@alert-info-text: @state-info-text;
|
||||
@alert-info-border: @state-info-border;
|
||||
|
||||
@alert-warning-bg: @state-warning-bg;
|
||||
@alert-warning-text: @state-warning-text;
|
||||
@alert-warning-border: @state-warning-border;
|
||||
|
||||
@alert-danger-bg: @state-danger-bg;
|
||||
@alert-danger-text: @state-danger-text;
|
||||
@alert-danger-border: @state-danger-border;
|
||||
|
||||
|
||||
// Progress bars
|
||||
// -------------------------
|
||||
@progress-bg: #f5f5f5;
|
||||
@progress-bar-color: #fff;
|
||||
|
||||
@progress-bar-bg: @brand-primary;
|
||||
@progress-bar-success-bg: @brand-success;
|
||||
@progress-bar-warning-bg: @brand-warning;
|
||||
@progress-bar-danger-bg: @brand-danger;
|
||||
@progress-bar-info-bg: @brand-info;
|
||||
|
||||
|
||||
// List group
|
||||
// -------------------------
|
||||
@list-group-bg: #fff;
|
||||
@list-group-border: #ddd;
|
||||
@list-group-border-radius: @border-radius-base;
|
||||
|
||||
@list-group-hover-bg: #f5f5f5;
|
||||
@list-group-active-color: @component-active-color;
|
||||
@list-group-active-bg: @component-active-bg;
|
||||
@list-group-active-border: @list-group-active-bg;
|
||||
|
||||
@list-group-link-color: #555;
|
||||
@list-group-link-heading-color: #333;
|
||||
|
||||
|
||||
// Panels
|
||||
// -------------------------
|
||||
@panel-bg: #fff;
|
||||
@panel-inner-border: #ddd;
|
||||
@panel-border-radius: @border-radius-base;
|
||||
@panel-footer-bg: #f5f5f5;
|
||||
|
||||
@panel-default-text: @gray-dark;
|
||||
@panel-default-border: #ddd;
|
||||
@panel-default-heading-bg: #f5f5f5;
|
||||
|
||||
@panel-primary-text: #fff;
|
||||
@panel-primary-border: @brand-primary;
|
||||
@panel-primary-heading-bg: @brand-primary;
|
||||
|
||||
@panel-success-text: @state-success-text;
|
||||
@panel-success-border: @state-success-border;
|
||||
@panel-success-heading-bg: @state-success-bg;
|
||||
|
||||
@panel-warning-text: @state-warning-text;
|
||||
@panel-warning-border: @state-warning-border;
|
||||
@panel-warning-heading-bg: @state-warning-bg;
|
||||
|
||||
@panel-danger-text: @state-danger-text;
|
||||
@panel-danger-border: @state-danger-border;
|
||||
@panel-danger-heading-bg: @state-danger-bg;
|
||||
|
||||
@panel-info-text: @state-info-text;
|
||||
@panel-info-border: @state-info-border;
|
||||
@panel-info-heading-bg: @state-info-bg;
|
||||
|
||||
|
||||
// Thumbnails
|
||||
// -------------------------
|
||||
@thumbnail-padding: 4px;
|
||||
@thumbnail-bg: @body-bg;
|
||||
@thumbnail-border: #ddd;
|
||||
@thumbnail-border-radius: @border-radius-base;
|
||||
|
||||
@thumbnail-caption-color: @text-color;
|
||||
@thumbnail-caption-padding: 9px;
|
||||
|
||||
|
||||
// Wells
|
||||
// -------------------------
|
||||
@well-bg: #f5f5f5;
|
||||
|
||||
|
||||
// Badges
|
||||
// -------------------------
|
||||
@badge-color: #fff;
|
||||
@badge-link-hover-color: #fff;
|
||||
@badge-bg: @gray-light;
|
||||
|
||||
@badge-active-color: @link-color;
|
||||
@badge-active-bg: #fff;
|
||||
|
||||
@badge-font-weight: bold;
|
||||
@badge-line-height: 1;
|
||||
@badge-border-radius: 10px;
|
||||
|
||||
|
||||
// Breadcrumbs
|
||||
// -------------------------
|
||||
@breadcrumb-bg: #f5f5f5;
|
||||
@breadcrumb-color: #ccc;
|
||||
@breadcrumb-active-color: @gray-light;
|
||||
@breadcrumb-separator: "/";
|
||||
|
||||
|
||||
// Carousel
|
||||
// ------------------------
|
||||
|
||||
@carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
|
||||
|
||||
@carousel-control-color: #fff;
|
||||
@carousel-control-width: 15%;
|
||||
@carousel-control-opacity: .5;
|
||||
@carousel-control-font-size: 20px;
|
||||
|
||||
@carousel-indicator-active-bg: #fff;
|
||||
@carousel-indicator-border-color: #fff;
|
||||
|
||||
@carousel-caption-color: #fff;
|
||||
|
||||
|
||||
// Close
|
||||
// ------------------------
|
||||
@close-font-weight: bold;
|
||||
@close-color: #000;
|
||||
@close-text-shadow: 0 1px 0 #fff;
|
||||
|
||||
|
||||
// Code
|
||||
// ------------------------
|
||||
@code-color: #c7254e;
|
||||
@code-bg: #f9f2f4;
|
||||
|
||||
@pre-bg: #f5f5f5;
|
||||
@pre-color: @gray-dark;
|
||||
@pre-border-color: #ccc;
|
||||
@pre-scrollable-max-height: 340px;
|
||||
|
||||
// Type
|
||||
// ------------------------
|
||||
@text-muted: @gray-light;
|
||||
@abbr-border-color: @gray-light;
|
||||
@headings-small-color: @gray-light;
|
||||
@blockquote-small-color: @gray-light;
|
||||
@blockquote-border-color: @gray-lighter;
|
||||
@page-header-border-color: @gray-lighter;
|
||||
|
||||
// Miscellaneous
|
||||
// -------------------------
|
||||
|
||||
// Hr border color
|
||||
@hr-border: @gray-lighter;
|
||||
|
||||
// Horizontal forms & lists
|
||||
@component-offset-horizontal: 180px;
|
||||
|
||||
|
||||
// Container sizes
|
||||
// --------------------------------------------------
|
||||
|
||||
// Small screen / tablet
|
||||
@container-tablet: ((720px + @grid-gutter-width));
|
||||
@container-sm: @container-tablet;
|
||||
|
||||
// Medium screen / desktop
|
||||
@container-desktop: ((940px + @grid-gutter-width));
|
||||
@container-md: @container-desktop;
|
||||
|
||||
// Large screen / wide desktop
|
||||
@container-large-desktop: ((1140px + @grid-gutter-width));
|
||||
@container-lg: @container-large-desktop;
|
||||
182
paths.html
182
paths.html
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,30 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
<ul id="dev_nav_sidebar">
|
||||
<li class="level-1">Concepts</li>
|
||||
<li class="level-2"><a href="paths.html">Paths</a></li>
|
||||
<li class="level-2"><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li class="level-2"><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li class="level-2"><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li class="level-2"><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li class="level-2"><a href="reserves.html">Reserves</a></li>
|
||||
<li class="level-2"><a href="freeze.html">Freeze</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="paths">Paths</h1>
|
||||
<p>In the Ripple Consensus Ledger, paths define a way for payments to flow through intermediary steps on their way from sender to receiver. Paths enable cross-currency payments by connecting sender and receiver via market makers. Paths also enable complex settlement of offsetting debts.</p>
|
||||
@@ -244,65 +241,60 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
173
reliable_tx.html
173
reliable_tx.html
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,21 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="reliable-transaction-submission">Reliable Transaction Submission</h1>
|
||||
<p>Gateways and back-end applications should use the best practices described here to ensure that transactions are validated or rejected in a verifiable and timely fashion. You should submit transactions to trusted (locally operated) <code>rippled</code> servers.</p>
|
||||
@@ -524,65 +512,60 @@
|
||||
<li><a href="https://ripple.com/knowledge_center/reaching-consensus-in-ripple/">Reaching Consensus in Ripple</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
182
reserves.html
182
reserves.html
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,30 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
<ul id="dev_nav_sidebar">
|
||||
<li class="level-1">Concepts</li>
|
||||
<li class="level-2"><a href="paths.html">Paths</a></li>
|
||||
<li class="level-2"><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li class="level-2"><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li class="level-2"><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li class="level-2"><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li class="level-2"><a href="reserves.html">Reserves</a></li>
|
||||
<li class="level-2"><a href="freeze.html">Freeze</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="reserves">Reserves</h1>
|
||||
<p>The Ripple Consensus Ledger applies <em>reserve requirements</em>, in XRP, to protect the shared global ledger from growing excessively large as the result of spam or malicious usage. The goal is to constrain the growth of the ledger to match <a href="https://en.wikipedia.org/wiki/Moore's_law">Moore's Law</a> so that a current commodity-level machine can always fit the current ledger in RAM and the full ledger history on disk.</p>
|
||||
@@ -160,65 +157,60 @@
|
||||
<h2 id="changing-the-reserve-requirements">Changing the Reserve Requirements</h2>
|
||||
<p>The Ripple Consensus Ledger has a mechanism for changing the reserve requirements in order to account for long-term changes in the value of XRP. Any changes have to be approved by the consensus process. See <a href="fee-voting.html">Fee Voting</a> for more information.</p>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,36 +14,32 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body >
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -82,6 +78,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -93,20 +90,14 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div id='online_state'>Offline</div>
|
||||
<div style="clear:both;"></div>
|
||||
<div id='command_wrapper'>
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<ul id='command_list'>
|
||||
<li class='selected'><a href='#server_info'>server_info</a></li>
|
||||
<li><a href='#server_state'>server_state</a></li>
|
||||
@@ -137,6 +128,12 @@
|
||||
<li><a href='#path_find'>path_find</a></li>
|
||||
<li><a href='#book_offers'>book_offers</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content-root'>
|
||||
<div id='online_state'>Offline</div>
|
||||
<div style="clear:both;"></div>
|
||||
<div id='command_wrapper'>
|
||||
<div id='command_table'>
|
||||
<div id='io_wrapper'>
|
||||
<div id='input' class='io'>
|
||||
@@ -158,7 +155,7 @@
|
||||
<div id='output' class='io'>
|
||||
<h2>Response</h2>
|
||||
<div>
|
||||
<img class="loader" src="assets/img/rippleThrobber.png" style="vertical-align: middle; display:none;"/>
|
||||
<img class="loader" src="img/rippleThrobber.png" style="vertical-align: middle; display:none;"/>
|
||||
</div>
|
||||
<p id='info'></p>
|
||||
<div id='response'></div>
|
||||
@@ -176,64 +173,60 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
<link rel='stylesheet' type='text/css' href='css/api-style.css'/>
|
||||
<link rel='stylesheet' type='text/css' href='css/codemirror.css'/>
|
||||
|
||||
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,21 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="the-ledger">The Ledger</h1>
|
||||
<p>The point of the Ripple software is to maintain a shared, global ledger that is open to all, so that individual participants can trust the integrity of the ledger without having to trust any single institution to manage it. The <code>rippled</code> server software accomplishes this by maintaining a ledger database that can only be updated according to very specific rules. Each instance of <code>rippled</code> maintains a full copy of the ledger, and the peer-to-peer network of <code>rippled</code> servers distributes candidate transactions among themselves. The consensus process determines which transactions get applied to each new version of the ledger. See also: <a href="https://ripple.com/knowledge_center/the-ripple-ledger-consensus-process/">The Consensus Process</a>.</p>
|
||||
@@ -983,65 +971,60 @@
|
||||
<li>The 160-bit currency code of the trust line(s)</li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
173
rippleapi.html
173
rippleapi.html
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,21 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="introduction">Introduction</h1>
|
||||
<p>RippleAPI is the official client library to the Ripple Consensus Ledger. Currently, RippleAPI is only available in JavaScript.
|
||||
@@ -5288,65 +5276,60 @@ return api.computeLedgerHash(ledger);
|
||||
<pre><code>tooBusy: The server is too busy to help you now.
|
||||
</code></pre>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,21 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="rippleapi-beginners-guide">RippleAPI Beginners Guide</h1>
|
||||
<p>This tutorial guides you through the basics of building a simple Ripple-connected application using <a href="http://nodejs.org/">Node.js</a> and <a href="rippleapi.html">RippleAPI</a>, a simple JavaScript API for accessing the Ripple Consensus Ledger.</p>
|
||||
@@ -472,65 +460,60 @@ npm WARN notsup Not compatible with your operating system or architecture: fseve
|
||||
</html>
|
||||
</code></pre>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,21 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="rippled">rippled</h1>
|
||||
<p>The core peer-to-peer server that operates the Ripple Network is called <code>rippled</code>. Each <code>rippled</code> server connects to the Ripple Network, relays cryptographically signed transactions, and maintains a local copy of the complete shared global ledger. The source code for <code>rippled</code> is written in C++, and is <a href="https://github.com/ripple/rippled">available on GitHub under an open-source license</a>.</p>
|
||||
@@ -11526,65 +11514,60 @@ Connecting to 127.0.0.1:5005
|
||||
</ul>
|
||||
<!---- rippled release notes links ---->
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,21 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="operating-rippled-servers">Operating rippled Servers</h1>
|
||||
<p>The core server of the Ripple peer-to-peer network is <a href="rippled-apis.html"><code>rippled</code></a>. Anyone can run their own <code>rippled</code> server that follows the network and keeps a complete copy of the Ripple ledger. You can even have your server perform validations and participate in the consensus process.</p>
|
||||
@@ -388,65 +376,60 @@ ssdecohJMDPFuUPDkmG1w4objZyp4
|
||||
<li>Add the public keys (for peer communication) of each of your other servers under the <code>[cluster_nodes]</code> section.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
"name": "Overview",
|
||||
"template":"template-index.html",
|
||||
"html": "index.html",
|
||||
"targets": ["local", "ripple.com"]
|
||||
"targets": ["local", "ripple.com"],
|
||||
"sidebar": false
|
||||
},
|
||||
{
|
||||
"name": "Ripple Developer Resources",
|
||||
@@ -16,111 +17,127 @@
|
||||
"md":"paths.md",
|
||||
"html":"paths.html",
|
||||
"ripple.com": "https://ripple.com/build/paths/",
|
||||
"category": "Concepts"
|
||||
"category": "Concepts",
|
||||
"sidebar": "category-toc"
|
||||
},
|
||||
{
|
||||
"name": "Fees (Disambiguation)",
|
||||
"md": "fees.md",
|
||||
"html": "fees.html",
|
||||
"ripple.com": "https://ripple.com/knowledge_center/fees-disambiguation/",
|
||||
"category": "Concepts"
|
||||
"category": "Concepts",
|
||||
"sidebar": "category-toc"
|
||||
},
|
||||
{
|
||||
"name": "Transfer Fees",
|
||||
"md":"transferrate.md",
|
||||
"html":"transfer_fees.html",
|
||||
"ripple.com": "https://ripple.com/knowledge_center/transfer-fees/",
|
||||
"category": "Concepts"
|
||||
"category": "Concepts",
|
||||
"sidebar": "category-toc"
|
||||
},
|
||||
{
|
||||
"name": "Transaction Cost",
|
||||
"md": "tx-cost.md",
|
||||
"html": "tx-cost.html",
|
||||
"ripple.com": "https://ripple.com/build/transaction-cost/",
|
||||
"category": "Concepts"
|
||||
"category": "Concepts",
|
||||
"sidebar": "category-toc"
|
||||
},
|
||||
{
|
||||
"name": "Fee Voting",
|
||||
"md": "fee-voting.md",
|
||||
"html": "fee-voting.html",
|
||||
"ripple.com": "https://ripple.com/build/fee-voting/",
|
||||
"category": "Concepts"
|
||||
"category": "Concepts",
|
||||
"sidebar": "category-toc"
|
||||
},
|
||||
{
|
||||
"name": "Reserves",
|
||||
"md": "reserves.md",
|
||||
"html": "reserves.html",
|
||||
"ripple.com": "https://ripple.com/build/reserves/",
|
||||
"category": "Concepts"
|
||||
"category": "Concepts",
|
||||
"sidebar": "category-toc"
|
||||
},
|
||||
{
|
||||
"name": "Freeze",
|
||||
"md": "freeze.md",
|
||||
"html": "freeze.html",
|
||||
"ripple.com": "https://ripple.com/build/freeze/",
|
||||
"category": "Concepts"
|
||||
"category": "Concepts",
|
||||
"sidebar": "category-toc"
|
||||
},
|
||||
{
|
||||
"name": "RippleAPI Quick Start Guide",
|
||||
"md": "rippleapi_quickstart.md",
|
||||
"html": "rippleapi_quickstart.html",
|
||||
"category": "Tutorials"
|
||||
"category": "Tutorials",
|
||||
"sidebar": "page-toc"
|
||||
},
|
||||
{
|
||||
"name": "rippled",
|
||||
"md":"rippled.md",
|
||||
"html":"rippled-apis.html",
|
||||
"ripple.com": "https://ripple.com/build/rippled-apis/",
|
||||
"category": "References"
|
||||
"category": "References",
|
||||
"sidebar": "page-toc"
|
||||
},
|
||||
{
|
||||
"name": "rippled Setup",
|
||||
"md":"rippled-setup.md",
|
||||
"html":"rippled-setup.html",
|
||||
"ripple.com": "https://ripple.com/build/rippled-setup/",
|
||||
"category": "Tutorials"
|
||||
"category": "Tutorials",
|
||||
"sidebar": "page-toc"
|
||||
},
|
||||
{
|
||||
"name": "Transactions",
|
||||
"md":"tx_format.md",
|
||||
"html":"transactions.html",
|
||||
"ripple.com": "https://ripple.com/build/transactions/",
|
||||
"category": "References"
|
||||
"category": "References",
|
||||
"sidebar": "page-toc"
|
||||
},
|
||||
{
|
||||
"name": "Ledger Format",
|
||||
"md":"ledger_format.md",
|
||||
"html":"ripple-ledger.html",
|
||||
"ripple.com": "https://ripple.com/build/ledger-format/",
|
||||
"category": "References"
|
||||
"category": "References",
|
||||
"sidebar": "page-toc"
|
||||
},
|
||||
{
|
||||
"name": "Reliable Transaction Submission",
|
||||
"md":"reliable_tx.md",
|
||||
"html":"reliable_tx.html",
|
||||
"ripple.com": "https://ripple.com/build/reliable-transaction-submission/",
|
||||
"category": "Tutorials"
|
||||
"category": "Tutorials",
|
||||
"sidebar": "page-toc"
|
||||
},
|
||||
{
|
||||
"name": "Gateway Guide",
|
||||
"md":"gateway_guide.md",
|
||||
"html":"gateway_guide.html",
|
||||
"ripple.com": "https://ripple.com/build/gateway-guide/",
|
||||
"category": "Tutorials"
|
||||
"category": "Tutorials",
|
||||
"sidebar": "page-toc"
|
||||
},
|
||||
{
|
||||
"name": "Ripple Data API v2",
|
||||
"md": "data_v2.md",
|
||||
"html": "data_api_v2.html",
|
||||
"ripple.com": "https://ripple.com/build/data-api-v2/",
|
||||
"category": "References"
|
||||
"category": "References",
|
||||
"sidebar": "page-toc"
|
||||
},
|
||||
{
|
||||
"name": "RippleAPI",
|
||||
"md": "https://raw.githubusercontent.com/ripple/ripple-lib/0.16.7/docs/index.md",
|
||||
"html": "rippleapi.html",
|
||||
"ripple.com": "https://ripple.com/build/rippleapi/",
|
||||
"category": "References"
|
||||
"category": "References",
|
||||
"sidebar": "page-toc"
|
||||
},
|
||||
{
|
||||
"name": "WebSocket API Tool",
|
||||
@@ -128,7 +145,8 @@
|
||||
"category": "API Tools",
|
||||
"ripple.com": "https://ripple.com/build/websocket-tool/",
|
||||
"html": "ripple-api-tool.html",
|
||||
"targets": ["local","ripple.com"]
|
||||
"targets": ["local","ripple.com"],
|
||||
"sidebar": "custom"
|
||||
},
|
||||
{
|
||||
"name": "Data API v2 Tool",
|
||||
@@ -137,7 +155,8 @@
|
||||
"category": "API Tools",
|
||||
"rest_host": "https://data.ripple.com",
|
||||
"html": "data-api-v2-tool.html",
|
||||
"targets": ["local","ripple.com"]
|
||||
"targets": ["local","ripple.com"],
|
||||
"sidebar": "custom"
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -14,38 +14,34 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
{% block head %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body {% block bodyattrs %}{% endblock %}>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php {% if currentpage.sidebar %}sidebar-primary{% endif %} wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
{% for cat in categories %}
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{cat}} <span class="caret"></span></a>
|
||||
@@ -58,6 +54,7 @@
|
||||
</ul>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -69,65 +66,25 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
{% block contentroot %}{% endblock %}
|
||||
</div>
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
{% for page in pages %}
|
||||
{% if page.md %}
|
||||
<li><a href="{{ page.html }}">{{ page.name }}</a></li>
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
{% if currentpage.sidebar %}
|
||||
<aside class="sidebar" role="complementary">
|
||||
{% block sidebar %}{% endblock %}
|
||||
</aside>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<main class="main" role="main">
|
||||
{% block main %}{% endblock %}
|
||||
</main>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% include 'template-footer.html' %}
|
||||
|
||||
{% block endbody %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,18 +1,12 @@
|
||||
{% extends "template-base.html" %}
|
||||
{% block head %}
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
{% if precompiled %}
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -20,46 +14,37 @@
|
||||
make_code_expandable();
|
||||
});
|
||||
</script>
|
||||
{% else %}
|
||||
<!-- Code to load contents via Flatdoc -->
|
||||
<script src="vendor/flatdoc/v/0.8.0/legacy.js"></script>
|
||||
<script src="vendor/flatdoc/v/0.8.0/flatdoc.js"></script>
|
||||
<script>
|
||||
$(".flatdoc-content").empty();
|
||||
$(".content-root .menubar .menu").empty();
|
||||
Flatdoc.run({
|
||||
fetcher: Flatdoc.file('content/{{ currentpage.md }}')
|
||||
});
|
||||
$(document).on('flatdoc:ready', function() {
|
||||
$().multicode_tabs();
|
||||
hljs.initHighlighting();
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block bodyattrs %}{% if not precompiled %} role='flatdoc'{% endif %} class='no-literate'{% endblock %}
|
||||
|
||||
{% block contentroot %}
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
{% if precompiled %}
|
||||
{% block sidebar %}
|
||||
{% if currentpage.sidebar == "page-toc" %}
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
{% elif currentpage.sidebar == "category-toc" %}
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
<ul id="dev_nav_sidebar">
|
||||
<li class="level-1">{{ currentpage.category }}</li>
|
||||
{% for page in pages %}
|
||||
{% if page.category == currentpage.category %}
|
||||
<li class="level-2"><a href="{{ page.html }}">{{ page.name }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
</script>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div {% if not precompiled %}role='flatdoc-content' {% endif %}class='content'>
|
||||
{% if precompiled %}
|
||||
{% block main %}
|
||||
<div class='content'>
|
||||
{{ content }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
52
tool/template-footer.html
Normal file
52
tool/template-footer.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block contentroot %}
|
||||
{% block main %}
|
||||
|
||||
<!-- jumbotron -->
|
||||
<!-- <div class="container theme-showcase" role="main"> -->
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{% extends "template-base.html" %}
|
||||
{% block contentroot %}
|
||||
<div class='content-root'>
|
||||
{% block main %}
|
||||
<div id='wrapper'>
|
||||
<div style="clear:both;"></div>
|
||||
<div id='command_wrapper'>
|
||||
@@ -29,7 +28,7 @@
|
||||
<div id='output' class='io'>
|
||||
<h2>Response</h2>
|
||||
<div>
|
||||
<img class="loader" src="assets/img/rippleThrobber.png" style="vertical-align: middle; display:none;"/>
|
||||
<img class="loader" src="img/rippleThrobber.png" style="vertical-align: middle; display:none;"/>
|
||||
<span id='rest_responsecode'></span>
|
||||
</div>
|
||||
<div id='response_body'></div>
|
||||
@@ -39,7 +38,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block endbody %}
|
||||
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
{% extends "template-base.html" %}
|
||||
{% block contentroot %}
|
||||
<div class='content-root'>
|
||||
<div id='online_state'>Offline</div>
|
||||
<div style="clear:both;"></div>
|
||||
<div id='command_wrapper'>
|
||||
|
||||
{% block sidebar %}
|
||||
<ul id='command_list'>
|
||||
<li class='selected'><a href='#server_info'>server_info</a></li>
|
||||
<li><a href='#server_state'>server_state</a></li>
|
||||
@@ -34,6 +31,13 @@
|
||||
<li><a href='#path_find'>path_find</a></li>
|
||||
<li><a href='#book_offers'>book_offers</a></li>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<div class='content-root'>
|
||||
<div id='online_state'>Offline</div>
|
||||
<div style="clear:both;"></div>
|
||||
<div id='command_wrapper'>
|
||||
<div id='command_table'>
|
||||
<div id='io_wrapper'>
|
||||
<div id='input' class='io'>
|
||||
@@ -55,7 +59,7 @@
|
||||
<div id='output' class='io'>
|
||||
<h2>Response</h2>
|
||||
<div>
|
||||
<img class="loader" src="assets/img/rippleThrobber.png" style="vertical-align: middle; display:none;"/>
|
||||
<img class="loader" src="img/rippleThrobber.png" style="vertical-align: middle; display:none;"/>
|
||||
</div>
|
||||
<p id='info'></p>
|
||||
<div id='response'></div>
|
||||
|
||||
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,21 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="transactions">Transactions</h1>
|
||||
<p>A <em>Transaction</em> is the only way to modify the Ripple Ledger. All transactions have certain fields in common:</p>
|
||||
@@ -1947,65 +1935,60 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,30 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
<ul id="dev_nav_sidebar">
|
||||
<li class="level-1">Concepts</li>
|
||||
<li class="level-2"><a href="paths.html">Paths</a></li>
|
||||
<li class="level-2"><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li class="level-2"><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li class="level-2"><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li class="level-2"><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li class="level-2"><a href="reserves.html">Reserves</a></li>
|
||||
<li class="level-2"><a href="freeze.html">Freeze</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="transfer-fees">Transfer Fees</h1>
|
||||
<p>The <em>TransferRate</em> setting in the shared Ripple ledger allows issuing gateways to charge users a "transfer fee" for sending that gateway's issuances to other users. When a gateway sets the transfer fee, it costs extra to send a transfer of that gateway's issuances. The sender of the transfer is debited an extra percentage based on the transfer fee, while the recipient of the transfer is credited the intended amount. The difference is the transfer fee, which becomes the property of the issuing gateway, and is no longer tracked in the Ripple network. The transfer fee does not apply when sending or receiving <em>directly</em> to and from the issuing account, but it does apply when transferring from a hot wallet to another user. </p>
|
||||
@@ -160,65 +157,60 @@
|
||||
<p>A gateway can submit an <a href="transactions.html#accountset">AccountSet transaction</a> from its cold wallet to change the <code>TransferRate</code> for its issuances. </p>
|
||||
<p>You can check an account's <code>TransferRate</code> with the <a href="rippled-apis.html#account-info"><code>account_info</code> command</a>. If the <code>TransferRate</code> is omitted, then that indicates no fee.</p>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
182
tx-cost.html
182
tx-cost.html
@@ -14,22 +14,20 @@
|
||||
<!-- jQuery -->
|
||||
<script src="vendor/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Custom Stylesheets. ripple.css includes bootstrap, font stuff -->
|
||||
<link href="css/ripple.css" rel="stylesheet" />
|
||||
<link href="css/devportal.css" rel="stylesheet" />
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Flatdoc theme -->
|
||||
<link href='vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
|
||||
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
<link rel="stylesheet" href="vendor/docco.min.css">
|
||||
<script src="vendor/highlight.min.js"></script>
|
||||
|
||||
<!-- syntax selection js -->
|
||||
<script src="js/multicodetab.js"></script>
|
||||
<!-- Markdown content already parsed+included; just do the code tab stuff -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$().multicode_tabs_pandoc();
|
||||
@@ -41,30 +39,23 @@
|
||||
<script src="js/expandcode.js"></script>
|
||||
<script src="js/fixsidebarscroll.js"></script>
|
||||
|
||||
<!-- Custom Stylesheets -->
|
||||
<link href="font/fonts.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/main.css" rel="stylesheet" />
|
||||
<link href="css/custom.css" rel="stylesheet" />
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon" />
|
||||
|
||||
|
||||
</head>
|
||||
<body class='no-literate'>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
|
||||
<body class="page page-template page-template-template-dev-portal page-template-template-dev-portal-php sidebar-primary wpb-js-composer js-comp-ver-3.6.2 vc_responsive">
|
||||
<header role="banner" class="banner navbar navbar-default navbar-fixed-top initial_header">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="./"><img class="small_logo" src="assets/img/ripple_logo_small.png"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<a href="index.html" class="navbar-brand"><img src="img/ripple-logo-color.png" class="logo"></a>
|
||||
</div><!-- /.navbar-header -->
|
||||
<div class="nav">
|
||||
<div class="draft-warning">DRAFT PAGE</div>
|
||||
</div><!-- /.nav -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<div class="subnav dev_nav">
|
||||
<div class="container">
|
||||
<ul id="menu-dev-menu" class="menu" class="nav navbar-nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Concepts <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -103,6 +94,7 @@
|
||||
<li><a href="data-api-v2-tool.html">Data API v2 Tool</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Resources <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@@ -114,25 +106,30 @@
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Guidelines</a></li>
|
||||
</ul>
|
||||
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Site Source</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (window.location.host.indexOf("github.io") > -1) {
|
||||
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
|
||||
}
|
||||
</script>
|
||||
<div class='wrapper'>
|
||||
<div class='content-root'>
|
||||
<div class='menubar'>
|
||||
<div class='menu section' role='flatdoc-menu'>
|
||||
<script type="text/javascript" src="js/jquery.gensidebar.js"></script>
|
||||
<script type="text/javascript">
|
||||
</ul><!-- /#dev-menu -->
|
||||
</div><!-- /.subnav .container -->
|
||||
</div><!-- /.subnav -->
|
||||
</header>
|
||||
|
||||
</script>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<aside class="sidebar" role="complementary">
|
||||
<div class="dev_nav_wrapper" style="margin-bottom: 0px;">
|
||||
<div id="cont">
|
||||
<ul id="dev_nav_sidebar">
|
||||
<li class="level-1">Concepts</li>
|
||||
<li class="level-2"><a href="paths.html">Paths</a></li>
|
||||
<li class="level-2"><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li class="level-2"><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li class="level-2"><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li class="level-2"><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li class="level-2"><a href="reserves.html">Reserves</a></li>
|
||||
<li class="level-2"><a href="freeze.html">Freeze</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<main class="main" role="main">
|
||||
<div class='content'>
|
||||
<h1 id="transaction-cost">Transaction Cost</h1>
|
||||
<p>In order to protect the Ripple Consensus Ledger from being disrupted by spam and denial-of-service attacks, each transaction must destroy a small amount of <a href="https://ripple.com/knowledge_center/math-based-currency-2/">XRP</a>. This <em>transaction cost</em> is designed to increase along with the load on the network, making it very expensive to deliberately or inadvertently overload the network.</p>
|
||||
@@ -183,65 +180,60 @@
|
||||
<h2 id="changing-the-transaction-cost">Changing the Transaction Cost</h2>
|
||||
<p>In addition to short-term scaling to account for load, the Ripple Consensus Ledger has a mechanism for changing the minimum transaction cost in order to account for long-term changes in the value of XRP. Any changes have to be approved by the consensus process. See <a href="fee-voting.html">Fee Voting</a> for more information.</p>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
<footer class="content-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h4>Documentation</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="paths.html">Paths</a></li>
|
||||
<li><a href="fees.html">Fees (Disambiguation)</a></li>
|
||||
<li><a href="transfer_fees.html">Transfer Fees</a></li>
|
||||
<li><a href="tx-cost.html">Transaction Cost</a></li>
|
||||
<li><a href="fee-voting.html">Fee Voting</a></li>
|
||||
<li><a href="reserves.html">Reserves</a></li>
|
||||
<li><a href="freeze.html">Freeze</a></li>
|
||||
<li><a href="rippleapi_quickstart.html">RippleAPI Quick Start Guide</a></li>
|
||||
<li><a href="rippled-apis.html">rippled</a></li>
|
||||
<li><a href="rippled-setup.html">rippled Setup</a></li>
|
||||
<li><a href="transactions.html">Transactions</a></li>
|
||||
<li><a href="ripple-ledger.html">Ledger Format</a></li>
|
||||
<li><a href="reliable_tx.html">Reliable Transaction Submission</a></li>
|
||||
<li><a href="gateway_guide.html">Gateway Guide</a></li>
|
||||
<li><a href="data_api_v2.html">Ripple Data API v2</a></li>
|
||||
<li><a href="rippleapi.html">RippleAPI</a></li>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-3 widget_nav_menu">
|
||||
<h4>Resources<hr></h4>
|
||||
<ul id="menu-resources" class="menu">
|
||||
<li class="menu-insights"><a href="https://ripple.com/insights/">Insights</a></li>
|
||||
<li class="menu-press-center"><a href="https://ripple.com/press-center/">Press Center</a></li>
|
||||
<li class="menu-media-resources"><a href="https://ripple.com/media-resources/">Media Resources</a></li>
|
||||
<li class="menu-videos"><a href="https://ripple.com/videos/">Videos</a></li>
|
||||
<li class="menu-whitepapers-reports"><a href="https://ripple.com/whitepapers-reports/">Whitepapers & Reports</a></li>
|
||||
<li class="menu-xrp-portal"><a href="https://ripple.com/xrp-portal/">XRP Portal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Resources</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://ripple.com/press-releases/">Press Center</a></li>
|
||||
<li><a href="https://ripple.com/brand-guidelines/">Brand Use and Guidelines</a></li>
|
||||
<li><a href="https://forum.ripple.com/viewforum.php?f=2">Forums</a></li>
|
||||
<li><a href="https://ripple.com/category/dev-blog/">Dev Blog</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-5 widget_nav_menu">
|
||||
<h4>Regulators<hr></h4>
|
||||
<ul id="menu-compliance-regulatory-relations" class="menu"><li class="menu-compliance"><a href="https://ripple.com/compliance/">Compliance</a></li>
|
||||
<li class="menu-policy-framework"><a href="https://ripple.com/policy-framework/">Policy Framework</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Projects</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.rippletrade.com">Ripple Trade</a>
|
||||
<li><a href="https://www.ripplecharts.com">Ripple Charts</a>
|
||||
<li><a href="https://ripple.com/graph">Ripple Graph</a>
|
||||
<li><a href="http://codius.org/">Codius</a>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-4 widget_nav_menu">
|
||||
<h4>Support<hr></h4>
|
||||
<ul id="menu-dev-footer-menu" class="menu">
|
||||
<li class="menu-contact-us"><a href="https://ripple.com/contact/">Contact Us</a></li>
|
||||
<li class="active menu-developer-center"><a href="https://ripple.com/build/">Developer Center</a></li>
|
||||
<li class="menu-knowledge-center"><a href="https://ripple.com/learn/">Knowledge Center</a></li>
|
||||
<li class="menu-ripple-forum"><a target="_blank" href="https://forum.ripple.com/">Ripple Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h4>Ripple Labs</h4>
|
||||
<ul class="footer_links">
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/10/ripple_labs_bylaws.pdf">Corporate Bylaws</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/wp-content/uploads/2014/09/ripple_labs_code_of_conduct1.pdf">Code of Conduct</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/team/">Team</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/careers/">Careers</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/investors/">Investors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/advisors/">Advisors</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/xrp-distribution/">XRP Distribution</a></li>
|
||||
<li><a href="https://www.ripplelabs.com/contact/">Contact</a></li>
|
||||
</section>
|
||||
|
||||
<section class="col-sm-3 widget nav_menu-2 widget_nav_menu">
|
||||
<h4>About<hr></h4>
|
||||
<ul id="menu-company-footer" class="menu">
|
||||
<li class="menu-our-company"><a href="https://ripple.com/company/">Our Company</a></li>
|
||||
<li class="menu-careers"><a href="https://ripple.com/company/careers/">Careers</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="col-sm-12 absolute_bottom_footer">
|
||||
<div class="col-sm-8">
|
||||
<span>© 2013-2015 Ripple Labs, Inc. All Rights Reserved.</span>
|
||||
<span><a href="/terms-of-use/">Terms</a></span>
|
||||
<span><a href="/privacy-policy/">Privacy</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.absolute_bottom_footer -->
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
25
vendor/flatdoc/v/0.8.0/flatdoc.js
vendored
25
vendor/flatdoc/v/0.8.0/flatdoc.js
vendored
File diff suppressed because one or more lines are too long
23
vendor/flatdoc/v/0.8.0/legacy.js
vendored
23
vendor/flatdoc/v/0.8.0/legacy.js
vendored
@@ -1,23 +0,0 @@
|
||||
/*!
|
||||
|
||||
Support JS for legacy browsers.
|
||||
Includes:
|
||||
|
||||
HTML5 Shiv
|
||||
@afarkas @jdalton @jon_neal @rem
|
||||
MIT/GPL2 Licensed
|
||||
https://github.com/aFarkas/html5shiv
|
||||
|
||||
matchMedia() polyfill
|
||||
(c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license
|
||||
|
||||
Respond.js
|
||||
min/max-width media query polyfill
|
||||
(c) Scott Jehl. MIT/GPLv2 Lic.
|
||||
http://j.mp/respondjs
|
||||
|
||||
*/
|
||||
!function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}</style>";c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;!function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}}();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video",version:"3.6.2",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)}(this,document);/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
|
||||
/*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
|
||||
window.matchMedia=window.matchMedia||function(doc,undefined){"use strict";var bool,docElem=doc.documentElement,refNode=docElem.firstElementChild||docElem.firstChild,fakeBody=doc.createElement("body"),div=doc.createElement("div");div.id="mq-test-1";div.style.cssText="position:absolute;top:-100em";fakeBody.style.background="none";fakeBody.appendChild(div);return function(q){div.innerHTML='­<style media="'+q+'"> #mq-test-1 { width: 42px; }</style>';docElem.insertBefore(fakeBody,refNode);bool=div.offsetWidth===42;docElem.removeChild(fakeBody);return{matches:bool,media:q}}}(document);/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
|
||||
!function(win){"use strict";var respond={};win.respond=respond;respond.update=function(){};respond.mediaQueriesSupported=win.matchMedia&&win.matchMedia("only all").matches;if(respond.mediaQueriesSupported){return}var doc=win.document,docElem=doc.documentElement,mediastyles=[],rules=[],appendedEls=[],parsedSheets={},resizeThrottle=30,head=doc.getElementsByTagName("head")[0]||docElem,base=doc.getElementsByTagName("base")[0],links=head.getElementsByTagName("link"),requestQueue=[],ripCSS=function(){for(var i=0;i<links.length;i++){var sheet=links[i],href=sheet.href,media=sheet.media,isCSS=sheet.rel&&sheet.rel.toLowerCase()==="stylesheet";if(!!href&&isCSS&&!parsedSheets[href]){if(sheet.styleSheet&&sheet.styleSheet.rawCssText){translate(sheet.styleSheet.rawCssText,href,media);parsedSheets[href]=true}else{if(!/^([a-zA-Z:]*\/\/)/.test(href)&&!base||href.replace(RegExp.$1,"").split("/")[0]===win.location.host){requestQueue.push({href:href,media:media})}}}}makeRequests()},makeRequests=function(){if(requestQueue.length){var thisRequest=requestQueue.shift();ajax(thisRequest.href,function(styles){translate(styles,thisRequest.href,thisRequest.media);parsedSheets[thisRequest.href]=true;win.setTimeout(function(){makeRequests()},0)})}},translate=function(styles,href,media){var qs=styles.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),ql=qs&&qs.length||0;href=href.substring(0,href.lastIndexOf("/"));var repUrls=function(css){return css.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+href+"$2$3")},useMedia=!ql&&media;if(href.length){href+="/"}if(useMedia){ql=1}for(var i=0;i<ql;i++){var fullq,thisq,eachq,eql;if(useMedia){fullq=media;rules.push(repUrls(styles))}else{fullq=qs[i].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1;rules.push(RegExp.$2&&repUrls(RegExp.$2))}eachq=fullq.split(",");eql=eachq.length;for(var j=0;j<eql;j++){thisq=eachq[j];mediastyles.push({media:thisq.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:rules.length-1,hasquery:thisq.indexOf("(")>-1,minw:thisq.match(/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:thisq.match(/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}}applyMedia()},lastCall,resizeDefer,getEmValue=function(){var ret,div=doc.createElement("div"),body=doc.body,fakeUsed=false;div.style.cssText="position:absolute;font-size:1em;width:1em";if(!body){body=fakeUsed=doc.createElement("body");body.style.background="none"}body.appendChild(div);docElem.insertBefore(body,docElem.firstChild);ret=div.offsetWidth;if(fakeUsed){docElem.removeChild(body)}else{body.removeChild(div)}ret=eminpx=parseFloat(ret);return ret},eminpx,applyMedia=function(fromResize){var name="clientWidth",docElemProp=docElem[name],currWidth=doc.compatMode==="CSS1Compat"&&docElemProp||doc.body[name]||docElemProp,styleBlocks={},lastLink=links[links.length-1],now=(new Date).getTime();if(fromResize&&lastCall&&now-lastCall<resizeThrottle){win.clearTimeout(resizeDefer);resizeDefer=win.setTimeout(applyMedia,resizeThrottle);return}else{lastCall=now}for(var i in mediastyles){if(mediastyles.hasOwnProperty(i)){var thisstyle=mediastyles[i],min=thisstyle.minw,max=thisstyle.maxw,minnull=min===null,maxnull=max===null,em="em";if(!!min){min=parseFloat(min)*(min.indexOf(em)>-1?eminpx||getEmValue():1)}if(!!max){max=parseFloat(max)*(max.indexOf(em)>-1?eminpx||getEmValue():1)}if(!thisstyle.hasquery||(!minnull||!maxnull)&&(minnull||currWidth>=min)&&(maxnull||currWidth<=max)){if(!styleBlocks[thisstyle.media]){styleBlocks[thisstyle.media]=[]}styleBlocks[thisstyle.media].push(rules[thisstyle.rules])}}}for(var j in appendedEls){if(appendedEls.hasOwnProperty(j)){if(appendedEls[j]&&appendedEls[j].parentNode===head){head.removeChild(appendedEls[j])}}}for(var k in styleBlocks){if(styleBlocks.hasOwnProperty(k)){var ss=doc.createElement("style"),css=styleBlocks[k].join("\n");ss.type="text/css";ss.media=k;head.insertBefore(ss,lastLink.nextSibling);if(ss.styleSheet){ss.styleSheet.cssText=css}else{ss.appendChild(doc.createTextNode(css))}appendedEls.push(ss)}}},ajax=function(url,callback){var req=xmlHttp();if(!req){return}req.open("GET",url,true);req.onreadystatechange=function(){if(req.readyState!==4||req.status!==200&&req.status!==304){return}callback(req.responseText)};if(req.readyState===4){return}req.send(null)},xmlHttp=function(){var xmlhttpmethod=false;try{xmlhttpmethod=new win.XMLHttpRequest}catch(e){xmlhttpmethod=new win.ActiveXObject("Microsoft.XMLHTTP")}return function(){return xmlhttpmethod}}();ripCSS();respond.update=ripCSS;function callMedia(){applyMedia(true)}if(win.addEventListener){win.addEventListener("resize",callMedia,false)}else if(win.attachEvent){win.attachEvent("onresize",callMedia)}}(this);
|
||||
318
vendor/flatdoc/v/0.8.0/theme-white/script.js
vendored
318
vendor/flatdoc/v/0.8.0/theme-white/script.js
vendored
@@ -1,318 +0,0 @@
|
||||
(function($) {
|
||||
var $window = $(window);
|
||||
var $document = $(document);
|
||||
|
||||
/*
|
||||
* Scrollspy.
|
||||
*/
|
||||
|
||||
$document.on('flatdoc:ready', function() {
|
||||
$("h2, h3").scrollagent(function(cid, pid, currentElement, previousElement) {
|
||||
if (pid) {
|
||||
$("[href='#"+pid+"']").removeClass('active');
|
||||
}
|
||||
if (cid) {
|
||||
$("[href='#"+cid+"']").addClass('active');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
/*
|
||||
* Anchor jump links.
|
||||
*/
|
||||
|
||||
$document.on('flatdoc:ready', function() {
|
||||
$('.menu a').anchorjump();
|
||||
});
|
||||
|
||||
/*
|
||||
* Title card.
|
||||
*/
|
||||
|
||||
$(function() {
|
||||
var $card = $('.title-card');
|
||||
if (!$card.length) return;
|
||||
|
||||
var $header = $('.header');
|
||||
var headerHeight = $header.length ? $header.outerHeight() : 0;
|
||||
|
||||
$window
|
||||
.on('resize.title-card', function() {
|
||||
var windowWidth = $window.width();
|
||||
|
||||
if (windowWidth < 480) {
|
||||
$card.css('height', '');
|
||||
} else {
|
||||
var height = $window.height();
|
||||
$card.css('height', height - headerHeight);
|
||||
}
|
||||
})
|
||||
.trigger('resize.title-card');
|
||||
|
||||
$card.fillsize('> img.bg');
|
||||
});
|
||||
|
||||
/*
|
||||
* Sidebar stick.
|
||||
*/
|
||||
|
||||
$(function() {
|
||||
var $sidebar = $('.menubar');
|
||||
var elTop;
|
||||
|
||||
$window
|
||||
.on('resize.sidestick', function() {
|
||||
elTop = $sidebar.offset().top;
|
||||
$window.trigger('scroll.sidestick');
|
||||
})
|
||||
.on('scroll.sidestick', function() {
|
||||
var scrollY = $window.scrollTop();
|
||||
$sidebar.toggleClass('fixed', (scrollY >= elTop));
|
||||
})
|
||||
.trigger('resize.sidestick');
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
/*! jQuery.scrollagent (c) 2012, Rico Sta. Cruz. MIT License.
|
||||
* https://github.com/rstacruz/jquery-stuff/tree/master/scrollagent */
|
||||
|
||||
// Call $(...).scrollagent() with a callback function.
|
||||
//
|
||||
// The callback will be called everytime the focus changes.
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// $("h2").scrollagent(function(cid, pid, currentElement, previousElement) {
|
||||
// if (pid) {
|
||||
// $("[href='#"+pid+"']").removeClass('active');
|
||||
// }
|
||||
// if (cid) {
|
||||
// $("[href='#"+cid+"']").addClass('active');
|
||||
// }
|
||||
// });
|
||||
|
||||
(function($) {
|
||||
|
||||
$.fn.scrollagent = function(options, callback) {
|
||||
// Account for $.scrollspy(function)
|
||||
if (typeof callback === 'undefined') {
|
||||
callback = options;
|
||||
options = {};
|
||||
}
|
||||
|
||||
var $sections = $(this);
|
||||
var $parent = options.parent || $(window);
|
||||
|
||||
// Find the top offsets of each section
|
||||
var offsets = [];
|
||||
$sections.each(function(i) {
|
||||
var offset = $(this).attr('data-anchor-offset') ?
|
||||
parseInt($(this).attr('data-anchor-offset'), 10) :
|
||||
(options.offset || 0);
|
||||
|
||||
offsets.push({
|
||||
top: $(this).offset().top + offset,
|
||||
id: $(this).attr('id'),
|
||||
index: i,
|
||||
el: this
|
||||
});
|
||||
});
|
||||
|
||||
// State
|
||||
var current = null;
|
||||
var height = null;
|
||||
var range = null;
|
||||
|
||||
// Save the height. Do this only whenever the window is resized so we don't
|
||||
// recalculate often.
|
||||
$(window).on('resize', function() {
|
||||
height = $parent.height();
|
||||
range = $(document).height();
|
||||
});
|
||||
|
||||
// Find the current active section every scroll tick.
|
||||
$parent.on('scroll', function() {
|
||||
var y = $parent.scrollTop();
|
||||
y += height * (0.3 + 0.7 * Math.pow(y/range, 2));
|
||||
|
||||
var latest = null;
|
||||
|
||||
for (var i in offsets) {
|
||||
if (offsets.hasOwnProperty(i)) {
|
||||
var offset = offsets[i];
|
||||
if (offset.top < y) latest = offset;
|
||||
}
|
||||
}
|
||||
|
||||
if (latest && (!current || (latest.index !== current.index))) {
|
||||
callback.call($sections,
|
||||
latest ? latest.id : null,
|
||||
current ? current.id : null,
|
||||
latest ? latest.el : null,
|
||||
current ? current.el : null);
|
||||
current = latest;
|
||||
}
|
||||
});
|
||||
|
||||
$(window).trigger('resize');
|
||||
$parent.trigger('scroll');
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
/*! Anchorjump (c) 2012, Rico Sta. Cruz. MIT License.
|
||||
* http://github.com/rstacruz/jquery-stuff/tree/master/anchorjump */
|
||||
|
||||
// Makes anchor jumps happen with smooth scrolling.
|
||||
//
|
||||
// $("#menu a").anchorjump();
|
||||
// $("#menu a").anchorjump({ offset: -30 });
|
||||
//
|
||||
// // Via delegate:
|
||||
// $("#menu").anchorjump({ for: 'a', offset: -30 });
|
||||
//
|
||||
// You may specify a parent. This makes it scroll down to the parent.
|
||||
// Great for tabbed views.
|
||||
//
|
||||
// $('#menu a').anchorjump({ parent: '.anchor' });
|
||||
//
|
||||
// You can jump to a given area.
|
||||
//
|
||||
// $.anchorjump('#bank-deposit', options);
|
||||
|
||||
(function($) {
|
||||
var defaults = {
|
||||
'speed': 500,
|
||||
'offset': 0,
|
||||
'for': null,
|
||||
'parent': null
|
||||
};
|
||||
|
||||
$.fn.anchorjump = function(options) {
|
||||
options = $.extend({}, defaults, options);
|
||||
|
||||
if (options['for']) {
|
||||
this.on('click', options['for'], onClick);
|
||||
} else {
|
||||
this.on('click', onClick);
|
||||
}
|
||||
|
||||
function onClick(e) {
|
||||
var $a = $(e.target).closest('a');
|
||||
if (e.ctrlKey || e.metaKey || e.altKey || $a.attr('target')) return;
|
||||
|
||||
e.preventDefault();
|
||||
var href = $a.attr('href');
|
||||
|
||||
$.anchorjump(href, options);
|
||||
}
|
||||
};
|
||||
|
||||
// Jump to a given area.
|
||||
$.anchorjump = function(href, options) {
|
||||
options = $.extend({}, defaults, options);
|
||||
|
||||
var top = 0;
|
||||
|
||||
if (href != '#') {
|
||||
var $area = $(href);
|
||||
// Find the parent
|
||||
if (options.parent) {
|
||||
var $parent = $area.closest(options.parent);
|
||||
if ($parent.length) { $area = $parent; }
|
||||
}
|
||||
if (!$area.length) { return; }
|
||||
|
||||
// Determine the pixel offset; use the default if not available
|
||||
var offset =
|
||||
$area.attr('data-anchor-offset') ?
|
||||
parseInt($area.attr('data-anchor-offset'), 10) :
|
||||
options.offset;
|
||||
|
||||
top = Math.max(0, $area.offset().top + offset);
|
||||
}
|
||||
|
||||
$('html, body').animate({ scrollTop: top }, options.speed);
|
||||
$('body').trigger('anchor', href);
|
||||
|
||||
// Add the location hash via pushState.
|
||||
if (window.history.pushState) {
|
||||
window.history.pushState({ href: href }, "", href);
|
||||
}
|
||||
};
|
||||
})(jQuery);
|
||||
/*! fillsize (c) 2012, Rico Sta. Cruz. MIT License.
|
||||
* http://github.com/rstacruz/jquery-stuff/tree/master/fillsize */
|
||||
|
||||
// Makes an element fill up its container.
|
||||
//
|
||||
// $(".container").fillsize("> img");
|
||||
//
|
||||
// This binds a listener on window resizing to automatically scale down the
|
||||
// child (`> img` in this example) just so that enough of it will be visible in
|
||||
// the viewport of the container.
|
||||
//
|
||||
// This assumes that the container has `position: relative` (or any 'position',
|
||||
// really), and `overflow: hidden`.
|
||||
|
||||
(function($) {
|
||||
$.fn.fillsize = function(selector) {
|
||||
var $parent = this;
|
||||
var $img;
|
||||
|
||||
function resize() {
|
||||
if (!$img) $img = $parent.find(selector);
|
||||
|
||||
$img.each(function() {
|
||||
if (!this.complete) return;
|
||||
var $img = $(this);
|
||||
|
||||
var parent = { height: $parent.innerHeight(), width: $parent.innerWidth() };
|
||||
var imageRatio = $img.width() / $img.height();
|
||||
var containerRatio = parent.width / parent.height;
|
||||
|
||||
var css = {
|
||||
position: 'absolute',
|
||||
left: 0, top: 0, right: 'auto', bottom: 'auto'
|
||||
};
|
||||
|
||||
// If image is wider than the container
|
||||
if (imageRatio > containerRatio) {
|
||||
css.left = Math.round((parent.width - imageRatio * parent.height) / 2) + 'px';
|
||||
css.width = 'auto';
|
||||
css.height = '100%';
|
||||
}
|
||||
|
||||
// If the container is wider than the image
|
||||
else {
|
||||
css.top = Math.round((parent.height - (parent.width / $img.width() * $img.height())) / 2) + 'px';
|
||||
css.height = 'auto';
|
||||
css.width = '100%';
|
||||
}
|
||||
|
||||
$img.css(css);
|
||||
});
|
||||
}
|
||||
|
||||
// Make it happen on window resize.
|
||||
$(window).resize(resize);
|
||||
|
||||
// Allow manual invocation by doing `.trigger('fillsize')` on the container.
|
||||
$(document).on('fillsize', $parent.selector, resize);
|
||||
|
||||
// Resize on first load (or immediately if called after).
|
||||
$(function() {
|
||||
// If the child is an image, fill it up when image's real dimensions are
|
||||
// first determined. Needs to be .bind() because the load event will
|
||||
// bubble up.
|
||||
$(selector, $parent).bind('load', function() {
|
||||
setTimeout(resize, 25);
|
||||
});
|
||||
|
||||
resize();
|
||||
});
|
||||
|
||||
return this;
|
||||
};
|
||||
})(jQuery);
|
||||
834
vendor/flatdoc/v/0.8.0/theme-white/style.css
vendored
834
vendor/flatdoc/v/0.8.0/theme-white/style.css
vendored
@@ -1,834 +0,0 @@
|
||||
/* ----------------------------------------------------------------------------
|
||||
* Fonts
|
||||
*/
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
* Base
|
||||
*/
|
||||
html,
|
||||
body,
|
||||
div,
|
||||
span,
|
||||
applet,
|
||||
object,
|
||||
iframe,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
p,
|
||||
blockquote,
|
||||
pre,
|
||||
a,
|
||||
abbr,
|
||||
acronym,
|
||||
address,
|
||||
big,
|
||||
cite,
|
||||
code,
|
||||
del,
|
||||
dfn,
|
||||
em,
|
||||
img,
|
||||
ins,
|
||||
kbd,
|
||||
q,
|
||||
s,
|
||||
samp,
|
||||
small,
|
||||
strike,
|
||||
strong,
|
||||
sub,
|
||||
sup,
|
||||
tt,
|
||||
var,
|
||||
dl,
|
||||
dt,
|
||||
dd,
|
||||
ol,
|
||||
ul,
|
||||
li,
|
||||
fieldset,
|
||||
form,
|
||||
label,
|
||||
legend,
|
||||
table,
|
||||
caption,
|
||||
tbody,
|
||||
tfoot,
|
||||
thead,
|
||||
tr,
|
||||
th,
|
||||
td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
font-weight: inherit;
|
||||
font-style: inherit;
|
||||
font-family: inherit;
|
||||
font-size: 100%;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
color: #000;
|
||||
background: #fff;
|
||||
}
|
||||
ol,
|
||||
ul {
|
||||
list-style: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
caption,
|
||||
th,
|
||||
td {
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
vertical-align: middle;
|
||||
}
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
html {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
body,
|
||||
td,
|
||||
textarea,
|
||||
input {
|
||||
font-family: Helvetica Neue, Open Sans, sans-serif;
|
||||
line-height: 1.6;
|
||||
font-size: 13px;
|
||||
color: #505050;
|
||||
}
|
||||
@media (max-width: 480px) /* Mobile */ {
|
||||
body,
|
||||
td,
|
||||
textarea,
|
||||
input {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
a {
|
||||
color: #3a87ad;
|
||||
text-decoration: underline;
|
||||
}
|
||||
a:hover {
|
||||
color: #228a8a;
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* Content styling
|
||||
*/
|
||||
.content p,
|
||||
.content ul,
|
||||
.content ol,
|
||||
.content h1,
|
||||
.content h2,
|
||||
.content h3,
|
||||
.content h4,
|
||||
.content h5,
|
||||
.content h6,
|
||||
.content pre,
|
||||
.content blockquote {
|
||||
padding: 10px 0;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.content h1,
|
||||
.content h2,
|
||||
.content h3,
|
||||
.content h4,
|
||||
.content h5,
|
||||
.content h6 {
|
||||
font-weight: bold;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
.content pre {
|
||||
font-family: Menlo, monospace;
|
||||
}
|
||||
.content ul > li {
|
||||
list-style-type: disc;
|
||||
}
|
||||
.content ol > li {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
.content ul,
|
||||
.content ol {
|
||||
margin-left: 20px;
|
||||
}
|
||||
.content ul > li {
|
||||
list-style-type: none;
|
||||
position: relative;
|
||||
}
|
||||
.content ul > li:before {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: -17px;
|
||||
top: 7px;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
border: solid 1px #9090aa;
|
||||
}
|
||||
.content li > :first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
.content strong,
|
||||
.content b {
|
||||
font-weight: bold;
|
||||
}
|
||||
.content i,
|
||||
.content em {
|
||||
font-style: italic;
|
||||
color: #9090aa;
|
||||
}
|
||||
.content code {
|
||||
font-family: Menlo, monospace;
|
||||
background: #F1F1F1;
|
||||
padding: 1px 3px;
|
||||
/* font-size: 0.95em;*/
|
||||
}
|
||||
.content pre > code {
|
||||
display: block;
|
||||
background: transparent;
|
||||
/* font-size: 0.85em;
|
||||
letter-spacing: -1px;*/
|
||||
}
|
||||
.content blockquote :first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
.content blockquote :last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* Content
|
||||
*/
|
||||
.content-root {
|
||||
min-height: 90%;
|
||||
position: relative;
|
||||
}
|
||||
.content {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 40px;
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
zoom: 1;
|
||||
max-width: 700px;
|
||||
}
|
||||
.content:before,
|
||||
.content:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
.content:after {
|
||||
clear: both;
|
||||
}
|
||||
.content blockquote {
|
||||
color: #9090aa;
|
||||
text-shadow: 0 1px 0 rgba(255,255,255,0.5);
|
||||
}
|
||||
.content h1,
|
||||
.content h2,
|
||||
.content h3 {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
font-family: montserrat;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.content h1 + p,
|
||||
.content h2 + p,
|
||||
.content h3 + p,
|
||||
.content h1 ul,
|
||||
.content h2 ul,
|
||||
.content h3 ul,
|
||||
.content h1 ol,
|
||||
.content h2 ol,
|
||||
.content h3 ol {
|
||||
padding-top: 10px;
|
||||
}
|
||||
.content h1,
|
||||
.content h2 {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
.content h3 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
.content h1,
|
||||
.content h2,
|
||||
.content .big-heading,
|
||||
body.big-h3 .content h3 {
|
||||
padding-top: 80px;
|
||||
}
|
||||
.content h1:before,
|
||||
.content h2:before,
|
||||
.content .big-heading:before,
|
||||
body.big-h3 .content h3:before {
|
||||
display: block;
|
||||
content: '';
|
||||
background: -webkit-gradient(linear, left top, right top, color-stop(0.8, #dfe2e7), color-stop(1, rgba(223,226,231,0)));
|
||||
background: -webkit-linear-gradient(left, #dfe2e7 80%, rgba(223,226,231,0) 100%);
|
||||
background: -moz-linear-gradient(left, #dfe2e7 80%, rgba(223,226,231,0) 100%);
|
||||
background: -o-linear-gradient(left, #dfe2e7 80%, rgba(223,226,231,0) 100%);
|
||||
background: -ms-linear-gradient(left, #dfe2e7 80%, rgba(223,226,231,0) 100%);
|
||||
background: linear-gradient(left, #dfe2e7 80%, rgba(223,226,231,0) 100%);
|
||||
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.4);
|
||||
box-shadow: 0 1px 0 rgba(255,255,255,0.4);
|
||||
height: 1px;
|
||||
position: relative;
|
||||
top: -40px;
|
||||
left: -40px;
|
||||
width: 100%;
|
||||
}
|
||||
@media (max-width: 768px) /* Mobile and tablet */ {
|
||||
.content h1,
|
||||
.content h2,
|
||||
.content .big-heading,
|
||||
body.big-h3 .content h3 {
|
||||
padding-top: 40px;
|
||||
}
|
||||
.content h1:before,
|
||||
.content h2:before,
|
||||
.content .big-heading:before,
|
||||
body.big-h3 .content h3:before {
|
||||
background: #dfe2e7;
|
||||
left: -40px;
|
||||
top: -20px;
|
||||
width: 120%;
|
||||
}
|
||||
}
|
||||
.content h4,
|
||||
.content h5,
|
||||
.content .small-heading,
|
||||
body:not(.big-h3) .content h3 {
|
||||
border-bottom: solid 1px rgba(0,0,0,0.07);
|
||||
color: #9090aa;
|
||||
padding-top: 30px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
body:not(.big-h3) .content h3 {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.content h1:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
.content h1:first-child,
|
||||
.content h1:first-child a,
|
||||
.content h1:first-child a:visited {
|
||||
color: #505050;
|
||||
}
|
||||
.content h1:first-child:before {
|
||||
display: none;
|
||||
}
|
||||
@media (max-width: 768px) /* Tablet */ {
|
||||
.content h4,
|
||||
.content h5,
|
||||
.content .small-heading,
|
||||
body:not(.big-h3) .content h3 {
|
||||
padding-top: 20px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 480px) /* Mobile */ {
|
||||
.content {
|
||||
padding: 20px;
|
||||
padding-top: 40px;
|
||||
}
|
||||
.content h4,
|
||||
.content h5,
|
||||
.content .small-heading,
|
||||
body:not(.big-h3) .content h3 {
|
||||
padding-top: 10px;
|
||||
}
|
||||
}
|
||||
body.no-literate .content pre > code {
|
||||
background: #f3f6fb;
|
||||
border: solid 1px #e7eaee;
|
||||
border-top: solid 1px #dbdde2;
|
||||
border-left: solid 1px #e2e5e9;
|
||||
display: block;
|
||||
padding: 10px;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
overflow: auto;
|
||||
padding-left: 10px;
|
||||
}
|
||||
body.no-literate .content pre > code {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
body.no-literate .content pre > code::-webkit-scrollbar {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
body.no-literate .content pre > code::-webkit-scrollbar-thumb {
|
||||
background: #ddd;
|
||||
-webkit-border-radius: 8px;
|
||||
border-radius: 8px;
|
||||
border: solid 4px #f3f6fb;
|
||||
}
|
||||
body.no-literate .content pre > code:hover::-webkit-scrollbar-thumb {
|
||||
background: #999;
|
||||
-webkit-box-shadow: inset 2px 2px 3px rgba(0,0,0,0.2);
|
||||
box-shadow: inset 2px 2px 3px rgba(0,0,0,0.2);
|
||||
}
|
||||
@media (max-width: 1180px) /* Small desktop */ {
|
||||
.content pre > code {
|
||||
background: #f3f6fb;
|
||||
border: solid 1px #e7eaee;
|
||||
border-top: solid 1px #dbdde2;
|
||||
border-left: solid 1px #e2e5e9;
|
||||
display: block;
|
||||
padding: 10px;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
overflow: auto;
|
||||
}
|
||||
.content pre > code {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.content pre > code::-webkit-scrollbar {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
.content pre > code::-webkit-scrollbar-thumb {
|
||||
background: #ddd;
|
||||
-webkit-border-radius: 8px;
|
||||
border-radius: 8px;
|
||||
border: solid 4px #f3f6fb;
|
||||
}
|
||||
.content pre > code:hover::-webkit-scrollbar-thumb {
|
||||
background: #999;
|
||||
-webkit-box-shadow: inset 2px 2px 3px rgba(0,0,0,0.2);
|
||||
box-shadow: inset 2px 2px 3px rgba(0,0,0,0.2);
|
||||
}
|
||||
}
|
||||
.button {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
font-family: montserrat, sans-serif;
|
||||
display: inline-block;
|
||||
padding: 3px 25px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
margin-right: 15px;
|
||||
background: #428bca;
|
||||
}
|
||||
.button,
|
||||
.button:visited {
|
||||
color: #fff;
|
||||
text-shadow: none;
|
||||
}
|
||||
.button:hover {
|
||||
text-decoration:none;
|
||||
background: #3071a9;
|
||||
}
|
||||
/*
|
||||
.button:hover {
|
||||
border-color: #111;
|
||||
background: #111;
|
||||
color: #fff;
|
||||
}
|
||||
.button.light,
|
||||
.button.light:visited {
|
||||
background: transparent;
|
||||
text-shadow: none;
|
||||
}
|
||||
.button.light:hover {
|
||||
border-color: #9090aa;
|
||||
background: #9090aa;
|
||||
color: #fff;
|
||||
}*/
|
||||
.content .button + em {
|
||||
color: #9090aa;
|
||||
}
|
||||
@media (min-width: 1180px) /* Big desktop */ {
|
||||
body:not(.no-literate) .content-root {
|
||||
background-color: #f3f6fb;
|
||||
-webkit-box-shadow: inset 780px 0 #fff, inset 781px 0 #dfe2e7, inset 790px 0 5px -10px rgba(0,0,0,0.1);
|
||||
/* box-shadow: inset 780px 0 #fff, inset 781px 0 #dfe2e7, inset 790px 0 5px -10px rgba(0,0,0,0.1);*/
|
||||
box-shadow: inset 780px 0 #fff, inset 781px 0 #dfe2e7, inset 790px 0 5px -10px rgba(0,0,0,0.1);
|
||||
}
|
||||
}
|
||||
@media (min-width: 1180px) /* Big desktop */ {
|
||||
body:not(.no-literate) .content {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
width: 930px;
|
||||
max-width: none;
|
||||
}
|
||||
body:not(.no-literate) .content > p,
|
||||
body:not(.no-literate) .content > ul,
|
||||
body:not(.no-literate) .content > ol,
|
||||
body:not(.no-literate) .content > h1,
|
||||
body:not(.no-literate) .content > h2,
|
||||
body:not(.no-literate) .content > h3,
|
||||
body:not(.no-literate) .content > h4,
|
||||
body:not(.no-literate) .content > h5,
|
||||
body:not(.no-literate) .content > h6,
|
||||
body:not(.no-literate) .content > pre,
|
||||
body:not(.no-literate) .content > blockquote {
|
||||
width: 550px;
|
||||
word-wrap: break-word;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
padding-right: 40px;
|
||||
padding-left: 40px;
|
||||
}
|
||||
body:not(.no-literate) .content > h1,
|
||||
body:not(.no-literate) .content > h2,
|
||||
body:not(.no-literate) .content > h3 {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
}
|
||||
body:not(.no-literate) .content > pre,
|
||||
body:not(.no-literate) .content > blockquote {
|
||||
width: 380px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
float: right;
|
||||
clear: right;
|
||||
}
|
||||
body:not(.no-literate) .content > pre + p,
|
||||
body:not(.no-literate) .content > blockquote + p,
|
||||
body:not(.no-literate) .content > pre + ul,
|
||||
body:not(.no-literate) .content > blockquote + ul,
|
||||
body:not(.no-literate) .content > pre + ol,
|
||||
body:not(.no-literate) .content > blockquote + ol,
|
||||
body:not(.no-literate) .content > pre + h4,
|
||||
body:not(.no-literate) .content > blockquote + h4,
|
||||
body:not(.no-literate) .content > pre + h5,
|
||||
body:not(.no-literate) .content > blockquote + h5,
|
||||
body:not(.no-literate) .content > pre + h6,
|
||||
body:not(.no-literate) .content > blockquote + h6 {
|
||||
clear: both;
|
||||
}
|
||||
body:not(.no-literate) .content > p,
|
||||
body:not(.no-literate) .content > ul,
|
||||
body:not(.no-literate) .content > ol,
|
||||
body:not(.no-literate) .content > h4,
|
||||
body:not(.no-literate) .content > h5,
|
||||
body:not(.no-literate) .content > h6 {
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
body:not(.no-literate) .content > h4,
|
||||
body:not(.no-literate) .content > h5,
|
||||
body:not(.no-literate) .content > .small-heading,
|
||||
body:not(.big-h3) body:not(.no-literate) .content > h3 {
|
||||
margin-left: 40px;
|
||||
width: 470px;
|
||||
margin-bottom: 3px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
body:not(.no-literate):not(.big-h3) .content > h3 {
|
||||
margin-left: 40px;
|
||||
width: 470px;
|
||||
margin-bottom: 3px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
/*.header {
|
||||
background: #f3f6fb;
|
||||
text-shadow: 0 1px 0 rgba(255,255,255,0.5);
|
||||
border-bottom: solid 1px #dfe2e7;
|
||||
padding: 15px 15px 15px 30px;
|
||||
zoom: 1;
|
||||
line-height: 20px;
|
||||
position: relative;
|
||||
}
|
||||
.header:before,
|
||||
.header:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
.header:after {
|
||||
clear: both;
|
||||
}
|
||||
.header .left {
|
||||
float: left;
|
||||
}
|
||||
.header .right {
|
||||
text-align: right;
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 15px;
|
||||
}
|
||||
.header .right iframe {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.header h1 {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
font-weight: bold;
|
||||
font-family: montserrat, sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
.header h1,
|
||||
.header h1 a,
|
||||
.header h1 a:visited {
|
||||
color: #9090aa;
|
||||
}
|
||||
.header h1 a:hover {
|
||||
color: #505050;
|
||||
}
|
||||
.header li a {
|
||||
font-size: 0.88em;
|
||||
color: #9090aa;
|
||||
display: block;
|
||||
}
|
||||
.header li a:hover {
|
||||
color: #3a3a44;
|
||||
}*/
|
||||
@media (min-width: 480px) /* Tablet & Desktop */ {
|
||||
.header h1 {
|
||||
float: left;
|
||||
}
|
||||
.header ul,
|
||||
.header li {
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
.header ul {
|
||||
margin-left: -15px;
|
||||
}
|
||||
.header h1 + ul {
|
||||
border-left: solid 1px #dfe2e7;
|
||||
margin-left: 15px;
|
||||
}
|
||||
.header li {
|
||||
border-left: solid 1px rgba(255,255,255,0.5);
|
||||
border-right: solid 1px #dfe2e7;
|
||||
}
|
||||
.header li:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
.header li a {
|
||||
padding: 0 15px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 480px) /* Mobile */ {
|
||||
.right {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.menubar {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
.menubar .section {
|
||||
padding: 30px 30px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.menubar .section + .section {
|
||||
border-top: solid 1px #dfe2e7;
|
||||
}
|
||||
.menubar .section.no-line {
|
||||
border-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
a.big.button {
|
||||
display: block;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
padding: 10px 20px;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
font-size: 1.1em;
|
||||
background: transparent;
|
||||
border: solid 3px #3a87ad;
|
||||
-webkit-border-radius: 30px;
|
||||
border-radius: 30px;
|
||||
font-family: montserrat, sans-serif;
|
||||
}
|
||||
a.big.button,
|
||||
a.big.button:visited {
|
||||
color: #3a87ad;
|
||||
text-decoration: none;
|
||||
}
|
||||
a.big.button:hover {
|
||||
background: #3a87ad;
|
||||
}
|
||||
a.big.button:hover,
|
||||
a.big.button:hover:visited {
|
||||
color: #fff;
|
||||
}
|
||||
@media (max-width: 480px) /* Mobile */ {
|
||||
.menubar {
|
||||
padding: 20px;
|
||||
border-bottom: solid 1px #dfe2e7;
|
||||
}
|
||||
}
|
||||
@media (max-width: 990px) /* Mobile and tablet */ {
|
||||
.menubar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media (min-width: 990px) /* Desktop */ {
|
||||
.content-root {
|
||||
padding-left: 230px;
|
||||
}
|
||||
.menubar {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 230px;
|
||||
border-right: solid 1px #dfe2e7;
|
||||
}
|
||||
.menubar.fixed {
|
||||
position: fixed;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.menubar.fixed {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.menubar.fixed::-webkit-scrollbar {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
.menubar.fixed::-webkit-scrollbar-thumb {
|
||||
background: #ddd;
|
||||
-webkit-border-radius: 8px;
|
||||
border-radius: 8px;
|
||||
border: solid 4px #fff;
|
||||
}
|
||||
.menubar.fixed:hover::-webkit-scrollbar-thumb {
|
||||
background: #999;
|
||||
-webkit-box-shadow: inset 2px 2px 3px rgba(0,0,0,0.2);
|
||||
box-shadow: inset 2px 2px 3px rgba(0,0,0,0.2);
|
||||
}
|
||||
}
|
||||
.menubar {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.menu ul.level-1 > li + li {
|
||||
margin-top: 20px;
|
||||
}
|
||||
.menu a {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
display: block;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px;
|
||||
margin-right: -30px;
|
||||
}
|
||||
.menu a,
|
||||
.menu a:visited {
|
||||
color: #3a87ad;
|
||||
}
|
||||
.menu a:hover {
|
||||
color: #228a8a;
|
||||
}
|
||||
.menu a.level-1 {
|
||||
font-family: montserrat, sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9em;
|
||||
font-weight: bold;
|
||||
}
|
||||
.menu a.level-1,
|
||||
.menu a.level-1:visited {
|
||||
/*color: #9090aa;*/
|
||||
}
|
||||
.menu a.level-1:hover {
|
||||
color: #565666;
|
||||
}
|
||||
.menu a.level-2 {
|
||||
font-weight: normal;
|
||||
}
|
||||
.menu a.level-3 {
|
||||
font-weight: normal;
|
||||
font-size: 0.9em;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.menu a.active {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
.menu a.active,
|
||||
.menu a.active:visited,
|
||||
.menu a.active:hover {
|
||||
color: #505050 !important;
|
||||
}
|
||||
.menu a.active:after {
|
||||
content: '';
|
||||
display: block;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 30px;
|
||||
width: 9px;
|
||||
height: 3px;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
background: #3a87ad;
|
||||
}
|
||||
code .string,
|
||||
code .number {
|
||||
color: #3ac;
|
||||
}
|
||||
code .init {
|
||||
color: #383;
|
||||
}
|
||||
code .keyword {
|
||||
font-weight: bold;
|
||||
}
|
||||
code .comment {
|
||||
color: #3ac;
|
||||
}
|
||||
.large-brief .content > h1:first-child + p,
|
||||
.content > p.brief {
|
||||
font-size: 1.3em;
|
||||
font-family: Open Sans, sans-serif;
|
||||
font-weight: 300;
|
||||
}
|
||||
.title-area {
|
||||
min-height: 100px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
text-align: center;
|
||||
border-bottom: solid 1px #dfe2e7;
|
||||
overflow: hidden;
|
||||
}
|
||||
.title-area > img.bg {
|
||||
z-index: 0;
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
.title-area > div {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user