diff --git a/odm/checkversion.php b/odm/checkversion.php old mode 100644 new mode 100755 diff --git a/odm/css/styles.css b/odm/css/styles.css index 39653be..1ce03c0 100644 --- a/odm/css/styles.css +++ b/odm/css/styles.css @@ -192,6 +192,33 @@ font-size: 24px; font-weight: 300; } + + .new-device { + font-size:18px; + } + + .new-device img { + display:block; + } + + #new-device{ + display: none; + left: 435px; + padding: 20px; + position: absolute; + width: 125px; + font-size: 18px; + + /*Same box style as #devices-container*/ + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; + -moz-box-shadow: 0 2px 6px rgba(0,0,0,0.3),0 -3px 8px rgba(0,0,0,0.2); + -ms-box-shadow: 0 2px 6px rgba(0,0,0,0.3),0 -3px 8px rgba(0,0,0,0.2); + -webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.3),0 -3px 8px rgba(0,0,0,0.2); + box-shadow: 0 2px 6px rgba(0,0,0,0.3),0 -3px 8px rgba(0,0,0,0.2); + background-color: #fff; + } iframe { display: block; @@ -257,6 +284,38 @@ cursor: pointer; z-index: 2; } + + .button{ + min-width: 0; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; + -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.05); + -ms-box-shadow: 0 1px 0 rgba(0,0,0,0.05); + -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.05); + box-shadow: 0 1px 0 rgba(0,0,0,0.05); + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all .2s; + -moz-transition: all .2s; + -o-transition: all .2s; + transition: all .2s; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + background-color: #fff; + border: 1px solid rgba(0,0,0,0.17); + color: #737373; + cursor: pointer; + display: inline-block; + font: normal 500 14px "Roboto",serif; + line-height: 37px; + min-width: 40px; + padding: 0 20px; + text-decoration: none; + white-space: nowrap; + } #command-dropdown { -moz-border-radius: 3px; diff --git a/odm/delete.php b/odm/delete.php old mode 100644 new mode 100755 diff --git a/odm/images/qrcode-latest-apk.png b/odm/images/qrcode-latest-apk.png new file mode 100644 index 0000000..62190f0 Binary files /dev/null and b/odm/images/qrcode-latest-apk.png differ diff --git a/odm/img.php b/odm/img.php old mode 100644 new mode 100755 diff --git a/odm/include/config.php b/odm/include/config.php index 26cd09b..8517226 100644 --- a/odm/include/config.php +++ b/odm/include/config.php @@ -5,7 +5,7 @@ */ $DB_HOST = "localhost"; $DB_USER = "root"; - $DB_PASSWORD = ""; + $DB_PASSWORD = "root"; $DB_DATABASE = "odm"; /* @@ -18,7 +18,7 @@ /* * Allow new user registration? */ - $ALLOW_REGISTRATIONS = false; + $ALLOW_REGISTRATIONS = true; /* * Check for new versions at login? diff --git a/odm/index.php b/odm/index.php old mode 100644 new mode 100755 index 6548a20..434a55f --- a/odm/index.php +++ b/odm/index.php @@ -19,6 +19,11 @@ ?>
+
+ Add new device + qrcode latset apk +
Done
+
0) { @@ -48,6 +53,13 @@ $dropdown .= '
'; $count++; } + + //Dropdown entry for adding new device + $dropdown .= '
'; + $dropdown .= '
'; + $dropdown .= '
Add new device
'; + $dropdown .= '
'; + $dropdown .= '
'; ?>
@@ -130,7 +142,13 @@ -
No devices registered.
+
+ No devices registered. +
+ Add your first device + qrcode latset apk +
+
@@ -138,7 +156,6 @@
-