Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0ebe7313eb
Fetching contributors…

Cannot retrieve contributors at this time

file 61 lines (49 sloc) 1.411 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
<!doctype html><html><head><meta charset='utf-8'><!-- Kevin Cantu © 2011 -->

<title>featherbot</title>

<base href='../../'>
<link href='./lib/delta/main.css' type='text/css' rel='stylesheet'>

<style>
   .contentSection {
      max-width: 600px;
   }

   blockquote {
      font-style: italic;
      margin-left: 1em;
      margin-right: 1em;
   }

   img {
      border-width: 1px;
   }
</style>

</head>
<body>
<div class='contentSection'>
   <div class='contentHeader'> <h1>featherbot</h1></div>

   <p>
   Hello, you've just attempted to authorize your <a href='https://github.com/killerswan/featherbot'>featherbot</a>
   for use with AppDotNet. This is the authorization code generated:
   </p>

   <blockquote>
   <strong>
   <span id='results'>
   <!-- SHOW RESULT HERE -->
   </span>
   </strong>
   </blockquote>

   <script>
      function getQueryVariable(variable) {
          var query = window.location.search.substring(1);
          var vars = query.split('&');
          for (var i = 0; i < vars.length; i++) {
              var pair = vars[i].split('=');
              if (decodeURIComponent(pair[0]) == variable) {
                  return decodeURIComponent(pair[1]);
              }
          }
          console.log('Query variable %s not found', variable);
      }

      document.getElementById('results').innerHTML = getQueryVariable("code");

   </script>

</div>
</body>
</html>
Something went wrong with that request. Please try again.