rarabin

upload.html google plus share

...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
6 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> 6 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 - <img src="http://211.249.50.30:8080/user/mypic.jpg"></img> 9 + <img src="http://localhost:8080/user/mypic.jpg"></img>
10 <button onclick="test()">완료</button> 10 <button onclick="test()">완료</button>
11 11
12 <script type="text/javascript"> 12 <script type="text/javascript">
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
38 38
39 39
40 // Request body. 40 // Request body.
41 - data: '{"url":"http://211.249.50.30:8080/user/mypic.jpg"}', 41 + data: '{"url":"http://localhost:8080/user/mypic.jpg"}',
42 }) 42 })
43 .done(function(data) { 43 .done(function(data) {
44 alert(JSON.stringify(data)); 44 alert(JSON.stringify(data));
......
...@@ -11,12 +11,18 @@ ...@@ -11,12 +11,18 @@
11 11
12 <title>Age Detection</title> 12 <title>Age Detection</title>
13 13
14 -<link rel="stylesheet" href="http://211.249.50.30:8080/assets/css/bootstrap.min.css"> 14 +<link rel="stylesheet" href="http://localhost:8080/assets/css/bootstrap.min.css">
15 -<link rel="stylesheet" href="http://211.249.50.30:8080/assets/css/animate.css"> 15 +<link rel="stylesheet" href="http://localhost:8080/assets/css/animate.css">
16 -<link rel="stylesheet" href="http://211.249.50.30:8080/assets/css/magnific-popup.css"> 16 +<link rel="stylesheet" href="http://localhost:8080/assets/css/magnific-popup.css">
17 -<link rel="stylesheet" href="http://211.249.50.30:8080/assets/css/font-awesome.min.css"> 17 +<link rel="stylesheet" href="http://localhost:8080/assets/css/font-awesome.min.css">
18 <!-- MAIN CSS --> 18 <!-- MAIN CSS -->
19 -<link rel="stylesheet" href="http://211.249.50.30:8080/assets/css/tooplate-style.css"> 19 +<link rel="stylesheet" href="http://localhost:8080/assets/css/tooplate-style.css">
20 +
21 +<!-- 이 태그를 head 태그에 배치하거나 닫는 body 태그 바로 앞에 배치하세요. -->
22 +<script src="https://apis.google.com/js/platform.js" async defer>
23 + {lang: 'ko'}
24 +</script>
25 +
20 26
21 </head> 27 </head>
22 28
...@@ -82,15 +88,16 @@ ...@@ -82,15 +88,16 @@
82 <p class="white-color"> Opensource software programming 2017 Kang Jun Hu </p> 88 <p class="white-color"> Opensource software programming 2017 Kang Jun Hu </p>
83 <div class="wow fadeInUp" data-wow-delay="1s"> 89 <div class="wow fadeInUp" data-wow-delay="1s">
84 <ul class="social-icon"> 90 <ul class="social-icon">
85 - <li><a href="#" onclick="javascript:window.open('https://www.facebook.com/sharer/sharer.php?u=' 91 + <li><a href="#" onclick="javascript:window.open('https://www.facebook.com/sharer/sharer.php?u=' +encodeURIComponent(document.URL)+'&t='+encodeURIComponent(document.title), 'facebooksharedialog', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank" alt="Share on Facebook" class="fa fa-facebook"></a></li>
86 - +encodeURIComponent(document.URL)+'&amp;t='+encodeURIComponent(document.title), 'facebooksharedialog',
87 - 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank" alt="Share on Facebook" class="fa fa-facebook"></a></li>
88 <li><a href="#" onclick="javascript:window.open('https://twitter.com/intent/tweet?text=[%EA%B3%B5%EC%9C%A0]%20' 92 <li><a href="#" onclick="javascript:window.open('https://twitter.com/intent/tweet?text=[%EA%B3%B5%EC%9C%A0]%20'
89 +encodeURIComponent(document.URL)+'%20-%20'+encodeURIComponent(document.title), 'twittersharedialog', 93 +encodeURIComponent(document.URL)+'%20-%20'+encodeURIComponent(document.title), 'twittersharedialog',
90 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank" alt="Share on Twitter" class="fa fa-twitter"></a></li> 94 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank" alt="Share on Twitter" class="fa fa-twitter"></a></li>
91 <li><a href="#" class="fa fa-instagram"></a></li> 95 <li><a href="#" class="fa fa-instagram"></a></li>
92 <li><a href="#" class="fa fa-behance"></a></li> 96 <li><a href="#" class="fa fa-behance"></a></li>
93 <li><a href="#" class="fa fa-github"></a></li> 97 <li><a href="#" class="fa fa-github"></a></li>
98 + <br>
99 + <!-- 공유 버튼을(를) 표시하고 싶은 위치에 이 태그를 배치하세요. -->
100 + <div align="center" class="g-plus" data-action="share" data-height="35" data-href="http://localhost:8080/home"></div>
94 </ul> 101 </ul>
95 </div> 102 </div>
96 </div> 103 </div>
...@@ -98,14 +105,14 @@ ...@@ -98,14 +105,14 @@
98 </footer> 105 </footer>
99 106
100 <!-- SCRIPTS --> 107 <!-- SCRIPTS -->
101 -<script src="http://211.249.50.30:8080/assets/js/jquery.js"></script> 108 +<script src="http://localhost:8080/assets/js/jquery.js"></script>
102 -<script src="http://211.249.50.30:8080/assets/js/bootstrap.min.js"></script> 109 +<script src="http://localhost:8080/assets/js/bootstrap.min.js"></script>
103 -<script src="http://211.249.50.30:8080/assets/js/jquery.parallax.js"></script> 110 +<script src="http://localhost:8080/assets/js/jquery.parallax.js"></script>
104 -<script src="http://211.249.50.30:8080/assets/js/smoothscroll.js"></script> 111 +<script src="http://localhost:8080/assets/js/smoothscroll.js"></script>
105 -<script src="http://211.249.50.30:8080/assets/js/jquery.magnific-popup.min.js"></script> 112 +<script src="http://localhost:8080/assets/js/jquery.magnific-popup.min.js"></script>
106 -<script src="http://211.249.50.30:8080/assets/js/magnific-popup-options.js"></script> 113 +<script src="http://localhost:8080/assets/js/magnific-popup-options.js"></script>
107 -<script src="http://211.249.50.30:8080/assets/js/wow.min.js"></script> 114 +<script src="http://localhost:8080/assets/js/wow.min.js"></script>
108 -<script src="http://211.249.50.30:8080/assets/js/custom.js"></script> 115 +<script src="http://localhost:8080/assets/js/custom.js"></script>
109 116
110 </body> 117 </body>
111 118
......