Fossil

Check-in [3a98c9b5]
Login

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

Overview
Comment:Change branch color option from a binary submenu to a checkbox
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:3a98c9b541cb567db914c6b1ae5e61514fc4f07d
User & Date: andygoth 2016-11-05 03:04:30
Context
2016-11-05
03:06
Remove extra class='submenuctrl' from checkbox input because already present in the enclosing <label> check-in: bccaea60 user: andygoth tags: trunk
03:04
Change branch color option from a binary submenu to a checkbox check-in: 3a98c9b5 user: andygoth tags: trunk
03:00
Change "v" (files) option from a binary submenu to a checkbox, move to the right of the unhide checkbox so the checkboxes are grouped together check-in: a482549c user: andygoth tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/branch.c.

348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
  Stmt q;
  double rNow;
  int show_colors = PB("colors");
  login_check_credentials();
  if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
  style_header("Branches");
  style_adunit_config(ADUNIT_RIGHT_OK);
  style_submenu_binary("colors", "Color", "B/W", 0);
  login_anonymous_available();

  db_prepare(&q, brlistQuery/*works-like:""*/);
  rNow = db_double(0.0, "SELECT julianday('now')");
  @ <div class="brlist"><table id="branchlisttable">
  @ <thead><tr>
  @ <th>Branch Name</th>







|







348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
  Stmt q;
  double rNow;
  int show_colors = PB("colors");
  login_check_credentials();
  if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
  style_header("Branches");
  style_adunit_config(ADUNIT_RIGHT_OK);
  style_submenu_checkbox("colors", "Use Branch Colors", 0);
  login_anonymous_available();

  db_prepare(&q, brlistQuery/*works-like:""*/);
  rNow = db_double(0.0, "SELECT julianday('now')");
  @ <div class="brlist"><table id="branchlisttable">
  @ <thead><tr>
  @ <th>Branch Name</th>