Client formatting sync for 19.01

This commit is contained in:
Dannon Baker
2019-02-26 11:14:36 -05:00
parent 14f3ce3b50
commit 1583eecfdb
6 changed files with 28 additions and 23 deletions
+1 -1
View File
@@ -82,4 +82,4 @@ export function multiHistory(options) {
}
// Used in common.mako
export { default as store } from "store";
export { default as store } from "store";
@@ -12,7 +12,7 @@
</div>
</template>
<script>
import { getErrorStack } from "./AdminServices.js"
import { getErrorStack } from "./AdminServices.js";
export default {
data() {
@@ -20,10 +20,10 @@ export default {
errorStack: [],
errorStackLoaded: false,
errorStackAttributes: [
{ key: 'time', sortable: true },
{ key: 'phase', sortable: true },
{ key: 'file', sortable: true },
{ key: 'error' }
{ key: "time", sortable: true },
{ key: "phase", sortable: true },
{ key: "file", sortable: true },
{ key: "error" }
],
messageText: null
};
@@ -18,9 +18,7 @@ export function clear_main_area() {
}
export function display_spinner() {
$("#main").append(
`<div id="ie-loading-spinner"></div>`
);
$("#main").append(`<div id="ie-loading-spinner"></div>`);
}
/* Create a spin_state object used by spin() and spin_again() */
@@ -183,8 +183,10 @@ var View = Backbone.View.extend({
input.is_workflow =
(data_ref.step_linked && !self._isDataStep(data_ref.step_linked)) || input.wp_linked;
}
if (is_data_input ||
(input.value && input.value.__class__ == "RuntimeValue" && !input.step_linked)) {
if (
is_data_input ||
(input.value && input.value.__class__ == "RuntimeValue" && !input.step_linked)
) {
step.collapsed = false;
}
if (is_runtime_value) {
@@ -273,7 +273,9 @@ const WorkflowListView = Backbone.View.extend({
this.searchWorkflow(this.$(".search-wf"), this.$(".workflow-search tr"), minQueryLength);
this.adjustActiondropdown();
this._showArgErrors();
this.$(".hidden_description_layer").get(0).addEventListener('drop', _.bind(this.drop, this));
this.$(".hidden_description_layer")
.get(0)
.addEventListener("drop", _.bind(this.drop, this));
return this;
},
+14 -11
View File
@@ -2078,9 +2078,11 @@ div.toolTitleNoSection {
/* Toolshed, reports custom styles from mako templates */
body.toolshed {
margin: 0; padding: 0; overflow: hidden;
margin: 0;
padding: 0;
overflow: hidden;
#left {
background: #C1C9E5 url(../../images/menu_bg.png) top repeat-x;
background: #c1c9e5 url(../../images/menu_bg.png) top repeat-x;
}
.unified-panel-body {
overflow: auto;
@@ -2090,21 +2092,22 @@ body.toolshed {
}
}
body.reports {
margin: 0; padding: 0; overflow: hidden;
margin: 0;
padding: 0;
overflow: hidden;
#left {
background: #C1C9E5 url(../../images/menu_bg.png) top repeat-x;
background: #c1c9e5 url(../../images/menu_bg.png) top repeat-x;
}
}
/* Used in Galaxy IE for spinner loading TODO: Remove in IE entrypoint refactoring */
#ie-loading-spinner {
position:absolute;
margin:auto;
top:0;
left:0;
right:0;
bottom:0;
position: absolute;
margin: auto;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url(../../images/largespinner.gif) no-repeat center center fixed;
}