341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
|
static void new_brlist_page(void){
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_submenu_element("Timeline", "Timeline", "brtimeline");
style_submenu_element("All", "All", "brlist?all");
style_submenu_element("Closed","Closed","brlist?closed");
style_submenu_element("Color-Test", "Color-Test", "brlist?colortest");
style_adunit_config(ADUNIT_RIGHT_OK);
style_submenu_binary("colors", "Show branch colors", "No 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">
|
<
<
<
<
|
341
342
343
344
345
346
347
348
349
350
351
352
353
354
|
static void new_brlist_page(void){
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", "Show branch colors", "No 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">
|