Commit c74d86a2 authored by Rachel TORCHET's avatar Rachel TORCHET
Browse files

Add CSS file to update compounds_list aspect

parent fb420a23
No preview for this file type
/*
Theme Name: IPPI-DB
Theme URI: https://ippidb.pasteur.fr/
Author: Rachel Torchet
Description: IPPI-DB Theme
*/
/* COMPOUND SESSION */
/* Compounds list */
.compounds_list_number span {
font-family: "BrandonGrotesqueBlk";
text-transform: uppercase;
font-size: 30px;
}
\ No newline at end of file
......@@ -11,3 +11,4 @@ Description: IPPI-DB Theme
@import url("fonts.css");
@import url("admin-session.css");
@import url("main.css");
@import url("compounds_list.css");
......@@ -19,6 +19,9 @@ $("#id_ProteinDomainComplexTypeForm-complexChoice").change(function(){
}).change();
});
// Function to switch dropdown value according to a previous choice
//Function to load different template setting on Composition page
function onloadTest(type, choice){
console.log("Onload Test:",type,choice);
......
......@@ -9,6 +9,7 @@ function update_partner_bound_fields_visibility(){
let source=this;
let partner = $(source).val() == "Partner";
if(partner){
console.log(partner);
$(source).closest(".formset-item").find(".partner-complex-only").parent().show();
$(source).closest(".formset-item").find(".bound-complex-only").parent().hide();
}else{
......
{% extends "base.html" %}
{% load customtags %}
{% block title %}compounds list{% endblock %}
{% block title %}Compounds list{% endblock %}
{% block extra_js %}
{{block.super}}
......@@ -165,7 +165,7 @@
</div>
<div class="m-2 d-flex justify-content-between">
<span>{{ paginator.count }} compounds</span>
<span class="compounds_list_number">{{ paginator.count }} compounds</span>
{% if filter_on %}
<span>
&nbsp;-&nbsp;filters:&nbsp;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment