From 712446796a33a47ea7e5fafd7950141ac8060530 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Wed, 27 Jan 2016 13:01:16 +0100 Subject: Handle Error Modal on upload --- afm-client/app/Frontend/pages/Sample/Sample.html | 35 ------------------ .../app/Frontend/pages/Sample/SampleModule.js | 18 ---------- .../app/Frontend/pages/Sample/SampleModule.scss | 41 ---------------------- 3 files changed, 94 deletions(-) delete mode 100644 afm-client/app/Frontend/pages/Sample/Sample.html delete mode 100644 afm-client/app/Frontend/pages/Sample/SampleModule.js delete mode 100644 afm-client/app/Frontend/pages/Sample/SampleModule.scss (limited to 'afm-client/app/Frontend/pages/Sample') diff --git a/afm-client/app/Frontend/pages/Sample/Sample.html b/afm-client/app/Frontend/pages/Sample/Sample.html deleted file mode 100644 index 03a4558..0000000 --- a/afm-client/app/Frontend/pages/Sample/Sample.html +++ /dev/null @@ -1,35 +0,0 @@ - ---- -name: mysample -url: /sample -controller: SampleController as ctrl -animationIn: slideInRight ---- - -

- Post File Upload -

- -
- - - - - - - - - - - -
- - diff --git a/afm-client/app/Frontend/pages/Sample/SampleModule.js b/afm-client/app/Frontend/pages/Sample/SampleModule.js deleted file mode 100644 index 8ae82ea..0000000 --- a/afm-client/app/Frontend/pages/Sample/SampleModule.js +++ /dev/null @@ -1,18 +0,0 @@ -(function() { -'use strict'; - -// list all rependencies within the page + controler if needed -angular.module('SampleModule', ['SubmitButton','UploadFiles']) - - .controller('SampleController', function ($http) { - var scope = this; // I hate JavaScript - - console.log ("sample Init"); - - scope.FileUploaded = function (response) { - console.log ("FileUploaded response=%s", JSON.stringify(response)); - }; - }); - -console.log ("SampleControler Loaded"); -})(); \ No newline at end of file diff --git a/afm-client/app/Frontend/pages/Sample/SampleModule.scss b/afm-client/app/Frontend/pages/Sample/SampleModule.scss deleted file mode 100644 index 7654424..0000000 --- a/afm-client/app/Frontend/pages/Sample/SampleModule.scss +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2015 "IoT.bzh" - * Author "Fulup Ar Foll" - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -@import "app/ibz-mixins"; - - -.sample-box { - display: block; - height : 4.5rem; - - .sample-button { - float: right; - width: 5rem; - }; - - .muted-on-on,.muted-off-off{ - background: blueviolet; - }; - - .muted-error{ - background: red; - }; -}; - - - -- cgit 1.2.3-korg