Removed references to old result routes; fixed typos in some models
This commit is contained in:
parent
9b575f8717
commit
ca940932a7
@ -17,7 +17,7 @@ class Benchmark extends Model {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function results() {
|
public function results() {
|
||||||
return $this->hasMany(Result::class):
|
return $this->hasMany(Result::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ class Component extends Model {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function results() {
|
public function results() {
|
||||||
return $this->hasMany(Result::class):
|
return $this->hasMany(Result::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ class Result extends Model {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function component() {
|
public function component() {
|
||||||
return $this->belongsTo(Component::class):
|
return $this->belongsTo(Component::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function benchmark() {
|
public function benchmark() {
|
||||||
|
@ -14,15 +14,10 @@
|
|||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="six columns">
|
<div class="twelve columns">
|
||||||
<p><a href="{{ url_for('test.list') }}">View current tests</a></p>
|
<p><a href="{{ url_for('test.list') }}">View current tests</a></p>
|
||||||
<p><a href="{{ url_for('test.add') }}">Add a new test</a></p>
|
<p><a href="{{ url_for('test.add') }}">Add a new test</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="six columns">
|
|
||||||
<p><a href="{{ url_for('result.list') }}">View saved results</a></p>
|
|
||||||
<p><a href="{{ url_for('result.add') }}">Add a new result</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -3,10 +3,9 @@
|
|||||||
<ul class="nav-left">
|
<ul class="nav-left">
|
||||||
<li class="site-logo">Colossus</li>
|
<li class="site-logo">Colossus</li>
|
||||||
<li><a href="{{ url_for('dashboard') }}">Dashboard</a></li>
|
<li><a href="{{ url_for('dashboard') }}">Dashboard</a></li>
|
||||||
<li><a href="/benchmark">Benchmarks</a></li>
|
<li><a href="{{ url_for('benchmark.list') }}">Benchmarks</a></li>
|
||||||
<li><a href="/component">Components</a></li>
|
<li><a href="{{ url_for('component.list') }}">Components</a></li>
|
||||||
<li><a href="{{ url_for('test.list') }}">Test</a></li>
|
<li><a href="{{ url_for('test.list') }}">Test</a></li>
|
||||||
<li><a href="/result">Results</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
|
Loading…
Reference in New Issue
Block a user