Last active
January 6, 2017 06:10
-
-
Save signalpoint/10896ce4917c3668625e to your computer and use it in GitHub Desktop.
Revisions
-
signalpoint revised this gist
Jan 6, 2017 . 4 changed files with 10 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,7 @@ scp jdrupal-web.zip [email protected]:~/www/jdrupal/ rm jdrupal-web.zip echo "unzipping remote files..." ssh [email protected] 'bash -s' < remote-unzip echo "adjusting permissions..." ssh [email protected] 'bash -s' < remote-permissions echo "done." This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,14 +19,14 @@ echo "Generating jDrupal 7 api... " ./node_modules/.bin/jsdoc -c 7/jDrupal/jsdoc/conf.json -r mv out/ 7/ cd 7 echo "<?php header('Location: http://jdrupal.tylerfrankenstein.com/7/docs'); ?>" > index.php mv out api cd .. echo "generating jDrupal 8 api... " ./node_modules/.bin/jsdoc -c 8/jDrupal/jsdoc/conf.json -r mv out/ 8/ cd 8 echo "<?php header('Location: http://jdrupal.tylerfrankenstein.com/8/docs'); ?>" > index.php mv out api echo "all done." This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ npm install jsdoc echo "Installing jDrupal 7" mkdir 7 cd 7 git clone --branch 7.x-1.x [email protected]:signalpoint/jDrupal.git git clone --branch development [email protected]:signalpoint/daux.io.git mv daux.io docs cd docs @@ -17,7 +17,7 @@ cd ../.. echo "Installing jDrupal 8" mkdir 8 cd 8 git clone --branch 8.x-1.x [email protected]:signalpoint/jDrupal.git git clone --branch development [email protected]:signalpoint/daux.io.git mv daux.io docs cd docs This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ cd ~/www chmod g-w -R jdrupal -
signalpoint revised this gist
Jan 6, 2017 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ <h2>Application Development Tools for Drupal</h2> <p class="lead">A simple Vanilla JS Library and API</p> <p> <a class="btn btn-primary" href="https://drupal.org/project/jdrupal" role="button">Drupal Module »</a> <a class="btn btn-default" href="https://github.com/signalpoint/jDrupal" role="button">GitHub Project »</a> </p> </div> </div> @@ -67,7 +67,7 @@ <h2>Drupal 8 REST</h2> <li class="list-group-item">Views Integration</li> </ul> <p> <a class="btn btn-success" href="https://raw.githubusercontent.com/signalpoint/jDrupal/8.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 8 Minified">jdrupal-8.min.js »</a> </p> </div> @@ -80,8 +80,8 @@ <h2>Drupal 7 Services</h2> <li class="list-group-item">Views Integration</li> </ul> <p> <a class="btn btn-warning" href="https://raw.githubusercontent.com/signalpoint/jDrupal/7.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 7 Minified">jdrupal-7.min.js »</a> <a class="btn btn-danger" href="https://raw.githubusercontent.com/signalpoint/jDrupal/7.x-1.x/jdrupal.js" role="button" title="Download jDrupal 7">jdrupal-7.js »</a> </p> </div> @@ -174,10 +174,10 @@ <h3>Getting Started</h3> <div class="navbar"> <ul class="nav navbar-nav navbar-nav"> <li><a href="https://drupal.org/project/jdrupal">Drupal Module</a></li> <li><a href="https://github.com/signalpoint/jDrupal">GitHub Project</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <li><a href="https://github.com/signalpoint/jDrupal/issues">Support</a></li> <li><a href="http://drupal.stackexchange.com/questions/ask">Ask a Question</a></li> </ul> </div> @@ -201,7 +201,7 @@ <h3>Getting Started</h3> } // var req = new XMLHttpRequest(); // req.open('GET', 'https://api.github.com/repos/signalpoint/jDrupal'); // req.onload = function() { // if (req.status == 200) { // console.log(req); -
signalpoint revised this gist
Jan 6, 2017 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,12 @@ #!/bin/bash echo "Clearing remote web server..." ssh tylerfra@tylerfrankenstein.com 'bash -s' < remote-clear echo "zipping up local files..." zip jdrupal-web.zip `find index.html 7/ 8/ -not -iwholename '*.git*' -print` echo "deploying..." scp jdrupal-web.zip tylerfra@tylerfrankenstein.com:~/www/jdrupal/ rm jdrupal-web.zip echo "unzipping remote files..." ssh tylerfra@tylerfrankenstein.com 'bash -s' < remote-unzip echo "done." -
signalpoint revised this gist
Jan 6, 2017 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -68,7 +68,6 @@ <h2>Drupal 8 REST</h2> </ul> <p> <a class="btn btn-success" href="https://raw.githubusercontent.com/easystreet3/jDrupal/8.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 8 Minified">jdrupal-8.min.js »</a> </p> </div> -
signalpoint revised this gist
Apr 8, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Application Development Tools for Drupal | jDrupal</title> <meta name="description" content="Drupal 8 JavaScript library and API for app development." /> <!-- Bootstrap --> <!-- Latest compiled and minified CSS --> -
signalpoint revised this gist
Feb 3, 2016 . 1 changed file with 11 additions and 13 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -67,12 +67,8 @@ <h2>Drupal 8 REST</h2> <li class="list-group-item">Views Integration</li> </ul> <p> <a class="btn btn-success" href="https://raw.githubusercontent.com/easystreet3/jDrupal/8.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 8 Minified">jdrupal-8.min.js »</a> <a class="btn btn-info" href="https://raw.githubusercontent.com/easystreet3/jDrupal/8.x-1.x/jdrupal.js" role="button" title="Download jDrupal 8">jdrupal-8.js »</a> </p> </div> @@ -195,13 +191,15 @@ <h3>Getting Started</h3> <!-- Include all compiled plugins (below), or include individual files as needed --> <script> if (window.location.toString().indexOf('localhost') == -1) { (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-36188740-5', 'auto'); ga('send', 'pageview'); } // var req = new XMLHttpRequest(); // req.open('GET', 'https://api.github.com/repos/easystreet3/jDrupal'); -
signalpoint revised this gist
Jan 25, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,12 +19,14 @@ echo "Generating jDrupal 7 api... " ./node_modules/.bin/jsdoc -c 7/jDrupal/jsdoc/conf.json -r mv out/ 7/ cd 7 echo "<?php header('Location: http://jdrupal.easystreet3.com/7/docs'); ?>" >> index.php mv out api cd .. echo "generating jDrupal 8 api... " ./node_modules/.bin/jsdoc -c 8/jDrupal/jsdoc/conf.json -r mv out/ 8/ cd 8 echo "<?php header('Location: http://jdrupal.easystreet3.com/8/docs'); ?>" >> index.php mv out api echo "all done." -
signalpoint revised this gist
Jan 24, 2016 . 1 changed file with 20 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -67,8 +67,12 @@ <h2>Drupal 8 REST</h2> <li class="list-group-item">Views Integration</li> </ul> <p> <a class="btn btn-success" href="https://raw.githubusercontent.com/easystreet3/jDrupal/8.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 8 Minified">jdrupal-8.0.0min.js »</a> <a class="btn btn-info" href="https://raw.githubusercontent.com/easystreet3/jDrupal/8.x-1.x/jdrupal.js" role="button" title="Download jDrupal 8">jdrupal-8.0.0.js »</a> </p> <p> <a href="https://raw.githubusercontent.com/easystreet3/jDrupal/8.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 8 Minified">jdrupal.min.js »</a> <a href="https://raw.githubusercontent.com/easystreet3/jDrupal/8.x-1.x/jdrupal.js" role="button" title="Download jDrupal 8">jdrupal.js »</a> </p> </div> @@ -94,7 +98,7 @@ <h2>Drupal 7 Services</h2> <div class="container"> <div class="row"> <blockquote style="border-left-color: #286090;">jDrupal...</blockquote> <ul class="list-group"> <li class="list-group-item"> solves many common development needs for Drupal based applications.</li> @@ -111,7 +115,8 @@ <h3>Quick Examples for Drupal 8</h3> </p> <pre>// Connect to Drupal and say hello to the current user. jDrupal.connect().then(function() { var user = jDrupal.currentUser(); var msg = user.isAuthenticated() ? 'Hello ' + user.getAccountName() : 'Hello World'; alert(msg); });</pre> @@ -160,7 +165,7 @@ <h3>Quick Examples for Drupal 7</h3> });</pre> <h3>Getting Started</h3> <p>For complete details, refer to the docs for <a href="8/docs">jDrupal 8</a> or <a href="7/docs">jDrupal 7</a>.</p> <div class="alert alert-success" role="alert"> jDrupal is best friends with <a href="http://drupalgap.org">DrupalGap</a>, the open source application development kit for Drupal websites. </div> @@ -198,6 +203,16 @@ <h3>Getting Started</h3> ga('create', 'UA-36188740-5', 'auto'); ga('send', 'pageview'); // var req = new XMLHttpRequest(); // req.open('GET', 'https://api.github.com/repos/easystreet3/jDrupal'); // req.onload = function() { // if (req.status == 200) { // console.log(req); // } // }; // req.onerror = function() {}; // req.send(); </script> </body> -
signalpoint revised this gist
Jan 24, 2016 . 1 changed file with 3 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,7 @@ #!/bin/bash # Generates api docs for jDrupal 7 and 8. if [ -d "out" ] then rm -rf out @@ -23,14 +15,14 @@ if [ -d "8/api" ] rm -rf 8/api fi echo "Generating jDrupal 7 api... " ./node_modules/.bin/jsdoc -c 7/jDrupal/jsdoc/conf.json -r mv out/ 7/ cd 7 mv out api cd .. echo "generating jDrupal 8 api... " ./node_modules/.bin/jsdoc -c 8/jDrupal/jsdoc/conf.json -r mv out/ 8/ cd 8 -
signalpoint revised this gist
Jan 22, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -68,7 +68,7 @@ <h2>Drupal 8 REST</h2> </ul> <p> <a class="btn btn-success" href="https://raw.githubusercontent.com/easystreet3/jDrupal/8.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 8 Minified">jdrupal-8.min.js »</a> <a class="btn btn-info" href="https://raw.githubusercontent.com/easystreet3/jDrupal/8.x-1.x/jdrupal.js" role="button" title="Download jDrupal 8">jdrupal-8.js »</a> </p> </div> @@ -82,7 +82,7 @@ <h2>Drupal 7 Services</h2> </ul> <p> <a class="btn btn-warning" href="https://raw.githubusercontent.com/easystreet3/jDrupal/7.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 7 Minified">jdrupal-7.min.js »</a> <a class="btn btn-danger" href="https://raw.githubusercontent.com/easystreet3/jDrupal/7.x-1.x/jdrupal.js" role="button" title="Download jDrupal 7">jdrupal-7.js »</a> </p> </div> -
signalpoint revised this gist
Jan 22, 2016 . 2 changed files with 24 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ #!/bin/bash clear echo "==== JDRUPAL WEB ====" git push origin master echo "==== JDRUPAL 8 ====" cd 8/jDrupal git push origin 8.x-1.x echo "==== JDRUPAL 8 DOCS ====" cd ../docs git push origin development cd ../.. echo "==== JDRUPAL 7 ====" cd 7/jDrupal git push origin 7.x-1.x echo "==== JDRUPAL 7 DOCS ====" cd ../docs git push origin development This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,9 +14,9 @@ git status cd ../.. echo "==== JDRUPAL 7 ====" cd 7/jDrupal git status echo "==== JDRUPAL 7 DOCS ====" cd ../docs git status -
signalpoint revised this gist
Jan 22, 2016 . 1 changed file with 45 additions and 21 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,8 +34,7 @@ <h2>Application Development Tools for Drupal</h2> <p class="lead">A simple Vanilla JS Library and API</p> <p> <a class="btn btn-primary" href="https://drupal.org/project/jdrupal" role="button">Drupal Module »</a> <a class="btn btn-default" href="https://github.com/easystreet3/jDrupal" role="button">GitHub Project »</a> </p> </div> </div> @@ -45,7 +44,6 @@ <h2>Application Development Tools for Drupal</h2> <div class="container"> <div class="jumbotron"> <div class="container"> <div class="row"> @@ -58,7 +56,6 @@ <h2>Types of Apps</h2> <li class="list-group-item">Headless Drupal / Decoupled Drupal</li> <li class="list-group-item"><a href="http://phonegap.com">PhoneGap</a> (<a href="https://cordova.apache.org/">Cordova</a>)</li> </ul> </div> <div class="col-lg-4"> @@ -70,9 +67,8 @@ <h2>Drupal 8 REST</h2> <li class="list-group-item">Views Integration</li> </ul> <p> <a class="btn btn-success" href="https://raw.githubusercontent.com/easystreet3/jDrupal/8.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 8 Minified">jdrupal-8.min.js »</a> <a class="btn btn-info" href="https://raw.githubusercontent.com/easystreet3/jDrupal/8.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 8">jdrupal-8.js »</a> </p> </div> @@ -85,9 +81,8 @@ <h2>Drupal 7 Services</h2> <li class="list-group-item">Views Integration</li> </ul> <p> <a class="btn btn-warning" href="https://raw.githubusercontent.com/easystreet3/jDrupal/7.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 7 Minified">jdrupal-7.min.js »</a> <a class="btn btn-danger" href="https://raw.githubusercontent.com/easystreet3/jDrupal/7.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 7">jdrupal-7.js »</a> </p> </div> @@ -99,20 +94,21 @@ <h2>Drupal 7 Services</h2> <div class="container"> <div class="row"> <blockquote>jDrupal...</blockquote> <ul class="list-group"> <li class="list-group-item"> solves many common development needs for Drupal based applications.</li> <li class="list-group-item"> provides a familiar Drupal coding experience and syntax for developers.</li> <li class="list-group-item"> runs alongside any frontend client side framework, or with no framework at all.</li> <li class="list-group-item"> utilizes JavaScript prototypes and promises.</li> </ul> <h3>Quick Examples for Drupal 8</h3> <p> <a class="btn btn-success" href="8/docs/Hello_World" role="button">Hello World »</a> <a class="btn btn-info" href="8/docs" role="button" title="View jDrupal 8 Documentation">Docs »</a> <a class="btn btn-default" href="8/api" role="button" title="View the jDrupal 8 API">API »</a> </p> <pre>// Connect to Drupal and say hello to the current user. jDrupal.connect().then(function() { var msg = jDrupal.currentUser().isAuthenticated() ? @@ -136,10 +132,38 @@ <h2>Drupal 7 Services</h2> } });</pre> <h3>Quick Examples for Drupal 7</h3> <p> <a class="btn btn-warning" href="7/docs/Hello_World" role="button">Hello World »</a> <a class="btn btn-danger" href="7/docs" role="button" title="View jDrupal 7 Documentation">Docs »</a> <a class="btn btn-default" href="7/api" role="button" title="View the jDrupal 7 API">API »</a> </p> <pre>// Connect to Drupal and say hello to the current user. system_connect({ success: function(result) { var msg = Drupal.user.uid == 0 ? 'Hello World' : 'Hello ' + Drupal.user.name; alert(msg); } });</pre> <pre>// Load a node and display the title. node_load(123, { success: function(node) { alert(node.title); } });</pre> <pre>// Login and show the user their id. user_login("bob", "secret", { success: function(result) { alert(Drupal.user.id); } });</pre> <h3>Getting Started</h3> <pre><script src="jdrupal.min.js" /></pre> <div class="alert alert-success" role="alert"> jDrupal is best friends with <a href="http://drupalgap.org">DrupalGap</a>, the open source application development kit for Drupal websites. </div> </div> </div> -
signalpoint revised this gist
Jan 22, 2016 . 1 changed file with 22 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ #!/bin/bash clear echo "==== JDRUPAL WEB ====" git status echo "==== JDRUPAL 8 ====" cd 8/jDrupal git status echo "==== JDRUPAL 8 DOCS ====" cd ../docs git status cd ../.. echo "==== JDRUPAL 8 ====" cd 7/jDrupal git status echo "==== JDRUPAL 7 ====" cd ../docs git status -
signalpoint revised this gist
Jan 22, 2016 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ .idea 7 8 node_modules -
signalpoint revised this gist
Jan 22, 2016 . 6 changed files with 53 additions and 22 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #!/bin/bash echo "Clearing remote web server..." ssh [email protected] 'bash -s' < remote-clear echo "zipping up local files..." zip jdrupal-web.zip `find index.html 7/ 8/ -not -iwholename '*.git*' -print` echo "deploying..." scp jdrupal-web.zip [email protected]:~/www/jdrupal/ rm jdrupal-web.zip echo "unzipping remote files..." ssh [email protected] 'bash -s' < remote-unzip echo "done." This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,17 +14,25 @@ if [ -d "out" ] then rm -rf out fi if [ -d "7/api" ] then rm -rf 7/api fi if [ -d "8/api" ] then rm -rf 8/api fi echo "Generating jDrupal 7 documentation... " ./node_modules/.bin/jsdoc -c 7/jDrupal/jsdoc/conf.json -r mv out/ 7/ cd 7 mv out api cd .. echo "generating jDrupal 8 documentation... " ./node_modules/.bin/jsdoc -c 8/jDrupal/jsdoc/conf.json -r mv out/ 8/ cd 8 mv out api echo "all done." This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,8 @@ #!/bin/bash echo "Installing jsdoc" npm install jsdoc echo "Installing jDrupal 7" mkdir 7 cd 7 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ #!/bin/bash cd www rm -rf jdrupal mkdir jdrupal This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ #!/bin/bash echo "Have a remote message" cd www/jdrupal unzip jdrupal-web.zip rm jdrupal-web.zip cd 7/docs rm -rf docs ln -s ~/www/jdrupal/7/jDrupal/docs docs cd ../../8/docs rm -rf docs ln -s ~/www/jdrupal/8/jDrupal/docs docs This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +0,0 @@ -
signalpoint revised this gist
Jan 22, 2016 . 3 changed files with 21 additions and 4 deletions.There are no files selected for viewing
File renamed without changes.This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ #!/bin/bash echo "Installing jDrupal 7" mkdir 7 cd 7 git clone --branch 7.x-1.x [email protected]:easystreet3/jDrupal.git git clone --branch development [email protected]:signalpoint/daux.io.git mv daux.io docs cd docs ln -s ../jDrupal/docs docs cd ../.. echo "Installing jDrupal 8" mkdir 8 cd 8 git clone --branch 8.x-1.x [email protected]:easystreet3/jDrupal.git git clone --branch development [email protected]:signalpoint/daux.io.git mv daux.io docs cd docs ln -s ../jDrupal/docs docs This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,5 @@ #!/bin/bash git pull origin master cd 8/jDrupal git pull origin 8.x-1.x -
signalpoint revised this gist
Jan 22, 2016 . 3 changed files with 45 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ #!/bin/bash # Generates api docs for jDrupal 7 and 8 and uploads them to the web server. # How to run this script: # cd /var/www/html/ # mkdir jsdoc # cd jsdoc # npm install jsdoc # ./../jdrupal.easystreet3.com/generate_api.sh # Create the drupalgap_backups directory if it doesn't already exit. if [ -d "out" ] then rm -rf out fi echo "Generating jDrupal 7 documentation... " ./node_modules/.bin/jsdoc -c /var/www/html/jdrupal.easystreet3.com/7/jDrupal/jsdoc/conf.json -r mv out out7 echo "generating jDrupal 8 documentation... " ./node_modules/.bin/jsdoc -c /var/www/html/jdrupal.easystreet3.com/8/jDrupal/jsdoc/conf.json -r mv out out8 echo "uploading jDrupal 7 documentation... " scp -r out7 [email protected]:~/www/jdrupal/7/ echo "uploading jDrupal 8 documentation... " scp -r out8 [email protected]:~/www/jdrupal/8/ rm -rf out7 out8 echo "running remote script on jdrupal.easystreet3.com to update apis... " ssh [email protected] 'bash -s' < ../jdrupal.easystreet3.com/update_api_docs.sh echo "all done." This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,9 @@ #!/bin/bash # run this on easy street3.com to update the jDrupal front page and docs for 7 and 8. # cd ~/www/jDrupal # ./update git pull origin master cd 8/jDrupal git pull origin 8.x-1.x @@ -9,4 +13,3 @@ cd ../../7/jDrupal git pull origin 7.x-1.x cd ../docs git pull origin development This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ #!/bin/bash # This is a remote script buddy for generating the api, so instead run this other script locally: # ./../jdrupal.easystreet3.com/generate_api.sh cd /home/easystre/www/jdrupal/7 rm -rf api mv out7 api cd /home/easystre/www/jdrupal/8 rm -rf api mv out8 api -
signalpoint renamed this gist
Jan 21, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
signalpoint revised this gist
Jan 21, 2016 . 1 changed file with 12 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #!/bin/bash git pull origin master cd 8/jDrupal git pull origin 8.x-1.x cd ../docs git pull origin development cd ../../7/jDrupal git pull origin 7.x-1.x cd ../docs git pull origin development -
signalpoint revised this gist
Jan 21, 2016 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -65,8 +65,8 @@ <h2>Types of Apps</h2> <h2>Drupal 8 REST</h2> <ul class="list-group"> <li class="list-group-item">Connect</li> <li class="list-group-item">User Login / Logout & Account Load</li> <li class="list-group-item">Create, Retrieve, Update & Delete Nodes</li> <li class="list-group-item">Views Integration</li> </ul> <p> @@ -85,7 +85,7 @@ <h2>Drupal 7 Services</h2> <li class="list-group-item">Views Integration</li> </ul> <p> <a class="btn btn-success" href="https://raw.githubusercontent.com/easystreet3/jDrupal/7.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 7">Download »</a> <a class="btn btn-info" href="7/docs" role="button" title="View jDrupal 7 Documentation">Docs »</a> <a class="btn btn-danger" href="7/api" role="button" title="View the jDrupal 7 API">API »</a> </p> -
signalpoint revised this gist
Jan 21, 2016 . 1 changed file with 7 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -35,6 +35,7 @@ <h2>Application Development Tools for Drupal</h2> <p> <a class="btn btn-primary" href="https://drupal.org/project/jdrupal" role="button">Drupal Module »</a> <a class="btn btn-warning" href="https://github.com/easystreet3/jDrupal" role="button">GitHub Project »</a> <a class="btn btn-success" href="8/docs/Hello_World" role="button">Hello World »</a> </p> </div> </div> @@ -45,6 +46,7 @@ <h2>Application Development Tools for Drupal</h2> <div class="container"> <!-- Example row of columns --> <div class="jumbotron"> <div class="container"> <div class="row"> @@ -64,7 +66,7 @@ <h2>Drupal 8 REST</h2> <ul class="list-group"> <li class="list-group-item">Connect</li> <li class="list-group-item">User Login, Logout</li> <li class="list-group-item">Create, Retrieve, Update & Delete Entities</li> <li class="list-group-item">Views Integration</li> </ul> <p> @@ -78,7 +80,7 @@ <h2>Drupal 8 REST</h2> <h2>Drupal 7 Services</h2> <ul class="list-group"> <li class="list-group-item">User Login, Logout and Registration</li> <li class="list-group-item">Create, Retrieve, Update & Delete Entities</li> <li class="list-group-item">Supports Core Entity Types</li> <li class="list-group-item">Views Integration</li> </ul> @@ -89,16 +91,13 @@ <h2>Drupal 7 Services</h2> </p> </div> </div> </div> </div> <div class="container"> <div class="row"> <div class="alert alert-success" role="alert"> <strong>jDrupal...</strong> @@ -138,10 +137,10 @@ <h2>Drupal 7 Services</h2> });</pre> <p> <a class="btn btn-info btn-lg" href="8/docs/Examples" role="button">More Examples »</a> </p> <blockquote>jDrupal is best friends with <a href="http://drupalgap.org">DrupalGap</a>, the open source application development kit for Drupal websites.</blockquote> </div> </div> -
signalpoint revised this gist
Jan 21, 2016 . 1 changed file with 39 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,8 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Application Development Tools for Drupal | jDrupal</title> <meta name="description" content="An open source JavaScript library and API for Drupal application development." /> <!-- Bootstrap --> <!-- Latest compiled and minified CSS --> @@ -14,13 +15,22 @@ </head> <body> <nav class="navbar navbar-inverse"> <div class="container"> <div class="navbar-header"> <a class="navbar-brand" href="#">jDrupal</a> </div> <ul class="nav navbar-nav navbar-right"> <li><a href="http://drupalgap.org">Best Friends with DrupalGap</a></li> </ul> </div> </nav> <div class="container" style="margin-top: 1em;"> <div class="panel panel-default"> <div class="panel-body"> <h2>Application Development Tools for Drupal</h2> <p class="lead">A simple Vanilla JS Library and API</p> <p> <a class="btn btn-primary" href="https://drupal.org/project/jdrupal" role="button">Drupal Module »</a> @@ -31,9 +41,10 @@ <h2>JavaScript for Drupal Application Developers</h2> </div> <div class="container"> <!-- Example row of columns --> <div class="container"> <div class="row"> @@ -45,7 +56,7 @@ <h2>Types of Apps</h2> <li class="list-group-item">Headless Drupal / Decoupled Drupal</li> <li class="list-group-item"><a href="http://phonegap.com">PhoneGap</a> (<a href="https://cordova.apache.org/">Cordova</a>)</li> </ul> <a class="btn btn-default" href="#examples" role="button" title="Download jDrupal 8">See some example code »</a> </div> <div class="col-lg-4"> @@ -88,7 +99,21 @@ <h2>Drupal 7 Services</h2> </div> <div class="container"> <div class="alert alert-success" role="alert"> <strong>jDrupal...</strong> </div> <ul class="list-group"> <li class="list-group-item"> solves many common development needs for Drupal based applications.</li> <li class="list-group-item"> provides a familiar Drupal coding experience and syntax for developers.</li> <li class="list-group-item"> runs alongside any frontend, client side framework, or with no framework at all.</li> <li class="list-group-item"> utilizes JavaScript prototypes and promises.</li> </ul> <a name="examples"></a><h4>Quick Examples for Drupal 8</h4> <pre>// Connect to Drupal and say hello to the current user. jDrupal.connect().then(function() { var msg = jDrupal.currentUser().isAuthenticated() ? @@ -99,7 +124,7 @@ <h2>Drupal 7 Services</h2> jDrupal.nodeLoad(123).then(function(node) { alert(node.getTitle()); });</pre> <pre>// Login and show the user their id. jDrupal.userLogin('bob', 'secret').then(function() { alert(jDrupal.currentUser().id()); });</pre> @@ -111,10 +136,12 @@ <h2>Drupal 7 Services</h2> console.log('node id: ' + node.id()); } });</pre> <p> <a class="btn btn-primary btn-lg" href="8/docs/Hello_World" role="button">Hello World »</a> <a class="btn btn-info btn-lg" href="8/docs/Examples" role="button">More Examples »</a> </p> <blockquote>jDrupal is best friends with <a href="http://drupalgap.org">DrupalGap</a>, the open source application development kit for Drupal websites.</blockquote> </div> @@ -123,12 +150,12 @@ <h2>Drupal 7 Services</h2> <footer class="footer"> <div class="navbar"> <ul class="nav navbar-nav navbar-nav"> <li><a href="https://drupal.org/project/jdrupal">Drupal Module</a></li> <li><a href="https://github.com/easystreet3/jDrupal">GitHub Project</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <li><a href="https://github.com/easystreet3/jDrupal/issues">Support</a></li> <li><a href="http://drupal.stackexchange.com/questions/ask">Ask a Question</a></li> </ul> </div> </footer> -
signalpoint revised this gist
Jan 21, 2016 . 1 changed file with 109 additions and 59 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,100 +5,150 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>JavaScript for Drupal Application Developers | jDrupal</title> <!-- Bootstrap --> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> </head> <body> <div class="container" style="margin-top: 1em;"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">jDrupal</h3> </div> <div class="panel-body"> <h2>JavaScript for Drupal Application Developers</h2> <p class="lead">A simple Vanilla JS Library and API</p> <p> <a class="btn btn-primary" href="https://drupal.org/project/jdrupal" role="button">Drupal Module »</a> <a class="btn btn-warning" href="https://github.com/easystreet3/jDrupal" role="button">GitHub Project »</a> </p> </div> </div> </div> <div class="container"> <!-- Example row of columns --> <div class="container"> <div class="row"> <div class="col-lg-4"> <h2>Types of Apps</h2> <ul class="list-group"> <li class="list-group-item">Mobile Applications (Android, iOS, etc)</li> <li class="list-group-item">Web Applications</li> <li class="list-group-item">Headless Drupal / Decoupled Drupal</li> <li class="list-group-item"><a href="http://phonegap.com">PhoneGap</a> (<a href="https://cordova.apache.org/">Cordova</a>)</li> </ul> <a class="btn btn-default" href="#example" role="button" title="Download jDrupal 8">See example code »</a> </div> <div class="col-lg-4"> <h2>Drupal 8 REST</h2> <ul class="list-group"> <li class="list-group-item">Connect</li> <li class="list-group-item">User Login, Logout</li> <li class="list-group-item">Easily Create, Retrieve, Update & Delete Entities</li> <li class="list-group-item">Views Integration</li> </ul> <p> <a class="btn btn-success" href="https://raw.githubusercontent.com/easystreet3/jDrupal/8.x-1.x/jdrupal.min.js" role="button" title="Download jDrupal 8">Download »</a> <a class="btn btn-info" href="8/docs" role="button" title="View jDrupal 8 Documentation">Docs »</a> <a class="btn btn-danger" href="8/api" role="button" title="View the jDrupal 8 API">API »</a> </p> </div> <div class="col-lg-4"> <h2>Drupal 7 Services</h2> <ul class="list-group"> <li class="list-group-item">User Login, Logout and Registration</li> <li class="list-group-item">Easily Create, Retrieve, Update & Delete Entities</li> <li class="list-group-item">Supports Core Entity Types</li> <li class="list-group-item">Views Integration</li> </ul> <p> <a class="btn btn-success" href="https://raw.githubusercontent.com/easystreet3/jDrupal/7.x-1.x/bin/jdrupal.min.js" role="button" title="Download jDrupal 7">Download »</a> <a class="btn btn-info" href="7/docs" role="button" title="View jDrupal 7 Documentation">Docs »</a> <a class="btn btn-danger" href="7/api" role="button" title="View the jDrupal 7 API">API »</a> </p> </div> <div class="jumbotron"> <div class="container"> </div> </div> </div> </div> <div class="container"> <a name="example"></a><h4>Quick Examples for Drupal 8</h4> <pre>// Connect to Drupal and say hello to the current user. jDrupal.connect().then(function() { var msg = jDrupal.currentUser().isAuthenticated() ? 'Hello ' + user.getAccountName() : 'Hello World'; alert(msg); });</pre> <pre>// Load a node and display the title. jDrupal.nodeLoad(123).then(function(node) { alert(node.getTitle()); });</pre> <pre>// Login and show the user their user id. jDrupal.userLogin('bob', 'secret').then(function() { alert(jDrupal.currentUser().id()); });</pre> <pre>// Get results from a view and print the node ids to the console. jDrupal.viewsLoad('my-view-url').then(function(view) { var results = view.getResults(); for (var i = 0; i < results.length; i ++) { var node = new jDrupal.Node(results[i]); console.log('node id: ' + node.id()); } });</pre> <p> <a class="btn btn-primary btn-lg" href="8/docs/Hello_World" role="button">Hello World »</a> <a class="btn btn-info btn-lg" href="8/docs/Examples" role="button">More Examples »</a> </p> </div> <!-- Site footer --> <footer class="footer"> <div class="navbar"> <ul class="nav navbar-nav navbar-nav"> <li><a href="https://drupal.org/project/jdrupal">Drupal module</a></li> <li><a href="https://github.com/easystreet3/jDrupal">GitHub project</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <li><a href="https://github.com/easystreet3/jDrupal/issues">Support</a></li> <li><a href="http://drupal.stackexchange.com/questions/ask">Ask a question</a></li> </ul> </div> </footer> </div> <!-- /container --> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>--> <!-- Include all compiled plugins (below), or include individual files as needed --> <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-36188740-5', 'auto'); ga('send', 'pageview'); </script> </body> </html> -
signalpoint revised this gist
Dec 5, 2015 . 1 changed file with 41 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Drupal 8 REST JavaScript Library and API</title> <!-- Bootstrap --> <link href="bootstrap.min.css" rel="stylesheet"> @@ -28,41 +28,66 @@ <h3 class="text-muted">jDrupal</h3> <nav> <ul class="nav nav-justified"> <li class="active"><a href="#">Home</a></li> <li><a href="8">D8</a></li> <li><a href="7">D7</a></li> </ul> </nav> </div> <!-- Jumbotron --> <div class="jumbotron"> <h1>Drupal REST JavaScript API</h1> <p class="lead">A simple JavaScript Library for communicating with Drupal 8 REST.</p> </div> <!-- Example row of columns --> <div class="row"> <div class="col-lg-4"> <h2>Examples</h2> <h3>Load a Node</h3> <pre>node_load(123, { success: function(node) { var msg = 'Loaded node: ' + node.title; alert(msg); } }); </pre> <h3>User Login</h3> <pre>user_login('bob', 'secret', { success: function() { var account = jDrupal.currentUser(); var name = account.getAccountName(); var msg = 'Hello ' + name; alert(msg); }, error: function(xhr, status, msg) { alert(msg); } }); </pre> <p><a class="btn btn-primary" href="https://github.com/easystreet3/jDrupal/releases" role="button" title="View jDrupal Releases">Download »</a></p> </div> <div class="col-lg-4"> <h2>Drupal 8</h2> <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p> <p><a class="btn btn-info" href="8" role="button" title="View jDrupal 8 Docs">View D8 Docs »</a></p> </div> <div class="col-lg-4"> <h2>Drupal 7</h2> <ul class="list-group"> <li class="list-group-item">User Login, Logout and Registration</li> <li class="list-group-item">Easily Create, Retrieve, Update & Delete Entities</li> <li class="list-group-item">Supports Core Entity Types</li> <li class="list-group-item">Views Support</li> <li class="list-group-item">Custom Modules</li> </ul> <p><a class="btn btn-success" href="7" role="button" title="View jDrupal 7 Docs">View D7 Docs »</a></p> </div> </div> <!-- Site footer --> -
signalpoint revised this gist
Dec 4, 2015 . 1 changed file with 17 additions and 15 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>jDrupal - Drupal REST JavaScript API</title> <!-- Bootstrap --> <link href="bootstrap.min.css" rel="stylesheet"> @@ -28,50 +28,52 @@ <h3 class="text-muted">jDrupal</h3> <nav> <ul class="nav nav-justified"> <li class="active"><a href="#">Home</a></li> <li><a href="7">D7</a></li> <li><a href="8">D8</a></li> </ul> </nav> </div> <!-- Jumbotron --> <div class="jumbotron"> <h1>Drupal REST JavaScript API</h1> <p class="lead">A simple JavaScript API for Drupal 8 REST and Drupal 7 Services.</p> </div> <!-- Example row of columns --> <div class="row"> <div class="col-lg-4"> <h2>Features</h2> <ul class="list-group"> <li class="list-group-item">User Login, Logout and Registration</li> <li class="list-group-item">Easily Create, Retrieve, Update & Delete Entities</li> <li class="list-group-item">Supports Core Entity Types</li> <li class="list-group-item">Views Support</li> <li class="list-group-item">Custom Modules</li> </ul> <p><a class="btn btn-primary" href="https://github.com/easystreet3/jDrupal/releases" role="button" title="View jDrupal Releases">Download »</a></p> </div> <div class="col-lg-4"> <h2>Drupal 7</h2> <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> <p><a class="btn btn-success" href="7" role="button" title="View jDrupal 7 Docs">View D7 Docs »</a></p> </div> <div class="col-lg-4"> <h2>Drupal 8</h2> <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p> <p><a class="btn btn-info" href="8" role="button" title="View jDrupal 8 Docs">View D8 Docs »</a></p> </div> </div> <!-- Site footer --> <footer class="footer"> </footer> </div> <!-- /container --> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>--> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="bootstrap.min.js"></script> </body> </html> -
signalpoint created this gist
Dec 4, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,77 @@ <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>jDrupal - Drupal RESTful Servies JavaScript Library</title> <!-- Bootstrap --> <link href="bootstrap.min.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <!-- The justified navigation menu is meant for single line per list item. Multiple lines will require custom code not provided by Bootstrap. --> <div class="masthead"> <h3 class="text-muted">jDrupal</h3> <nav> <ul class="nav nav-justified"> <li class="active"><a href="#">Home</a></li> <li><a href="7">Drupal 7</a></li> <li><a href="8">Drupal 8</a></li> </ul> </nav> </div> <!-- Jumbotron --> <div class="jumbotron"> <h1>Drupal JavaScript Library</h1> <p class="lead">A simple JavaScript library for Drupal 8 REST and Drupal 7 Services.</p> <p><a class="btn btn-lg btn-success" href="#" role="button">Drupal 7 "Hello World"</a></p> <p><a class="btn btn-lg btn-success" href="#" role="button">Drupal 8 "Hello World"</a></p> </div> <!-- Example row of columns --> <div class="row"> <div class="col-lg-4"> <h2>Features</h2> <p class="text-danger">As of v8.0, Safari exhibits a bug in which resizing your browser horizontally causes rendering errors in the justified nav that are cleared upon refreshing.</p> <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> <p><a class="btn btn-primary" href="#" role="button">View details »</a></p> </div> <div class="col-lg-4"> <h2>Drupal 7</h2> <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> <p><a class="btn btn-primary" href="7" role="button" title="View jDrupal 7 Docs">View docs »</a></p> </div> <div class="col-lg-4"> <h2>Drupal 8</h2> <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p> <p><a class="btn btn-primary" href="8" role="button" title="View jDrupal 8 Docs">View docs »</a></p> </div> </div> <!-- Site footer --> <footer class="footer"> <p>Easy Street 3 LLC</p> </footer> </div> <!-- /container --> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="bootstrap.min.js"></script> </body> </html>