Skip to content

Commit

Permalink
Add images
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Lesieur <[email protected]>
  • Loading branch information
MachinisteWeb committed Nov 30, 2017
1 parent 2bdde1e commit 6071780
Show file tree
Hide file tree
Showing 25 changed files with 84 additions and 14 deletions.
2 changes: 1 addition & 1 deletion assets/javascripts/common.0.30.0.min.js

Large diffs are not rendered by default.

41 changes: 40 additions & 1 deletion assets/javascripts/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
* GLOBAL..............Define global variables.
* COMMON..............This functions are used on more one page, and execute on each pages.
* ARTICLE.............This functions are used only on associate template.
* LOGIN.............This functions are used only on associate template.
* LOGIN...............This functions are used only on associate template.
* SEARCH..............This functions are used only on associate template.
* START PROCESS.......Run all JavaScript common / specific.
*/

Expand Down Expand Up @@ -810,6 +811,44 @@ var website = website || {},



/*------------------------------------*\
$%SEARCH
\*------------------------------------*/

(function (publics) {
"use strict";

var privates = {};

privates.search = function () {
$(".search-button").click(function (e) {
var $form = $(".form-search"),
$query = $(".search-query"),
$error = $(".form-search .errors");

e.preventDefault();

console.log("haha");

if ($query.val() === '') {
$error.show();
} else {
$error.hide();
$(this).addClass("loading");
$form.submit();
}
});
};

publics.init = function () {
privates.search();
};
}(website.search = {}));





