summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/index.html4
-rw-r--r--www/js/app.js6
2 files changed, 9 insertions, 1 deletions
diff --git a/www/index.html b/www/index.html
index 20b68cd3..e0e16b1a 100644
--- a/www/index.html
+++ b/www/index.html
@@ -210,10 +210,14 @@
</ion-item>
<ion-item nav-clear menu-close href="#/login">
+ <span style="float:right;margin-top:-18px;background-color:#444444;color:#fff;font-size:11px;opacity:0.7;width:90px;border-radius: 0px 0px 5px 5px;:text-overflow:ellipsis;overflow:hidden;white-space:nowrap;display:inline-block">&nbsp;{{$root.getProfileName();}}&nbsp;</span>
+
+
<span class=" item-icon-left">
<i class="icon ion-person"></i>
</span>
ZM Settings
+
</ion-item>
<ion-item nav-clear menu-close href="#/devoptions">
diff --git a/www/js/app.js b/www/js/app.js
index 298644c4..59d95815 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -727,7 +727,11 @@ angular.module('zmApp', [
});
-
+ $rootScope.getProfileName = function()
+ {
+ var ld = ZMDataModel.getLogin();
+ return (ld.serverName || '(none)');
+ };
//------------------------------------------------------------------
// doLogin() is the function that tries to login to ZM