Skip to content

Commit

Permalink
Update frontend default to 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
drpowell committed Oct 18, 2019
1 parent 7513f01 commit 92ffdbc
Show file tree
Hide file tree
Showing 35 changed files with 1,214 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def degust_compare_url(version, id)
def dir_for_version(version)
case version
when ''
"degust-frontend/degust-dist-3.1"
"degust-frontend/degust-dist-4.1"
when 'dev'
"degust-frontend/degust-dist"
else
Expand All @@ -62,7 +62,7 @@ def dir_for_version(version)
end

def frontend_versions
['3.1', 'dev']
['4.1', '3.1', 'dev']
end
helper_method :frontend_versions, :dir_for_version, :degust_compare_url

Expand Down
25 changes: 25 additions & 0 deletions degust-frontend/degust-dist-4.1/compare.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<html>
<head profile="http://www.w3.org/2005/10/profile">
<link rel="icon" type="image/png" href="images/favicon.png"/>

<!-- Externals CSS -->
<link rel="stylesheet" href='./css/lib.css' />

<link rel="stylesheet" href='./css/common.css' type="text/css" />
<link rel="stylesheet" href='./css/compare.css' type="text/css "/>
</head>
<body>
<div id="replace-me" class="container">
<div class="jumbotron">
<h1>Degust</h1>
<p><a href='http://drpowell.github.io/degust/'>Degust</a> is preparing your data... prepare for degustation...</p>
<img src='./images/front-loader.gif'>
</div>
</div>

<script type="text/javascript">
window.settings = { };
</script>
<script type="text/javascript" src='./compare.js'></script>
</body>
</html>
108 changes: 108 additions & 0 deletions degust-frontend/degust-dist-4.1/compare.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions degust-frontend/degust-dist-4.1/config.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<html>
<head profile="http://www.w3.org/2005/10/profile">
<meta charset="UTF-8">
<link rel="icon" type="image/png" href="images/favicon.png"/>

<!-- Externals CSS -->
<link rel="stylesheet" href="./css/lib.css" />

<link rel="stylesheet" href="./css/common.css" type="text/css"/>
</head>
<body>
<div id='app'></div>

<script type="text/javascript" src='./config.js'></script>
</body>
</html>
73 changes: 73 additions & 0 deletions degust-frontend/degust-dist-4.1/config.js

Large diffs are not rendered by default.

150 changes: 150 additions & 0 deletions degust-frontend/degust-dist-4.1/css/common.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@

