Skip to content

Commit f2e94d0

Browse files
committed
Enhance Chemdoodle Integration and Improve Reaction Form Layout
- Refactored JavaScript functions in chemdoodleIntegration.js to improve input handling for substrates and products. - Introduced helper functions to streamline the retrieval of identifier cells and inputs. - Updated event listeners to utilize new helper functions for better readability and maintainability. - Redesigned the HTML structure of the reaction form in home_page.html for improved accessibility and user experience. - Enhanced the layout of substrates and products sections with clearer headers and action buttons. - Added bulk apply options for substrates and products to streamline user interactions. - Implemented a new view in graph_views.py to retrieve graph information for saved reactions, including validation for user IDs and structured JSON responses.
1 parent 2afe937 commit f2e94d0

6 files changed

Lines changed: 976 additions & 734 deletions

File tree

curationTool/reactions/static/reactions/css/home_page.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ body {
66
}
77

88
:root {
9-
--panel-gap: 24px;
10-
--panel-default-width: calc(50% - var(--panel-gap));
9+
--panel-gap: 20px;
10+
--panel-default-width: calc(50% - (var(--panel-gap)));
1111
}
1212

1313
.top-menu {
@@ -101,7 +101,7 @@ body {
101101
flex-wrap: wrap;
102102
justify-content: flex-start;
103103
align-items: stretch;
104-
gap: 20px;
104+
gap: var(--panel-gap);
105105
padding: 24px;
106106
margin-left: 0;
107107
box-sizing: border-box;

0 commit comments

Comments
 (0)