Fossil

Check-in [38b223df]
Login

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

Overview
Comment:Remove ".timelineSpacer" rows surrounding the select row on a timeline.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:38b223df9cd1218ae1c8120c26a48f8cebe67787bd5827383b8c0e07e5f2a234
User & Date: drh 2017-12-04 16:42:09
Context
2017-12-04
17:00
Remove some stale ".timelineSpacer" CSS selectors. check-in: 5c0238b3 user: drh tags: trunk
16:42
Remove ".timelineSpacer" rows surrounding the select row on a timeline. check-in: 38b223df user: drh tags: trunk
16:23
Add a side-by-side diff option to the skin editor. check-in: 523c548b user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/timeline.c.

327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
...
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
    if( suppressCnt ){
      @ <span class="timelineDisabled">... %d(suppressCnt) similar
      @ event%s(suppressCnt>1?"s":"") omitted.</span>
      suppressCnt = 0;
    }
    if( pendingEndTr ){
      @ </td></tr>
      if( pendingEndTr>1 ){
        @ <tr class="timelineSpacer"></tr>
      }
      pendingEndTr = 0;
    }
    if( fossil_strcmp(zType,"div")==0 ){
      if( !prevWasDivider ){
        @ <tr><td colspan="3"><hr class="timelineMarker" /></td></tr>
      }
      prevWasDivider = 1;
................................................................................
      zTime[pos++] = zDate[14]; zTime[pos++] = zDate[15]; /* MM */
      zTime[pos++] = 0;
    }else{
      zTime[0] = 0;
    }
    pendingEndTr = 1;
    if( rid==selectedRid ){
      @ <tr class="timelineSpacer"></tr>
      @ <tr class="timelineSelected">
      pendingEndTr = 2;
    }else if( rid==vid ){
      @ <tr class="timelineCurrent">
    }else {
      @ <tr>
    }
    if( zType[0]=='e' && tagid ){
      char *zId;







<
<
<







 







<

<







327
328
329
330
331
332
333



334
335
336
337
338
339
340
...
372
373
374
375
376
377
378

379

380
381
382
383
384
385
386
    if( suppressCnt ){
      @ <span class="timelineDisabled">... %d(suppressCnt) similar
      @ event%s(suppressCnt>1?"s":"") omitted.</span>
      suppressCnt = 0;
    }
    if( pendingEndTr ){
      @ </td></tr>



      pendingEndTr = 0;
    }
    if( fossil_strcmp(zType,"div")==0 ){
      if( !prevWasDivider ){
        @ <tr><td colspan="3"><hr class="timelineMarker" /></td></tr>
      }
      prevWasDivider = 1;
................................................................................
      zTime[pos++] = zDate[14]; zTime[pos++] = zDate[15]; /* MM */
      zTime[pos++] = 0;
    }else{
      zTime[0] = 0;
    }
    pendingEndTr = 1;
    if( rid==selectedRid ){

      @ <tr class="timelineSelected">

    }else if( rid==vid ){
      @ <tr class="timelineCurrent">
    }else {
      @ <tr>
    }
    if( zType[0]=='e' && tagid ){
      char *zId;