Browse Source

newest updates

master
Cristina Cochior 4 years ago
parent
commit
3710900007
  1. 37
      static/css/main.css
  2. 370
      static/js/mergedjson.json
  3. 14
      templates/layout.html

37
static/css/main.css

@ -13,7 +13,7 @@ body{
padding: 1.7em 0em; padding: 1.7em 0em;
float: left; float: left;
width: 50%; width: 50%;
background: red; background: #ffcfcf;
overflow-y: scroll; overflow-y: scroll;
height: 100vh; height: 100vh;
} }
@ -22,7 +22,7 @@ body{
padding: 2em 1em; padding: 2em 1em;
float: right; float: right;
width: 50%; width: 50%;
background: purple; background: #a28ea2;
overflow-y: scroll; overflow-y: scroll;
height: 100vh; height: 100vh;
} }
@ -57,14 +57,14 @@ li span.nav-button {
} }
.nav-top { .nav-top {
height: 1.5em; height: 24px;
background: white; background: white;
width: 100%; width: 100%;
position: fixed; position: fixed;
} }
.nav-bottom{ .nav-bottom{
height: 1.5em; height: 24px;
background: white; background: white;
width: 100%; width: 100%;
bottom: 0; bottom: 0;
@ -76,6 +76,7 @@ span.librarian-names, span.file-names {
text-decoration: none; text-decoration: none;
padding: 0.3em; padding: 0.3em;
color: black; color: black;
font-family: sans-serif;
} }
span.librarian-names:hover, span.file-names:hover { span.librarian-names:hover, span.file-names:hover {
@ -84,10 +85,12 @@ span.librarian-names:hover, span.file-names:hover {
} }
#listofpeople{ #listofpeople{
border: lime 1px solid; /* border: lime 1px solid; */
position: fixed; position: fixed;
width: 50%; width: 50%;
padding: 0em; padding: 0em;
top: 25px;
left: 0;
} }
.file-names-container { .file-names-container {
@ -98,9 +101,9 @@ span.librarian-names:hover, span.file-names:hover {
/* Standard syntax */ /* Standard syntax */
transform: rotate(-90deg) translate(-0%, 0%); transform: rotate(-90deg) translate(-0%, 0%);
transform-origin: top left; transform-origin: top left;
border:blue 1px solid; /* border:blue 1px solid; */
height: 50vw; height: 50vw;
width: 30vw; width: 35vw;
overflow-y: scroll; overflow-y: scroll;
overflow-x: hidden; overflow-x: hidden;
position: absolute; position: absolute;
@ -121,10 +124,28 @@ audio.listed-audio {
width: 100%; width: 100%;
} }
embed.listed-pdf { object.listed-pdf {
width: 100%; width: 100%;
height: 75vh;
} }
.clicked { .clicked {
color: blue !important; color: blue !important;
} }
button#listoffiles {
position: fixed;
left: 46%;
top: 48%;
transform: rotate(90deg);
width: 6.3%;
}
button#about {
position: fixed;
left: 47.65%;
top: 48%;
width: 6.4%;
transform: rotate(270deg);
}

370
static/js/mergedjson.json

File diff suppressed because it is too large

14
templates/layout.html

@ -253,7 +253,6 @@ $.ajax({
</ul> </ul>
</div> </div>
<div class="main"> <div class="main">
<div><a href="{{about}}">ABOUT</a></div>
<div class="main-column-left"> <div class="main-column-left">
<div id="listofpeople"> <div id="listofpeople">
@ -263,8 +262,8 @@ $.ajax({
</div> </div>
<!-- submit data --> <!-- submit data -->
<button id="about">About</button>
<button id="listoffiles" style="margin-top: 11em" >Print!</button> <button id="listoffiles">Print</button>
<br> <br>
@ -275,12 +274,12 @@ $.ajax({
{% for item in file['librarian'] %} {% for item in file['librarian'] %}
{% if item == querylibrarian and urlmethod == []%} {% if item == querylibrarian and urlmethod == []%}
{% set show_file = file['debrisname'] %} {% set show_file = file['debrisname'] %}
<span class="file-names" id="{{show_file}}">{{show_file}}</span> <span class="file-names" id="{{show_file}}">{{show_file}}</span><br>
{% elif item == querylibrarian %} {% elif item == querylibrarian %}
{% for urlmeth in urlmethod %} {% for urlmeth in urlmethod %}
{% if urlmeth.lower() == file['method'].lower() %} {% if urlmeth.lower() == file['method'].lower() %}
{% set show_file = file['debrisname'] %} {% set show_file = file['debrisname'] %}
<span class="file-names" id="{{show_file}}">{{show_file}}</span> <span class="file-names" id="{{show_file}}">{{show_file}}</span><br>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
@ -293,7 +292,7 @@ $.ajax({
{% for file in filetoname_dict %} {% for file in filetoname_dict %}
{% if querymethod.lower() == file['method'].lower()%} {% if querymethod.lower() == file['method'].lower()%}
{% set show_file = file['debrisname'] %} {% set show_file = file['debrisname'] %}
<span class="file-names" id="{{show_file}}">{{show_file}}</span> <span class="file-names" id="{{show_file}}">{{show_file}}</span><br>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
@ -301,9 +300,8 @@ $.ajax({
</div> </div>
<div class="main-column-right"> <div class="main-column-right">
<a href="{{ url_for('static', filename='realjson.json') }}">test link</a> <!--<a href="{{ url_for('static', filename='realjson.json') }}">test link</a>-->
<ul class="name-elements"> <ul class="name-elements">
<p>hello world</p>
</ul> </ul>
{% block content %} {% block content %}

Loading…
Cancel
Save