fix user.html link
[APKPM.git] / public / user.html
index d604fff..63223b0 100644 (file)
@@ -89,7 +89,7 @@ console.debug( cols );
        self.table_update = function () {
                if ( ! self.username || ! self.cpe.table_name ) return;
                self.message.table = self.username + ' loading from ' + self.cpe.table_name;
-               self.r.table.get({ username: self.username, table: self.cpe.table_name, limit: self.cpe.limit }, function(table) {
+               self.r.table.get({ username: self.username, table: self.cpe.table_name, limit: self.cpe_limit }, function(table) {
                        $log.info( 'table', table );
                        self.cpe.table = table;
                        self.message.table = null;
@@ -118,7 +118,8 @@ console.debug( cols );
                self.LDAP = null;
                self.selected_username = null;
                self.gnuplot = {};
-               self.cpe = { limit: 1 };
+               self.cpe = {};
+               self.cpe_limit = 1;
        };
 
        self.message = {};
@@ -128,9 +129,8 @@ console.debug( cols );
        });
 
        self.clear();
-       self.cpe_limit = self.cpe.limit;
        self.$watch('cpe_limit', function() {
-               $log.info( 'limit', self.cpe.limit = self.cpe_limit );
+               $log.info( 'cpe_limit', self.cpe_limit );
                self.table_update();
        });
 
@@ -177,28 +177,6 @@ angular.formatter('include', {
   </script>
 
 <style type="text/css">
-#columns {
-       float: right;
-       position: fixed;
-       top: 0;
-       right: 0;
-       z-index: 10;
-       background: #eee;
-}
-
-#columns > span {
-       float: right;
-}
-
-/*
-#columns ul {
-       display: none;
-}
-
-#columns:hover ul {
-       display: block;
-}A
-*/
 
 table {
        border-collapse:collapse;
@@ -245,6 +223,9 @@ th, td {
        float: right;
 }
 
+li > tt {
+       font-weight: bold;
+}
 
 </style>