Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
mini-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 109f70bc
authored
2019-11-22 14:50:27 +0000
by
Luciano Barletta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
merge issues solved
1 parent
3017a28d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
static/Scripts/construct.js
templates/generate.html
static/Scripts/construct.js
View file @
109f70b
...
...
@@ -2,7 +2,7 @@
* Armado de formulario
*/
function
removeField
(
b
){
while
(
b
.
getAttribute
(
"name"
)
=
=
"Field"
)
b
=
b
.
parentElement
;
while
(
b
.
getAttribute
(
"name"
)
!
=
"Field"
)
b
=
b
.
parentElement
;
if
(
b
.
nodeElement
==
"body"
)
return
;
b
.
parentElement
.
removeChild
(
b
);
}
...
...
@@ -19,7 +19,7 @@ function addField(b){
}
function
removeTab
(
b
){
while
(
b
.
getAttribute
(
"name"
)
=
=
"Tab"
)
b
=
b
.
parentElement
;
while
(
b
.
getAttribute
(
"name"
)
!
=
"Tab"
)
b
=
b
.
parentElement
;
if
(
b
.
nodeElement
==
"body"
)
return
;
b
.
parentElement
.
removeChild
(
b
);
}
...
...
templates/generate.html
View file @
109f70b
<html
lang=
"en"
>
<head>
<script
src=
"
./Scripts/construct.js
"
></script>
<script
src=
"
{{url_for('static',filename='Scripts/construct.js')}}
"
></script>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<link
rel=
"stylesheet"
href=
"
./Style/Templates.css
"
>
<link
rel=
"stylesheet"
href=
"
{{url_for('static',filename='Style/Templates.css')}}
"
>
<link
href=
"https://fonts.googleapis.com/css?family=Montserrat&display=swap"
rel=
"stylesheet"
>
<title>
Generador de Formularios
</title>
</head>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment