The project helps to keep records and process information in multi-user mode.
- On the main page, a form with a password:
If you fill in the password correctly, go to the data management page, otherwise an error message will be displayed on the page. The difference between the input of the supervisor and the master in the html structure of the dataControl.php page.
- The dataControl.php page looks like this:
setInterval(() => {
let xhr = new XMLHttpRequest();
xhr.open('POST', 'php/changeAndNowF.php');
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onreadystatechange = function() {
// in this function, convert data from the server
}
xhr.send();
}, 1000);
- The app has a menu, where you can make settings.
- HTML:
<input type="range" name="sound" id="sound" data-selector="2" value="0" min="0" max="100" step="1"/>
- CSS:
input[type=range][data-selector="2"]::-webkit-slider-thumb {
-webkit-appearance: none;
background-image: linear-gradient(45deg, transparent 30%, #a22f53 30% 30%, transparent 45%),
linear-gradient(135deg, transparent 30%, #a22f53 30% 30%, transparent 45%);
background-size: 30px 30px;
background-position: 4px -7px, -3px 1px;
height: 13.4px;
width: 20px;
cursor: pointer;
margin-top: -14px;
transition-duration: 1s;
}
More in the app is:
- AJAX technology
- CSS and JS animations
- Log in with a password
- Processing data on the server
- Adaptive design
- Bookmark URL by the GET method