/*------------------------------------*\
$%START PROCESS
\*------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion assets/javascripts/framework.0.30.0.min.js

Large diffs are not rendered by default.

Binary file added assets/media/images/upload/1ajapg.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/media/images/upload/angular_js_2.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/media/images/upload/git-case-001.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/media/images/upload/git-case-002.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/media/images/upload/git-case-003.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/media/images/upload/git-case-004.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/media/images/upload/git-case-005.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/media/images/upload/git-case-006.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/media/images/upload/git-case-007.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/media/images/upload/git-case-008.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/media/images/upload/hqdefault.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/media/images/upload/i-know-javascript.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/media/images/upload/understand-js-min.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/media/images/upload/understand-js.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/media/images/upload/vue-router.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/media/images/upload/vue-router.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/stylesheets/common.0.30.0.min.css

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions assets/stylesheets/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@

.errors {
color: #CC0000;
position: relative;
bottom: 16px;
}

.wrap-content:after {
Expand Down Expand Up @@ -551,6 +553,12 @@ header div,
width: 50%;
padding-right: 8px;
}
.login .submit {
clear: left;
}
.search .submit {
margin-top: 0;
}
.field + .field {
padding-left: 8px;
padding-right: 0;
Expand Down Expand Up @@ -651,6 +659,7 @@ header div,
}

.loading.loading.loading.loading.loading.loading.create-article-button,
.loading.loading.loading.loading.loading.loading.search-button,
.loading.loading.loading.loading.loading.loading.account-login-button,
.loading.loading.loading.loading.loading.loading.account-logout-button,
.loading.loading.loading.loading.loading.loading.delete-article-button,
Expand All @@ -669,6 +678,7 @@ header div,
}

.loading.create-article-button:before,
.loading.search-button:before,
.loading.account-login-button:before,
.loading.account-logout-button:before,
.loading.delete-article-button:before,
Expand All @@ -685,6 +695,7 @@ header div,
}

.loading.create-article-button:after,
.loading.search-button:after,
.loading.account-login-button:after,
.loading.account-logout-button:after,
.loading.delete-article-button:after,
Expand Down
16 changes: 9 additions & 7 deletions databases/mongodb/blog/article.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions databases/mongodb/blog/category.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@
{"_id":{"$oid":"5499b03566bb5aeedaafd8b6"},"cache":{"category":{"number":1}},"dates":{"published":"2014-12-24 13:12:00","updated":["2014-12-24 13:12:00"]},"parent":{"$oid":"530cc2f27188099a66e9bcec"},"title":"Less","type":2,"urn":"less"}
{"_id":{"$oid":"54f0408e2ae5a068f260dae1"},"cache":{"category":{"number":2}},"dates":{"published":"2012-12-18 13:12:00","updated":["2012-12-18 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48c1"},"title":"Performances","type":2,"urn":"performances"}
{"_id":{"$oid":"54f042102ae5a068f260dae2"},"cache":{"category":{"number":6}},"dates":{"published":"2012-12-18 13:12:00","updated":["2012-12-18 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48bb"},"title":"W3C","type":2,"urn":"w3c"}
{"_id":{"$oid":"56c4ad05675345bb2d63fcec"},"cache":{"category":{"number":0}},"dates":{"published":"2015-12-18 13:12:00","updated":["2015-12-18 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48b8"},"title":"Angular.js","type":2,"urn":"angularjs"}
{"_id":{"$oid":"56c4ad05675345bb2d63fcec"},"cache":{"category":{"number":0.0}},"dates":{"published":"2015-12-18 13:12:00","updated":["2015-12-18 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48b8"},"title":"AngularJS","type":2.0,"urn":"angularjs"}
{"_id":{"$oid":"56c4ad62675345bb2d63fced"},"cache":{"category":{"number":0}},"dates":{"published":"2015-12-18 13:12:00","updated":["2015-12-18 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48b8"},"title":"Vanilla JS","type":2,"urn":"vanilla-js"}
{"_id":{"$oid":"5810c54a889f9b4bb0ece04f"},"cache":{"category":{"number":0}},"dates":{"published":"2016-10-26 16:40:00","updated":["2016-10-26 16:40:00"]},"parent":{"$oid":"5310456355dfd5f7698d48c7"},"title":"NodeAtlas","type":2,"urn":"node-atlas"}
{"_id":{"$oid":"5810c7ceac1a7558f33a3acc"},"cache":{"category":{"number":0}},"dates":{"published":"2016-10-26 13:12:00","updated":["2016-10-26 13:12:00"]},"parent":{"$oid":"530cc2f27188099a66e9bcec"},"title":"Stylus","type":2,"urn":"stylus"}
{"_id":{"$oid":"5810c8b1db1391f2a90b5f28"},"cache":{"category":{"number":0}},"dates":{"published":"2015-12-18 13:12:00","updated":["2015-12-18 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48b8"},"title":"Vue.js","type":2,"urn":"vuejs"}
{"_id":{"$oid":"5810ca369e74a4a6d8aee691"},"cache":{"category":{"number":3}},"dates":{"published":"2012-12-18 13:12:00","updated":["2012-12-18 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48be"},"title":"API","type":2,"urn":"api"}
{"_id":{"$oid":"581cb31dbe08b018d7e9a3bf"},"cache":{"category":{"number":0}},"dates":{"published":"2016-11-01 13:12:00","updated":["2016-11-01 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48bb"},"title":"Git","type":2,"urn":"git"}
{"_id":{"$oid":"582b2197ac185f8972f30bcb"},"cache":{"category":{"number":0}},"dates":{"published":"2016-11-18 13:12:00","updated":["2016-11-18 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48b8"},"title":"React.js","type":2,"urn":"react"}
{"_id":{"$oid":"582b2197ac185f8972f30bcb"},"cache":{"category":{"number":0.0}},"dates":{"published":"2016-11-18 13:12:00","updated":["2016-11-18 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48b8"},"title":"React","type":2.0,"urn":"react"}
{"_id":{"$oid":"582b22f1fa290e086423e837"},"cache":{"category":{"number":0}},"parent":{"$oid":"5310456355dfd5f7698d48c7"},"title":"MVC2","type":2,"urn":"mvc2"}
{"_id":{"$oid":"582b242b05a1bb41c727277a"},"cache":{"category":{"number":0}},"dates":{"published":"2016-11-18 13:12:00","updated":["2016-11-18 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48b8"},"title":"MVVM","type":2,"urn":"mvvm"}
{"_id":{"$oid":"58d68584389fd824fd7cf278"},"cache":{"category":{"number":0}},"dates":{"published":"2017-03-25 13:12:00","updated":["2017-03-25 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48b8"},"title":"ECMAScript","type":2,"urn":"ecma-script"}
{"_id":{"$oid":"59fdacbd2b61d5b1b9125d8d"},"cache":{"category":{"number":0.0}},"dates":{"published":"2017-11-04 13:12:00","updated":["2016-11-18 13:12:00"]},"parent":{"$oid":"5310456355dfd5f7698d48b8"},"title":"Angular","type":2.0,"urn":"angular"}
19 changes: 18 additions & 1 deletion optimizations.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,24 @@
"media/images/upload/prototypes.jpg": "media/images/upload/",
"media/images/upload/evaliation-strategy-mini.png": "media/images/upload/",
"media/images/upload/evaliation-strategy.jpg": "media/images/upload/",
"media/images/404.png": "media/images/"
"media/images/404.png": "media/images/",
"media/images/angular_js_2.jpg": "media/images/",
"media/images/git-case-001.jpg": "media/images/",
"media/images/git-case-002.jpg": "media/images/",
"media/images/git-case-003.jpg": "media/images/",
"media/images/git-case-004.jpg": "media/images/",
"media/images/git-case-005.jpg": "media/images/",
"media/images/git-case-006.jpg": "media/images/",
"media/images/git-case-007.jpg": "media/images/",
"media/images/git-case-008.jpg": "media/images/",
"media/images/understand-js.png": "media/images/",
"media/images/understand-js-min.jpg": "media/images/",
"media/images/vue-router.jpg": "media/images/",
"media/images/vue-router.png": "media/images/",
"media/images/vue-joke-qui-a-vu-verra.jpg": "media/images/",
"media/images/i-know-javascript.jpg": "media/images/",
"media/images/hqdefault.jpg": "media/images/",
"media/images/1ajapg.jpg": "media/images/"
}
}

0 comments on commit 6071780

Please sign in to comment.