svnno****@sourc*****
svnno****@sourc*****
2013年 6月 13日 (木) 18:57:40 JST
Revision: 954 http://sourceforge.jp/projects/p2-php/scm/svn/commits/954 Author: akid Date: 2013-06-13 18:57:40 +0900 (Thu, 13 Jun 2013) Log Message: ----------- 不使用ファイルの削除 Removed Paths: ------------- p2/trunk/iui/iuix.css p2/trunk/iui/iuix.js -------------- next part -------------- Deleted: p2/trunk/iui/iuix.css =================================================================== --- p2/trunk/iui/iuix.css 2013-06-13 09:55:28 UTC (rev 953) +++ p2/trunk/iui/iuix.css 2013-06-13 09:57:40 UTC (rev 954) @@ -1,343 +0,0 @@ -/* 2010/01/14 \x82\xB1\x82̃t\x83@\x83C\x83\x8B\x82\xCDp2\x82ł͎g\x82\xC1\x82Ă\xA2\x82Ȃ\xA2\x82悤\x82\xBE */ - -body{ -margin:0; -font-family:Helvetica; -background:#FFF; -color:#000; -overflow-x:hidden; -/* -webkit-user-select:none; */ --webkit-text-size-adjust:none; -} - -body>*:not(.toolbar){ -display:none; -position:absolute; -margin:0; -padding:0; -left:0; -top:45px; -width:100%; -min-height:372px; -} - -body[orient="landscape"]>*:not(.toolbar){ -min-height:268px; -} - -body>*[selected="true"]{ -display:block; -} - -a[selected],a:active{ -background-color:#194fdb!important; -background-image:url(listArrowSel.png),url(selection.png)!important; -background-repeat:no-repeat,repeat-x; -background-position:right center,left top; -color:#FFF!important; -} - -a[selected="progress"]{ -background-image:url(loading.gif),url(selection.png)!important; -} - -body>.toolbar{ -box-sizing:border-box; --moz-box-sizing:border-box; --webkit-box-sizing:border-box; -border-bottom:1px solid #2d3642; -border-top:1px solid #6d84a2; -padding:10px; -height:45px; -background:url(toolbar.png) #6d84a2 repeat-x; -} - -.toolbar>h1{ -position:absolute; -overflow:hidden; -left:50%; -margin:1px 0 0 -75px; -height:45px; -font-size:20px; -width:150px; -font-weight:bold; -text-shadow:rgba(0,0,0,0.4) 0 -1px 0; -text-align:center; -text-overflow:ellipsis; -white-space:nowrap; -color:#FFF; -} - -body[orient="landscape"]>.toolbar>h1{ -margin-left:-125px; -width:250px; -} - -.button{ -position:absolute; -overflow:hidden; -top:8px; -right:6px; -margin:0; -border-width:0 5px; -padding:0 3px; -width:auto; -height:30px; -line-height:30px; -font-family:inherit; -font-size:12px; -font-weight:bold; -color:#FFF; -text-shadow:rgba(0,0,0,0.6) 0 -1px 0; -text-overflow:ellipsis; -text-decoration:none; -white-space:nowrap; -background:none; --webkit-border-image:url(toolButton.png) 0 5 0 5; -} - -.blueButton{ --webkit-border-image:url(blueButton.png) 0 5 0 5; -border-width:0 5px; -} - -.leftButton{ -left:6px; -right:auto; -} -#backButton{ -display:none; -left:6px; -right:auto; -padding:0; -max-width:55px; -border-width:0 8px 0 14px; --webkit-border-image:url(backButton.png) 0 8 0 14; -} - -.whiteButton,.grayButton{ -display:block; -border-width:0 12px; -padding:10px; -text-align:center; -font-size:20px; -font-weight:bold; -text-decoration:inherit; -color:inherit; -} - -.whiteButton{ --webkit-border-image:url(whiteButton.png) 0 12 0 12; -text-shadow:rgba(255,255,255,0.7) 0 1px 0; -} - -.grayButton{ --webkit-border-image:url(grayButton.png) 0 12 0 12; -color:#FFF; -} - -body>ul>li{ -position:relative; -margin:0; -border-bottom:1px solid #E0E0E0; -padding:8px 0 8px 10px; -font-size:20px; -font-weight:bold; -list-style:none; -} - -body>ul>li.group{ -position:relative; -top:-1px; -margin-bottom:-2px; -border-top:1px solid #7d7d7d; -border-bottom:1px solid #999; -padding:1px 10px; -background:url(listGroup.png) repeat-x; -font-size:17px; -font-weight:bold; -text-shadow:rgba(0,0,0,0.4) 0 1px 0; -color:#FFF; -} - -body>ul>li.group:first-child{ -top:0; -border-top:none; -} -body>ul>li>a{ -display:block; -margin:-8px 0 -8px -10px; -padding:8px 32px 8px 10px; -text-decoration:none; -color:inherit; -background:url(listArrow.png) no-repeat right center; -} - -a[target="_replace"]{ -box-sizing:border-box; --webkit-box-sizing:border-box; -padding-top:25px; -padding-bottom:25px; -font-size:18px; -color:cornflowerblue; -background-color:#FFF; -background-image:none; -} - -body>.dialog{ -top:0; -width:100%; -min-height:417px; -z-index:2; -background:rgba(0,0,0,0.8); -padding:0; -text-align:right; -} - -.dialog>fieldset{ -box-sizing:border-box; --webkit-box-sizing:border-box; -width:100%; -margin:0; -border:none; -border-top:1px solid #6d84a2; -padding:10px 6px; -background:url(toolbar.png) #7388a5 repeat-x; -} - -.dialog>fieldset>h1{ -margin:0 10px 0 10px; -padding:0; -font-size:20px; -font-weight:bold; -color:#FFF; -text-shadow:rgba(0,0,0,0.4) 0 -1px 0; -text-align:center; -} - -.dialog>fieldset>label{ -position:absolute; -margin:16px 0 0 6px; -font-size:14px; -color:#999; -} - -input{ -box-sizing:border-box; --webkit-box-sizing:border-box; -width:100%; -margin:8px 0 0 0; -padding:6px 6px 6px 44px; -font-size:16px; -font-weight:normal; -} - -body>.panel{ -box-sizing:border-box; --webkit-box-sizing:border-box; -padding:10px; -background:#c8c8c8 url(pinstripes.png); -} -.panel>fieldset{ -position:relative; -margin:0 0 20px 0; -padding:0; -background:#FFF; -border-radius:10px; -border:1px solid #999; -text-align:right; -font-size:16px; -} -.row{ -position:relative; -min-height:42px; -border-bottom:1px solid #999; -border-radius:0; -text-align:right; -} -fieldset>.row:last-child{ -border-bottom:none!important; -} -.row>input{ -box-sizing:border-box; --webkit-box-sizing:border-box; -margin:0; -border:none; -padding:12px 10px 0 110px; -height:42px; -background:none; -} -.row>label{ -position:absolute; -margin:0 0 0 14px; -line-height:42px; -font-weight:bold; -} -.row>.toggle{ -position:absolute; -top:6px; -right:6px; -width:100px; -height:28px; -} -.toggle{ -border:1px solid #888; -border-radius:6px; -background:#FFF url(toggle.png) repeat-x; -font-size:19px; -font-weight:bold; -line-height:30px; -} -.toggle[toggled="true"]{ -border:1px solid #143fae; -background:#194fdb url(toggleOn.png) repeat-x; -} -.toggleOn{ -display:none; -position:absolute; -width:60px; -text-align:center; -left:0; -top:0; -color:#FFF; -text-shadow:rgba(0,0,0,0.4) 0 -1px 0; -} -.toggleOff{ -position:absolute; -width:60px; -text-align:center; -right:0; -top:0; -color:#666; -} -.toggle[toggled="true"]>.toggleOn{ -display:block; -} -.toggle[toggled="true"]>.toggleOff{ -display:none; -} -.thumb{ -position:absolute; -top:-1px; -left:-1px; -width:40px; -height:28px; -border:1px solid #888; -border-radius:6px; -background:#fff url(thumb.png) repeat-x; -} -.toggle[toggled="true"]>.thumb{ -left:auto; -right:-1px; -} -.panel>h2{ -margin:0 0 8px 14px; -font-size:inherit; -font-weight:bold; -color:#4d4d70; -text-shadow:rgba(255,255,255,0.75) 2px 2px 0; -} -#preloader{ -display:none; -background-image:url(loading.gif),url(selection.png),url(blueButton.png),url(listArrowSel.png),url(listGroup.png); -} Deleted: p2/trunk/iui/iuix.js =================================================================== --- p2/trunk/iui/iuix.js 2013-06-13 09:55:28 UTC (rev 953) +++ p2/trunk/iui/iuix.js 2013-06-13 09:57:40 UTC (rev 954) @@ -1,2 +0,0 @@ -// \x82\xB1\x82̃t\x83@\x83C\x83\x8B\x82\xCDp2\x82ł͎g\x82\xC1\x82Ă\xA2\x82Ȃ\xA2\x82悤\x82\xBE -(function(){var _1=20;var _2=0;var _3=null;var _4=null;var _5=0;var _6=location.hash;var _7="#_";var _8=[];var _9=0;var _a;window.iui={showPage:function(_b,_c){if(_b){if(_4){_4.removeAttribute("selected");_4=null;}if(hasClass(_b,"dialog")){showDialog(_b);}else{var _d=_3;_3=_b;if(_d){setTimeout(slidePages,0,_d,_b,_c);}else{updatePage(_b,_d);}}}},showPageById:function(_e){var _f=$(_e);if(_f){var _10=_8.indexOf(_e);var _11=_10!=-1;if(_11){_8.splice(_10,_8.length);}iui.showPage(_f,_11);}},showPageByHref:function(_12,_13,_14,_15,cb){var req=new XMLHttpRequest();req.onerror=function(){if(cb){cb(false);}};req.onreadystatechange=function(){if(req.readyState==4){if(_15){replaceElementWithSource(_15,req.responseText);}else{var _18=document.createElement("div");_18.innerHTML=req.responseText;iui.insertPages(_18.childNodes);}if(cb){setTimeout(cb,1000,true);}}};if(_13){req.open(_14||"GET",_12,true);req.setRequestHeader("Content-Type","application/x-www-form-urlencoded");req.setRequestHea der("Content-Length",_13.length);req.send(_13.join("&"));}else{req.open(_14||"GET",_12,true);req.send(null);}},insertPages:function(_19){var _1a;for(var i=0;i<_19.length;++i){var _1c=_19[i];if(_1c.nodeType==1){if(!_1c.id){_1c.id="__"+(++_9)+"__";}var _1d=$(_1c.id);if(_1d){_1d.parentNode.replaceChild(_1c,_1d);}else{document.body.appendChild(_1c);}if(_1c.getAttribute("selected")=="true"||!_1a){_1a=_1c;}--i;}}if(_1a){iui.showPage(_1a);}},getSelectedPage:function(){for(var _1e=document.body.firstChild;_1e;_1e=_1e.nextSibling){if(_1e.nodeType==1&&_1e.getAttribute("selected")=="true"){return _1e;}}}};addEventListener("load",function(_1f){var _20=iui.getSelectedPage();if(_20){iui.showPage(_20);}setTimeout(preloadImages,0);setTimeout(checkOrientAndLocation,0);_a=setInterval(checkOrientAndLocation,300);},false);addEventListener("click",function(_21){var _22=findParent(_21.target,"a");if(_22){function unselect(){_22.removeAttribute("selected");}if(_22.href&&_22.hash&&_22.hash!="#"){_2 2.setAttribute("selected","true");iui.showPage($(_22.hash.substr(1)));setTimeout(unselect,500);}else{if(_22==$("backButton")){history.back();}else{if(_22.getAttribute("type")=="submit"){submitForm(findParent(_22,"form"));}else{if(_22.getAttribute("type")=="cancel"){cancelDialog(findParent(_22,"form"));}else{if(_22.target=="_replace"){_22.setAttribute("selected","progress");iui.showPageByHref(_22.href,null,null,_22,unselect);}else{if(!_22.target){_22.setAttribute("selected","progress");iui.showPageByHref(_22.href,null,null,null,unselect);}else{return;}}}}}}_21.preventDefault();}},true);addEventListener("click",function(_23){var div=findParent(_23.target,"div");if(div&&hasClass(div,"toggle")){div.setAttribute("toggled",div.getAttribute("toggled")!="true");_23.preventDefault();}},true);function checkOrientAndLocation(){if(window.innerWidth!=_5){_5=window.innerWidth;var _25=_5==320?"profile":"landscape";document.body.setAttribute("orient",_25);setTimeout(scrollTo,100,0,1);}if(lo cation.hash!=_6){var _26=location.hash.substr(_7.length);iui.showPageById(_26);}}function showDialog(_27){_4=_27;_27.setAttribute("selected","true");if(hasClass(_27,"dialog")&&!_27.target){showForm(_27);}}function showForm(_28){_28.onsubmit=function(_29){_29.preventDefault();submitForm(_28);};_28.onclick=function(_2a){if(_2a.target==_28&&hasClass(_28,"dialog")){cancelDialog(_28);}};}function cancelDialog(_2b){_2b.removeAttribute("selected");}function updatePage(_2c,_2d){if(!_2c.id){_2c.id="__"+(++_9)+"__";}location.href=_6=_7+_2c.id;_8.push(_2c.id);var _2e=$("pageTitle");if(_2c.title){_2e.innerHTML=_2c.title;}if(_2c.localName.toLowerCase()=="form"&&!_2c.target){showForm(_2c);}var _2f=$("backButton");if(_2f){var _30=$(_8[_8.length-2]);if(_30&&!_2c.getAttribute("hideBackButton")){_2f.style.display="inline";_2f.innerHTML=_30.title?_30.title:"Back";}else{_2f.style.display="none";}}}function slidePages(_31,_32,_33){var _34=(_33?_31:_32).getAttribute("axis");if(_34=="y"){(_33?_31: _32).style.top="100%";}else{_32.style.left="100%";}_32.setAttribute("selected","true");scrollTo(0,1);clearInterval(_a);var _35=100;slide();var _36=setInterval(slide,_2);function slide(){_35-=_1;if(_35<=0){_35=0;if(!hasClass(_32,"dialog")){_31.removeAttribute("selected");}clearInterval(_36);_a=setInterval(checkOrientAndLocation,300);setTimeout(updatePage,0,_32,_31);}if(_34=="y"){_33?_31.style.top=(100-_35)+"%":_32.style.top=_35+"%";}else{_31.style.left=(_33?(100-_35):(_35-100))+"%";_32.style.left=(_33?-_35:_35)+"%";}}}function preloadImages(){var _37=document.createElement("div");_37.id="preloader";document.body.appendChild(_37);}function submitForm(_38){iui.showPageByHref(_38.action||"POST",encodeForm(_38),_38.method);}function encodeForm(_39){function encode(_3a){for(var i=0;i<_3a.length;++i){if(_3a[i].name){args.push(_3a[i].name+"="+escape(_3a[i].value));}}}var _3c=[];encode(_39.getElementsByTagName("input"));encode(_39.getElementsByTagName("select"));return _3c;}function findParent(_3d,_3e){while(_3d&&(_3d.nodeType!=1||_3d.localName.toLowerCase()!=_3e)){_3d=_3d.parentNode;}return _3d;}function hasClass(_3f,_40){var re=new RegExp("(^|\\s)"+_40+"($|\\s)");return re.exec(_3f.getAttribute("class"))!=null;}function replaceElementWithSource(_42,_43){var _44=_42.parentNode;var _45=_42;while(_44.parentNode!=document.body){_44=_44.parentNode;_45=_45.parentNode;}var _46=document.createElement(_45.localName);_46.innerHTML=_43;_44.removeChild(_45);while(_46.firstChild){_44.appendChild(_46.firstChild);}}function $(id){return document.getElementById(id);}function ddd(){console.log.apply(console,arguments);}})(); \ No newline at end of file