118 lines
5.3 KiB
PHP
118 lines
5.3 KiB
PHP
<div class="modal fade" id="modSchool" role="dialog">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button class="close"
|
|
aria-hidden="true"
|
|
data-dismiss="modal"
|
|
type="button"
|
|
style="color:#ffffff" >x</button>
|
|
<h4>Organisatiegegevens</h4>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<table style="width: 90%;" data-bind="with: $root.schoolasobject">
|
|
<tr >
|
|
<td style="width: 20%" data-bind="text: $root.orgsoort "></td>
|
|
<td style="width: 30%" data-bind="text: naam"></td>
|
|
<td style="width: 20%" >Adres</td>
|
|
<td style="width: 30%">
|
|
<input style="width: 100%"
|
|
data-bind="textInput: straat,
|
|
event:{input: $root.fSaveOrg} "/>
|
|
</td>
|
|
</tr>
|
|
<tr >
|
|
<td>Brin</td>
|
|
<td data-bind="text: brin"></td>
|
|
<td>Plaats</td>
|
|
<td> <input data-bind="textInput: plaats,
|
|
event:{input: $root.fSaveOrg}"
|
|
style="width: 100%;"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Telefoon</td>
|
|
<td><input data-bind="textInput: foon,
|
|
event:{input: $root.fSaveOrg}"
|
|
style="width: 80%;"/>
|
|
</td>
|
|
<td>E-mail</td>
|
|
<td><input data-bind="textInput: email,
|
|
event:{input: $root.fSaveOrg}"
|
|
style="width: 100%;"/>
|
|
</td>
|
|
</tr>
|
|
<tr >
|
|
<td>Website</td>
|
|
<td><input data-bind="textInput: site,
|
|
event:{input: $root.fSaveOrg}"/>
|
|
</td>
|
|
<td></td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
<tr style="height: 20px;">
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
|
|
<td style="vertical-align: top;">Logo</td>
|
|
<td >
|
|
<!-- ko if: $root.schoolasobject() && $root.schoolasobject().logo() -->
|
|
<img data-bind="attr:{src: $root.schoolasobject().logo(),
|
|
alt: $root.schoolasobject().logo() } "
|
|
|
|
style="max-width: 70px" />
|
|
<!-- /ko -->
|
|
</td>
|
|
<td></td>
|
|
<td></td>
|
|
|
|
</tr>
|
|
</table>
|
|
<p> </p>
|
|
<form id="upload_form" enctype="multipart/form-data" method="post" action="upload.php">
|
|
<!-- <p><label for="image_file">Logo uploaden</label></p>
|
|
-->
|
|
<input type="file"
|
|
name="image_file"
|
|
data-bind="value: uploadLogoNaam"
|
|
id="image_file"
|
|
style="border: none;
|
|
width: 0.01px;
|
|
height:0.01px;
|
|
display:none;
|
|
margin-top:10px;
|
|
color: transparent;
|
|
background-color: transparent;
|
|
overflow:hidden " />
|
|
<label class="btn btn-small btn-info"
|
|
|
|
for="image_file">Selecteer logo</label>
|
|
<!-- ko if: uploadLogoNaam()-->
|
|
<i>gekozen: <span data-bind="text:showLogoNaam"></span></i>
|
|
<!-- /ko -->
|
|
|
|
<label class="btn btn-small btn-info"
|
|
style="margin-right: 20px"
|
|
data-bind="click: $root.fStartUploading,
|
|
visible: uploadLogoNaam() && uploadLogoNaam().length > 2">Upload
|
|
</label>
|
|
<!-- <input type="button" value="Upload" data-bind="click: $root.fStartUploading" /> -->
|
|
</form>
|
|
|
|
</div> <!-- modal body -->
|
|
|
|
|
|
<div class="modal-footer">
|
|
<button class="btn btn-small buttonCompacte"
|
|
data-dismiss="modal">sluiten
|
|
</button>
|
|
</div> <!-- footer -->
|
|
</div> <!-- modal content -->
|
|
</div> <!-- modal dialog -->
|
|
</div> <!-- modal --> |