This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var request = require("request"); | |
| var options = { method: 'POST', | |
| url: 'http://localhost:3000/api/wsfev1/FECAEARegInformativo', | |
| headers: | |
| { 'postman-token': '6ba9c089-50f0-22f4-bfde-24f0f77a7de2', | |
| 'cache-control': 'no-cache', | |
| 'content-type': 'application/json' }, | |
| form: | |
| { 'auth[key]': 'Auth', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Using Operator Mono in Atom | |
| * | |
| * 1. Open up Atom Preferences. | |
| * 2. Click the “Open Config Folder” button. | |
| * 3. In the new window’s tree view on the left you should see a file called “styles.less”. Open that up. | |
| * 4. Copy and paste the CSS below into that file. As long as you have Operator Mono SSm installed you should be golden! | |
| * 5. Tweak away. | |
| * | |
| * Theme from the screenshot (http://cdn.typography.com/assets/images/blog/operator_ide2.png): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export class Coordinates { | |
| latitude: string | number; | |
| longitude: string | number; | |
| accuracy?: number; | |
| constructor(that?: Coordinates) { | |
| if (that) { | |
| this.latitude = +that.latitude; | |
| this.longitude = +that.longitude; | |
| this.accuracy = +that.accuracy; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url("https://necolas.github.io/normalize.css/8.0.0/normalize.css"); | |
| @import url("https://fonts.googleapis.com/css?family=Slabo+27px"); | |
| html { | |
| box-sizing: border-box; | |
| } | |
| body { | |
| background: #e96443; /* fallback for old browsers */ | |
| background: -webkit-linear-gradient(to right, #904e95, #e96443); /* Chrome 10-25, Safari 5.1-6 */ | |
| background: linear-gradient(to right, #904e95, #e96443); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"> | |
| <link href="https://fonts.googleapis.com/css?family=Raleway:700,900" rel="stylesheet"> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', function() { | |
| var elements = document.querySelectorAll('select'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| margin: 0; | |
| padding: 0; | |
| font-family: sans-serif; | |
| } | |
| nav .brand-logo { | |
| display: block; | |
| text-align: center; | |
| position: relative; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Fragment> | |
| <h2>Crear Cita</h2> | |
| <form> | |
| <label>Nombre Mascota</label> | |
| <input | |
| type="text" | |
| name="mascota" | |
| className="u-full-width" | |
| placeholder="Nombre Mascota" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const revisarPresupuesto = (presupuesto,restante) => { | |
| let clase; | |
| // Comprobar el 25% | |
| if( (presupuesto / 4) > restante) { | |
| clase = 'alert alert-danger'; | |
| } else if( (presupuesto / 2) > restante) { | |
| clase = 'alert alert-warning' | |
| } else { | |
| clase = 'alert alert alert-success'; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div className="col-md-8 mx-auto "> | |
| <h1 className="text-center">Agregar Nuevo Producto</h1> | |
| <form | |
| className="mt-5" | |
| > | |
| <div className="form-group"> | |
| <label>Nombre Plato</label> | |
| <input | |
| type="text" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| html { | |
| min-height: 100%; | |
| } | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| font-family: sans-serif; | |
| background-image: linear-gradient(-225deg, #A445B2 0%, #D41872 52%, #FF0066 100%); | |
| min-height: 100%; | |
| padding-bottom: 5rem; |
OlderNewer