Make file modale chooser and complete user profile
@ -2,6 +2,11 @@
|
||||
Super Form Reset
|
||||
----------------------------------------------------------------------------------------------------*/
|
||||
|
||||
form {
|
||||
margin: 0px auto;
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
input,
|
||||
label,
|
||||
select,
|
||||
@ -22,6 +27,10 @@ textarea
|
||||
font-family: Arial;
|
||||
}
|
||||
|
||||
label {
|
||||
min-width: 50%;
|
||||
}
|
||||
|
||||
/* Remove the stupid outer glow in Webkit */
|
||||
input:focus
|
||||
{
|
||||
@ -70,7 +79,8 @@ input[type=tel],
|
||||
input[type=text],
|
||||
input[type=time],
|
||||
input[type=url],
|
||||
input[type=week]
|
||||
input[type=week],
|
||||
textarea
|
||||
{
|
||||
background-color: white;
|
||||
border: 1px solid black;
|
||||
|
BIN
core/static/core/img/promo_01.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
core/static/core/img/promo_02.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
core/static/core/img/promo_03.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
core/static/core/img/promo_04.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
core/static/core/img/promo_05.png
Normal file
After Width: | Height: | Size: 8.4 KiB |
BIN
core/static/core/img/promo_06.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
core/static/core/img/promo_07.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
core/static/core/img/promo_08.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
core/static/core/img/promo_09.png
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
core/static/core/img/promo_10.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
core/static/core/img/promo_11.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
core/static/core/img/promo_12.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
core/static/core/img/promo_13.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
BIN
core/static/core/img/promo_14.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
core/static/core/img/promo_15.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
core/static/core/img/promo_16.png
Normal file
After Width: | Height: | Size: 8.4 KiB |
@ -1,11 +1,29 @@
|
||||
console.log('Guy');
|
||||
|
||||
$( function() {
|
||||
dialog = $( ".choose_file_widget" ).dialog({
|
||||
buttons = $(".choose_file_button");
|
||||
popups = $(".choose_file_widget");
|
||||
popups.dialog({
|
||||
autoOpen: false,
|
||||
modal: true,
|
||||
width: "80%",
|
||||
minHeight: "300",
|
||||
buttons: {
|
||||
"Choose": function() {
|
||||
console.log($("#file_id"));
|
||||
$("input[name="+$(this).attr('name')+"]").attr('value', $("#file_id").attr('value'));
|
||||
$( this ).dialog( "close" );
|
||||
}
|
||||
}
|
||||
});
|
||||
$('.select_date').datepicker({
|
||||
changeMonth: true,
|
||||
changeYear: true
|
||||
});
|
||||
$( ".choose_file_button" ).button().on( "click", function() {
|
||||
dialog.dialog( "open" );
|
||||
popup = popups.filter("[name="+$(this).attr('name')+"]");
|
||||
console.log(popup);
|
||||
popup.html('<iframe src="/file/popup" width="95%"></iframe><span id="file_id" value="null" />');
|
||||
popup.dialog({title: $(this).attr('name')}).dialog( "open" );
|
||||
});
|
||||
} );
|
||||
|
@ -118,12 +118,16 @@ ul, ol {
|
||||
}
|
||||
table {
|
||||
width: 100%;
|
||||
font-size: 0.90em;
|
||||
}
|
||||
td {
|
||||
padding: 4px;
|
||||
border: solid 1px black;
|
||||
border-collapse: collapse;
|
||||
vertical-align: top;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 0;
|
||||
}
|
||||
td>ul {
|
||||
margin-top: 0px;
|
||||
@ -152,7 +156,27 @@ tbody>tr:hover {
|
||||
}
|
||||
|
||||
/*-----------------------------USER PROFILE----------------------------*/
|
||||
.user_profile {
|
||||
#user_profile {
|
||||
width: 80%;
|
||||
margin: 0px auto;
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
#user_profile h4 { border-bottom: 1px solid grey; max-width: 60%; }
|
||||
#user_profile #pictures {
|
||||
width: 30%;
|
||||
float: right;
|
||||
font-style: italic;
|
||||
}
|
||||
#user_profile #nickname {
|
||||
font-style: italic;
|
||||
}
|
||||
#user_profile #pictures img {
|
||||
max-width: 96%;
|
||||
max-height: 96%;
|
||||
}
|
||||
#user_profile .promo_pict {
|
||||
height: 45px;
|
||||
}
|
||||
/*---------------------------------PAGE--------------------------------*/
|
||||
.page_content {
|
||||
|