mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-16 07:48:07 +01:00
include title in head with summary readable in tab
This commit is contained in:
parent
12b17e13b6
commit
015b0d42d8
1 changed files with 5 additions and 2 deletions
|
@ -65,7 +65,7 @@ send_header( FILE* fil, const char* title )
|
|||
}
|
||||
|
||||
static void
|
||||
send_meta( FILE* fil )
|
||||
send_meta( FILE* fil, const CrefMgrInfo* info )
|
||||
{
|
||||
FILE* css;
|
||||
RelayConfigs* cfg = RelayConfigs::GetConfigs();
|
||||
|
@ -97,6 +97,9 @@ send_meta( FILE* fil )
|
|||
fclose( css );
|
||||
}
|
||||
}
|
||||
|
||||
fprintf( fil, "<title>relay: %d/%d</title>\n", info->m_nCrefsAll,
|
||||
info->m_nCrefsCurrent );
|
||||
fprintf( fil, "</head>" );
|
||||
}
|
||||
|
||||
|
@ -250,7 +253,7 @@ http_thread_main( void* arg )
|
|||
|
||||
send_header( fil, "status page" );
|
||||
fprintf( fil, "<html>" );
|
||||
send_meta( fil );
|
||||
send_meta( fil, info );
|
||||
fprintf( fil, "<body><div class=\"main\">" );
|
||||
|
||||
printStats( fil, info, isLocal );
|
||||
|
|
Loading…
Reference in a new issue