Fossil

Check-in [f9cfb7c7]
Login

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

Overview
Comment:Show some debugging information at the bottom of the Login Group Configuration screen: /setup_login_group. This is only visible by the admin.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | form-submenu
Files: files | file ages | folders
SHA1: f9cfb7c7aa3117da680e8ac4c379804ccd4aff94
User & Date: drh 2015-02-05 20:58:23
Context
2015-02-05
21:10
Rename the "Event" objects as "Tech Notes" on the timeline selection box. check-in: b6b2f8df user: drh tags: form-submenu
20:58
Show some debugging information at the bottom of the Login Group Configuration screen: /setup_login_group. This is only visible by the admin. check-in: f9cfb7c7 user: drh tags: form-submenu
19:19
Put an "Older" button at the bottom of /timeline pages that can be extended downward. That button is already at the top of the page, but it is convenient not to have to scroll back to the top to press it. check-in: 9e2e48a4 user: drh tags: form-submenu
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/setup.c.

1261
1262
1263
1264
1265
1266
1267

















1268
1269
1270
1271
1272
1273
1274
    @ </table>
    @
    @ <p><form action="%s(g.zTop)/setup_login_group" method="post"><div>
    login_insert_csrf_secret();
    @ To leave this login group press
    @ <input type="submit" value="Leave Login Group" name="leave">
    @ </form></p>

















  }
  style_footer();
}

/*
** WEBPAGE: setup_timeline
*/







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
    @ </table>
    @
    @ <p><form action="%s(g.zTop)/setup_login_group" method="post"><div>
    login_insert_csrf_secret();
    @ To leave this login group press
    @ <input type="submit" value="Leave Login Group" name="leave">
    @ </form></p>
    @ <hr><h2>Implementation Details</h2>
    @ <p>The following are fields from the CONFIG table related to login-groups,
    @ provided here for instructional and debugging purposes:</p>
    @ <table border='1' id='configTab'>
    @ <thead><tr><th>Config.Name<th>Config.Value<th>Config.mtime</tr></thead><tbody>
    db_prepare(&q, "SELECT name, value, datetime(mtime,'unixepoch') FROM config"
                   " WHERE name GLOB 'peer-*'"
                   "    OR name GLOB 'project-*'"
                   " ORDER BY name");
    while( db_step(&q)==SQLITE_ROW ){
      @ <tr><td>%h(db_column_text(&q,0))</td>
      @ <td>%h(db_column_text(&q,1))</td>
      @ <td>%h(db_column_text(&q,2))</td></tr>
    }
    db_finalize(&q);
    @ </tbody></table>
    output_table_sorting_javascript("configTab","ttt",1);
  }
  style_footer();
}

/*
** WEBPAGE: setup_timeline
*/