forked from shadowsocks/shadowsocks-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit eb85262
Showing
9 changed files
with
198 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "shadowsocks-nodejs"] | ||
path = shadowsocks-nodejs | ||
url = https://github.com/clowwindy/shadowsocks-nodejs.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{print} = require 'util' | ||
{spawn} = require 'child_process' | ||
|
||
build = () -> | ||
os = require 'os' | ||
if os.platform() == 'win32' | ||
coffeeCmd = 'coffee.cmd' | ||
else | ||
coffeeCmd = 'coffee' | ||
coffee = spawn coffeeCmd, ['-c', '-o', '.', 'src'] | ||
coffee.stderr.on 'data', (data) -> | ||
process.stderr.write data.toString() | ||
coffee.stdout.on 'data', (data) -> | ||
print data.toString() | ||
coffee.on 'exit', (code) -> | ||
if code != 0 | ||
process.exit code | ||
|
||
task 'build', 'Build ./ from src/', -> | ||
build() | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>shadowsocks</title> | ||
<link rel="stylesheet" type="text/css" href="bootstrap.min.css"/> | ||
<style> | ||
body { | ||
margin: 10px; | ||
} | ||
</style> | ||
<script src="jquery-1.9.0.min.js"></script> | ||
<script src="bootstrap.min.js"></script> | ||
</head> | ||
<body> | ||
<div id="divError" class="alert alert-error hide"> | ||
Please fill in the blanks and click Save. | ||
</div> | ||
<div class="form-horizontal"> | ||
<div class="control-group"> | ||
<label class="control-label" for="inputServerIP">Server IP</label> | ||
<div class="controls"> | ||
<input type="text" id="inputServerIP" data-key="server" placeholder="Server IP"> | ||
</div> | ||
</div> | ||
<div class="control-group"> | ||
<label class="control-label" for="inputServerPort">Server Port</label> | ||
<div class="controls"> | ||
<input type="text" id="inputServerPort" data-key="server_port" placeholder="Server Port"> | ||
</div> | ||
</div> | ||
<div class="control-group"> | ||
<label class="control-label" for="inputPassword">Password</label> | ||
<div class="controls"> | ||
<input type="text" id="inputPassword" data-key="password" placeholder="Password"> | ||
</div> | ||
</div> | ||
<div class="control-group"> | ||
<label class="control-label" for="inputLocalPort">Local Port</label> | ||
<div class="controls"> | ||
<input type="text" id="inputLocalPort" data-key="local_port" placeholder="Local Port"> | ||
</div> | ||
</div> | ||
<div class="control-group"> | ||
<div class="controls"> | ||
<button id="buttonSave" class="btn btn-primary">Save</button> | ||
<button id="buttonConsole" class="btn">Show Console</button> | ||
</div> | ||
</div> | ||
</div> | ||
<script src="main.js"></script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "shadowsocks", | ||
"main": "index.html", | ||
"description": "shadowsocks client with GUI", | ||
"version": "0.1.0", | ||
"keywords": [ "shadowsocks", "node-webkit" ], | ||
"window": { | ||
"icon": "link.png", | ||
"toolbar": false, | ||
"width": 500, | ||
"height": 300, | ||
"position": "mouse", | ||
"min_width": 300, | ||
"min_height": 200, | ||
"max_width": 800, | ||
"max_height": 600 | ||
}, | ||
"webkit": { | ||
"plugin": true | ||
} | ||
} |
Submodule shadowsocks-nodejs
added at
2865d7