Skip to content

Commit

Permalink
login_modified
Browse files Browse the repository at this point in the history
  • Loading branch information
marco committed Nov 28, 2016
1 parent 20f6fc8 commit 712f4a5
Show file tree
Hide file tree
Showing 10 changed files with 1,112 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -715,12 +715,14 @@ void loop() {

if (digitalRead(obj_button_pin)==0) {
Serial.print("obj_button pressed");
changeObjStatus(main_obj_selected,!main_obj_state); // this will make a not of current state
sendSyncMessage();

while (digitalRead(obj_button_pin)==0){ //wait for button release
delay(100);
}

changeObjStatus(main_obj_selected,!main_obj_state); // this will make a not of current state
sendSyncMessage();

}


Expand Down
3 changes: 1 addition & 2 deletions arduino_code/onos_rf69_serial_transponder.ino
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,7 @@ void setup() {



void loop()
{
void loop(){

sync:

Expand Down
251 changes: 251 additions & 0 deletions online_db/css/login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
@font-face {
font-family: 'rapier';
src: url('../fonts/rapier-zero.ttf') format('truetype');
}





.flex {max-width: 100%}

body{

font-family: rapier;
margin: 0px;
padding: 0px;

}

a, a:visited {text-decoration:none; color:white;}





@media screen and (min-width: 320px) /*iphone 6s, 6 plus portrait*/{
body {

background-color: #0072ca;

}


#logo {

position:relative;
top:0px;
width:100%;
margin-top:10px;
margin-bottom:30px;
}

.title{


text-align:center;
width:100%;
margin-left:auto;
margin-right:auto;
margin-bottom:30px;
font-size:30px;
}

.box-form{

text-align:center;
padding:30px;
margin:30px;
background-color:#043a91;
color:white;
border-radius: 15px 50px;
border: 2px solid black;

}

.textinput{

font-family: rapier;
padding:5px;
margin-top:10px;
margin-bottom:10px;
margin-left:auto;
margin-right:auto;
background-color: #0072ca;
border: 1px solid white;
border-radius: 3px;
color:#d0d6e0;


}


.login-button{

font-family: rapier;
width:150px;
margin-top:20px;
background-color: #0072ca;
color:#d0d6e0;
border-radius: 3px;

}

.login-button:hover {

font-weight:bold;
border-radius: 5px;

}

#register-button{

width:150px;
margin-top:20px;
margin-left:auto;
margin-right:auto;
background-color: #0072ca;
color:#d0d6e0;
border-radius: 3px;
border: 2px outset white;

}

#register-button:hover {

font-weight:bold;
border-radius: 5px;

}


}/*fine media iphone 6s 6plus */







@media screen and (min-width: 960px) /*laptop-desktop*/{
body {

width:412px;
background-color: #0072ca;
margin-left:auto;
margin-right:auto;
}


#logo {

position:relative;
top:0px;
width:100%;
margin-top:5px;
margin-bottom:0px;
}



.box-form{

text-align:center;
padding:10px;
margin:30px;
background-color:#043a91;
color:white;
border-radius: 15px 50px;
border: 2px solid black;

}

.simpletext{

font-family: Georgia;
font-weight:bold;
text-align:left;
margin-left:55px;
}

.simpletext2{

font-family: Georgia;
font-weight:bold;
text-align:center;

}

.textinput{

font-family: rapier;
padding:5px;
margin-top:10px;
margin-bottom:10px;
margin-left:auto;
margin-right:auto;
background-color: #0072ca;
border: 1px solid white;
border-radius: 3px;
color:#d0d6e0;


}


.login-button{

font-family: rapier;
width:150px;
margin-top:20px;
background-color: #0072ca;
color:#d0d6e0;
border-radius: 3px;

}

.login-button:hover {

font-weight:bold;
border-radius: 5px;

}

#register-button{
font-family: Georgia1;
width:150px;
margin-top:20px;
margin-left:auto;
margin-right:auto;
background-color: #0072ca;
color:#d0d6e0;
border-radius: 3px;
border: 2px outset white;

}

#register-button:hover {

font-weight:bold;
border-radius: 5px;

}


}/*fine media iphone 6s 6plus */
















0 comments on commit 712f4a5

Please sign in to comment.