From 13b6e06943b8cb44bb246e1d57856ed3574f6184 Mon Sep 17 00:00:00 2001 From: FuXiaoHei Date: Sun, 23 Mar 2014 16:20:47 +0800 Subject: [PATCH 1/3] 404 and 500 page ui --- public/img/404.png | Bin 0 -> 9776 bytes public/img/500.png | Bin 0 -> 12087 bytes templates/status/404.tmpl | 5 +++-- templates/status/500.tmpl | 5 ++++- 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 public/img/404.png create mode 100644 public/img/500.png diff --git a/public/img/404.png b/public/img/404.png new file mode 100644 index 0000000000000000000000000000000000000000..1f0ee0ef4953defd225425d52531cd8b27be9ebb GIT binary patch literal 9776 zcmb_?XIN8R)9y|}=)Du9gAJreP^3rzl_E`AP^ktH0tg79mw*abLKTr9ML|kHKtw?# z5G;VwOXxy0^cIQ`I_E;4=RM!`{yg9Lkw4ipv+i|IS+m#d2Nq@q9IP-_0020Q3@=y$ z02lxOfWpiO001U$>Ltd>0W)TU^{3*r}U-KE2x!(#eJ8 z;XRr>^%4!7v%IgRF({E}ZusRJ5epVDq%cTwPqlu!1^o&D%aD-Z$bbr+T~N6X00w-? zin6@TKM(HKS{y|JlF0x?ns=HFlw=9CC|bAh11-Wph1FYER^SN$c!h-PNdp89VBxpX zc_=VgoH{B548A;4%naZ_K*n(cSuo-w;A|6ZsQ@N@0&+_c(uxeEG7$Fa`_l$sED;I> zCfFr$A)EnhhMqzjAgK-p^u_twA(AGLT;-kyO0kpg{Tf3MKx$2EPruxw%3qV#1q)hT zru>rn^~vjvo{P{4Za0<*>F4R0GJJ;95R(pe0Dx_EH}0$JBu!6E{G4)|_M-j%`f}fM z*+=@k)XMmN-D5BVz-`t^8+MwU?1%U^gDNl$p2gRJVOzj`e9J*~geCVHYgg#jqY(97 zgn0G~ixw@hBdly}i*h$!5S6Kq&L61$^r1Y8+}K5k?~jBo1Acf!#%ogE-90~-+ks`4 z3Dd0%dMdZ+(=z+b_oMa_PIUi*zp+;kc(`KspvFSlv^nI1W%327Z)v}HXQN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CX|`|s!s#c zX#?-uOFkPH_W@wQ`9?^F12dc8ke}!u%pAvgrI@4Mq3VG3l|A2o${U> zhv)?D!<0o|utc%$Xr#1`se8`Mt*{DR5gQTc?ALZ>Q(v&-PWC?F3sX{#4+!5$H(0j6 zzEcnip5=~J8eASLpV&`b7NHPs>m<|wAFp|OdcOZP&7)aB2VU?O>%76>5_KN@PDA|E zxe`{rsQ0-QXIwa8IXqEF5BeNb{9%@!x+D*nh0$oI4mwd4+Gfs2r)`pjl=jS1dp&HXHd$V0?vW2$(W)n}#z@Lb=x5JH;2x;8Y=tSz2(TgXgPZ zy|B8G#RS@;8NO%^-l|CMTMu3p7{KF0q^^#(jc0HMR3&+vb(RAECf^_S%=xy^()U)=7kA(w)}@6AD+n z-uQ81*)8g{69epaPtgvKTg)^V*yS5=z3!la)h|-j^$+Ww(QxA%>SPG|D`bpcJ8k~ Z(7xq{YZhzGI_itRs&9IwM$hg3{|AblNq+zU literal 0 HcmV?d00001 diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl index 4e836b228d..c2cafe0c9d 100644 --- a/templates/status/404.tmpl +++ b/templates/status/404.tmpl @@ -1,7 +1,8 @@ {{template "base/head" .}} {{template "base/navbar" .}} -
-

This page is not found !

+
+

404

+

Application Version: {{AppVer}}

{{template "base/footer" .}} \ No newline at end of file diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl index 9a00eb1ff7..f3cd24d696 100644 --- a/templates/status/500.tmpl +++ b/templates/status/500.tmpl @@ -1,7 +1,10 @@ {{template "base/head" .}} {{template "base/navbar" .}} -
+
+

404

+

An error is occurred : {{.ErrorMsg}}

+

Application Version: {{AppVer}}

{{template "base/footer" .}} \ No newline at end of file From 406afa3c32eab4782291ca01eea273f2df25748d Mon Sep 17 00:00:00 2001 From: slene Date: Sun, 23 Mar 2014 17:22:14 +0800 Subject: [PATCH 2/3] markdown img max-width --- public/css/markdown.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/css/markdown.css b/public/css/markdown.css index a810fa3ce7..9f4024ba89 100644 --- a/public/css/markdown.css +++ b/public/css/markdown.css @@ -175,6 +175,10 @@ margin-bottom: 0; } +.markdown img { + max-width: 100%; +} + .markdown .btn { color: #fff; } From c9e830cefb3b19593e7de05c785efdd93a0982d6 Mon Sep 17 00:00:00 2001 From: FuXiaoHei Date: Sun, 23 Mar 2014 17:36:12 +0800 Subject: [PATCH 3/3] fix dropdown close bug --- public/js/app.js | 2 +- templates/repo/nav.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index df755727b5..e0f92854f4 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -98,7 +98,7 @@ var Gogits = { }; // fix dropdown inside click Gogits.initDropDown = function(){ - $('.dropdown-menu').on('click','a,button,input,select',function(e){ + $('.dropdown-menu.no-propagation').on('click',function(e){ e.stopPropagation(); }); }; diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl index cf1b7d0389..4d939e2504 100644 --- a/templates/repo/nav.tmpl +++ b/templates/repo/nav.tmpl @@ -18,7 +18,7 @@ -