Collection of themes/skins for the Fossil SCM. Public write access, just make an account.

⌈⌋ branch:  Fossil Skins Extra


Check-in [c102d240bc]

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

Overview
SHA1 Hash:c102d240bcd28c83044d5b29b11743e6b84026ec
Date: 2016-09-04 12:28:59
User: mario
Comment:Update json-prettifier URL to gitraw CDN.
Tags And Properties
  • branch=trunk inherited from [9f6fc9a491]
  • sym-trunk inherited from [9f6fc9a491]
Context
2016-09-04
12:37
[7cafda9321] Fixed googlecode links to github raw CDN. (user: mario, tags: trunk)
12:28
[c102d240bc] Update json-prettifier URL to gitraw CDN. (user: mario, tags: trunk)
2015-04-30
06:17
[6a899c4640] Repurpose `ignore-glob` to also exclude file type from statistics. (user: mario, tags: trunk)
Changes

features/fossil-stats-table.php became a regular file.

Changes to github.txt.

1
2
3
4
5
6
7
8
9
10
11
12
...
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
...
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
...
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
...
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
...
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
...
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
...
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896

897
898
899

900
901


902
903
904
905
906
907
908
909
910
911
912
913
...
945
946
947
948
949
950
951
952
953
954
955
956
957
958

