Skip to content
This repository has been archived by the owner on May 3, 2018. It is now read-only.

Commit

Permalink
Requests MFS & Table CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Colm Doyle committed Dec 7, 2012
1 parent 775370b commit 9e1326f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
8 changes: 0 additions & 8 deletions css/screen.css
Expand Up @@ -3,11 +3,3 @@
/* Font Styling */
.bold { font-weight: bold; }
.italic {font-style: italic;}

/* Tables */
table {margin-bottom:1.4em;width:100%;}
th {font-weight:bold;}
thead th {background:#c3d9ff;}
th, td, caption {padding:4px 10px 4px 5px;}
tbody tr:nth-child(even) td, tbody tr.even td {background:#e5ecf9;}
tfoot {font-style:italic;}
8 changes: 8 additions & 0 deletions js/main.js
Expand Up @@ -21,6 +21,14 @@ $(document).ready(function () {
});
});

$('#requests_mfs_dialog').click(function(){
FB.ui({method: 'apprequests', message: 'You should see this test app'},
function(response) {
console.log(response);
$('#alert-container').html('<div class="alert alert-success"><p><strong>Request ID: </strong>'+ response.request +'</p><p><strong>Recipients: </strong>' + response.to + '</p><a class="close" data-dismiss="alert" href="#">&times;</a></div>');
});
});

$('#feed_dialog').click(function(){
FB.ui({
method: 'feed',
Expand Down
13 changes: 9 additions & 4 deletions page-tab/index.php
Expand Up @@ -125,6 +125,11 @@
<i class="icon-lock"></i> OAuth
</a>
</li>
<li>
<a tabindex="-1" href="#" id="requests_mfs_dialog">
<i class="icon-globe"></i> Requests MultiFriend
</a>
</li>
</ul>
</div>
<div class="btn-group">
Expand Down Expand Up @@ -163,7 +168,7 @@
<div class="row-fluid">
<div class="span6">
<h3> The signed_request </h3>
<table>
<table class="table table-bordered table-striped">
<tr>
<td>
<span
Expand Down Expand Up @@ -204,7 +209,7 @@
</div>
<div class="span6">
<h3> The Page you're on </h3>
<table>
<table class="table table-bordered table-striped">
<tr>
<td>
<span
Expand Down Expand Up @@ -265,7 +270,7 @@
<div class="row-fluid">
<div class="span6">
<h3> The User </h3>
<table>
<table class="table table-bordered table-striped">
<tr>
<td>
<span
Expand Down Expand Up @@ -306,7 +311,7 @@
</div>
<div class="span6">
<h3> oAuth info </h3>
<table>
<table class="table table-bordered table-striped">
<tr>
<td>
<span
Expand Down

0 comments on commit 9e1326f

Please sign in to comment.