Fossil SCM

Change the /test-version webpage into /version. Link it to /stat.

drh 2016-11-16 14:47 trunk merge
Commit 286effd5e9fef7545f5944180b10761283386e37
2 files changed +2 -1 +1 -1
+2 -1
--- src/main.c
+++ src/main.c
@@ -1011,11 +1011,11 @@
10111011
fossil_print("%s", blob_str(&versionInfo));
10121012
}
10131013
10141014
10151015
/*
1016
-** WEBPAGE: test-version
1016
+** WEBPAGE: version
10171017
**
10181018
** Show the version information for Fossil.
10191019
**
10201020
** Query parameters:
10211021
**
@@ -1027,10 +1027,11 @@
10271027
10281028
login_check_credentials();
10291029
if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
10301030
verboseFlag = P("verbose")!=0;
10311031
style_header("Version Information");
1032
+ style_submenu_element("Stat", "stat");
10321033
get_version_blob(&versionInfo, verboseFlag);
10331034
@ <blockquote><pre>
10341035
@ %h(blob_str(&versionInfo))
10351036
@ </pre></blockquote>
10361037
style_footer();
10371038
--- src/main.c
+++ src/main.c
@@ -1011,11 +1011,11 @@
1011 fossil_print("%s", blob_str(&versionInfo));
1012 }
1013
1014
1015 /*
1016 ** WEBPAGE: test-version
1017 **
1018 ** Show the version information for Fossil.
1019 **
1020 ** Query parameters:
1021 **
@@ -1027,10 +1027,11 @@
1027
1028 login_check_credentials();
1029 if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
1030 verboseFlag = P("verbose")!=0;
1031 style_header("Version Information");
 
1032 get_version_blob(&versionInfo, verboseFlag);
1033 @ <blockquote><pre>
1034 @ %h(blob_str(&versionInfo))
1035 @ </pre></blockquote>
1036 style_footer();
1037
--- src/main.c
+++ src/main.c
@@ -1011,11 +1011,11 @@
1011 fossil_print("%s", blob_str(&versionInfo));
1012 }
1013
1014
1015 /*
1016 ** WEBPAGE: version
1017 **
1018 ** Show the version information for Fossil.
1019 **
1020 ** Query parameters:
1021 **
@@ -1027,10 +1027,11 @@
1027
1028 login_check_credentials();
1029 if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
1030 verboseFlag = P("verbose")!=0;
1031 style_header("Version Information");
1032 style_submenu_element("Stat", "stat");
1033 get_version_blob(&versionInfo, verboseFlag);
1034 @ <blockquote><pre>
1035 @ %h(blob_str(&versionInfo))
1036 @ </pre></blockquote>
1037 style_footer();
1038
+1 -1
--- src/stat.c
+++ src/stat.c
@@ -178,11 +178,11 @@
178178
@ <td>%h(p) %h(db_get("parent-project-name",""))</td></tr>
179179
}
180180
/* @ <tr><th>Server&nbsp;ID:</th><td>%h(db_get("server-code",""))</td></tr> */
181181
@ <tr><th>Fossil&nbsp;Version:</th><td>
182182
@ %h(MANIFEST_DATE) %h(MANIFEST_VERSION)
183
- @ (%h(RELEASE_VERSION)) [compiled using %h(COMPILER_NAME)]
183
+ @ (%h(RELEASE_VERSION)) <a href='version?verbose=1'>(details)</a>
184184
@ </td></tr>
185185
@ <tr><th>SQLite&nbsp;Version:</th><td>%.19s(sqlite3_sourceid())
186186
@ [%.10s(&sqlite3_sourceid()[20])] (%s(sqlite3_libversion()))</td></tr>
187187
@ <tr><th>Schema&nbsp;Version:</th><td>%h(g.zAuxSchema)</td></tr>
188188
@ <tr><th>Repository Rebuilt:</th><td>
189189
--- src/stat.c
+++ src/stat.c
@@ -178,11 +178,11 @@
178 @ <td>%h(p) %h(db_get("parent-project-name",""))</td></tr>
179 }
180 /* @ <tr><th>Server&nbsp;ID:</th><td>%h(db_get("server-code",""))</td></tr> */
181 @ <tr><th>Fossil&nbsp;Version:</th><td>
182 @ %h(MANIFEST_DATE) %h(MANIFEST_VERSION)
183 @ (%h(RELEASE_VERSION)) [compiled using %h(COMPILER_NAME)]
184 @ </td></tr>
185 @ <tr><th>SQLite&nbsp;Version:</th><td>%.19s(sqlite3_sourceid())
186 @ [%.10s(&sqlite3_sourceid()[20])] (%s(sqlite3_libversion()))</td></tr>
187 @ <tr><th>Schema&nbsp;Version:</th><td>%h(g.zAuxSchema)</td></tr>
188 @ <tr><th>Repository Rebuilt:</th><td>
189
--- src/stat.c
+++ src/stat.c
@@ -178,11 +178,11 @@
178 @ <td>%h(p) %h(db_get("parent-project-name",""))</td></tr>
179 }
180 /* @ <tr><th>Server&nbsp;ID:</th><td>%h(db_get("server-code",""))</td></tr> */
181 @ <tr><th>Fossil&nbsp;Version:</th><td>
182 @ %h(MANIFEST_DATE) %h(MANIFEST_VERSION)
183 @ (%h(RELEASE_VERSION)) <a href='version?verbose=1'>(details)</a>
184 @ </td></tr>
185 @ <tr><th>SQLite&nbsp;Version:</th><td>%.19s(sqlite3_sourceid())
186 @ [%.10s(&sqlite3_sourceid()[20])] (%s(sqlite3_libversion()))</td></tr>
187 @ <tr><th>Schema&nbsp;Version:</th><td>%h(g.zAuxSchema)</td></tr>
188 @ <tr><th>Repository Rebuilt:</th><td>
189

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button