Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ant.sr
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Anton Sarukhanov
ant.sr
Commits
f940c745
Commit
f940c745
authored
5 years ago
by
Anton Sarukhanov
Browse files
Options
Downloads
Patches
Plain Diff
Contact page fixes.
- Tweak text. - Name/email boxes should be hidden by default...
parent
6cd6aeac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
content/pages/contact.md
+1
-4
1 addition, 4 deletions
content/pages/contact.md
theme/static/css/style.css
+3
-0
3 additions, 0 deletions
theme/static/css/style.css
theme/static/js/script.js
+2
-1
2 additions, 1 deletion
theme/static/js/script.js
with
6 additions
and
5 deletions
content/pages/contact.md
+
1
−
4
View file @
f940c745
Title: Contact
Have a question, or something to tell me? A project you'd like my help with?
Please reach out and I'll do my best to reply in a timely manner.
Have a question? A project you'd like my help with?
Submit the form below, write to
[
mail@ant.sr
](
mailto:mail@ant.sr
)
or leave a message at 848-228-3802.
Looking forward to hearing from you!
<form
class=
"xhr"
action=
"https://api.ant.sr/api/contact"
method=
"post"
>
<textarea
name=
"text"
placeholder=
"Your message"
required
autofocus
></textarea>
<input
name=
"name"
data-reveal-after=
"[name=text]"
placeholder=
"Your Name"
required
>
...
...
This diff is collapsed.
Click to expand it.
theme/static/css/style.css
+
3
−
0
View file @
f940c745
...
...
@@ -93,6 +93,9 @@ img.profile {
margin
:
1em
;
width
:
150px
;
}
input
[
data-reveal-after
]
{
display
:
none
;
}
/* Headings */
h1
,
...
...
This diff is collapsed.
Click to expand it.
theme/static/js/script.js
+
2
−
1
View file @
f940c745
...
...
@@ -48,9 +48,10 @@
* the input will be hidden until the target element has
* been changed to a non-empty value.
*/
(
function
(
selector
)
{
var
triggers
=
[];
$
(
selector
).
find
(
"
:
input[data-reveal-after]
"
)
$
(
selector
).
find
(
"
input[data-reveal-after]
"
)
.
each
(
function
()
{
var
trigger
=
$
(
this
).
data
(
'
reveal-after
'
);
var
deps
=
$
(
trigger
).
data
(
'
dependents
'
);
...
...
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