BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
9e433536
Commit
9e433536
authored
Jan 31, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Started adding filters to issues modal
parent
538a6875
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
0 deletions
+66
-0
filters.js.es6
...assets/javascripts/boards/components/modal/filters.js.es6
+47
-0
header.js.es6
app/assets/javascripts/boards/components/modal/header.js.es6
+2
-0
boards.scss
app/assets/stylesheets/pages/boards.scss
+17
-0
No files found.
app/assets/javascripts/boards/components/modal/filters.js.es6
0 → 100644
View file @
9e433536
/* global Vue */
(() => {
const ModalStore = gl.issueBoards.ModalStore;
gl.issueBoards.ModalFilters = Vue.extend({
template: `
<div class="modal-filters">
<div class="dropdown">
<button
class="dropdown-menu-toggle js-user-search js-author-search"
type="button"
data-toggle="dropdown">
Author
<i class="fa fa-chevron-down"></i>
</button>
</div>
<div class="dropdown">
<button
class="dropdown-menu-toggle js-user-search js-assignee-search"
type="button"
data-toggle="dropdown">
Assignee
<i class="fa fa-chevron-down"></i>
</button>
</div>
<div class="dropdown">
<button
class="dropdown-menu-toggle js-milestone-select"
type="button"
data-toggle="dropdown">
Milestone
<i class="fa fa-chevron-down"></i>
</button>
</div>
<div class="dropdown">
<button
class="dropdown-menu-toggle js-label-select js-multiselect"
type="button"
data-toggle="dropdown">
Label
<i class="fa fa-chevron-down"></i>
</button>
</div>
</div>
`,
});
})();
app/assets/javascripts/boards/components/modal/header.js.es6
View file @
9e433536
/* global Vue */
//= require ./tabs
//= require ./filters
(() => {
const ModalStore = gl.issueBoards.ModalStore;
...
...
@@ -49,6 +50,7 @@
<div
class="add-issues-search append-bottom-10"
v-if="showSearch">
<modal-filters></modal-filters>
<input
placeholder="Search issues..."
class="form-control"
...
...
app/assets/stylesheets/pages/boards.scss
View file @
9e433536
...
...
@@ -416,6 +416,11 @@
.add-issues-search
{
display
:
-
webkit-flex
;
display
:
flex
;
.form-control
{
max-width
:
200px
;
margin-left
:
auto
;
}
}
.add-issues-list-column
{
...
...
@@ -486,3 +491,15 @@
line-height
:
15px
;
border-radius
:
50%
;
}
.modal-filters
{
display
:
flex
;
>
.dropdown
{
margin-right
:
10px
;
}
.dropdown-menu-toggle
{
width
:
140px
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment