mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2025-10-29 07:58:07 +01:00
Compare commits
9 Commits
v2017-10-1
...
v2017-10-1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea323d4b01 | ||
|
|
082f9a1175 | ||
|
|
04776428c8 | ||
|
|
b1f7f5cad4 | ||
|
|
6d41096dd5 | ||
|
|
77c31a7c5c | ||
|
|
0c9086d70d | ||
|
|
2b6dfac5b0 | ||
|
|
ba21f8b88d |
@@ -40,7 +40,7 @@
|
||||
@media only screen and (min-width: 1000px) {
|
||||
.grid {
|
||||
grid-gap: 1rem;
|
||||
grid-template-columns: 0.25fr auto;
|
||||
grid-template-columns: 30% auto;
|
||||
grid-template-areas:
|
||||
"header header"
|
||||
"sidebar content"
|
||||
|
||||
BIN
img/cc.png
Normal file
BIN
img/cc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
3542
index.html
3542
index.html
File diff suppressed because it is too large
Load Diff
28
js/js.js
28
js/js.js
@@ -4,25 +4,21 @@ $(document).ready(function() {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
});
|
||||
|
||||
// open modal window if a hash is found in URL
|
||||
// open recipe window if a hash is found in URL
|
||||
if(window.location.hash) {
|
||||
$(window.location.hash).modal('show');
|
||||
// add direct link to modal window
|
||||
$(".link").empty();
|
||||
$(".link").append("<small>Link to this command: <a href="+window.location.href+">"+window.location.href+"</a></small>");
|
||||
id = window.location.hash
|
||||
$(id).collapse('show');
|
||||
$('html, body').animate({ scrollTop: $(id).offset().top}, 1000);
|
||||
$(id + " .link").empty();
|
||||
$(id + " .link").append("<small>Link to this command: <a href="+window.location.href+">"+window.location.href+"</a></small>");
|
||||
}
|
||||
|
||||
// add hash to URL when modal is opened
|
||||
$('span[data-toggle="modal"]').on("click", function(){
|
||||
window.location.hash = $(this).attr("data-target");
|
||||
// add direct link to modal window
|
||||
$(".link").empty();
|
||||
$(".link").append("<small>Link to this command: <a href="+window.location.href+">"+window.location.href+"</a></small>");
|
||||
});
|
||||
|
||||
// remove hash from URL when modal is closed
|
||||
$(document).on('hide.bs.modal', function (e) {
|
||||
history.pushState("", document.title, window.location.pathname);
|
||||
// add hash URL when recipe is opened
|
||||
$('span[data-toggle="collapse"]').on("click", function(){
|
||||
id = $(this).attr("data-target");
|
||||
window.location.hash = id
|
||||
$(id + " .link").empty();
|
||||
$(id + " .link").append("<small>Link to this command: <a href="+window.location.href+">"+window.location.href+"</a></small>");
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user