Browse Source

new changes from Joana

main
Simon Bowie 1 year ago
parent
commit
7bd38c4a9e
3 changed files with 23 additions and 5 deletions
  1. +21
    -2
      web/app/static/styles/custom.css
  2. +2
    -2
      web/app/templates/search.html
  3. +0
    -1
      web/app/templates/text.html

+ 21
- 2
web/app/static/styles/custom.css View File

border-bottom: 0.20rem var(--color-lightyellow) solid; border-bottom: 0.20rem var(--color-lightyellow) solid;
} }


#time {
margin-top: 2.5rem;
}

#geo {
margin-top: 2.5rem;
}

/* THEMES */ /* THEMES */


.themes { .themes {
padding: 0.5rem !important; padding: 0.5rem !important;
} }


.search-back {
margin: -1rem 0.5rem;
.h1 {
padding-top: 2rem;
} }


/* INDEX SEARCH */ /* INDEX SEARCH */
width: 250px; width: 250px;
} }


.w100-s {
width: 100%;
}

/* RANDOM TITLES */ /* RANDOM TITLES */


.action button { .action button {
flex: auto !important; flex: auto !important;
} }


/* TEXT PAGES LIKE ARCHIVAL CONVERSATIONS AND MAKING OF */

.text {
margin: 0% 10%;
}


} }


@media screen and (min-width:0px) and (max-width: 414px) { @media screen and (min-width:0px) and (max-width: 414px) {

+ 2
- 2
web/app/templates/search.html View File



<div class="row"> <div class="row">
<div class="col m-5"> <div class="col m-5">
<a href="{{ url_for('main.index') }}" class="search-back text-left" title="back to search">search</a>
<a href="{{ url_for('main.index') }}" class="h1 text-left"> ⇽ </a>
<p class="h1 text-center">a timeline of inventions</p> <p class="h1 text-center">a timeline of inventions</p>
<p class="mt-2 text-center">{{ num_found }} patents found out of {{ total_number }}</p> <p class="mt-2 text-center">{{ num_found }} patents found out of {{ total_number }}</p>
</div> </div>
<input type="hidden" name="sort" value="{{ sort }}"> <input type="hidden" name="sort" value="{{ sort }}">
<input type="hidden" name="year" value="{{ year }}"> <input type="hidden" name="year" value="{{ year }}">
filter by country: filter by country:
<select name="country" id="sort" onchange="this.form.submit()">
<select name="country" id="sort" class="w100-s" onchange="this.form.submit()">
{% if country is defined %} {% if country is defined %}
<option value="None" selected>none</option> <option value="None" selected>none</option>
{% else %} {% else %}

+ 0
- 1
web/app/templates/text.html View File

<div class="text"> <div class="text">
<button id="notes-operations" onclick="hideShowInfo()">?</button>
<a href="{{ url_for('main.index') }}" class="search-back text-left" title="back to search">search</a> <a href="{{ url_for('main.index') }}" class="search-back text-left" title="back to search">search</a>
{% extends "base.html" %} {% extends "base.html" %}

Loading…
Cancel
Save