Spaces:
Runtime error
Runtime error
igashov
commited on
Commit
·
8f8a932
1
Parent(s):
7d61a8d
vis
Browse files
output.py
CHANGED
|
@@ -36,6 +36,7 @@ INITIAL_RENDERING_TEMPLATE = """<!DOCTYPE html>
|
|
| 36 |
SAMPLES_RENDERING_TEMPLATE = """<!DOCTYPE html>
|
| 37 |
<html>
|
| 38 |
<head>
|
|
|
|
| 39 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
| 40 |
<style>
|
| 41 |
.mol-container {{
|
|
@@ -46,14 +47,25 @@ SAMPLES_RENDERING_TEMPLATE = """<!DOCTYPE html>
|
|
| 46 |
.mol-container select{{
|
| 47 |
background-image:None;
|
| 48 |
}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
</style>
|
| 50 |
<script src="https://3Dmol.csb.pitt.edu/build/3Dmol-min.js"></script>
|
| 51 |
</head>
|
| 52 |
|
| 53 |
<body>
|
| 54 |
<div id="container" class="mol-container"></div>
|
| 55 |
-
<button id="fragments">Input Fragments</button>
|
| 56 |
-
<button id="molecule">Output Molecule</button>
|
| 57 |
<script>
|
| 58 |
let element = $("#container");
|
| 59 |
let config = {{ backgroundColor: "white" }};
|
|
|
|
| 36 |
SAMPLES_RENDERING_TEMPLATE = """<!DOCTYPE html>
|
| 37 |
<html>
|
| 38 |
<head>
|
| 39 |
+
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'>
|
| 40 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
| 41 |
<style>
|
| 42 |
.mol-container {{
|
|
|
|
| 47 |
.mol-container select{{
|
| 48 |
background-image:None;
|
| 49 |
}}
|
| 50 |
+
.vis-button {{
|
| 51 |
+
font-family: "Source Sans Pro";
|
| 52 |
+
border-radius: 0.5rem;
|
| 53 |
+
padding-top: 0.5rem;
|
| 54 |
+
padding-right: 1rem;
|
| 55 |
+
padding-bottom: 0.5rem;
|
| 56 |
+
padding-left: 1rem;
|
| 57 |
+
font-size: 1rem;
|
| 58 |
+
line-height: 1.5rem;
|
| 59 |
+
font-weight: 600;
|
| 60 |
+
}}
|
| 61 |
</style>
|
| 62 |
<script src="https://3Dmol.csb.pitt.edu/build/3Dmol-min.js"></script>
|
| 63 |
</head>
|
| 64 |
|
| 65 |
<body>
|
| 66 |
<div id="container" class="mol-container"></div>
|
| 67 |
+
<button id="fragments" class="vis-button">Input Fragments</button>
|
| 68 |
+
<button id="molecule" class="vis-button">Output Molecule</button>
|
| 69 |
<script>
|
| 70 |
let element = $("#container");
|
| 71 |
let config = {{ backgroundColor: "white" }};
|