/bitmoji.html (1a324c6b1afd910f496e73ab3dda630fee8c2ea4) (1416 bytes) (mode 100644) (type blob)
<html>
<head>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<style>
.emoji {
max-width: 30%;
}
.filterinput {
font-size: 25px;
width: 100%;
min-height: 40px;
}
</style>
</head>
<body>
<header id="header"></header>
<div id="results">
{% for image in images %}
<img src="{{ image.src }}" data-tags="{{ ','.join(image.tags) }}" class="emoji">
{% endfor %}
</div>
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js"></script>
<script>
(function ($) {
jQuery.expr[':'].Contains = function(a,i,m){
return (a.getAttribute("data-tags")).toUpperCase().indexOf(m[3].toUpperCase())>=0;
};
function listFilter(header, list) {
var form = $("<form>").attr({"class":"filterform","action":"#"}),
input = $("<input>").attr({"class":"filterinput","type":"text"});
$(form).append(input).appendTo(header);
$(input)
.change( function () {
var filter = $(this).val();
if(filter) {
$(list).find(".emoji:not(:Contains(" + filter + "))").hide();
$(list).find(".emoji:Contains(" + filter + ")").show();
} else {
$(list).find(".emoji").show();
}
return false;
})
.keyup( function () {
$(this).change();
});
}
$(function () {
listFilter($("#header"), $("#results"));
});
}(jQuery));
</script>
</body>
</html>
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
1416 |
1a324c6b1afd910f496e73ab3dda630fee8c2ea4 |
bitmoji.html |
100644 |
blob |
4591 |
f9fffe0ff2814886ec6adad21e2442b4e2974d71 |
notes.txt |
100644 |
blob |
2598 |
8b7fc9a4c86125a1d44673ceea83edac5103a668 |
update_json.py |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/gdr/bitmoji
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/gdr/bitmoji
Clone this repository using git:
git clone git://git.rocketgit.com/user/gdr/bitmoji
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main