OSDN Git Service

modified - UI
authorJunichi Shinohara <junichi@karesansui-project.info>
Fri, 2 Jul 2010 12:10:38 +0000 (21:10 +0900)
committerJunichi Shinohara <junichi@karesansui-project.info>
Fri, 2 Jul 2010 12:10:38 +0000 (21:10 +0900)
karesansui/templates/default/hostby1report/hostby1report.part

index 35b60d8..0cc35da 100644 (file)
@@ -22,15 +22,15 @@ $(document).ready(function(){
             null);
     });
 
-    $("#report_refresh").mousedown(function(){
-        $(this).children().addClass("onclick");
+    $("#tool_renew").mousedown(function(){
+        $(this).attr("src", "${ctx.homepath}/static/images/reload-on_click.gif");
     }).mouseup(function(){
-        $(this).children().removeClass("onclick");
+        $(this).attr("src", "${ctx.homepath}/static/images/reload.gif");
     }).mouseout(function(){
-        $(this).children().removeClass("onclick");
+        $(this).attr("src", "${ctx.homepath}/static/images/reload.gif");
     });
 
-    $("#report_refresh").click(function(){
+    $("#tool_renew").click(function(){
         $("#report_tab td.selected").click();
     });
 
@@ -165,9 +165,6 @@ $(document).ready(function(){
                                                                 <input type="text" id="report_end_time" name="report_end_time" size="6" />
                                                                 <img id="report_set_now" class="set_now" src="${ctx.homepath}/static/images/time.png" alt="" title="${_('Set now time')}" />
                                                             </span>
-                                                            <span class="search_button">
-                                                                <a href="#" id="report_refresh" name="report_refresh" class="button report_refresh"><span class="refresh_button_left">&nbsp;</span><span class="refresh_button_right">${_('Refresh')}</span></a>
-                                                            </span>
                                                         </div>
                                                     </div>
                                                 </td>