This file contains 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
<ion-header no-border> | |
<ion-navbar hideBackButton color="transparent"> | |
<button ion-button menuToggle> | |
<ion-icon name="menu"></ion-icon> | |
</button> | |
</ion-navbar> | |
</ion-header> | |
<ion-content class="content-color" padding> | |
<img [src]=base64img class="square" *ngIf="base64img!=''"> |
This file contains 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
page-home { | |
ion-icon { | |
color: #FFF !important; | |
font-size: 30px; | |
} | |
.zoom-btn{ | |
color:#000 !important; | |
} | |
.menu-btn, | |
.button-md.activated { |
This file contains 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 { Component } from '@angular/core'; | |
import { NavController, Platform } from 'ionic-angular'; | |
import {Camera,CameraOptions} from '@ionic-native/camera/ngx'; | |
import { ImageProvider } from '../../providers/image/image'; | |
@Component({ | |
selector: 'page-home', | |
templateUrl: 'home.html' | |
}) | |
export class HomePage { |
This file contains 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 { HttpClient } from '@angular/common/http'; | |
import { Injectable } from '@angular/core'; | |
import { Observable } from 'rxjs'; | |
@Injectable() | |
export class ImageProvider { | |
base64img:string=''; | |
url:'http://vortexmobievotingapp.000webhostapp.com/imageUpload.php'; | |
constructor(public http: HttpClient) { |
This file contains 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
<ion-header no-border> | |
<ion-navbar color="transparent"> | |
</ion-navbar> | |
</ion-header> | |
<ion-content class="content-color" padding> | |
<img [src]='base64img' class="circle" *ngIf="base64img!=''"> | |
<div class="circle" *ngIf="base64img==''"> | |
</div> |
This file contains 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
const jwt = require('jsonwebtoken'); | |
const nodemailer = require('nodemailer'); | |
var smtpTransport = require('nodemailer-smtp-transport'); | |
const config = require('../../config.json'); | |
const dbConfig = require("../../mysql_connection"); | |
exports.forgetPassword = function (req, res, next) { | |
let email = req.body.email; | |
let query_ = "SELECT * from user where email=?"; |
This file contains 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
{ | |
"name": "dummybackend", | |
"version": "1.0.0", | |
"description": "", | |
"main": "server.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"start": "nodemon --watch ./server.js" | |
}, | |
"author": "Maneesha Indrachapa", |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<parent> | |
<artifactId>game-manager</artifactId> | |
<groupId>org.wso2.carbon</groupId> | |
<version>1.0-SNAPSHOT</version> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.wso2.carbon</groupId> | |
<artifactId>game-manager</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<modules> |
This file contains 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
package org.wso2.carbon.game.producer.model; | |
public class Champion { | |
private String championName; | |
public Champion(String championName) { | |
this.championName = championName; | |
} |
OlderNewer