Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
knowledgebase-front
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Applications
Knowledge Base
knowledgebase-front
Commits
925603ad
Commit
925603ad
authored
5 years ago
by
Alice Poggioli
Browse files
Options
Downloads
Patches
Plain Diff
WIP: Search form for history of mentor resources.
parent
f863d5cd
No related branches found
No related tags found
1 merge request
!38
Feature/mentor dashboard
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/includes/mentor/resources/list.pug
+29
-2
29 additions, 2 deletions
src/includes/mentor/resources/list.pug
src/styles/index.scss
+1
-1
1 addition, 1 deletion
src/styles/index.scss
with
30 additions
and
3 deletions
src/includes/mentor/resources/list.pug
+
29
−
2
View file @
925603ad
...
@@ -65,12 +65,39 @@ div.block_list
...
@@ -65,12 +65,39 @@ div.block_list
bind-user
bind-user
nested-field='resources'
nested-field='resources'
fields='content(name, format, publication_year), actions(review.status, detail, edit, delete)',
fields='search_for_a_resource(name, description, author),content(name, format, publication_year), actions(review.status, detail, edit, delete)',
search-fields='search_for_a_resource, header_criterias, more_criterias_hidden(format, publication_year, country, language, fields)',
search-range-format=`${endpoints.formats}`
search-range-language=`${endpoints.languages}`
search-range-fields=`${endpoints.fields}`
search-label-search_for_a_resource="Search by author, name..."
search-widget-search_for_a_resource="sib-form-placeholder-text"
widget-search_for_a_resource="hidden-widget"
search-multiple-format='sib-form-dropdown'
search-widget-format='sib-form-auto-completion'
search-multiple-language='sib-form-dropdown'
search-widget-language='sib-form-auto-completion'
search-multiple-fields='sib-form-dropdown'
search-widget-fields='sib-form-auto-completion'
widget-review.status='cs-resource-status',
widget-review.status='cs-resource-status',
search-widget-header_criterias="cs-section_header"
search-label-header_criterias="More criterias"
search-label-format='Format'
search-label-publication_year='Year of publication'
search-label-country='Country of publication'
search-label-language='Language'
search-label-fields='Field'
class-name="tit_element_list"
class-name="tit_element_list"
widget-format='cs-display-multiple-property'
widget-format='cs-display-multiple-property'
label-format='Formats
:
'
label-format='Formats'
class-format="contenu_list"
class-format="contenu_list"
each-label-format=''
each-label-format=''
...
...
This diff is collapsed.
Click to expand it.
src/styles/index.scss
+
1
−
1
View file @
925603ad
...
@@ -399,7 +399,7 @@ ico_droite:before{
...
@@ -399,7 +399,7 @@ ico_droite:before{
display
:
block
;
display
:
block
;
}
}
sib-form-label-text
,
sib-multiple-select
,
cs-form-password
{
sib-form-label-text
,
sib-form-dropdown
,
sib-multiple-select
,
cs-form-password
{
display
:
block
;
display
:
block
;
width
:
48
.5%
;
width
:
48
.5%
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment