From 25308ea43385417af1ad73a651a8e2e3c5405a02 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 6 Mar 2017 15:31:56 -0800 Subject: [PATCH] BOINC web: put client emulator page under version control --- doc/sim/sim_web.php | 18 +++++++++++------- doc/sim_web.php | 1 + 2 files changed, 12 insertions(+), 7 deletions(-) create mode 120000 doc/sim_web.php diff --git a/doc/sim/sim_web.php b/doc/sim/sim_web.php index 79d71b46b8..201b6dcbc8 100644 --- a/doc/sim/sim_web.php +++ b/doc/sim/sim_web.php @@ -63,9 +63,10 @@ function show_scenario_summary($f) { $user = BoincUser::lookup_id($userid); $date = date_str(filemtime("scenarios/$f")); $nsims = nsims($f); + $name = $user?$user->name:"???"; echo " $f - $user->name + $name $date $nsims $desc @@ -107,6 +108,14 @@ function show_scenarios() { projects with very short or long jobs, and so on). See The BCE documentation for details. + "; + echo ' +

+ Create a scenario + + '; + echo "

Simulations

You can run simulations based on existing scenarios (including scenarios created by other people). @@ -149,12 +158,7 @@ function show_scenarios() {
  • you have suggestions for new features.
    - "; - show_button( - "sim_web.php?action=create_scenario_form", - "Create a scenario", "Create a new scenario" - ); - echo " +

    Existing scenarios

    "; start_table(); diff --git a/doc/sim_web.php b/doc/sim_web.php new file mode 120000 index 0000000000..efb778903d --- /dev/null +++ b/doc/sim_web.php @@ -0,0 +1 @@ +/home/boincadm/boinc/doc/sim/sim_web.php \ No newline at end of file