<html>
<head>
    <link rel="stylesheet" type="text/css" href="{{{host}}}/stylesheets/bootstrap.min.css">
    <script src="{{{host}}}/javascripts/jquery-1.8.3.js"></script>
    <script src="{{{host}}}/javascripts/oauth2client.js"></script>
    <script src="{{{host}}}/{{{TILE_NAME}}}/javascripts/action.js"></script>
    <script>
        $(document).ready( function() {
            doIt( '{{{host}}}');
        });
    </script>
</head>



<body>
<div id="j-card-authentication" class="j-card" style='display: none'>
    <h2>Expanded Project Information ..</h2>

    <p>
        <p>The remote system (Basecamp) requires you to grant access before proceeding</p>
    <!---
        Project:
        <label id="projectA"><b>Placeholder for Project</b> </label>
        <br>
        Description:
        <label id="descriptionA"><b>Placeholder for Description</b> </label>
        <br>
        <a id="BasecampLinkA" href="https://basecamp.com" target="_blank" >Vist this project at Basecamp</a>
    -->
    </p>
    <br><br>
    <button class="btn btn-primary" id="oauth">Grant Access</button>
    <button class="btn btn-primary" id="btn_doneA">Exit</button>

</div>


<div id="j-card-action" class="j-card" style='display: none'>
   <h3>Expanded Project Information ..</h3>

   <p>
       <h5><u>Project:</u></h5><br>
       <label id="projectB">Placeholder for Project</label>
       <br><br>
       <h5><u>Description:</u></h5>  &nbsp;&nbsp; <br>
       <label id="descriptionB">Placeholder for Description</label>
       <br><br><br>
       <a id="BasecampLinkB" href="https://basecamp.com" target="_blank" >Vist this project at Basecamp</a>

   </p>

   <button class="btn btn-primary" id="btn_done">Close Window</button>

</div>

</body>
</html>
