Team:TU-Delft/SynBioData

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<html>
+
<html itemscope itemtype="http://schema.org/Review">
-
  <head>
+
-
    <meta charset="UTF-8">
+
-
    <title>Fusion Tables API Example: Google Chart Tools Data Table</title>
 
-
     <link href="/apis/fusiontables/docs/samples/style/default.css"
+
<!--
-
        rel="stylesheet" type="text/css">
+
     <link rel="exhibit-data" href="data.js" />
-
    <script type="text/javascript" src="http://www.google.com/jsapi"></script>
+
-->
-
    <script type="text/javascript">
+
    <link rel="exhibit/data"  
-
      google.load('visualization', '1', { packages: ['table'] });
+
      type="application/jsonp"
 +
      href="https://docs.google.com/spreadsheet/ccc?key=0ArsDNt8sj-LBdEdCREdxUTFmVXpPaTVnZm43d0RTdmc#gid=0"
 +
      ex:converter="googleSpreadsheets" />
-
      function drawTable() {
+
    <script src="http://api.simile-widgets.org/exhibit/3.0.0rc1/exhibit-api.js" type="text/javascript"></script>
-
        var query = "SELECT 'Key Word' as id, " +
+
<!--
-
            'FROM 1VlPiBCkYt_Vio-JT3UwM-U__APurJvPb6ZEJPg';
+
    <script src="exhibit3/scripted/dist/exhibit-api.js" type="text/javascript"></script>
-
var id = document.getElementById('id').value;
+
-->
-
        if (id) {
+
-
          query += " WHERE 'Key Word' = '" + id + "'";
+
-
        }
+
-
        var queryText = encodeURIComponent(query);
+
<!-- Add the description for sharing -->
-
        var gvizQuery = new google.visualization.Query(
+
-
            'https://docs.google.com/spreadsheet/ccc?key=0ArsDNt8sj-LBdEdCREdxUTFmVXpPaTVnZm43d0RTdmc#gid=0');
+
-
        gvizQuery.send(function(response) {
+
<!-- Google+ -->
-
          var table = new google.visualization.Table(
+
<meta itemprop="name" content="iGEM Database">
-
              document.getElementById('visualization'));
+
<meta itemprop="description" content="Complete collection of iGEM projects 2007-2011">
-
          table.draw(response.getDataTable(), {
+
<meta itemprop="image" content="igemSoftview_sm.gif">
-
            showRowNumber: true
+
-
          });
+
-
        });
+
-
      }
+
-
      google.setOnLoadCallback(drawTable);
+
<!-- FB -->
-
    </script>
+
<meta property="og:title" content="iGEM projects" />
-
   </head>
+
<meta property="og:description" content="Complete collection of iGEM projects 2007-2011" />
-
  <body>
+
<meta property="og:type" content="website" />
-
     <div>
+
<meta property="og:image" content="http://dev.igem.synbioreview.com/igemSoftview_fb.gif" />
-
      <label>Key Word:</label>
+
<meta property="og:site_name" content="iGEM Database" />
-
       <select id="id" onchange="drawTable();">
+
<meta property="fb:admins" content="632422691" />
-
        <option value="">All</option>
+
<!-- Google -->
-
        <option value="1">1</option>
+
<!--
-
         <option value="New Zealand">New Zealand</option>
+
<meta name="description" content="Complete collection of iGEM software projects 2007-2011" />
-
         <option value="Uruguay">Uruguay</option>
+
-->
-
       </select>
+
<!--<meta property="fb:admins" content="100003985967089" />-->
 +
<!-- FB like -->
 +
<div id="fb-root"></div>
 +
<script>(function(d, s, id) {
 +
  var js, fjs = d.getElementsByTagName(s)[0];
 +
  if (d.getElementById(id)) return;
 +
  js = d.createElement(s); js.id = id;
 +
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
 +
  fjs.parentNode.insertBefore(js, fjs);
 +
}(document, 'script', 'facebook-jssdk'));</script>
 +
 
 +
<!-- G+ button script -->
 +
<script type="text/javascript">
 +
   (function() {
 +
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
 +
    po.src = 'https://apis.google.com/js/plusone.js';
 +
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
 +
  })();
 +
</script>
 +
<script type="text/javascript" src="analyze.js" ></script>
 +
</head>
 +
