From 0fc3538dbddcb712155e9fe4b88b829c8161dac4 Mon Sep 17 00:00:00 2001 From: "gs86.lee" Date: Fri, 12 Apr 2013 15:30:30 +0900 Subject: [PATCH] [Systeminfo]update Systeminfo(tizen_2.1) Change-Id: I0333511fdfbcdba2c8a3cb296fab97979c5d8a51 --- NOTICE | 4 ++++ config.xml | 3 +-- index.html | 11 ++++------- js/main.js | 10 +++++----- 4 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 NOTICE diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..85044e4 --- /dev/null +++ b/NOTICE @@ -0,0 +1,4 @@ +Copyright (c) 2012 Samsung Electronics Co., Ltd. All rights reserved. +Except as noted, this software is licensed under Flora License, Version 1. +Please, see the LICENSE.Flora file for Flora License terms and conditions. + diff --git a/config.xml b/config.xml index ac05bcd..13f9422 100755 --- a/config.xml +++ b/config.xml @@ -4,8 +4,7 @@ Systeminfo - - + diff --git a/index.html b/index.html index 8770d07..73f21e2 100755 --- a/index.html +++ b/index.html @@ -4,10 +4,10 @@ Systeminfo - + - - + + @@ -15,7 +15,7 @@
-

System Information

+

SYSTEM INFORMATION

@@ -29,9 +29,6 @@
-
-
diff --git a/js/main.js b/js/main.js index 1b5cf19..2bfc5bc 100644 --- a/js/main.js +++ b/js/main.js @@ -72,7 +72,7 @@ function makeDividerListItem(value) { } function onStorageSuccess(storages) { - gInfoTitle = "Storages(" + storages.length + ")"; + gInfoTitle = "STORAGES(" + storages.length + ")"; gInfo = ""; for (var i = 0; i < storages.length; i++) { gInfo += makeDividerListItem("Storage " + (i + 1)) @@ -86,7 +86,7 @@ function onStorageSuccess(storages) { } function onBatterySuccess(battery) { - gInfoTitle = "Battery"; + gInfoTitle = "BATTERY"; gInfo = make2lineListItem("Level", battery.level) + make2lineListItem("Charging", (battery.isCharging == true ? "Yes" : "No")); @@ -101,7 +101,7 @@ function onCpuInfoSuccess(cpu) { } function onDisplaySuccess(display) { - gInfoTitle = "Display"; + gInfoTitle = "DISPLAY"; gInfo = makeDividerListItem("Resolution") + make2lineListItem("Width", display.resolutionWidth) + make2lineListItem("Height", display.resolutionHeight) @@ -118,7 +118,7 @@ function onDisplaySuccess(display) { } function onDeviceSuccess(device) { - gInfoTitle = "Device"; + gInfoTitle = "DEVICE"; gInfo = make2lineListItem("IMEI", device.imei) + make2lineListItem("Model", device.model) + make2lineListItem("Version", device.version) @@ -128,7 +128,7 @@ function onDeviceSuccess(device) { } function onOrientationSuccess(orientation) { - gInfoTitle = "Device orientation"; + gInfoTitle = "DEVICE ORIENTATION"; gInfo = make2lineListItem("Status", orientation.status); $.mobile.changePage("#info"); -- 2.7.4