Skip to content

Commit

Permalink
add autocompletion real brand and models + pictures. #90
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Feb 5, 2016
1 parent e0c0486 commit 45021cd
Show file tree
Hide file tree
Showing 178 changed files with 805 additions and 45 deletions.
16 changes: 15 additions & 1 deletion application/controllers/Measures.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,14 @@ public function new_watch() {
$this->event->add(ADD_WATCH_LOAD);

$this->_headerData['headerClass'] = 'blue';

array_push($this->_headerData['javaScripts'],
"jquery-ui.min", "watch.autocomplete");
"jquery.easy-autocomplete.min", "watch.autocomplete");

array_push($this->_headerData['styleSheets'],
"easy-autocomplete.min",
"easy-autocomplete.themes.min"
);

$this->load->view('header', $this->_headerData);

Expand All @@ -160,6 +166,14 @@ public function edit_watch_p(){

if($watch){

array_push($this->_headerData['javaScripts'],
"jquery.easy-autocomplete.min", "watch.autocomplete");

array_push($this->_headerData['styleSheets'],
"easy-autocomplete.min",
"easy-autocomplete.themes.min"
);

$this->_headerData['headerClass'] = 'blue';
$this->load->view('header', $this->_headerData);
$this->load->view('measure/edit-watch', $watch);
Expand Down
4 changes: 2 additions & 2 deletions application/views/measure/edit-watch.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<div class="form-group">
<label for="brand" class="col-sm-3 control-label">Brand<i>*</i></label>
<div class="col-sm-9">
<input value="<?php echo $brand;?>" type="text" class="form-control" name="brand" placeholder="Jaeger-LeCoultre">
<input id="brand" value="<?php echo $brand;?>" type="text" class="form-control" name="brand" placeholder="Jaeger-LeCoultre">
<span class="watch-error brand-error">This field is required.</span>
</div>
</div>
<div class="form-group">
<label for="name" class="col-sm-3 control-label">Model</label>
<div class="col-sm-9">
<input value="<?php echo $name;?>" type="text" class="form-control" name="name" placeholder="Duometre">
<input id="model" value="<?php echo $name;?>" type="text" class="form-control" name="name" placeholder="Duometre">
</div>
</div>
<div class="form-group">
Expand Down
11 changes: 11 additions & 0 deletions assets/css/easy-autocomplete.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions assets/css/easy-autocomplete.themes.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added assets/img/ico_watch/logo_alangesohne.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_alpina.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_arnoldson.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_audemarspiguet.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_ball.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_baumeetmercier.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_bellross.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_blancpain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_bovet.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_breguet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_breitling.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_bremont.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_bulgari.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_bulova.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_cartier.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_casio.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_certina.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_chanel.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_chopard.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_citizen.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_concord.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_corum.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_degrisogono.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_dior.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ico_watch/logo_eberhard.jpg
Binary file added assets/img/ico_watch/logo_eterna.jpg
Binary file added assets/img/ico_watch/logo_fortis.jpg
Binary file added assets/img/ico_watch/logo_fpjourne.png
Binary file added assets/img/ico_watch/logo_franckmuller.jpg
Binary file added assets/img/ico_watch/logo_frederiqueconstant.jpg
Binary file added assets/img/ico_watch/logo_girardperregaux.png
Binary file added assets/img/ico_watch/logo_glashutteoriginal.jpg
Binary file added assets/img/ico_watch/logo_glycine.png
Binary file added assets/img/ico_watch/logo_halios.jpg
Binary file added assets/img/ico_watch/logo_hamilton.jpg
Binary file added assets/img/ico_watch/logo_harrywinston.jpg
Binary file added assets/img/ico_watch/logo_hermes.jpg
Binary file added assets/img/ico_watch/logo_heuer.jpg
Binary file added assets/img/ico_watch/logo_hmosercie.jpg
Binary file added assets/img/ico_watch/logo_hublot.jpg
Binary file added assets/img/ico_watch/logo_iwc.jpg
Binary file added assets/img/ico_watch/logo_jaegerlecoultre.jpg
Binary file added assets/img/ico_watch/logo_jaquetdroz.jpg
Binary file added assets/img/ico_watch/logo_jeanrichard.jpg
Binary file added assets/img/ico_watch/logo_junghans.jpg
Binary file added assets/img/ico_watch/logo_junkers.jpg
Binary file added assets/img/ico_watch/logo_longines.jpg
Binary file added assets/img/ico_watch/logo_louisvuitton.jpg
Binary file added assets/img/ico_watch/logo_mauricelacroix.jpg
Binary file added assets/img/ico_watch/logo_mido.jpg
Binary file added assets/img/ico_watch/logo_montblanc.png
Binary file added assets/img/ico_watch/logo_nomos.jpg
Binary file added assets/img/ico_watch/logo_omega.png
Binary file added assets/img/ico_watch/logo_oris.png
Binary file added assets/img/ico_watch/logo_panerai.jpg
Binary file added assets/img/ico_watch/logo_patekphilippe.jpg
Binary file added assets/img/ico_watch/logo_pequignet.jpg
Binary file added assets/img/ico_watch/logo_piaget.jpg
Binary file added assets/img/ico_watch/logo_rado.jpg
Binary file added assets/img/ico_watch/logo_raymondweil.jpg
Binary file added assets/img/ico_watch/logo_richardmille.jpg
Binary file added assets/img/ico_watch/logo_rogerdubuis.jpg
Binary file added assets/img/ico_watch/logo_rolex.jpg
Binary file added assets/img/ico_watch/logo_seiko.jpg
Binary file added assets/img/ico_watch/logo_shinola.jpg
Binary file added assets/img/ico_watch/logo_sinn.jpg
Binary file added assets/img/ico_watch/logo_steinhart.jpeg
Binary file added assets/img/ico_watch/logo_stuhrling.jpg
Binary file added assets/img/ico_watch/logo_swatch.jpg
Binary file added assets/img/ico_watch/logo_tagheuer.jpg
Binary file added assets/img/ico_watch/logo_timex.png
Binary file added assets/img/ico_watch/logo_tissot.jpg
Binary file added assets/img/ico_watch/logo_tudor.jpg
Binary file added assets/img/ico_watch/logo_ulyssenardin.jpg
Binary file added assets/img/ico_watch/logo_universalgeneve.png
Binary file added assets/img/ico_watch/logo_vacheronconstantin.jpg
Binary file added assets/img/ico_watch/logo_vancleefarpels.jpg
Binary file added assets/img/ico_watch/logo_victorinox.png
Binary file added assets/img/ico_watch/logo_vostok.png
Binary file added assets/img/ico_watch/logo_vulcain.jpg
Binary file added assets/img/ico_watch/logo_yvessaintlaurent.jpg
Binary file added assets/img/ico_watch/logo_zeitgeist.png
Binary file added assets/img/ico_watch/logo_zenith.png
Binary file added assets/img/ico_watch/logo_zeppelin.jpg
Loading

0 comments on commit 45021cd

Please sign in to comment.