<body>
 +
 
 +
     <div id="content">
 +
    <h1>iGEM Database</h1>
 +
   
 +
    <table cellspacing="0" cellpadding="0" border="0" width="100%">
 +
       <tr>
 +
        <td width="350px" style="padding-right: 20px;">
 +
        <div ex:role="facet"
 +
              ex:expression=".team"
 +
              ex:sortMode="count"
 +
              ex:height="40em"
 +
              ex:facetLabel="iGEM Team"></div>  
 +
        <!-- Place this tag where you want the +1 button to render -->
 +
        <div>
 +
        <g:plusone size="medium"></g:plusone>
 +
        <div class="fb-like"
 +
              data-href="http://dev.igem.synbioreview.com/"
 +
              data-layout="button_count"
 +
              data-width="50"
 +
              data-show-faces="true">
 +
         </div>
 +
        </div>
 +
       
 +
        </td>
 +
        <td>
 +
          <div ex:role="view"
 +
      ex:orders=".label"
 +
      ex:direction="ascending"
 +
      ex:grouped="false"
 +
      ex:showAll="false"
 +
      ex:abbreviatedCount="10">
 +
 
 +
    <div ex:role="lens" >
 +
              <table cellpadding="0" cellspacing="0">
 +
                <tr class="details">
 +
              <td>
 +
                    <div class="title"><span ex:content=".label"></span></span></div>
 +
    <div class="inclusion"><span class="property">Year:</span><span ex:content=".year"></span></div>
 +
<!--
 +
-->
 +
                    <div class="definition" ex:content=".description"></div>
 +
<!--
 +
-->
 +
                    <div class="property" ex:content=".region"></div>
 +
 
 +
    <div class="exclusion"><span class="property">URL:</span>
 +
                        <a ex:href-content=".url"><span ex:content=".url"></a></span></div>
 +
    <div class="exclusion"><span class="property">
 +
                        Medal:</span> <span ex:content=".medal"></span>
 +
                        Regional Prizes: <span ex:content=".regionalprize"></span>
 +
                        Championship Prizes: <span ex:content=".championshipprize"></span>
 +
                        Free: <span ex:content=".free"></span> </div>
 +
                    <div class="identifier"><span class="property">Category:</span><span ex:content=".category"></span></div>
 +
                  </td>
 +
</tr>
 +
              </table>
 +
            </div>
 +
 
 +
          </div>
 +
         </td>
 +
 
 +
<td width="200px" style="padding-left: 20px;">
 +
 
 +
  <b>Search</b><br />
 +
          <div ex:role="facet"
 +
              ex:facetClass="TextSearch"
 +
              ex:expressions=".label, .description, .team, .contact" ></div>
 +
          </br>
 +
 
 +
          <div ex:role="facet"
 +
              ex:expression=".category"
 +
      ex:facetLabel="Category"
 +
              ex:showMissing="false"
 +
              ex:sortMode="count"
 +
              ></div>
 +
 
 +
          <div ex:role="facet"
 +
              ex:expression=".year"
 +
      ex:facetLabel="Year"
 +
              ></div>
 +
          <div ex:role="facet"
 +
              ex:expression=".medal"
 +
              ex:facetLabel="Medals:"
 +
              ></div>
 +
          <div ex:role="facet"
 +
              ex:expression=".regionalprize"
 +
              ex:facetLabel="Regional Prizes:"
 +
              ></div>
 +
          <div ex:role="facet"
 +
              ex:expression=".championshipprize"
 +
              ex:facetLabel="Championship Prizes:"
 +
              ></div>
 +
 
 +
 
 +
</td>
 +
       </tr>
 +
    </table>
     </div>
     </div>
-
    <div id="visualization"></div>
+
<div><table border=0 width=100%><tr valign=bottom><td align=left>This work is licensed under <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img src="http://i.creativecommons.org/l/by-nc-sa/3.0/80x15.png"></a> by Michal Galdzicki
-
  </body>
+
<br/>Derived from work at the <a href="http://biospot10.blogspot.mx/2011/09/bio-igem-history-database.html">Bio! iGEM History Database 2.0 Beta by Miguel Loera-Sanchez and Team UANL_Mty-Mexico</a></td>
 +
<td align=right>To correct an error edit: <a href="https://docs.google.com/spreadsheet/ccc?key=0AvRcIbigV-eYdGNHMmxGVy13UkhpUi1Vck9zMmZRSUE#gid=0">iGEM Database</a> and then <a href="https://github.com/mgaldzic/igemsoft/issues">Submit an Issue</a><br/>Powered by: <a href="http://www.simile-widgets.org/wiki/Exhibit3">Exhibit 3.0 Scripted</a></td></tr></div>
 +
</body>
</html>
</html>

Revision as of 13:35, 2 September 2013

iGEM Database

Year:
URL:
Medal: Regional Prizes: Championship Prizes: Free:
Category:
Search

This work is licensed under by Michal Galdzicki
Derived from work at the Bio! iGEM History Database 2.0 Beta by Miguel Loera-Sanchez and Team UANL_Mty-Mexico
To correct an error edit: iGEM Database and then Submit an Issue
Powered by: Exhibit 3.0 Scripted