Rev 1669 | Rev 1889 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1669 | Rev 1673 | ||
|---|---|---|---|
| Line 161... | Line 161... | ||
| 161 | return false; |
161 | return false; |
| 162 | } |
162 | } |
| 163 | 163 | ||
| 164 | var date = new Date(result["LastActive"] * 1000); |
164 | var date = new Date(result["LastActive"] * 1000); |
| 165 | 165 | ||
| 166 | Log(" |
166 | Log("\033[96mId: \033[0;1m" + result["Id"] + "\033[0m\n"); |
| 167 | Log(" |
167 | Log("\033[96mValid: \033[0;1m" + result["Valid"] + "\033[0m\n"); |
| 168 | Log(" |
168 | Log("\033[96mBios Version: \033[0;1m" + result["BiosVersion"] + "\033[0m\n"); |
| 169 | Log(" |
169 | Log("\033[96mDevice Type: \033[0;1m" + result["DeviceType"] + "\033[0m\n"); |
| 170 | Log(" |
170 | Log("\033[96mHas Application: \033[0;1m" + result["HasApplication"] + "\033[0m\n"); |
| 171 | Log(" |
171 | Log("\033[96mLast Active: \033[0;1m" + date.toString() + "\033[0m\n"); |
| 172 | 172 | ||
| 173 | return true; |
173 | return true; |
| 174 | } |
174 | } |
| 175 | Console_RegisterCommand(Node_GetInformation, function(arg_index, args) { return Console_StandardAutocomplete(arg_index, args, Node_GetAvailableIds()); }); |
175 | Console_RegisterCommand(Node_GetInformation, function(arg_index, args) { return Console_StandardAutocomplete(arg_index, args, Node_GetAvailableIds()); }); |
| 176 | 176 | ||