export video/image
This commit is contained in:
@@ -9,11 +9,11 @@ from .models import ExperimentConfig
|
||||
class ExperimentConfigAdmin(admin.ModelAdmin):
|
||||
"""Admin Django pour les configurations d'expérience."""
|
||||
readonly_fields = ('experiment', 'px_per_mm', 'fps', 'well_radius_mm',)
|
||||
list_display = ("experiment_key", "well", "active", "px_per_mm", "fps",
|
||||
list_display = ("experiment_key", "well", "active", "planarian_count", "px_per_mm", "fps",
|
||||
"thresh_immobile", "thresh_mobile",
|
||||
"photo_mode", "chemo_strength", "created_at", )
|
||||
|
||||
list_filter = ("experiment_key", "photo_mode", "tube_axis")
|
||||
list_filter = ("experiment_key__session_experiments__session", "experiment_key", "photo_mode", "thigmotaxis_wall_dist_mm", "planarian_count")
|
||||
search_fields = ("experiment_key", "well_name", "description")
|
||||
ordering = ("-created_at",)
|
||||
|
||||
|
||||
@@ -17,10 +17,7 @@
|
||||
{% endfor %}
|
||||
</select>
|
||||
<div class="w3-margin-left w3-margin-bottom">
|
||||
{% for ss in experiments %}
|
||||
<input class="" type="radio" name="_expid" value="{{ ss.id }}" {% if ss.id == current_experiment.id %}checked{% endif %} onchange="this.form.submit()" >
|
||||
<label>{{ ss }}</label>
|
||||
{% endfor %}
|
||||
{% include "scanner/experiment-inc.html" %}
|
||||
</div>
|
||||
</form>
|
||||
{% block export_csv %}
|
||||
|
||||
Reference in New Issue
Block a user