Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Photogram project PHP
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue 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
Raghav
Photogram project PHP
Commits
ee7d88af
Commit
ee7d88af
authored
1 month ago
by
Raghav
Browse files
Options
Downloads
Patches
Plain Diff
CSS added for form success
parent
7a2112a1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
_templates/login-content.php
+1
-2
1 addition, 2 deletions
_templates/login-content.php
assets/dist/css/login-in.css
+26
-0
26 additions, 0 deletions
assets/dist/css/login-in.css
login.php
+11
-35
11 additions, 35 deletions
login.php
with
38 additions
and
37 deletions
_templates/login-content.php
+
1
−
2
View file @
ee7d88af
<form>
<form>
<img
class=
"mb-4"
src=
"../assets/brand/bootstrap-logo.svg"
alt=
""
width=
"72"
height=
"57"
>
<h1
class=
"h3 mb-3 fw-normal"
>
Please sign in
</h1>
...
...
This diff is collapsed.
Click to expand it.
assets/dist/css/login-in.css
0 → 100644
+
26
−
0
View file @
ee7d88af
body
{
height
:
100%
;
}
.form-signin
{
max-width
:
330px
;
padding
:
1rem
;
}
.form-signin
.form-floating
:focus-within
{
z-index
:
2
;
}
.form-signin
input
[
type
=
"email"
]
{
margin-bottom
:
-1px
;
border-bottom-right-radius
:
0
;
border-bottom-left-radius
:
0
;
}
.form-signin
input
[
type
=
"password"
]
{
margin-bottom
:
10px
;
border-top-left-radius
:
0
;
border-top-right-radius
:
0
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
login.php
+
11
−
35
View file @
ee7d88af
...
...
@@ -20,8 +20,11 @@ include 'libs/load.php';
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/@docsearch/css@3"
>
<link
href=
"/photogram-project-php/assets/dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<link
href=
"/photogram-project-php/assets/dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<!-- Style for login forms -->
<link
href=
"/photogram-project-php/assets/dist/css/login-in.css"
rel=
"stylesheet"
>
<style>
.bd-placeholder-img
{
...
...
@@ -100,38 +103,9 @@ include 'libs/load.php';
.bd-mode-toggle
.dropdown-menu
.active
.bi
{
display
:
block
!important
;
}
/* login css code */
html
,
body
{
height
:
100%
;
}
.form-signin
{
max-width
:
330px
;
padding
:
1rem
;
}
.form-signin
.form-floating
:focus-within
{
z-index
:
2
;
}
.form-signin
input
[
type
=
"email"
]
{
margin-bottom
:
-1px
;
border-bottom-right-radius
:
0
;
border-bottom-left-radius
:
0
;
}
.form-signin
input
[
type
=
"password"
]
{
margin-bottom
:
10px
;
border-top-left-radius
:
0
;
border-top-right-radius
:
0
;
}
</style>
<link
href=
"/photogram-project-php/assets/dist/css/login.css"
rel=
"stylesheet"
>
</head>
<body>
<!-- To change dark to light mode -->
...
...
@@ -211,11 +185,13 @@ body {
<?
load_template
(
'header'
)
?>
</header>
<main>
<main
class=
"form-signin w-100 m-auto"
>
<!-- login
content
added
-->
<!--
To load
login
-
content
form to sign-in
-->
<?
load_template
(
'login-content'
);
?>
</main>
<!-- To load footer (footer.php) from template folder -->
...
...
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