Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_Alipins
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Angelico Ruiz T. Teaño
widget_Alipins
Commits
1bb71408
Commit
1bb71408
authored
May 19, 2022
by
Irish Danielle Morales
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update design of form to add user
parent
a3d5a0e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
5 deletions
+56
-5
widgetuser_form.html
..._alipins/homepage/templates/homepage/widgetuser_form.html
+7
-5
style.css
widget_alipins/static/homepage/style.css
+49
-0
No files found.
widget_alipins/homepage/templates/homepage/widgetuser_form.html
View file @
1bb71408
...
@@ -14,9 +14,11 @@
...
@@ -14,9 +14,11 @@
<a
href=
"{% url 'assignments:indexAssignments' %}"
>
Assignments
</a>
<a
href=
"{% url 'assignments:indexAssignments' %}"
>
Assignments
</a>
</nav>
</nav>
<form
method=
"POST"
enctype=
"multipart/form-data"
>
<div
class=
"flex-container"
>
{% csrf_token %}
<form
method=
"POST"
enctype=
"multipart/form-data"
>
{{ form.as_p }}
{% csrf_token %}
<input
type=
"submit"
value=
"Submit"
>
{{ form.as_p }}
</form>
<input
type=
"submit"
value=
"Submit"
>
</form>
</div>
{% endblock %}
{% endblock %}
\ No newline at end of file
widget_alipins/static/homepage/style.css
View file @
1bb71408
...
@@ -206,4 +206,53 @@ button {
...
@@ -206,4 +206,53 @@ button {
button
:hover
{
button
:hover
{
color
:
#e1bb54
;
color
:
#e1bb54
;
cursor
:
pointer
;
}
form
{
display
:
flex
;
flex-flow
:
nowrap
column
;
justify-content
:
center
;
padding
:
30px
50px
;
color
:
white
;
background-color
:
#121212
;
border-radius
:
25px
;
border-top
:
1px
solid
white
;
border-bottom
:
1px
solid
white
;
}
form
>
p
{
margin
:
7px
0
;
}
input
,
select
{
display
:
inline-block
;
border-radius
:
5px
;
padding
:
7px
;
border
:
0
;
font-family
:
'Inter'
;
}
label
{
float
:
left
;
clear
:
left
;
width
:
100px
;
text-align
:
right
;
margin-right
:
15px
;
}
input
[
type
=
"file"
]
{
padding
:
0
;
border-radius
:
0
;
}
input
[
type
=
"Submit"
]
{
width
:
100px
;
background-color
:
#e1bb54
;
margin
:
30px
auto
0
auto
;
}
input
[
type
=
"Submit"
]
:hover
{
background-color
:
#d38a2a
;
cursor
:
pointer
;
}
}
\ No newline at end of file
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