browserui/browser/SrcData/feeds_view_template.html
branchRCL_3
changeset 64 6385c4c93049
parent 63 4baee4f15982
child 65 8e6fa1719340
equal deleted inserted replaced
63:4baee4f15982 64:6385c4c93049
     1 <?xml version="1.0" encoding="UTF-8" ?>
       
     2 <html>
       
     3 <head>
       
     4     <base href="file:///c:/" />
       
     5     
       
     6     <style>
       
     7         body {font-family:serif; font-size:10pt; line-height:11pt;}
       
     8         .header {}
       
     9         .nav {font-size:13pt; font-weight:700; line-height:13pt; margin-top:1pt; margin-bottom:1pt;}
       
    10         .title {font-size:14pt; font-weight:700; line-height:14pt; margin-top:1pt; margin-bottom:1pt;}
       
    11         .weburl {font-size:14pt; font-weight:700; line-height:14pt; margin-top:1pt; margin-bottom:1pt;}
       
    12         .date {font-size:8pt; font-weight:700; line-height:8pt; margin-top:1pt; margin-bottom:1pt;}
       
    13         .description {font-size:12pt; line-height:12pt; margin-top:1pt; margin-bottom:1pt;}
       
    14     </style>
       
    15 
       
    16 <title>#Title#</title>
       
    17 </head>
       
    18 
       
    19 <body dir=#dir#>
       
    20 <table width="100%">
       
    21     <tr><td class="header"><div class="title"><a class="weburl" href="#WebUrl#">#Title#</a></div><div class="date">#Date#</div></td></tr>
       
    22     <tr><td class="description">#Description#</td></tr>
       
    23     <tr><td class="description">#Enclosure#</td></tr>
       
    24 </table>
       
    25 </body>
       
    26 
       
    27 <script language="JavaScript" type="text/javascript">
       
    28     // Add the "feeds" schema to all anchors.  This allows the FeedsView to correctly dispatch
       
    29     // them to the client application.
       
    30     var anchorTags = document.getElementsByTagName("a");
       
    31 
       
    32     for (var i = 0; i < anchorTags.length ; i++)
       
    33     {
       
    34         anchorTags[i].href = "feeds:" + anchorTags[i].href;
       
    35     }
       
    36 
       
    37     // If need be hide the show full story link.
       
    38     var webUrl = "#WebUrl#";
       
    39     if (webUrl.length == 0)
       
    40     {
       
    41         var e = document.getElementById("showFullStory");
       
    42         e.style.display = "none";
       
    43     }        
       
    44 </script>
       
    45 </html>