diff --git a/app/css/custom.php b/app/css/custom.php
index f6b18318..a4f98d72 100644
--- a/app/css/custom.php
+++ b/app/css/custom.php
@@ -52,19 +52,23 @@ body {
font-weight: 500;
}
-.card .card-header {
+.card .card-header, .modal-header {
border-color: ;
color: #fff;
background-color: ;
}
+.modal-header {
+ border-radius: 0px;
+}
+
.btn-primary {
color: ;
border-color: ;
background-color: #fff;
}
-.card-footer {
+.card-footer, .modal-footer {
background-color: #f2f1f0;
}
diff --git a/app/css/hackernews.css b/app/css/hackernews.css
index 71dbbd27..1dbb2e97 100644
--- a/app/css/hackernews.css
+++ b/app/css/hackernews.css
@@ -34,12 +34,12 @@ h5.card-title {
color: #212529;
}
-.card {
+.card, .modal-dialog {
border-radius: 1px;
border-color: #ff6600;
}
-.card>.card-header {
+.card>.card-header, .modal-header {
border-color: #ff6600;
background-color: #ff6600;
color: #000;
@@ -53,11 +53,20 @@ h5.card-title {
font-size: 1.0rem;
}
-.card-header [class^="fa"] {
+.card-header [class^="fa"], .modal-header [class^="fa"] {
color: #fff;
font-size: 1.0rem;
}
+.modal-title {
+ color: #000;
+ font-size: 1.0rem;
+}
+
+.modal-content {
+ border-radius: 0px;
+}
+
.sidebar-brand-text {
text-transform: none;
color: #212529;
diff --git a/app/css/lightsout.css b/app/css/lightsout.css
index 55eb4b54..c6fb580b 100644
--- a/app/css/lightsout.css
+++ b/app/css/lightsout.css
@@ -119,7 +119,7 @@ a:focus, a:hover {
color: #d2d2d2;
}
-.card>.card-header {
+.card>.card-header, .modal-content, .modal-header {
border-color: #404040;
background-color: #202020;
color: #afafaf;
@@ -129,6 +129,10 @@ a:focus, a:hover {
font-weight: 400;
}
+.modal-body {
+ background-color: #141414;
+}
+
.card>.card-header .fa {
color: #202020;
}
@@ -197,11 +201,15 @@ hr {
width: 6.5rem;
}
-.card-footer {
+.card-footer, .modal-footer {
background-color: #202020;
border-top: 0px;
}
+.modal-footer {
+ border-radius: 0.3rem;
+}
+
.card>.card-header::before, .navbar-default::before {
content: " ";
display: block;
diff --git a/app/js/custom.js b/app/js/custom.js
index ba394f9d..9d4c03bb 100644
--- a/app/js/custom.js
+++ b/app/js/custom.js
@@ -232,6 +232,18 @@ function loadChannel() {
});
}
+$('#hostapdModal').on('shown.bs.modal', function (e) {
+ var seconds = 9;
+ var countDown = setInterval(function(){
+ if(seconds <= 0){
+ clearInterval(countDown);
+ }
+ var pcg = Math.floor(100-(seconds*100/9));
+ document.getElementsByClassName('progress-bar').item(0).setAttribute('style','width:'+Number(pcg)+'%');
+ seconds --;
+ }, 1000);
+});
+
/*
Sets the wirelss channel select options based on hw_mode and country_code.
diff --git a/locale/en_US/LC_MESSAGES/messages.po b/locale/en_US/LC_MESSAGES/messages.po
index 484a10f6..19f35822 100644
--- a/locale/en_US/LC_MESSAGES/messages.po
+++ b/locale/en_US/LC_MESSAGES/messages.po
@@ -462,6 +462,12 @@ msgstr "Disable disassoc_low_ack
"
msgid "Do not disassociate stations based on excessive transmission failures."
msgstr "Do not disassociate stations based on excessive transmission failures."
+msgid "RaspAP service start executing"
+msgstr "RaspAP service start executing"
+
+msgid "Close"
+msgstr "Close"
+
#: includes/networking.php
msgid "Summary"
msgstr "Summary"
diff --git a/templates/hostapd.php b/templates/hostapd.php
index 38b24521..70a14982 100755
--- a/templates/hostapd.php
+++ b/templates/hostapd.php
@@ -2,11 +2,30 @@
" />
- "/>
+ " data-toggle="modal" data-target="#hostapdModal"/>
"/>
- "/>
+ " data-toggle="modal" data-target="#hostapdModal"/>
+
+