From: Mike Frysinger Date: Sat, 15 Mar 2014 19:19:21 +0000 (-0400) Subject: rewrite options page to be more chrome like X-Git-Tag: v2.3~1 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7e0338f48e9827c01114713351ea64670c20a56a;p=chrome-ext%2Fweb-power-switch.git rewrite options page to be more chrome like Use the chrome-bootstrap project to get a nice chrome like options page. --- diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..0d3af8c --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "chrome-bootstrap"] + path = chrome-bootstrap + url = https://github.com/roykolak/chrome-bootstrap.git + branch = tags/v1.2.1 diff --git a/chrome-bootstrap b/chrome-bootstrap new file mode 160000 index 0000000..419698e --- /dev/null +++ b/chrome-bootstrap @@ -0,0 +1 @@ +Subproject commit 419698ec6fe922487d2fe3f11c92fd1c8ffbd8a6 diff --git a/manifest.files b/manifest.files index aae31cb..23625e9 100644 --- a/manifest.files +++ b/manifest.files @@ -1,3 +1,4 @@ +chrome-bootstrap/chrome-bootstrap.css images/outlet-128x128.png images/outlet-19x19.png images/outlet-38x38.png diff --git a/manifest.json b/manifest.json index 651826b..7161ad0 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "minimum_chrome_version": "22", "name": "Web Power Switch Manager", - "version": "2.2", + "version": "2.3", "description": "Quickly control Web Power Switches", "icons": { "128": "images/outlet-128x128.png" diff --git a/options.html b/options.html index 2bc1f4a..f7f3a13 100644 --- a/options.html +++ b/options.html @@ -4,25 +4,63 @@ Web Power Switch Manager Options + - + +
+ + + +
+
+
+

Options

+
+
+ +
+

Connection

+ - - - - + - + - +
URL:
User:URL:
Pass:User:
Pass:
-
You must hit "Save" the first time to authorize the client
+ +
+ +
+

Save Settings

+

+ +

+
You must hit "Save" the first time to authorize the client
+
+ +
+
+
+ +
+