Check-in [950e4c8284]
Not logged in - Login

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

Overview
Comment:bugfix for branch table display and advanced footer script
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:950e4c8284cefc3fb8c72dbfa7e0d42c09d35617
User & Date: Ratte 2010-08-01 13:10:34
Context
2010-08-01
14:38
added index generate check-in: e5509813e9 user: Ratte tags: trunk
13:10
bugfix for branch table display and advanced footer script check-in: 950e4c8284 user: Ratte tags: trunk
2010-07-28
19:26
added skin definition as file check-in: 551a87cd4a user: Ratte tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to skin.txt.

1
2
3
4
5
6
7
8
9
10
...
204
205
206
207
208
209
210










211
212
213
214
215
216
217
...
362
363
364
365
366
367
368









369
370
371
372
373
374
375
...
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408












409
410
411
412
-- The "skin" configuration exported from
-- repository "E:/Profile/Ratte/data/organize/fossil-w32/chisel-wst1.fossil"
-- on 2010-07-28 19:26:08
REPLACE INTO config VALUES('css','/* ***************************************************************
* used colors:
* cccccc background color for entire page, visible on page frame
* ccccee background color for hovered content links
* dddddd background for content-headers
* eeeeee background color for content
* f7f7f7 bordor-color for top shadow
................................................................................
  background-color: #ccccee;
}

div.content table {
  font-family: Lucida Console, Courier New, Courier, monospace;
  font-size: smaller;
}











/* Some pages have section dividers */
/* rendered like h1!
div.section {
  margin-bottom: 0px;
  margin-top: 1em;
  padding: 1px 1px 1px 1px;
................................................................................
  html "<a href=''$baseurl/setup''>Admin</a> "
} elseif {[hascap a]} {
  html "<a href=''$baseurl/setup_ulist''>Users</a> "
}
</th1></div>
');
REPLACE INTO config VALUES('footer','<div class="footer">









<th1>
  html "<form action=\"$baseurl/timeline\" method=\"post\">"
    html "search timeline:&nbsp;"
    html "<input name=\"s\" type=\"text\" size=\"30\" maxlength=\"40\" "
      if {[hascap o]} {
        html "value=\"\" "
      } else {
................................................................................
      html " / <a href=\"$baseurl/doc/tip/index.wiki\">Wiki-Index</a>"
    }
  html "</form>"
</th1>
</div>
<div class="bfooter">
<th1>
  set link [string range $baseurl 7 end]
  set link [string range $link [string first "/" $link] end]
  if {   ([string first "http://127.0.0.1:8000/" $baseurl] == -1)
      && ([string first "http://localhost:8000/" $baseurl] == -1)
  } {
    html "running remote"
    html "&nbsp;/&nbsp;"
    html "<a href=\"http://127.0.0.1:8000$link\">local version</a>"
  } else {
    html "running local"
    html "&nbsp;/&nbsp;"
    html "<a href=\"http://Mordor:8000$link\">server version</a>"
  }
</th1>
of $project_name powered by <a href="http://Mordor/fossilscm">Fossil</a>












version $manifest_version $manifest_date
</div>
</body></html>');
REPLACE INTO config VALUES('index-page','/wiki?name=WST-Skin1');

|
|







 







>
>
>
>
>
>
>
>
>
>







 







>
>
>
>
>
>
>
>
>







 







|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
>
>
>
>
>
>
>
>
>
>
>



|
1
2
3
4
5
6
7
8
9
10
...
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
...
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
...
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
-- The "skin" configuration exported from
-- repository "E:/fossil-w32/mordor.fossil"
-- on 2010-08-01 07:05:19
REPLACE INTO config VALUES('css','/* ***************************************************************
* used colors:
* cccccc background color for entire page, visible on page frame
* ccccee background color for hovered content links
* dddddd background for content-headers
* eeeeee background color for content
* f7f7f7 bordor-color for top shadow
................................................................................
  background-color: #ccccee;
}

div.content table {
  font-family: Lucida Console, Courier New, Courier, monospace;
  font-size: smaller;
}
@media printer {
  div.content table {
    background: white;
  }
}
@media screen {
  div.content table {
    background: #eeeeee;
  }
}

/* Some pages have section dividers */
/* rendered like h1!
div.section {
  margin-bottom: 0px;
  margin-top: 1em;
  padding: 1px 1px 1px 1px;
................................................................................
  html "<a href=''$baseurl/setup''>Admin</a> "
} elseif {[hascap a]} {
  html "<a href=''$baseurl/setup_ulist''>Users</a> "
}
</th1></div>
');
REPLACE INTO config VALUES('footer','<div class="footer">
<th1> 
  # repository/site specific configuration
  # adress of main server
  set serverAdress "http://mordor:8000"
  # adresses of hosts, to be handled as local
  set localAdresses [list "http://127.0.0.1:8000" "http://localhost:8000" "http://auenland:8000" "http://samgamdschi:8000" "http://numenor:8000" ]
  # which fossil-repo should be referenced in the footer
  set fossilReferenceAdress "http://Mordor/fossilscm"
</th1>
<th1>
  html "<form action=\"$baseurl/timeline\" method=\"post\">"
    html "search timeline:&nbsp;"
    html "<input name=\"s\" type=\"text\" size=\"30\" maxlength=\"40\" "
      if {[hascap o]} {
        html "value=\"\" "
      } else {
................................................................................
      html " / <a href=\"$baseurl/doc/tip/index.wiki\">Wiki-Index</a>"
    }
  html "</form>"
</th1>
</div>
<div class="bfooter">
<th1>
  # check, if baseurl starts with one of the local adresses
  set isLocal -1
  for {set li 0} {$li < [llength $localAdresses]} {set li [expr $li+1]} {
    if {[string first [lindex $localAdresses $li] $baseurl] != -1} {
      set isLocal $li
    }
  }
  # get repository-part of baseurl by stripping all up to the first /
  if {[string last "/" $baseurl] == 0} {
    set repository ""  
  } else {
    set repository [string range $baseurl [expr [string last "/" $baseurl]+1] end]
  }
  # buildt display/adress parts for footer
  if {$isLocal == -1} {
    set typeDsp "remote"
    set link "[lindex $localAdresses 1]"
    set linkDsp "local"
  } else {
    set typeDsp "local"
    set link "$serverAdress"
    set linkDsp "remote"
  }
</th1>
running $typeDsp&nbsp;/&nbsp;<a href="$link/$repository">$linkDsp version</a>
of $project_name@$serverAdress
powered by <a href="$fossilReferenceAdress">Fossil</a>
version $manifest_version $manifest_date
</div>
</body></html>');
REPLACE INTO config VALUES('timeline-block-markup','1');

running remote / local version of
@http://mordor:8000 powered by Fossil version [9aa9ba8bd2] 2018-09-22 17:40:11