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 97e2ea00
authored
2019-11-26 14:53:26 +0000
by
Luciano Barletta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed merge
1 parent
7f6606ea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
15 deletions
Geo/generate.html
Luciano/templates/generate.html
Geo/generate.html
View file @
97e2ea0
...
@@ -21,41 +21,44 @@
...
@@ -21,41 +21,44 @@
<br>
<br>
<div
id=
"tabs"
></div>
<div
id=
"tabs"
></div>
<div
style=
"text-align: center;"
>
<div
style=
"text-align: center;"
>
<button
class=
"NewTabButton"
onclick=
"addTab(document.getElementById('tabs'))"
>
<button
class=
"NewTabButton"
onclick=
"let t = document.getElementById('tabs'); addTab(t, maxChild(t, accessNumber) + 1)"
>
+
+
</button>
</button>
</div>
</div>
<h3
id=
"ContinuarText"
>
Cuando se encuentre conforme con el formulario presione Continuar
</h3>
<h3
id=
"ContinuarText"
>
Cuando se encuentre conforme con el formulario presione Continuar
</h3>
<input
type=
"number"
placeholder=
"Cant de Tabs"
id=
"CantBotones"
>
<button
id=
"ContinuarButton"
onclick=
"generate(document.getElementById('tabs'))"
>
Continuar
</button>
<button
id=
"ContinuarButton"
onclick=
"ArmarForm()"
>
Continuar
</button>
</section>
</section>
<section
id=
"BotonesContainer"
style=
"display: none;"
>
<section
id=
"BotonesContainer"
style=
"display: none;"
>
</section>
</section>
<section
id=
"TabsContainer"
style=
"display: none;"
>
<section
id=
"TabsContainer"
style=
"display: none;"
>
</section>
</section>
</body>
</body>
<!-- templates -->
<!-- templates -->
<template
id=
"tabTemplate"
>
<template
id=
"tabTemplate"
>
<div
class=
"TabCards"
>
<div
class=
"TabCards"
>
<input
type=
"number"
class=
"TabNumber"
>
<input
type=
"number"
class=
"TabNumber"
onchange=
"sortChildren(getAncestorByAttribute(this,'name','Tab').parentElement, accessNumber)"
>
<input
class=
"TabTitle"
placeholder=
"Titulo del Tab"
type=
"text"
>
<input
class=
"TabTitle"
placeholder=
"Titulo del Tab"
type=
"text"
>
<button
class=
"RemoveTabButton"
onclick=
"removeTab(this)"
>
<button
class=
"RemoveTabButton"
onclick=
"removeTab(this)"
>
X
X
</button>
</button>
<br>
<br>
<div
style=
"text-align: center;"
>
<div
style=
"text-align: center;"
>
<button
class=
"NewInputButton"
onclick=
"addField(this)"
>
<button
class=
"NewInputButton"
onclick=
"addField(this, maxChild(this.parentElement,accessNumber) + 1)"
>
+
+
</button>
</button>
</div>
</div>
</div>
</div>
</template>
</template>
<template
id=
"fieldTemplate"
>
<template
id=
"fieldTemplate"
>
<div
class=
"InputContainer"
>
<div
class=
"InputContainer"
>
<input
type=
"number"
class=
"InputNumber"
>
<input
type=
"number"
class=
"InputNumber"
onchange=
"sortChildren(getAncestorByAttribute(this,'name','Field').parentElement, accessNumber)"
>
<input
type=
"text"
id=
"Titulo"
class=
"Input"
placeholder=
"Título"
>
<input
type=
"text"
id=
"Titulo"
class=
"Input"
placeholder=
"Título"
>
<select
name=
"input"
class=
"Input"
>
<select
name=
"input"
class=
"Input"
>
...
@@ -70,11 +73,12 @@
...
@@ -70,11 +73,12 @@
<option
id=
"checkbox"
value=
"checkbox"
>
Selección
</option>
<option
id=
"checkbox"
value=
"checkbox"
>
Selección
</option>
</select>
</select>
Obligatorio :
<input
type=
"checkbox"
>
Obligatorio :
<input
type=
"checkbox"
>
<button
class=
"RemoveInputButton"
onclick=
"removeField(this)"
>
<button
class=
"RemoveInputButton"
onclick=
"let f = getAncestorByAttribute(this,'name','Field'); f.parentElement.removeChild(f)"
>
-
-
</button>
</button>
</div>
</div>
</template>
</template>
</html>
\ No newline at end of file
\ No newline at end of file
</html>
\ No newline at end of file
\ No newline at end of file
Luciano/templates/generate.html
View file @
97e2ea0
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<head>
<head>
<script
src=
"{{url_for('static',filename='Scripts/construct.js')}}"
></script>
<script
src=
"{{url_for('static',filename='Scripts/construct.js')}}"
></script>
<script
src=
"{{url_for('static',filename='Scripts/ArmadoDeForm.js')}}"
></script>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
...
...
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