959
960
961
962
963
964
965
966
967
968
969
# Fossil skin configuration "github" for simple `fossil import skin.txt`
# 2015-02-12T09-39-20Z
#
config /config 10652
1423733960 'css' value '/* fonts */
@import url(http://fonts.googleapis.com/css?family=Viga);

/* no body spacing */
html, body {
   border: 0; padding: 0; margin: 0;
   background: #fefefe;
   font: normal normal 400 10pt/16pt Arial,sans-serif;
................................................................................
/* ------------------------ Fossil internal styles ------------------------ */




'
config /config 1998
1423733960 'footer' value '             <br><br><br>


          </article>
       </main>

    </section>

................................................................................
    </footer>
  </div>

</body>
</html>

'
config /config 8022
1423733960 'header' value '<th1>

 #-- Determine current page type
 set pagename ""
 if {[regexp {^(index|home)[?]?} $current_page]} {
    set pagecat "index"
 } else { if {[regexp {^wiki\?name=} $current_page]} {
       set pagecat "wiki"
................................................................................
  <title>$<project_name>: $<title></title>
  <base href="$<baseurl>/$current_page" />
  <meta http-equiv=Content-Type content="text/html; charset=UTF-8; version=5">
  <link rel=alternate type="application/rss+xml" title=Timeline href="$<baseurl>/timeline.rss">
  <link rel=stylesheet href="$<baseurl>/style.css?gitlike" type="text/css" media=screen>

  <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
  <link rel=stylesheet href="//google-code-prettify.googlecode.com/svn/loader/prettify.css" type="text/css" media="screen">

  <script language=JavaScript>

     var baseurl = "$<baseurl>";
     var current_branch = "trunk";

     function json_api(what, callback) {
................................................................................
  </script>

</head>
<body
   class="page-$pagecat"
   onLoad="
      $(''code,pre'').addClass(''prettyprint'');
      $.getScript(''//google-code-prettify.googlecode.com/svn/loader/run_prettify.js?autoload=true'')
   "
>



  <footer id=menu-header><div class=width-container>
      <h1>Fossil</h1>
................................................................................
      </span>
  </div></footer>



  <footer id=project-header><div class=width-container>
      <span style=position:absolute><span id=public-prefix>PUBLIC&nbsp;</span></span>
      <img src=https://fossil.include-once.org/fossil-icon.png align=middle height=32 width=32>
      <a href="../..">$basedomain</a> / <a href=index><b>$project_name</b></a>
      <span style="float:right;">
         <span class=share-button id=share-button onclick="$(''#share-button>span'').toggle(''75'')">&#9733; Star
               <span class=social-links style=display:none><th1>catch { ui::social_links $baseurl }</th1></span></span><span class=share-button-number>$stats_social</span>
         <span class=share-button glyph>&#9988; Fork</span><span class=share-button-number>$stats_forks</span>
      </span>
  </div></footer>
................................................................................
          <h2 class=page-title>$title</h2>
          <article style=padding:7pt>




'
config /config 10958
1423733960 'th1-setup' value '
#-- Pre-increment  [++ varname]
proc ++ {varname} {
   upvar 1 $varname i
   return [uplevel 1 "set {$varname} [expr 1+$i]"]
}

#-- ternary / if-shorthand (cond/then/else may be literals, or {[expressions]} themselves)
................................................................................
       set cutname [string length $dirname]
       set AND_DIR " AND substr(name, 0, \$cutname+1) = \$dirname "
   }

   # files   // vcache.rid=mlink.fid would be easier to skip deleted files, but access is prohibited(?)
   query "
       SELECT DISTINCT
          mlink.fnid,
          instr(substr(name,\$cutname+1),''/'')  AS  is_dir,
          name                                AS  pathname,
          bf.rid   AS  fn_rid,     bf.uuid    AS  fn_uuid,
          bm.rid   AS  ci_rid,     bm.uuid    AS  ci_uuid,
          substr(comment, 0, 70)              AS  comment,
          CAST(julianday(''now'')-event.mtime AS INT) AS  age
       FROM
          filename
          JOIN mlink ON mlink.fnid=filename.fnid

          JOIN blob bf ON bf.rid=mlink.fid
          JOIN blob bm ON bm.rid=mlink.mid
          JOIN event ON event.objid=mlink.mid

       WHERE
          mlink.fnid NOT IN (SELECT fnid FROM mlink LEFT JOIN tagxref ON mlink.mid=tagxref.rid WHERE fid=0 AND tagxref.value=\$branch)


          $AND_DIR
       GROUP BY
          name
       ORDER BY
          is_dir DESC, name ASC, event.mtime DESC
   " {

      # separate directories and files
      set name [string range $pathname $cutname 2048]
      set dir [string first "/" $name]
      if {$dir>0} { set name [string range $name 0 [expr $dir-1]] }

................................................................................
# Outputs a textual /changelog
proc webpage_changelog {} {
  html "<!-- NEWS-style timeline --> <meta http-equiv=\"Content-Type\" content=\"text/plain\"> <pre>\n\n";
  set version "trunk"
  puts "$version (unreleased)\n";
  query {
     SELECT event.mtime, tag.tagname, MAX(tag.tagid), DATE(event.mtime) AS d,
            REPLACE(event.comment, char(10), char(10,32,32,32)) AS comment
     FROM event
      LEFT JOIN tagxref ON event.objid=tagxref.rid
      LEFT JOIN tag ON tagxref.tagid=tag.tagid
     WHERE type=''ci''
     GROUP BY objid
     ORDER BY event.mtime DESC

  } {
     if {[regexp {^sym-.*\d+\.\d+} $tagname]} {
        for {} {! [regexp {^\d+\.} $tagname]} {} {
          set tagname [string range $tagname 2 100]
        }
        puts "\n$tagname ($d)\n";
     }
     puts " * $comment\n";
  }
  puts "\n\n";
}

|


|







 







|







 







|
|







 







|







 







|







 







|







 







|
|







 







|
|



|
|


|
>
|
|
<
>

<
>
>




|







 







|






>


|
|







1
2
3
4
5
6
7
8
9
10
11
12
...
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
...
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
...
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
...
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
...
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
...
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
...
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899

900
901

902
903
904
905
906
907
908
909
910
911
912
913
914
915
...
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
# Fossil skin configuration "github" for simple `fossil import skin.txt`
# 2016-09-04T12-28-29Z
#
config /config 10652
1472992109 'css' value '/* fonts */
@import url(http://fonts.googleapis.com/css?family=Viga);

/* no body spacing */
html, body {
   border: 0; padding: 0; margin: 0;
   background: #fefefe;
   font: normal normal 400 10pt/16pt Arial,sans-serif;
................................................................................
/* ------------------------ Fossil internal styles ------------------------ */




'
config /config 1998
1472992109 'footer' value '             <br><br><br>


          </article>
       </main>

    </section>

................................................................................
    </footer>
  </div>

</body>
</html>

'
config /config 7999
1472992109 'header' value '<th1>

 #-- Determine current page type
 set pagename ""
 if {[regexp {^(index|home)[?]?} $current_page]} {
    set pagecat "index"
 } else { if {[regexp {^wiki\?name=} $current_page]} {
       set pagecat "wiki"
................................................................................
  <title>$<project_name>: $<title></title>
  <base href="$<baseurl>/$current_page" />
  <meta http-equiv=Content-Type content="text/html; charset=UTF-8; version=5">
  <link rel=alternate type="application/rss+xml" title=Timeline href="$<baseurl>/timeline.rss">
  <link rel=stylesheet href="$<baseurl>/style.css?gitlike" type="text/css" media=screen>

  <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
  <link rel=stylesheet href="//cdn.rawgit.com/google/code-prettify/master/loader/prettify.css" type="text/css" media="screen">

  <script language=JavaScript>

     var baseurl = "$<baseurl>";
     var current_branch = "trunk";

     function json_api(what, callback) {
................................................................................
  </script>

</head>
<body
   class="page-$pagecat"
   onLoad="
      $(''code,pre'').addClass(''prettyprint'');
      $.getScript(''//cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?autoload=true'')
   "
>



  <footer id=menu-header><div class=width-container>
      <h1>Fossil</h1>
................................................................................
      </span>
  </div></footer>



  <footer id=project-header><div class=width-container>
      <span style=position:absolute><span id=public-prefix>PUBLIC&nbsp;</span></span>
      <img src="/fossil-icon.png" align=middle height=32 width=32>
      <a href="../..">$basedomain</a> / <a href=index><b>$project_name</b></a>
      <span style="float:right;">
         <span class=share-button id=share-button onclick="$(''#share-button>span'').toggle(''75'')">&#9733; Star
               <span class=social-links style=display:none><th1>catch { ui::social_links $baseurl }</th1></span></span><span class=share-button-number>$stats_social</span>
         <span class=share-button glyph>&#9988; Fork</span><span class=share-button-number>$stats_forks</span>
      </span>
  </div></footer>
................................................................................
          <h2 class=page-title>$title</h2>
          <article style=padding:7pt>




'
config /config 11144
1472992109 'th1-setup' value '
#-- Pre-increment  [++ varname]
proc ++ {varname} {
   upvar 1 $varname i
   return [uplevel 1 "set {$varname} [expr 1+$i]"]
}

#-- ternary / if-shorthand (cond/then/else may be literals, or {[expressions]} themselves)
................................................................................
       set cutname [string length $dirname]
       set AND_DIR " AND substr(name, 0, \$cutname+1) = \$dirname "
   }

   # files   // vcache.rid=mlink.fid would be easier to skip deleted files, but access is prohibited(?)
   query "
       SELECT DISTINCT
          m.fnid,
          INSTR(SUBSTR(name,\$cutname+1),''/'')>0  AS  is_dir,
          name                                AS  pathname,
          bf.rid   AS  fn_rid,     bf.uuid    AS  fn_uuid,
          bm.rid   AS  ci_rid,     bm.uuid    AS  ci_uuid,
          SUBSTR(comment, 0, 70)              AS  comment,
          CAST(JULIANDAY(''now'')-e.mtime AS INT) AS  age
       FROM
          filename
          LEFT JOIN mlink m ON m.fnid = filename.fnid
          LEFT JOIN tagxref ON m.mid = tagxref.rid
          LEFT JOIN blob bf ON bf.rid = m.fid
          LEFT JOIN blob bm ON bm.rid = m.mid

          LEFT JOIN event e ON e.objid = m.mid
       WHERE

          --tagxref.value = \$branch  AND
          m.fnid NOT IN (SELECT fnid FROM mlink m LEFT JOIN tagxref x ON m.mid=x.rid WHERE fid=0 AND x.value=\$branch)
          $AND_DIR
       GROUP BY
          name
       ORDER BY
          is_dir DESC, name ASC, e.mtime DESC
   " {

      # separate directories and files
      set name [string range $pathname $cutname 2048]
      set dir [string first "/" $name]
      if {$dir>0} { set name [string range $name 0 [expr $dir-1]] }

................................................................................
# Outputs a textual /changelog
proc webpage_changelog {} {
  html "<!-- NEWS-style timeline --> <meta http-equiv=\"Content-Type\" content=\"text/plain\"> <pre>\n\n";
  set version "trunk"
  puts "$version (unreleased)\n";
  query {
     SELECT event.mtime, tag.tagname, MAX(tag.tagid), DATE(event.mtime) AS d,
            REPLACE(TRIM(REPLACE(event.comment, char(10,10), char(10)), char(8,10,13,32)), char(10), char(10,32,32,32)) AS comment
     FROM event
      LEFT JOIN tagxref ON event.objid=tagxref.rid
      LEFT JOIN tag ON tagxref.tagid=tag.tagid
     WHERE type=''ci''
     GROUP BY objid
     ORDER BY event.mtime DESC
     LIMIT 750
  } {
     if {[regexp {^sym-.*\d+\.\d+} $tagname]} {
        for {} {[string length $tagname] >= 3 && [regexp {^\d+\.} $tagname] == 0} {} {
          set tagname [string range $tagname 1 100]
        }
        puts "\n$tagname ($d)\n";
     }
     puts " * $comment\n";
  }
  puts "\n\n";
}