diff --git a/web/models/Result.model.php b/web/models/Result.model.php index a0fd896..3725ee3 100644 --- a/web/models/Result.model.php +++ b/web/models/Result.model.php @@ -12,12 +12,12 @@ class Result extends Model 'disqualified' => ['type' => 'bool','default'=>0], 'refusals' => ['type' => 'int','default'=>0], 'errors' => ['type' => 'int','default'=>0], - 'timefaults' => ['type' => 'int','default'=>0], - 'runtime' => ['type' => 'int','default'=>0], - 'penalties' => ['type' => 'int','default'=>0], + 'timefaults' => ['type' => 'float','default'=>0], + 'runtime' => ['type' => 'float','default'=>0], + 'penalties' => ['type' => 'float','default'=>0], 'rating' => ['type' => 'text'], 'points' => ['type' => 'int','default'=>0], - 'speed' => ['type' => 'int','default'=>0], //in m/sec + 'speed' => ['type' => 'float','default'=>0], //in m/sec 'ranking' => ['type' => 'int','default'=>0], 'photos' => ['type' => 'array','default'=>[]], 'videos' => ['type' => 'array','default'=>[]], diff --git a/web/pages/runs/edit_result.html b/web/pages/runs/edit_result.html index c48e290..6f9fa0b 100644 --- a/web/pages/runs/edit_result.html +++ b/web/pages/runs/edit_result.html @@ -56,19 +56,19 @@
- +
- +
- +
- +