[FEATURE] began making devportal offline-viable

This commit is contained in:
mDuo13
2014-11-21 16:00:42 -08:00
parent 86a58d4033
commit 5ce709051f
11 changed files with 70 additions and 65 deletions

19
LICENSE
View File

@@ -1,9 +1,26 @@
The Ripple Dev Portal and all its original contents are provided under the MIT License. Additional libraries and resources used by the Ripple Dev Portal are subject to their own licenses, as described below.
The MIT License (MIT) The MIT License (MIT)
Copyright (c) Ripple Dev Portal Copyright (c) 2014 Ripple Labs, Inc.
Flatdoc Copyright (c) 2013, 2014, Rico Sta. Cruz.
jQuery Copyright (c) 2005, 2014 jQuery Foundation and other contributors,
https://jquery.org/
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----
Fonts included in this site use the following licenses:
Montserrat: Copyright (c) 2011-2012, Julieta Ulanovsky (julieta.ulanovsky@gmail.com), with Reserved Font Names 'Montserrat'
Used under the SIL Open Font License, 1.1
http://scripts.sil.org/OFL
Open Sans: Digitized data copyright © 2010-2011, Google Corporation.
Used under the Apache License, version 2.0
http://www.apache.org/licenses/LICENSE-2.0.html

BIN
font/MontserratRegular.woff Normal file

Binary file not shown.

BIN
font/OpenSansBold.woff Normal file

Binary file not shown.

BIN
font/OpenSansLight.woff Normal file

Binary file not shown.

BIN
font/OpenSansNormal.woff Normal file

Binary file not shown.

Binary file not shown.

32
font/fonts.css Normal file
View File

