Skip to content

Commit

Permalink
Merge branch 'dev' into admin.data.manager.vue.steps
Browse files Browse the repository at this point in the history
  • Loading branch information
scrathat committed Oct 17, 2018
2 parents 53a505e + fbe9e97 commit 6d2a755
Show file tree
Hide file tree
Showing 74 changed files with 1,835 additions and 327 deletions.
4 changes: 2 additions & 2 deletions client/README.md
Expand Up @@ -65,8 +65,8 @@ Changing Styles/CSS
===================

The CSS and styling used by Galaxy is also controlled from this directory.
Galaxy uses LESS, a superset of CSS that compiles to CSS, for its styling. LESS
files are kept in client/galaxy/style/less. Compiled CSS is in
Galaxy uses Sass for its styling, a superset of CSS that compiles to CSS. Sass
files are kept in client/galaxy/style/scss. Compiled CSS is in
static/style/blue.

As mentioned above, 'make client' will also rebuild styles. If you *only* want
Expand Down
5 changes: 5 additions & 0 deletions client/galaxy/docs/README.md
@@ -0,0 +1,5 @@
The \*.md files in this directory are rendered as a style guide generated when
running ```yarn run styleguide```.

For more details see [Vue
Styleguidist](https://github.com/vue-styleguidist/vue-styleguidist).
32 changes: 16 additions & 16 deletions client/galaxy/docs/bootstrap.md
Expand Up @@ -2,7 +2,7 @@

Regular buttons

```
```vue
<div>
<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button>
Expand All @@ -16,7 +16,7 @@ Regular buttons

Disabled

```
```vue
<div>
<button type="button" class="btn btn-primary disabled">Primary</button>
<button type="button" class="btn btn-secondary disabled">Secondary</button>
Expand All @@ -28,7 +28,7 @@ Disabled
</div>
```

```
```vue
<div>
<button type="button" class="btn btn-outline-primary">Primary</button>
<button type="button" class="btn btn-outline-secondary">Secondary</button>
Expand All @@ -39,7 +39,7 @@ Disabled
</div>
```

```
```vue
<div class="btn-group" role="group" aria-label="Button group with nested dropdown">
<button type="button" class="btn btn-primary">Primary</button>
<div class="btn-group" role="group">
Expand All @@ -52,7 +52,7 @@ Disabled
</div>
```

```
```vue
<div class="btn-group" role="group" aria-label="Button group with nested dropdown">
<button type="button" class="btn btn-success">Success</button>
<div class="btn-group" role="group">
Expand All @@ -65,7 +65,7 @@ Disabled
</div>
```

```
```vue
<div class="btn-group" role="group" aria-label="Button group with nested dropdown">
<button type="button" class="btn btn-info">Info</button>
<div class="btn-group" role="group">
Expand All @@ -78,7 +78,7 @@ Disabled
</div>
```

```
```vue
<div class="btn-group" role="group" aria-label="Button group with nested dropdown">
<button type="button" class="btn btn-danger">Danger</button>
<div class="btn-group" role="group">
Expand All @@ -92,7 +92,7 @@ Disabled
</div>
```

```
```vue
<div>
<button type="button" class="btn btn-primary btn-lg">Large button</button>
<button type="button" class="btn btn-primary">Default button</button>
Expand All @@ -102,29 +102,29 @@ Disabled

## Alerts

```
```vue
<div class="alert alert-dismissable alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<h4>Warning!</h4>
<p>Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, <a href="#" class="alert-link">vel scelerisque nisl consectetur et</a>.</p>
</div>
```

```
```vue
<div class="alert alert-dismissable alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again.
</div>
```

```
```vue
<div class="alert alert-dismissable alert-success">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>Well done!</strong> You successfully read <a href="#" class="alert-link">this important alert message</a>.
</div>
```

```
```vue
<div class="alert alert-dismissable alert-info">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>Heads up!</strong> This <a href="#" class="alert-link">alert needs your attention</a>, but it's not super important.
Expand All @@ -133,7 +133,7 @@ Disabled

## Badges

```
```vue
<div>
<span class="badge badge-primary">Primary</span>
<span class="badge badge-secondary">Secondary</span>
Expand All @@ -144,7 +144,7 @@ Disabled
</div>
```

```
```vue
<div class="">
<ul class="nav nav-pills">
<li class="active"><a href="#">Home <span class="badge">42</span></a></li>
Expand All @@ -156,7 +156,7 @@ Disabled

## Tables

```
```vue
<div class="">
<table class="table table-striped table-bordered table-hover">
<thead>
Expand Down Expand Up @@ -217,7 +217,7 @@ Disabled

## Cards

```
```vue
<div class="row">
<div class="col-lg-4">
<div class="bs-component">
Expand Down
14 changes: 7 additions & 7 deletions client/galaxy/docs/galaxy-buttons.md
@@ -1,24 +1,24 @@
## Buttons

```
```vue
<button>Just a default button</button>
```

```
```vue
<a href="#" class="action-button">An anchor with .action-button</a>
```

All the crazy permutations of menu button...

```
```vue
<a href="#" class="menubutton">An anchor with .menu-button</a>
```

```
```vue
<a href="#" class="menubutton popup">An anchor with .menu-button.popup</a>
```

```
```vue
<a href="#" class="menubutton popup split">
<a class="menubutton-label">An anchor with .menu-button.popup.split</a>
</a>
Expand All @@ -28,7 +28,7 @@ All the crazy permutations of menu button...

As generated by mvc.ui.ui-options

```
```vue
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
<input type="radio" name="options" id="option1" autocomplete="off" checked> Active
Expand All @@ -44,6 +44,6 @@ As generated by mvc.ui.ui-options

## Pagination

```
```vue
<ul class="pagination"><li class="page-item disabled"><a class="page-link" href="#page/1"><span class="fa fa-angle-double-left"></span></a></li><li class="page-item disabled"><a class="page-link" href="#page/1">0</a></li><li class="page-item active"><a class="page-link" href="#page/1">1</a></li><li class="page-item"><a class="page-link" href="#page/2">2</a></li><li class="page-item"><a class="page-link" href="#page/4"><span class="fa fa-angle-double-right"></span></a></li></ul>
```
4 changes: 2 additions & 2 deletions client/galaxy/docs/galaxy-forms.md
Expand Up @@ -2,7 +2,7 @@

Manually crafted "tool" form class, this is broken in the BS4 branch I think.

```
```vue
<div class="tool-form">
<form name="foo">
<div class="form-row">
Expand All @@ -18,7 +18,7 @@ Manually crafted "tool" form class, this is broken in the BS4 branch I think.

Portlet variant generated by mvc.form.form-view

```
```vue
<div class="ui-portlet-limited" id="uid-8">
<div class="portlet-header">
<div class="portlet-operations"></div>
Expand Down
6 changes: 3 additions & 3 deletions client/galaxy/docs/galaxy-masthead.md
Expand Up @@ -4,7 +4,7 @@ As generated by layout.masthead.js

Default height:

```
```vue
<nav id="masthead" class="navbar navbar-expand justify-content-center navbar-dark bg-dark">
<a class="navbar-brand">
<img class="navbar-brand-image"/>
Expand All @@ -26,7 +26,7 @@ Default height:

Override height with "height: 80px;"

```
```vue
<nav id="masthead" class="navbar navbar-expand justify-content-center navbar-dark bg-dark" style="height: 80px;">
<a class="navbar-brand">
<img class="navbar-brand-image"/>
Expand All @@ -48,7 +48,7 @@ Override height with "height: 80px;"

Override height with "height: 4rem;"

```
```vue
<nav id="masthead" class="navbar navbar-expand justify-content-center navbar-dark bg-dark" style="height: 4rem;">
<a class="navbar-brand">
<img class="navbar-brand-image"/>
Expand Down
22 changes: 11 additions & 11 deletions client/galaxy/docs/galaxy-menus.md
Expand Up @@ -3,17 +3,17 @@
These are the classes for the menu itself, normally floating, so placed inside
a relative element.

```
```vue
<div style="position: relative; height: 12rem;">
<div class="popmenu-wrapper" style="top: 0;">
<ul class="dropdown-menu">
<li class="head"><a>Heading one</a></li>
<li><a>An item</a></li>
<li><a>Another item</a></li>
<li class="head"><a>Heading two</a></li>
<li><a>Third item</a></li>
<li><a>Last item</a></li>
</ul>
</div>
<div class="popmenu-wrapper" style="top: 0;">
<ul class="dropdown-menu">
<li class="head"><a>Heading one</a></li>
<li><a>An item</a></li>
<li><a>Another item</a></li>
<li class="head"><a>Heading two</a></li>
<li><a>Third item</a></li>
<li><a>Last item</a></li>
</ul>
</div>
</div>
```
6 changes: 3 additions & 3 deletions client/galaxy/docs/galaxy-messages.md
Expand Up @@ -2,7 +2,7 @@

Messages that appear across the top of the panel view below the masthead.

```
```vue
<div>
<div v-for="type in ['done', 'info', 'warning', 'error']">
<div v-bind:class="'panel-' + type + '-message'">I'm a panel-{{type}}-message</div>
Expand All @@ -14,7 +14,7 @@ Messages that appear across the top of the panel view below the masthead.

Used for providing feedback inline.

```
```vue
<div>
<div v-for="type in ['done', 'info', 'warning', 'error']">
<div v-bind:class="type + 'messagelarge'">I'm a {{type}}messagelarge</div>
Expand All @@ -24,7 +24,7 @@ Used for providing feedback inline.

### Small Messages

```
```vue
<div>
<div v-for="type in ['done', 'info', 'warning', 'error']">
<div v-bind:class="type + 'message'">I'm a {{type}}message</div>
Expand Down
2 changes: 1 addition & 1 deletion client/galaxy/docs/galaxy-panels.md
@@ -1,6 +1,6 @@
## Panel (toolMenuContainer)

```
```vue
<div style="height: 200px;">
<div style="position: absolute; width: 250px; height: 200px; border: dotted gray 1px">
<div class="unified-panel-header">
Expand Down
2 changes: 1 addition & 1 deletion client/galaxy/docs/galaxy-tables.md
Expand Up @@ -2,7 +2,7 @@

Tables using the .grid class

```
```vue
<table class="grid">
<thead class="grid-table-header">
<tr><th>One</th><th>Two</th></tr>
Expand Down
2 changes: 1 addition & 1 deletion client/galaxy/docs/galaxy-tabs.md
Expand Up @@ -2,7 +2,7 @@

Tabs as generated by mvc.ui.ui-tabs

```
```vue
<ul style="display: flex;" class="tab-navigation nav nav-tabs">
<li class="tab-element nav-item" id="tab-attribute" style="display: list-item;" data-original-title="" title="">
<a class="nav-link active" id="tab-title-link-attribute">
Expand Down
7 changes: 6 additions & 1 deletion client/galaxy/scripts/apps/analysis.js
Expand Up @@ -145,10 +145,15 @@ window.app = function app(options, bootstrapped) {
},

show_workflows_published: function() {
var userFilter = QueryStringParsing.get("f-username");
this.page.display(
new GridView({
url_base: `${Galaxy.root}workflow/list_published`,
active_tab: "shared"
active_tab: "shared",
url_data:
{
'f-username': ( userFilter == null ) ? "" : userFilter
}
})
);
},
Expand Down
4 changes: 2 additions & 2 deletions client/galaxy/scripts/mvc/ui/ui-rules-edit.js
Expand Up @@ -96,9 +96,9 @@ var View = Backbone.View.extend({
/** Main Template */
_template: function(options) {
return `
<div class="ui-rules-edit">
<div class="ui-rules-edit clearfix">
<span class="ui-rules-preview" />
<span class="ui-rules-edit-button" />
<span class="ui-rules-edit-button float-left" />
</div>
`;
},
Expand Down
2 changes: 1 addition & 1 deletion client/galaxy/scripts/mvc/ui/ui-slider.js
Expand Up @@ -133,7 +133,7 @@ var View = Backbone.View.extend({

/** Slider template */
_template: function() {
return `<div class="ui-form-slider container">
return `<div class="ui-form-slider container-fluid">
<div class="row">
<input class="ui-form-slider-text form-control" type="text"/>
<div class="ui-form-slider-element col mt-1"/>
Expand Down
1 change: 1 addition & 0 deletions client/galaxy/scripts/ui/editable-text.js
Expand Up @@ -64,6 +64,7 @@ $.fn.make_text_editable = function(config_dict) {
}
});
button_elt = $("<button/>")
.addClass("btn-sm float-right")
.text("Done")
.click(() => {
set_text(input_elt.val());
Expand Down

0 comments on commit 6d2a755

Please sign in to comment.