Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Orbit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Orbit
Commits
a5c15968
Commit
a5c15968
authored
6 years ago
by
Alexandre Bourlier
Browse files
Options
Downloads
Patches
Plain Diff
Styling search form. What a pain...
parent
82fc64bb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-2
2 additions, 2 deletions
README.md
src/html/members.html
+31
-1
31 additions, 1 deletion
src/html/members.html
with
33 additions
and
3 deletions
README.md
+
2
−
2
View file @
a5c15968
HD app is the magic tool that allows the Happy Dev network to thrive in a decentralized way.
HD app is the magic tool that allows the Happy Dev network to thrive in a decentralized way.
##Install (Ubuntu)
##
Install (Ubuntu)
*
`git clone --recurse-submodules https://git.happy-dev.fr/happy-dev/hd-app.git`
*
`git clone --recurse-submodules https://git.happy-dev.fr/happy-dev/hd-app.git`
*
`cd hd-app`
*
`cd hd-app`
*
`apt install npm`
*
`apt install npm`
*
`npm install -g grunt-cli`
*
`npm install -g grunt-cli`
*
`npm install`
*
`npm install`
##Compile SASS
##
Compile SASS
*
`grunt watch`
*
`grunt watch`
This diff is collapsed.
Click to expand it.
src/html/members.html
+
31
−
1
View file @
a5c15968
<div
id=
"members"
style=
"display: none"
>
<div
id=
"members"
style=
"display: none"
>
<div
class=
"page-header"
>
<div
class=
"page-header"
>
<h1>
Membres
</h1>
<h1
class=
"h2 mt-2"
>
Membres
</h1>
</div>
</div>
<ldp-display
<ldp-display
...
@@ -15,4 +15,34 @@
...
@@ -15,4 +15,34 @@
search-fields=
"firstname, lastname"
search-fields=
"firstname, lastname"
next=
"member"
next=
"member"
></ldp-display>
></ldp-display>
<script>
// Bootstrap compliance
const
addBootstrapClassesToMembers
=
function
()
{
window
.
setTimeout
(
function
()
{
const
FORM
=
document
.
querySelector
(
"
ldp-display > ldp-form
"
);
if
(
FORM
)
{
FORM
.
classList
.
add
(
"
mt-4
"
);
FORM
.
classList
.
add
(
"
mb-4
"
);
FORM
.
classList
.
add
(
"
d-block
"
);
FORM
.
querySelectorAll
(
"
ldp-form-text
"
).
forEach
(
function
(
el
)
{
el
.
classList
.
add
(
"
form-group
"
);
el
.
classList
.
add
(
"
d-block
"
);
});
FORM
.
querySelectorAll
(
'
input[type="text"]
'
).
forEach
(
function
(
el
)
{
el
.
classList
.
add
(
"
form-control
"
);
});
FORM
.
querySelectorAll
(
'
label
'
).
forEach
(
function
(
el
)
{
el
.
classList
.
add
(
"
text-capitalize
"
);
});
FORM
.
querySelector
(
'
input[type="submit"]
'
).
classList
.
add
(
"
btn
"
,
"
btn-primary
"
);
}
else
{
addBootstrapClassesToMembers
();
}
},
100
)
};
window
.
onload
=
addBootstrapClassesToMembers
();
</script>
</div>
</div>
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