`;
$("#acl-list").append(newacl);
$('#refresh').click();
},
diff --git a/i18n/en-US.json b/i18n/en-US.json
index ceda3c9..2f08793 100644
--- a/i18n/en-US.json
+++ b/i18n/en-US.json
@@ -8,17 +8,25 @@
"helptext": "Retrieve a call by clicking the red panel, the slot number, or the caller name/number. Call the person who parked the call by clicking their name or number. The parking lot will auto-refresh every 30 seconds."
},
"provurl": {
- "description":"Provisioning URL",
- "subtitle":"(Does not require IP ACL)",
- "tooltip":"For clients at an IP ACL address/network, you may use a shortened generic form of the URL, by replacing the account ID and secret token with an 'x'. E.g. 'https://provisioner.mydomain.com/p/x/x'"
+ "description": "Provisioning URL",
+ "subtitle": "(Does not require IP ACL)",
+ "tooltip": "For clients at an IP ACL address/network, you may use a shortened generic form of the URL, by replacing the account ID and secret token with an 'x'. E.g. 'https://provisioner.mydomain.com/p/x/x'"
},
"acls": {
"description": "IP ACLs",
"noAcls": "No IP ACLs defined on this account.",
"addAcl": {
- "tooltip":"IP network (v4 or v6) or single address in CIDR format. E.g. 198.51.100.128/32 or 2001:1a:4c9::18/112",
+ "tooltip": "IP network (v4 or v6) or single address in CIDR format. E.g. 198.51.100.128/32 or 2001:1a:4c9::18/112",
"aclAddButton": "Add ACL"
}
+ },
+ "devicePassword": {
+ "description": "Device Password",
+ "notset": "No device password is set on this account. Devices will have their admin password set to their own MAC address (all lowercase with no colons e.g.: 'a2fe805b735d').",
+ "setDevicePassword": {
+ "tooltip": "Set the password used for devices in this account. (The phone web interface password.)",
+ "passwordSetButton": "Set Password"
+ }
}
}
}
diff --git a/metadata/app.json b/metadata/app.json
index a388612..0b9823f 100644
--- a/metadata/app.json
+++ b/metadata/app.json
@@ -1,11 +1,12 @@
{
- "name": "provisioner",
+ "name": "ruhnet-provisioner",
"i18n": {
"en-US": {
"label": "RuhNet Provisioner",
"description": "Control provisioner settings.",
"features": [
"Add Phone Models",
+ "Set Device Password",
"Control IP ACLs"
]
}
@@ -13,15 +14,14 @@
"tags": [
"developer"
],
- "icon": "Provisioner_app.png",
+ "icon": "provisioner_icon.png",
"api_url": "",
"author": "RuhNet",
- "version": "1.0",
+ "version": "1.1",
"license": "GPLv3",
"price": 0,
"screenshots": [
- "Provisioner1.png",
- "Provisioner2.png"
+ "provisioner_screenshot.png"
],
"urls": {
"documentation": "{documentation_url}",
diff --git a/metadata/icon/Provisioner_icon.png b/metadata/icon/provisioner_icon.png
similarity index 100%
rename from metadata/icon/Provisioner_icon.png
rename to metadata/icon/provisioner_icon.png
diff --git a/metadata/screenshots/provisioner_screenshot.png b/metadata/screenshots/provisioner_screenshot.png
new file mode 100644
index 0000000..b1d98bc
Binary files /dev/null and b/metadata/screenshots/provisioner_screenshot.png differ
diff --git a/style/app.css b/style/app.css
index a0c7d35..7fc6acc 100644
--- a/style/app.css
+++ b/style/app.css
@@ -7,19 +7,7 @@ div.account-settings {
flex-direction: column;
}
-div.provurlinfo-wrapper {
- /* width: 100%; */
- display:flex;
- flex-wrap: wrap;
- flex-direction: column;
- margin: 10px;
- padding: 10px;
- border: 1px solid lightgrey;
- border-radius: 10px;
- background: #f8f8f8;
-}
-
-div.aclinfo-wrapper {
+div.section-wrapper {
/* width: 100%; */
display:flex;
flex-wrap: wrap;
@@ -35,6 +23,11 @@ div.aclinfo-wrapper {
cursor: pointer;
}
+.devicepassword-entry {
+ padding: 5px;
+ font-size: +1.2em;
+}
+
.acl-entry {
padding: 5px;
font-size: +1.2em;
diff --git a/views/aclinfo.html b/views/aclinfo.html
index d42e10b..1d65efe 100644
--- a/views/aclinfo.html
+++ b/views/aclinfo.html
@@ -1,4 +1,4 @@
-
+
{{ i18n.provisioner.acls.description }}
{{#each acls}}
@@ -11,7 +11,7 @@
-
+
diff --git a/views/devicepassword.html b/views/devicepassword.html
new file mode 100644
index 0000000..0ba20e6
--- /dev/null
+++ b/views/devicepassword.html
@@ -0,0 +1,16 @@
+