.btn-inverse { color: #fff; background-color: #333; border-color: #555; }
.btn-inverse:hover { background-color: #fff; }

div#beta { position: relative; height: 0}
#beta img { position: relative; width: 150px; top: -55px; left: -90px;}
.supported-by a { display: block; }

div#forkme { position: relative; height: 0 }
#forkme img { position: absolute; top: -48px; right: -60px; border: 0; }

/* Override bootstrap popover z-index to ensure it is on top of the navbar */
.popover { z-index: 1090; }


/* ****************************************************/
.warning-popover {
position: relative;
top: 70px;
z-index: 1100;
}

.warning-popover .browser-warning {
position: absolute;
width: 700px;
left: 50%;
margin-left: -350px;
}

.browser-warning {
background-color: #eaa;
padding: 5px 20px;
}

/* Fix slickgrid & bootstrap 3 incompatibility ******************************/

#grid, #grid div {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}


/* Vue tooltips ******************************/

.v-tooltip {
display: block !important;
z-index: 11000;
}

.v-tooltip .tooltip-inner {
background: black;
color: white;
border-radius: 16px;
padding: 5px 10px 4px;
}

.v-tooltip .tooltip-arrow {
width: 0;
height: 0;
border-style: solid;
position: absolute;
margin: 5px;
border-color: black;
z-index: 1;
}

.v-tooltip[x-placement^="top"] {
margin-bottom: 5px;
}

.v-tooltip[x-placement^="top"] .tooltip-arrow {
border-width: 5px 5px 0 5px;
border-left-color: transparent !important;
border-right-color: transparent !important;
border-bottom-color: transparent !important;
bottom: -5px;
left: calc(50% - 5px);
margin-top: 0;
margin-bottom: 0;
}

.v-tooltip[x-placement^="bottom"] {
margin-top: 5px;
}

.v-tooltip[x-placement^="bottom"] .tooltip-arrow {
border-width: 0 5px 5px 5px;
border-left-color: transparent !important;
border-right-color: transparent !important;
border-top-color: transparent !important;
top: -5px;
left: calc(50% - 5px);
margin-top: 0;
margin-bottom: 0;
}

.v-tooltip[x-placement^="right"] {
margin-left: 5px;
}

.v-tooltip[x-placement^="right"] .tooltip-arrow {
border-width: 5px 5px 5px 0;
border-left-color: transparent !important;
border-top-color: transparent !important;
border-bottom-color: transparent !important;
left: -5px;
top: calc(50% - 5px);
margin-left: 0;
margin-right: 0;
}

.v-tooltip[x-placement^="left"] {
margin-right: 5px;
}

.v-tooltip[x-placement^="left"] .tooltip-arrow {
border-width: 5px 0 5px 5px;
border-top-color: transparent !important;
border-right-color: transparent !important;
border-bottom-color: transparent !important;
right: -5px;
top: calc(50% - 5px);
margin-left: 0;
margin-right: 0;
}

.v-tooltip.popover .popover-inner {
background: #f9f9f9;
color: black;
padding: 24px;
border-radius: 5px;
box-shadow: 0 5px 30px rgba(black, .1);
}

.v-tooltip.popover .popover-arrow {
border-color: #f9f9f9;
}

.v-tooltip[aria-hidden='true'] {
visibility: hidden;
opacity: 0;
transition: opacity .15s, visibility .15s;
}

.v-tooltip[aria-hidden='false'] {
visibility: visible;
opacity: 1;
transition: opacity .15s;
}
70 changes: 70 additions & 0 deletions degust-frontend/degust-dist-4.1/css/compare.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@

#main-loading { position: absolute; top: 100px; left: 250px; }

.genesets-toggle, #genesets {display: none;}
.geneset-save { width: 100%;}
.geneset-search input.search { width: 150px; margin: 5px 0;}
.geneset-search .ui-autocomplete-loading {
background: white url("images/ui-anim_basic_16x16.gif") right center no-repeat;
}
.weights {font-size: 12px;}
.weights .name {font-weight: bold; text-align: right; width: 95px; display: inline-block; margin-right: 10px;}
.weights .val { width:20px; width: 50px; display: inline-block;}
.weights-toggle { margin-top: 8px; font-size: 10px; }

div.right { float: right; }
div.filter { font-size: 8pt; border: 1px solid #aaa; border-radius: 5px; background-color: #eee; padding: 0 3px; margin-top: 15px}
.filter label, .filter input { display: inline-block; font-size: 8pt; }
.filter select { display: inline-block; font-size: 8pt; max-width: 200px; }
.filter label { width: 70px; text-align: right; }
.filter input { width: 50px; }
.kegg-filter { display: none; }
.filter input.error { background-color: #fbb; }

.ec-group { display: none; }

.neg { height: 100%; background-color: #ddf; }
.pos { height: 100%; background-color: #fdd; }

.ui-dialog .ui-state-hover { border: 0; }

.error-msg, .error-input { font-size: 11px; }


.warning { background-color: red; }

/* Tour ***********************************************************************/
.popover.wide { max-width: 460px; }

/* Print overlay ***********************************************************************/
.print-popup {
position: absolute;
background-color: #f2f2f2;
border-radius: 4px;

padding: 20px;
font-family: Arial, sans-serif;
font-size: 14px;
border: 1px solid #d4d4d4;
width: 400px;
margin-left: -200px; /* For centering */
left: 50%;
top: 300px;

z-index:11200;
}

.print-backdrop {
position: fixed;
top:0;
bottom: 0;
left: 0;
right: 0;
background-color: black;
opacity: 0.4;
z-index: 200;
}

.print-popup label {
width: 80px;
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
768 changes: 768 additions & 0 deletions degust-frontend/degust-dist-4.1/css/lib.css

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions degust-frontend/degust-dist-4.1/lib.css.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions degust-frontend/degust-dist-4.1/three.js

Large diffs are not rendered by default.

0 comments on commit 92ffdbc

Please sign in to comment.