@@ -0,0 +1,32 @@
@font-face {
font-family: "montserrat";
font-style: normal;
font-weight: 400;
src: local('Montserrat-Regular'), url(MontserratRegular.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url(OpenSansLight.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url(OpenSansNormal.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(OpenSansBold.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(OpenSansSemiboldItalic.woff) format('woff');
}

View File

@@ -10,9 +10,9 @@
<!-- favicon --> <!-- favicon -->
<link rel="icon" href="favicon.ico" type="image/x-icon"> <link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Flatdoc --> <!-- jQuery & Flatdoc -->
<script src="vendor/jquery-1.11.1.min.js"></script>
<script src="vendor/flatdoc/v/0.8.0/legacy.js"></script> <script src="vendor/flatdoc/v/0.8.0/legacy.js"></script>
<script src="vendor/flatdoc/v/0.8.0/flatdoc.js"></script> <script src="vendor/flatdoc/v/0.8.0/flatdoc.js"></script>
@@ -26,44 +26,17 @@
<script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script> <script src="vendor/flatdoc/v/0.8.0/theme-white/script.js"></script>
<!-- syntax highlighting --> <!-- syntax highlighting -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/docco.min.css"> <link rel="stylesheet" href="vendor/docco.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> <script src="vendor/highlight.min.js"></script>
<!-- Custom Stylesheets --> <!-- Custom Stylesheets -->
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css"> <link href="font/fonts.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:600italic,400,700,300" rel="stylesheet" type="text/css">
<link href="css/main.css" rel="stylesheet"> <link href="css/main.css" rel="stylesheet">
<link href="css/custom.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="shortcut icon" href="favicon.ico?v=2" type="image/x-icon">
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon"> <link rel="icon" href="favicon.ico?v=2" type="image/x-icon">
<!-- start Mixpanel -->
<script type="text/javascript">(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"===e.location.protocol?"https:":"http:")+'//cdn.mxpnl.com/libs/mixpanel-2.2.min.js';f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f);b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==
typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.track_charge people.clear_charges people.delete_user".split(" ");for(g=0;g<i.length;g++)f(c,i[g]);
b._i.push([a,e,d])};b.__SV=1.2}})(document,window.mixpanel||[]);
mixpanel.init("132d42885e094171f34467fc54da6fab");
</script>
<script>if (window.location.host == "dev.ripple.com") { mixpanel.track("rippled-apis"); }</script>
<!-- end Mixpanel -->
<!-- start google analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49188512-1', 'ripple.com');
ga('send', 'pageview');
</script>
<!-- end google analytics -->
<!-- syntax selection js --> <!-- syntax selection js -->
<script src="js/multicodetab.js"></script> <script src="js/multicodetab.js"></script>
@@ -131,11 +104,8 @@ mixpanel.init("132d42885e094171f34467fc54da6fab");
<li><a href="rest-api-tool.html">REST Tool</a></li> <li><a href="rest-api-tool.html">REST Tool</a></li>
</ul> </ul>
</li> </li>
<li><a href="https://github.com/ripple/ripple-dev-portal" title="GitHub">Source</a></li>
</ul> </ul>
<div class="right">
<!-- GitHub buttons -->
<iframe width="110" height="20" frameborder="0" src="vendor/ghbtn.html?user=ripple&amp;repo=ripple-dev-portal&amp;type=watch&amp;count=true" allowtransparency="true" scrolling="0"></iframe>
</div>
</div><!--/.nav-collapse --> </div><!--/.nav-collapse -->
</div> </div>
</div> </div>
@@ -200,36 +170,15 @@ mixpanel.init("132d42885e094171f34467fc54da6fab");
</div> </div>
<div class="col-md-2"> <div class="col-md-2">
<ul class="footer_links bounties"> <ul class="footer_links bounties">
<li><a href="https://www.bountysource.com/teams/ripple/bounties">Bounties</a> <li><a href="https://www.bountysource.com/teams/ripple/bounties">Bounties</a></li>
</li><li><a href="https://ripplelabs.atlassian.net/">Bug tracking</a> <li><a href="https://ripplelabs.atlassian.net/">Bug tracking</a></li>
</li><li><a href="guidelines.html">Brand guidelines</a> <li><a href="guidelines.html">Brand guidelines</a></li>
</li><li><a href="https://ripple.com/dev/blog/">Dev blog</a> <li><a href="https://ripple.com/dev/blog/">Dev blog</a></li>
</li><li><a href="https://ripple.com/forum/viewforum.php?f=2&amp;sid=c016bc6b934120b7117c0e136e74de98">Forums</a> <li><a href="https://ripple.com/forum/viewforum.php?f=2&amp;sid=c016bc6b934120b7117c0e136e74de98">Forums</a></li>
</li><li><a href="https://ripple.com/wiki/Main_Page">Wiki</a> <li><a href="https://ripple.com/wiki/Main_Page">Wiki</a></li>
</li></ul> </ul>
</div> </div>
<div class="col-md-4 mail_chimp">
<p>Join the mailing list!</p>
<label for="mce-EMAIL">Email address</label>
<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{clear:left; font:14px; }
</style>
<div id="mc_embed_signup">
<form action="//ripple.us4.list-manage.com/subscribe/post?u=245dbc1c47849f034390dc5bf&amp;id=4dfbe160d0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate="">
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="" required="">
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px; top: -50px;"><input type="text" name="b_245dbc1c47849f034390dc5bf_4dfbe160d0" tabindex="-1" value=""></div>
<input type="submit" value="Submit" name="subscribe" id="mc-embedded-subscribe" class="button btn btn-primary">
</form>
</div>
<!--End mc_embed_signup-->
</div>
</div> </div>
</div> </div>
</div> </div>

1
vendor/docco.min.css vendored Normal file
View File

@@ -0,0 +1 @@
.hljs{display:block;overflow-x:auto;padding:0.5em;color:#000;background:#f8f8ff;-webkit-text-size-adjust:none}.hljs-comment,.hljs-template_comment,.diff .hljs-header,.hljs-javadoc{color:#408080;font-style:italic}.hljs-keyword,.assignment,.hljs-literal,.css .rule .hljs-keyword,.hljs-winutils,.javascript .hljs-title,.lisp .hljs-title,.hljs-subst{color:#954121}.hljs-number,.hljs-hexcolor{color:#40a070}.hljs-string,.hljs-tag .hljs-value,.hljs-phpdoc,.hljs-dartdoc,.tex .hljs-formula{color:#219161}.hljs-title,.hljs-id{color:#19469d}.hljs-params{color:#00f}.javascript .hljs-title,.lisp .hljs-title,.hljs-subst{font-weight:normal}.hljs-class .hljs-title,.haskell .hljs-label,.tex .hljs-command{color:#458;font-weight:bold}.hljs-tag,.hljs-tag .hljs-title,.hljs-rules .hljs-property,.django .hljs-tag .hljs-keyword{color:#000080;font-weight:normal}.hljs-attribute,.hljs-variable,.instancevar,.lisp .hljs-body{color:#008080}.hljs-regexp{color:#b68}.hljs-class{color:#458;font-weight:bold}.hljs-symbol,.ruby .hljs-symbol .hljs-string,.ruby .hljs-symbol .hljs-keyword,.ruby .hljs-symbol .keymethods,.lisp .hljs-keyword,.tex .hljs-special,.input_number{color:#990073}.builtin,.constructor,.hljs-built_in,.lisp .hljs-title{color:#0086b3}.hljs-preprocessor,.hljs-pragma,.hljs-pi,.hljs-doctype,.hljs-shebang,.hljs-cdata{color:#999;font-weight:bold}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.diff .hljs-change{background:#0086b3}.hljs-chunk{color:#aaa}.tex .hljs-formula{opacity:0.5}

2
vendor/highlight.min.js vendored Normal file

File diff suppressed because one or more lines are too long

4
vendor/jquery-1.11.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long