Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
0 deletions
+66
-0
app/assets/javascripts/boards/components/modal/filters.js.es6
...assets/javascripts/boards/components/modal/filters.js.es6
+47
-0
app/assets/javascripts/boards/components/modal/header.js.es6
app/assets/javascripts/boards/components/modal/header.js.es6
+2
-0
app/assets/stylesheets/pages/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