diff --git a/bootstrap-3.3.7-dist/css/svatweb.css b/bootstrap-3.3.7-dist/css/svatweb.css new file mode 100644 index 0000000..abe67ba --- /dev/null +++ b/bootstrap-3.3.7-dist/css/svatweb.css @@ -0,0 +1,85 @@ +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); +} +body { + overflow-x: hidden; +} + +.nazevwebu { + padding: 10px 16px; + float: left; + vertical-align: middle; + width: 50%; +} + +.userdiv{ + text-align: right; + width: 50%; + float: right; + vertical-align: middle; + padding: 10px 16px; +} + + +ul.user { + list-style: none; + +} + +ul.user li { + display: inline; + font-size: 18px; +} + +ul.user li+li:before { + padding: 8px; + color: black; + content: '\007C'; +} + +ul.user li a { + color: #0275d8; + text-decoration: underline; + color: black; +} + +ul.user li a:hover { + color: #01447e; + text-decoration: none; +} + +.profile-pic { + position: relative; + display: inline-block; + width:100%; +} + +.profile-pic:hover .edit { + display: block; +} + +.edit { + padding-top: 7px; + padding-right: 7px; + position: absolute; + right: 0; + top: 0; + display: none; +} + +.edit a { + color: white; +} + +.img-fluid{ + object-fit: cover; /* Do not scale the image */ + width: 100%; + max-height: 25em; + overflow: auto; +} + +.glyphicon-edit{ + font-size: 2em; +} \ No newline at end of file diff --git a/bootstrap-3.3.7-dist/img/adult-affection-beautiful-566454.jpg b/bootstrap-3.3.7-dist/img/adult-affection-beautiful-566454.jpg new file mode 100644 index 0000000..c722a17 Binary files /dev/null and b/bootstrap-3.3.7-dist/img/adult-affection-beautiful-566454.jpg differ diff --git a/bootstrap-3.3.7-dist/img/affair-anniversary-beach-1024993.jpg b/bootstrap-3.3.7-dist/img/affair-anniversary-beach-1024993.jpg new file mode 100644 index 0000000..640062d Binary files /dev/null and b/bootstrap-3.3.7-dist/img/affair-anniversary-beach-1024993.jpg differ diff --git a/bootstrap-3.3.7-dist/js/template.js b/bootstrap-3.3.7-dist/js/template.js new file mode 100644 index 0000000..247246d --- /dev/null +++ b/bootstrap-3.3.7-dist/js/template.js @@ -0,0 +1,49 @@ +var schemacolor = "#fa8072"; + +$(document).ready(function(){ + $("a").hover(function(){ + $(this).css("color", schemacolor); + }, function(){ + $(this).css("color", "black"); + }); + document.getElementById("jmeno").style.color = schemacolor; + $(document).on('change', '.btn-file :file', function() { + var input = $(this), + label = input.val().replace(/\\/g, '/').replace(/.*\//, ''); + input.trigger('fileselect', [label]); + }); + + $('.btn-file :file').on('fileselect', function(event, label) { + + var input = $(this).parents('.input-group').find(':text'), + log = label; + + if( input.length ) { + input.val(log); + } else { + if( log ) alert(log); + } + + }); + +}); +function readURL(input) { + if (input.files && input.files[0]) { + var reader = new FileReader(); + + reader.onload = function (e) { + $('#uvodni').attr('src', e.target.result); + console.log("Nahrano"); + } + + reader.readAsDataURL(input.files[0]); + } + } + + function changeImage(){ + $("#imgInp").change(function(){ + readURL(this); + }); + } + + \ No newline at end of file diff --git a/bootstrap-3.3.7-dist/svatebni-web.html b/bootstrap-3.3.7-dist/svatebni-web.html new file mode 100644 index 0000000..0d9a126 --- /dev/null +++ b/bootstrap-3.3.7-dist/svatebni-web.html @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + Svatební web + + + + + + +
+ Krásná úvodní fotografie +
+
+ + + + + + + + + + + +