mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Sync client formatting.
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
<script>
|
||||
import _ from "underscore";
|
||||
import axios from "axios";
|
||||
import Vue from 'vue';
|
||||
import BootstrapVue from 'bootstrap-vue';
|
||||
import Vue from "vue";
|
||||
import BootstrapVue from "bootstrap-vue";
|
||||
import { getAppRoot } from "onload/loadConfig";
|
||||
import * as bibtexParse from "libs/bibtexParse";
|
||||
import { convertLaTeX } from "latex-to-unicode-converter";
|
||||
|
||||
@@ -25,7 +25,8 @@
|
||||
</b-card>
|
||||
</b-form>
|
||||
<b-button v-for="idp in oidc_idps" :key="idp" class="d-block mt-3" @click="submitOIDCLogin(idp)">
|
||||
<i v-bind:class="oidc_idps_icons[idp]" /> Sign in with {{ idp.charAt(0).toUpperCase() + idp.slice(1) }}
|
||||
<i v-bind:class="oidc_idps_icons[idp]" /> Sign in with
|
||||
{{ idp.charAt(0).toUpperCase() + idp.slice(1) }}
|
||||
</b-button>
|
||||
</div>
|
||||
<div v-if="show_welcome_with_login" class="col">
|
||||
|
||||
@@ -441,7 +441,7 @@ var ToolPanel = Backbone.Model.extend({
|
||||
// and is not a ExpressionTool is treated as a generic tool.
|
||||
if (type.indexOf("Tool") === type.length - 4) {
|
||||
let tool = self.attributes.tools.get(elt_dict.id);
|
||||
if (type === 'ExpressionTool') {
|
||||
if (type === "ExpressionTool") {
|
||||
tool.hide();
|
||||
}
|
||||
return tool;
|
||||
|
||||
@@ -38,9 +38,9 @@ var Base = Backbone.View.extend({
|
||||
.removeClass()
|
||||
.addClass("ui-options")
|
||||
.addClass(this.model.get("cls"))
|
||||
.append(this.$message = $("<div/>").addClass("mt-2"))
|
||||
.append(this.$menu = $("<div/>").addClass("ui-options-menu"))
|
||||
.append(this.$options = $(this._template()));
|
||||
.append((this.$message = $("<div/>").addClass("mt-2")))
|
||||
.append((this.$menu = $("<div/>").addClass("ui-options-menu")))
|
||||
.append((this.$options = $(this._template())));
|
||||
|
||||
// add select/unselect all button
|
||||
this.all_button = null;
|
||||
|
||||
@@ -276,7 +276,7 @@ var Node = Backbone.Model.extend({
|
||||
// the output already exists, but the output formats may have changed.
|
||||
// Therefore we update the datatypes and destroy invalid connections.
|
||||
node.output_terminals[output.name].datatypes = output.extensions;
|
||||
if (node.type == 'parameter_input') {
|
||||
if (node.type == "parameter_input") {
|
||||
node.output_terminals[output.name].attributes.type = output.type;
|
||||
}
|
||||
node.output_terminals[output.name].destroyInvalidConnections();
|
||||
|
||||
@@ -354,7 +354,9 @@ export default Backbone.View.extend({
|
||||
// Load workflow definition
|
||||
this.load_workflow(self.options.id, self.options.version);
|
||||
if (make_popupmenu) {
|
||||
$("#workflow-run-button").click(() => window.location = `${getAppRoot()}workflows/run?id=${self.options.id}`);
|
||||
$("#workflow-run-button").click(
|
||||
() => (window.location = `${getAppRoot()}workflows/run?id=${self.options.id}`)
|
||||
);
|
||||
$("#workflow-save-button").click(() => save_current_workflow());
|
||||
make_popupmenu($("#workflow-options-button"), {
|
||||
"Save As": workflow_save_as,
|
||||
|
||||
Reference in New Issue
Block a user