Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
appcocha2019
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Juan Pablo
appcocha2019
Commits
f0daaa3e
Commit
f0daaa3e
authored
Jan 22, 2019
by
Trino Parra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modifaciones estilo encuesta
parent
ab945f78
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
21 deletions
+20
-21
src/pages/inquiry/inquiry.html
src/pages/inquiry/inquiry.html
+7
-13
src/pages/inquiry/inquiry.scss
src/pages/inquiry/inquiry.scss
+6
-2
src/pages/menu/menu.html
src/pages/menu/menu.html
+0
-1
src/pages/menu/menu.ts
src/pages/menu/menu.ts
+7
-5
No files found.
src/pages/inquiry/inquiry.html
View file @
f0daaa3e
...
@@ -9,13 +9,11 @@
...
@@ -9,13 +9,11 @@
</ion-row>
</ion-row>
<ion-row
class=
"borderdrop"
>
<ion-row
class=
"borderdrop"
>
<ion-col
col-12
col-xl-12
>
<ion-col
col-12
col-xl-12
>
<ion-item>
<div
class=
"star star-container"
align=
"center"
>
<div
class=
"star star-container"
align=
"center"
>
<button
class=
"star"
*ngFor=
"let star of stars; index as i"
(click)=
"refreshStars(i);"
>
<button
class=
"star"
*ngFor=
"let star of stars; index as i"
(click)=
"refreshStars(i);"
>
<img
[src]=
"getStarType(star)"
/>
<img
[src]=
"getStarType(star)"
width=
"44px"
height=
"44px"
/>
</button>
</button>
</div>
</div>
</ion-item>
</ion-col>
</ion-col>
</ion-row>
</ion-row>
<ion-row>
<ion-row>
...
@@ -25,17 +23,13 @@
...
@@ -25,17 +23,13 @@
</ion-row>
</ion-row>
<ion-row
class=
"borderdrop"
radio-group
[(ngModel)]=
"siNo"
name=
"res2"
*ngIf=
"shema"
>
<ion-row
class=
"borderdrop"
radio-group
[(ngModel)]=
"siNo"
name=
"res2"
*ngIf=
"shema"
>
<ion-col
col-2
col-xl-2
></ion-col>
<ion-col
col-2
col-xl-2
></ion-col>
<ion-col
col-4
col-xl-4
>
<ion-col
col-4
col-xl-4
style=
"margin:15px"
>
<ion-item>
<ion-label
style=
"display: inline"
*ngIf=
"shema[1].opcionesPregunta[0].textoOpcion"
>
{{shema[1].opcionesPregunta[0].textoOpcion}}
</ion-label>
<ion-label
*ngIf=
"shema[1].opcionesPregunta[0].textoOpcion"
>
{{shema[1].opcionesPregunta[0].textoOpcion}}
</ion-label>
<ion-radio
style=
"vertical-align:middle"
value=
"0"
></ion-radio>
<ion-radio
value=
"0"
></ion-radio>
</ion-item>
</ion-col>
</ion-col>
<ion-col
col-4
col-xl-4
>
<ion-col
col-4
col-xl-4
style=
"margin:15px"
>
<ion-item>
<ion-label
style=
"display: inline"
*ngIf=
"shema[1].opcionesPregunta[1].textoOpcion"
>
{{shema[1].opcionesPregunta[1].textoOpcion}}
</ion-label>
<ion-label
*ngIf=
"shema[1].opcionesPregunta[1].textoOpcion"
>
{{shema[1].opcionesPregunta[1].textoOpcion}}
</ion-label>
<ion-radio
style=
"vertical-align:middle"
value=
"1"
></ion-radio>
<ion-radio
value=
"1"
></ion-radio>
</ion-item>
</ion-col>
</ion-col>
<ion-col
col-2
col-xl-2
></ion-col>
<ion-col
col-2
col-xl-2
></ion-col>
</ion-row>
</ion-row>
...
...
src/pages/inquiry/inquiry.scss
View file @
f0daaa3e
...
@@ -40,9 +40,13 @@ page-inquiry {
...
@@ -40,9 +40,13 @@ page-inquiry {
}
}
.borderdrop
{
.borderdrop
{
background
:
white
!
important
;
background
:
white
!
important
;
border-radius
:
20px
;
border-radius
:
20px
;
height
:
60px
;
//border-bottom: 1px solid #C5C5C5;
//border-bottom: 1px solid #C5C5C5;
}
}
.noborder
{
border-bottom
:
0px
white
!
important
}
.footer
{
.footer
{
position
:
fixed
;
position
:
fixed
;
left
:
0
;
left
:
0
;
...
...
src/pages/menu/menu.html
View file @
f0daaa3e
...
@@ -146,7 +146,6 @@
...
@@ -146,7 +146,6 @@
<div
class=
"error-message"
>
<div
class=
"error-message"
>
{{error}}
{{error}}
</div>
</div>
<ion-footer
class=
"footer hideElementOnKeyboardShown hide-on-keyboard-open applyFooter"
>
<ion-footer
class=
"footer hideElementOnKeyboardShown hide-on-keyboard-open applyFooter"
>
<a
href=
"http://gearlabs.cl/"
onclick=
"window.open(this.href, '_blank', 'location=no'); return false;"
><img
class=
"footerlogo"
src=
"assets/imgs/Marqueta/paer.png"
></a>
<a
href=
"http://gearlabs.cl/"
onclick=
"window.open(this.href, '_blank', 'location=no'); return false;"
><img
class=
"footerlogo"
src=
"assets/imgs/Marqueta/paer.png"
></a>
</ion-footer>
</ion-footer>
...
...
src/pages/menu/menu.ts
View file @
f0daaa3e
...
@@ -110,21 +110,23 @@ export class MenuPage {
...
@@ -110,21 +110,23 @@ export class MenuPage {
if
(
error
&&
error
.
error
&&
error
.
error
.
error
)
{
if
(
error
&&
error
.
error
&&
error
.
error
.
error
)
{
let
alert
=
this
.
alertCtrl
.
create
({
let
alert
=
this
.
alertCtrl
.
create
({
subTitle
:
error
.
error
.
error
,
subTitle
:
error
.
error
.
error
,
buttons
:
[
'
Dismiss
2
'
]
buttons
:
[
'
Dismiss
'
]
});
});
alert
.
present
();
alert
.
present
();
this
.
restProvider
.
getCofiguration
().
then
(
msg
=>
{
/*
this.restProvider.getCofiguration().then(msg => {
let optionsName = msg['formularioJson']['formulario']['opciones'];
let optionsName = msg['formularioJson']['formulario']['opciones'];
var optionsForm = new Array<any>(optionsName.length);
var optionsForm = new Array<any>(optionsName.length);
for (var i=0; i < optionsName.length; i++){
for (var i=0; i < optionsName.length; i++){
optionsForm[i] = {
optionsForm[i] = {
name
:
optionsName
[
i
],
label: optionsName[i],
value: optionsName[i],
type: 'radio'
type: 'radio'
};
};
console.log('opcion: ' + optionsName[i],);
}
}
let alert = this.alertCtrl.create({
let alert = this.alertCtrl.create({
title
:
msg
[
'
formularioJson
'
][
'
nombre
'
],
title: msg['formularioJson']['
formulario']['
nombre'],
inputs: optionsForm,
inputs: optionsForm,
buttons: [
buttons: [
{
{
...
@@ -143,7 +145,7 @@ export class MenuPage {
...
@@ -143,7 +145,7 @@ export class MenuPage {
]
]
});
});
alert.present();
alert.present();
});
});
*/
}
}
});
});
...
...
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