#0 fix - Removed html entities
| .. | .. |
|---|
| 1 | 1 | <div layout="row" layout-align="start center" flex> |
|---|
| 2 | 2 | <div flex layout="row" layout-align="start center">v. {{securisVersion}}</div> |
|---|
| 3 | | - <div flex layout="row" layout-align="center center"><a href="http://www.curistec.com/" target="_blank">CurisTec</a> ©2017</div> |
|---|
| 3 | + <div flex layout="row" layout-align="center center"><a href="http://www.curistec.com/" target="_blank">CurisTec</a> <span style="padding-left:10px;">©2017</span></div> |
|---|
| 4 | 4 | <div flex></div> |
|---|
| 5 | 5 | </div> |
|---|
| 6 | 6 | |
|---|
| .. | .. |
|---|
| 4 | 4 | import { UserService } from '../user.service'; |
|---|
| 5 | 5 | import { ToastsManager } from 'ng2-toastr/ng2-toastr'; |
|---|
| 6 | 6 | |
|---|
| 7 | +import { IS_DEV_MODE } from '../common/session'; |
|---|
| 8 | + |
|---|
| 9 | + |
|---|
| 7 | 10 | class LoginData { |
|---|
| 8 | 11 | username: string; |
|---|
| 9 | 12 | password: string; |
|---|
| .. | .. |
|---|
| 19 | 22 | public constructor(private toaster: ToastsManager, |
|---|
| 20 | 23 | private router: Router, |
|---|
| 21 | 24 | private userService: UserService) { |
|---|
| 25 | + if (IS_DEV_MODE) { |
|---|
| 22 | 26 | this.data.username = 'admin'; |
|---|
| 23 | 27 | this.data.password = 'securis'; |
|---|
| 28 | + } |
|---|
| 24 | 29 | } |
|---|
| 25 | 30 | |
|---|
| 26 | 31 | public login() { |
|---|
| .. | .. |
|---|
| 34 | 34 | <div td-toolbar-content layout="row" layout-align="start center" flex> |
|---|
| 35 | 35 | <span flex ></span> |
|---|
| 36 | 36 | <md-icon>account_box</md-icon> |
|---|
| 37 | | - <span> {{userFullName}}</span> |
|---|
| 37 | + <span style="padding-left:10px;">{{userFullName}}</span> |
|---|
| 38 | 38 | <span flex="5" ></span> |
|---|
| 39 | 39 | <button md-mini-fab raised (click)="logout()" color="warn" [mdTooltip]="$L.get('Logout')"> |
|---|
| 40 | 40 | <md-icon>exit_to_app</md-icon> |
|---|