Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React, { Component } from 'react';
import { Thumbnail, Navbar, ProgressBar, Nav, NavItem, NavDropdown, MenuItem, Image, Grid, Col, Row } from 'react-bootstrap';
import { Form, FormGroup, ControlLabel, FormControl, Button, BootstrapTable, TableHeaderColumn } from 'react-bootstrap';
import User from './components/User';
import UserList from './components/UserList';
import Services from './components/Services';
import Cargando from './components/Cargando';
import User from './Components/User';
import UserList from './Components/UserList';
import Services from './Components/Services';
import Cargando from "./Components/Cargando";

import './App.css';

Expand Down
250 changes: 118 additions & 132 deletions src/components/Transferencia/CuentaDestino/index.js

Large diffs are not rendered by default.

29 changes: 23 additions & 6 deletions src/components/Transferencia/CuentaDestino/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,15 @@
}

.btn-ctanueva {
background-color: #f49600;
color: #fff;
border-radius: 25px;
border: none;
background-color: #F49600;
color: #fff;
height: 55px;
width: 100%;
font-size: 20px;
font-weight: 500;
margin-top: 5px;
}

.btn-transferir {
Expand All @@ -123,7 +128,19 @@
border: none;
width: 100%;
}
/* .show-grid{
margin: .4em;
border: .5px solid gray;
} */

#ctaDestino {
height: 100vh;
}

#btnTransferir2 {
border-radius: 25px;
border: none;
background-color: #F49600;
color: #fff;
height: 55px;
width: 100%;
font-size: 20px;
font-weight: 500;
margin-top: 5px;
}
6 changes: 3 additions & 3 deletions src/components/Transferencia/CuentaOrigen/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ console.log(rut )
}
render() {
const {data} =this.props;
return <div>
return <div id="transf-ctaOrigen">
<div className="container up">
<div className="row">
<h4>Transferencia</h4>
Expand Down Expand Up @@ -60,8 +60,8 @@ console.log(rut )
</Col>
</Row>
</Grid>
{this.state.isToggleOn ? 'ON' : this.renderState()}
</div>
{this.state.isToggleOn ? "ON" : this.renderState()}
</div>;
}
}

Expand Down
8 changes: 7 additions & 1 deletion src/components/Transferencia/CuentaOrigen/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
width: 35px;
background-color: #afafb3;
padding: 8px;
margin-right: 7px;
margin-right: 0px;
margin-left: 6px;
}

.medio {
Expand All @@ -55,9 +56,14 @@
margin-left: -15px;
}

#transf-ctaOrigen {
height: 100vh;
}

.cuentasOrigen {
border: 1px solid #eee;
padding: 20px;
margin-bottom: 35em;
}

.chevron {
Expand Down
46 changes: 22 additions & 24 deletions src/components/User/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Navbar, Form, FormGroup, ControlLabel, FormControl, Button } from 'reac
import PropTypes from 'prop-types';
import $ from 'jquery';
import logo from './../../img/banco estado.png';
// import './style.css';
import './style.css';

// Inicio el componente de clase
class User extends Component {
Expand Down Expand Up @@ -50,29 +50,27 @@ class User extends Component {
}
// Aquí se renderiza el navbar
render() {
return (
<Navbar className='nav-bar' >
<Navbar.Header>
<Navbar.Brand className='logo'>
<a href="index.html"><img height={50} src={logo} alt={''} /></a>
</Navbar.Brand>
<Navbar.Toggle />
</Navbar.Header>
<Navbar.Collapse className='container-form'>
<Navbar.Form className='form-search'>
<Form onSubmit={this.handleSubmit}>
<FormGroup >
<ControlLabel>Rut usuario</ControlLabel>{' '}
<FormControl type="text" value={this.state.value} onChange={this.handleChange} placeholder="12-345678-9" />
<ControlLabel>Clave</ControlLabel>{' '}
<FormControl type="password" placeholder=" " value={this.state.val} onChange={this.handleChange}/>
<Button type="submit" bsStyle='success' id="signIn">Ingresar</Button>
</FormGroup>{' '}
</Form>
</Navbar.Form>
</Navbar.Collapse>
</Navbar>
)
return <Navbar className="nav-bar">
<Navbar.Header>
<Navbar.Brand className="logo">
<a href="index.html">
<img height={50} src={logo} alt={""} id="logo"/>
</a>
</Navbar.Brand>
<Navbar.Toggle />
</Navbar.Header>
<Navbar.Collapse className="container-form">
<Navbar.Form className="form-search">
<Form onSubmit={this.handleSubmit}>
<FormGroup>
<ControlLabel>Rut usuario</ControlLabel> <FormControl type="text" value={this.state.value} onChange={this.handleChange} placeholder="12-345678-9" />
<ControlLabel>Clave</ControlLabel> <FormControl type="password" placeholder=" " value={this.state.val} onChange={this.handleChange} />
<input type="submit" id="signIn" value="Ingresar" />
</FormGroup>{" "}
</Form>
</Navbar.Form>
</Navbar.Collapse>
</Navbar>;
}
}

Expand Down
12 changes: 5 additions & 7 deletions src/components/UserList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ import { Col } from "react-bootstrap";
import Cuentas from '../Cuentas';

const UserList = ({data}) => {
return(
<Col xs={12} md={12}>
return <Col xs={12} md={12}>
<h3>Bienvenid@:{data.nombre}</h3>
<div className="cuentasBox">
<Cuentas/>
</div>
</Col>
)
<div className="cuentasBox">
<Cuentas />
</div>
</Col>;
}
export default UserList;