Removed these files

This commit is contained in:
HooVee
2016-08-01 20:45:09 +03:00
parent 270f8491b2
commit 2a4bb141be
5 changed files with 0 additions and 136 deletions
-34
View File
@@ -1,34 +0,0 @@
<h1> Jäsenlista </h1>
<div >
<table id="choose-address-table" class="ui-widget ui-widget-content">
<thead>
<tr ng-repeat="ui-widget-header">
<th>ID</th>
<th>Etunimi</th>
<th>Sukunimi</th>
<th>Sähköposti</th>
<th>AYY-jäsen</th>
<th>JAS-listalla</th>
<th>Asuinpaikka</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="x in members">
<td>{{ x.id }}</td>
<td>{{ x.first_name }}</td>
<td>{{ x.last_name }}</td>
<td>{{ x.email }}</td>
<td>{{ x.AYY }}</td>
<td>{{ x.jas }}</td>
<td>{{ x.POR }}</td>
<td>
<input type="button" value="Remove" class="btn btn-primary" ng-click="removeMember(x.id)"/>
</td>
</tr>
</tbody>
</table>
</div>
-31
View File
@@ -1,31 +0,0 @@
<h1> Lis jsen </h1>
<div id="input_form">
<form name="memberForm" ng-submit="submitForm()">
<div class="form-group">
<label>Etunimi: </label>
<input id="firstNameField" required type="text" placeholder="Shk" class="form-control" ng-model="firstName"></input>
</div>
<div class="form-group">
<label>Sukunimi: </label>
<input id="lastNameField" required type="text" placeholder="Insinri" class="form-control" ng-model="lastName"></input>
</div>
<div class="form-group">
<label>Shkposti: </label>
<input id="emailField" required type="text" placeholder="sahko.insinoori@aalto.fi" class="form-control" ng-model="email"></input>
</div>
<div class="form-group">
<label>AYY jsen: </label>
<input type="checkbox" id="AYY" value="0" ng-model="AYY"></input>
</div>
<div class="form-group">
<label>JAS-listaan: </label>
<input type="checkbox" id="JAS" value="0" ng-model="JAS"></input>
</div>
<div class="form-group">
<label>Asuinkunta: </label>
<input id="PORField" required type="text" placeholder="Otaniemi" class="form-control" ng-model="POR"></input>
</div>
<button ng-click="send()" type="submit" id="sendmember">Tallenna</button>
</form>
</div>
-26
View File
@@ -1,26 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Haku</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h1>Jäsenrekisteri</h1>
<h2>Hae jäsen</h2>
<p>Syötä jäsenen nimi:</p>
<form role="form">
<div class="form-group">
<label for="usr">Name:</label>
<input type="text" class="form-control" id="usr">
</div>
</f orm>
</div>
</body>
</html>
-18
View File
@@ -1,18 +0,0 @@
'use strict';
var template = angular.module('memberlistApp',['memberlistApp.getmembers', 'memberlistApp.sendmember']);
template.config(['$routeProvider',
function($routeProvider) {
$routeProvider.
when('/members/#/list', {
templateUrl: '../html/jasenlista.html',
controller: 'getController'
}).
when('/members/#/add', {
templateUrl: '../html/lisaa_jasen.html',
controller: 'postController'
});
}]
);
-27
View File
@@ -1,27 +0,0 @@
var memberlistApp=angular.module("memberlistApp", ['ngRoute']);
memberlistApp.config(['$routeProvider', function($routeProvider)
{
$routeProvider
.when('/list',
{
templateUrl: 'viewStudents.htm',
controller: 'ViewStudentsController'
})
.when('/add',
{
templateUrl: 'addStudent.htm',
controller: 'AddStudentController'
})
.otherwise(
{
redirectTo: '/list'
});
}]);
memberlistApp.controller('AddStudentController', function($scope)
{
$scope.content="This page will be used to display add student form";
});
memberlistApp.controller('ViewStudentsController', function($scope)
{
$scope.content="This page will be used to display all the students";
});