Documentation Source Text

Check-in [3b7ad43873]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add back the sponsors section to the front page.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:3b7ad43873872bb17d34dccf2925d9d92555682f797f72fdff130a205e0691ba
User & Date: drh 2019-02-07 13:59:55
Context
2019-02-07
14:31
Fix typos detected by spellcheck. check-in: 8c65dc2deb user: drh tags: trunk
13:59
Add back the sponsors section to the front page. check-in: 3b7ad43873 user: drh tags: trunk
13:47
Merge changes from the 3.26.0 release branch. check-in: 9d6e96fd8f user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to pages/index.in.

     1      1   <title>SQLite Home Page</title>
            2  +
            3  +<div class="rightsidebar desktoponly border2px">
            4  +<h3 align="center">Common Links</h3>
            5  +<tcl>common_links</tcl>
            6  +</div>
     2      7   
     3      8   <h3>What Is SQLite?</h3>
     4      9   
     5     10   <p>SQLite is a C-language library that implements a
     6     11   [footprint|small],
     7     12   [faster than the filesystem|fast],
     8     13   [self-contained], 
................................................................................
    37     42   everyone to use for any purpose.
    38     43   
    39     44   <h3>Latest Release</h3>
    40     45   <a href="releaselog/3_27_0.html">Version 3.27.0</a> ([dateof:3.27.0]).
    41     46   <a class="button" href="download.html">Download</a>
    42     47   <a class="button" href="chronology.html">Prior Releases</a>
    43     48   
           49  +<div class="mobileonly">
    44     50   <h3>Common Links</h3>
    45     51   <tcl>common_links</tcl>
           52  +</div>
           53  +
           54  +<br clear="both">
           55  +<hr class="xhr">
           56  +<p>Ongoing development and support of SQLite is made possible in part
           57  +by <a href="consortium.html">SQLite Consortium</a> members, including:</p>
           58  +<a name="consortium_members"></a>
           59  +<style>
           60  +#sponsors {
           61  +  margin:auto;
           62  +  width:80%;
           63  +}
           64  +.onesponsor a img {
           65  +  width:200px;
           66  +  max-width:200px;
           67  +  padding:1ex;
           68  +}
           69  +</style>
           70  +<div id="sponsors"></div>
           71  +<script>
           72  +<tcl>
           73  +set sponsors {
           74  +  {name   Bloomberg
           75  +   url    https://www.bloomberg.com/
           76  +   image  bloomberg.png
           77  +   blurb  "A world leader in financial-information technology."
           78  +  }
           79  +  {name   Bentley
           80  +   url    https://www.bentley.com/
           81  +   image  bentley.gif
           82  +   blurb  "Comprehensive software solutions for Sustaining Infrastructure."
           83  +  }
           84  +  {name   NDS
           85  +   url    http://www.nds-association.org/
           86  +   image  nds.png
           87  +   blurb  "The leading map standard for automotive infotainment and autonomous driving."
           88  +  }
           89  +  {name   Expensify
           90  +   url    https://www.expensify.com/
           91  +   image  expensify.png
           92  +   width  225
           93  +   height 32
           94  +   blurb  "We power the most exciting companies in the world using SQLite."
           95  +  }
           96  +}
           97  +set sep {  var sponsors = [}
           98  +set nspons 0
           99  +foreach spons $sponsors {
          100  +  hd_putsnl $sep\173
          101  +  set sep ","
          102  +  unset -nocomplain x
          103  +  array set x $spons
          104  +  hd_putsnl "    \"name\":\"$x(name)\","
          105  +  hd_putsnl "    \"href\":\"$x(url)\","
          106  +  hd_putsnl "    \"src\":\"$x(image)\","
          107  +  if {[info exists x(width)]} {
          108  +    hd_putsnl "    \"wx\":$x(width),"
          109  +    hd_putsnl "    \"hx\":$x(height)"
          110  +  } else {
          111  +    hd_putsnl "    \"wx\":0"
          112  +  }
          113  +  hd_puts "  \175"
          114  +  incr nspons
          115  +}
          116  +unset -nocomplain x
          117  +hd_putsnl "\];"
          118  +hd_puts {
          119  +  for(var i=0; i<sponsors.length; i++){sponsors[i].idx = Math.random();}
          120  +  sponsors.sort(function(a,b){return a.idx-b.idx});
          121  +  var h = "";
          122  +  for(var i=0; i<sponsors.length; i++){
          123  +    h += "<span class='onesponsor'><a href='";
          124  +    h += sponsors[i].href;
          125  +    h += "'><img src='images/foreignlogos/";
          126  +    h += sponsors[i].src;
          127  +    h += "'></a></span>\n";
          128  +  }
          129  +  document.getElementById("sponsors").innerHTML = h;
          130  +}
          131  +</tcl>
          132  +</script>
          133  +<br clear="both">
          134  +<hr class="xhr">