"Fossies" - the Fresh Open Source Software Archive

Member "brave-core-1.31.87/resources/about_credits.tmpl" (19 Oct 2021, 1915 Bytes) of package /linux/www/brave-core-1.31.87.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!doctype html>
    2 <html>
    3 <head>
    4 <meta charset="utf-8">
    5 <title>Credits</title>
    6 <style>
    7 body {
    8   background-color: white;
    9   font-size: 84%;
   10   max-width: 1020px;
   11 }
   12 .page-title {
   13   font-size: 164%;
   14   font-weight: bold;
   15 }
   16 .product {
   17   background-color: #c3d9ff;
   18   border-radius: 5px;
   19   margin-top: 16px;
   20   overflow: auto;
   21   padding: 2px;
   22 }
   23 .product .title {
   24   float: left;
   25   font-size: 110%;
   26   font-weight: bold;
   27   margin: 3px;
   28 }
   29 .product .homepage {
   30   float: right;
   31   margin: 3px;
   32   text-align: right;
   33 }
   34 .product .homepage::after {
   35   content: " - ";
   36 }
   37 .product .show {
   38   float: right;
   39   margin: 3px;
   40   text-align: right;
   41 }
   42 .licence {
   43   background-color: #e8eef7;
   44   border-radius: 3px;
   45   clear: both;
   46   display: none;
   47   padding: 16px;
   48 }
   49 .licence h3 {
   50   margin-top: 0;
   51 }
   52 .licence pre {
   53   white-space: pre-wrap;
   54 }
   55 .dialog #print-link,
   56 .dialog .homepage {
   57   display: none;
   58 }
   59 </style>
   60 </head>
   61 <body>
   62 <span class="page-title" style="float:left;">Credits</span>
   63 <a id="print-link" href="#" style="float:right;">Print</a>
   64 <div style="clear:both; overflow:auto;"><!-- Chromium <3s the following projects -->
   65 {{entries}}
   66 </div>
   67 <script>
   68 function $(id) { return document.getElementById(id); }
   69 
   70 function toggle(o) {
   71   var licence = o.nextSibling;
   72 
   73   while (licence.className != 'licence') {
   74     if (!licence) return false;
   75     licence = licence.nextSibling;
   76   }
   77 
   78   if (licence.style && licence.style.display == 'block') {
   79     licence.style.display = 'none';
   80     o.textContent = 'show license';
   81   } else {
   82     licence.style.display = 'block';
   83     o.textContent = 'hide license';
   84   }
   85   return false;
   86 }
   87 
   88 document.addEventListener('DOMContentLoaded', function() {
   89   var links = document.querySelectorAll('a.show');
   90   for (var i = 0; i < links.length; ++i) {
   91     links[i].onclick = function() { return toggle(this); };
   92   }
   93 
   94   $('print-link').onclick = function() {
   95     window.print();
   96     return false;
   97   };
   98 });
   99 </script>
  100 </body>
  101 </html>