From c9474d8269317aa493f2dbfdb30c28898e47924e Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Thu, 11 Sep 2014 11:52:03 -0700 Subject: [PATCH 1/3] [FIX] terms/conditions header+footer --- terms-conditions.html | 215 ++++++++++++++++++++++++++++-------------- 1 file changed, 143 insertions(+), 72 deletions(-) diff --git a/terms-conditions.html b/terms-conditions.html index bd28928468..4967b5826d 100644 --- a/terms-conditions.html +++ b/terms-conditions.html @@ -1,91 +1,92 @@ - - - - - - - - - Ripple Web Client - - - + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + - + + + + + + - + - - + + + + + + + +
+ +
-
- -
- + +
+
+

Terms and Conditions @@ -143,8 +144,78 @@ mixpanel.init("132d42885e094171f34467fc54da6fab");

+
+ + +
+ + + + + From 7c8d0396a6f855fb3b0a899f381a7ad422c54494 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Thu, 11 Sep 2014 11:58:13 -0700 Subject: [PATCH 2/3] [FIX] expandable code in compiled rippled-apis page; linebreaks in pre>code --- css/custom.css | 4 ++++ js/expandcode.js | 6 ++++-- rippled-apis.html | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/css/custom.css b/css/custom.css index f5fd902bb0..d351daeef2 100644 --- a/css/custom.css +++ b/css/custom.css @@ -54,6 +54,10 @@ body .content-root { margin-top: -50px; } +.content pre code { + white-space: pre; +} + .menubar { padding-top: 10px; } diff --git a/js/expandcode.js b/js/expandcode.js index c0999ee7f8..efaaea0492 100644 --- a/js/expandcode.js +++ b/js/expandcode.js @@ -1,6 +1,8 @@ -$(document).on('flatdoc:ready', function() { +function make_code_expandable() { $('code').dblclick(function(eo) { $(eo.target).toggleClass('expanded'); }); $('code').attr('title', 'Double-click to expand/collapse'); -}); +} + +$(document).on('flatdoc:ready', make_code_expandable); diff --git a/rippled-apis.html b/rippled-apis.html index 2ccdb64f93..6603e9c4c8 100644 --- a/rippled-apis.html +++ b/rippled-apis.html @@ -77,8 +77,10 @@ mixpanel.init("132d42885e094171f34467fc54da6fab"); + From dde19e042dd1b045784e85bb5d28487abcc78d14 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Thu, 11 Sep 2014 11:59:49 -0700 Subject: [PATCH 3/3] [FIX] tracking for terms-conditions --- terms-conditions.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terms-conditions.html b/terms-conditions.html index 4967b5826d..9f6c34f827 100644 --- a/terms-conditions.html +++ b/terms-conditions.html @@ -36,7 +36,7 @@ b._i.push([a,e,d])};b.__SV=1.2}})(document,window.mixpanel||[]); mixpanel.init("132d42885e094171f34467fc54da6fab"); - +