소스 검색

Remove compatibility footer

Danilo Bargen 7 년 전
부모
커밋
616eb606b1
5개의 변경된 파일0개의 추가작업 그리고 71개의 파일을 삭제
  1. 0 7
      index.html
  2. 0 4
      public/img/apple.svg
  3. 0 2
      src/controllers.ts
  4. 0 33
      src/controllers/android_ios_only.ts
  5. 0 25
      src/sass/layout/_main.scss

+ 0 - 7
index.html

@@ -79,13 +79,6 @@
             </div>
             <div id="main-content" ui-view></div>
         </div>
-        <div class="android-ios-only" ng-controller="AndroidIosOnlyController as ctrl" ng-show="ctrl.show">
-            <div>
-                <i class="material-icons md-24">android</i>
-                <img class="apple" src="img/apple.svg">
-                <span translate>welcome.ANDROID_IOS_ONLY</span>
-            </div>
-        </div>
         <footer>
             <ul>
                 <li>Version [[VERSION]]</li>

+ 0 - 4
public/img/apple.svg

@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="30px" height="30px">
-    <path d="M25.565,9.785c-0.123,0.077-3.051,1.702-3.051,5.305c0.138,4.109,3.695,5.55,3.756,5.55 c-0.061,0.077-0.537,1.963-1.947,3.94C23.204,26.283,21.962,28,20.076,28c-1.794,0-2.438-1.135-4.508-1.135 c-2.223,0-2.852,1.135-4.554,1.135c-1.886,0-3.22-1.809-4.4-3.496c-1.533-2.208-2.836-5.673-2.882-9 c-0.031-1.763,0.307-3.496,1.165-4.968c1.211-2.055,3.373-3.45,5.734-3.496c1.809-0.061,3.419,1.242,4.523,1.242 c1.058,0,3.036-1.242,5.274-1.242C21.394,7.041,23.97,7.332,25.565,9.785z M15.001,6.688c-0.322-1.61,0.567-3.22,1.395-4.247 c1.058-1.242,2.729-2.085,4.17-2.085c0.092,1.61-0.491,3.189-1.533,4.339C18.098,5.937,16.488,6.872,15.001,6.688z"/>
-</svg>

+ 0 - 2
src/controllers.ts

@@ -15,12 +15,10 @@
  * along with Threema Web. If not, see <http://www.gnu.org/licenses/>.
  */
 
-import {AndroidIosOnlyController} from './controllers/android_ios_only';
 import {StatusController} from './controllers/status';
 
 angular.module('3ema.controllers', ['3ema.services'])
 
-.controller('AndroidIosOnlyController', AndroidIosOnlyController)
 .controller('StatusController', StatusController)
 
 ;

+ 0 - 33
src/controllers/android_ios_only.ts

@@ -1,33 +0,0 @@
-/**
- * This file is part of Threema Web.
- *
- * Threema Web is free software: you can redistribute it and/or modify it
- * under the terms of the GNU Affero 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 Affero
- * General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with Threema Web. If not, see <http://www.gnu.org/licenses/>.
- */
-
-/**
- * Controller to show or hide the "Android / iOS only" note at the bottom of the welcome screen.
- */
-export class AndroidIosOnlyController {
-    public show: boolean = false;
-
-    public static $inject = ['$rootScope'];
-    constructor($rootScope: ng.IRootScopeService) {
-        $rootScope.$on(
-            '$stateChangeStart',
-            (event, toState: ng.ui.IState, toParams, fromState: ng.ui.IState, fromParams) => {
-                this.show = toState.name === 'welcome';
-            },
-        );
-    }
-}

+ 0 - 25
src/sass/layout/_main.scss

@@ -264,31 +264,6 @@ a.click-action {
     @include mouse-hand;
 }
 
-.android-ios-only {
-    width: 100%;
-    margin: 10px auto 0;
-    background-color: white;
-    text-align: center;
-    border-radius: $material-radius;
-    box-shadow: $material-card-shadow;
-    div {
-        padding: 16px;
-        line-height: 24px;
-        display: inline-flex;
-        vertical-align: middle;
-        align-items: center;
-        font-weight: 300;
-        white-space: nowrap;
-        i.material-icons {
-            margin-right: 8px;
-        }
-        img {
-            height: 26px;
-            margin-right: 8px;
-        }
-    }
-}
-
 
 //show dt as threema green subjects
 .key-values {