This website works better with JavaScript.
首頁
探索
說明
登入
anoopmb
/
frappe
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
[cleanup] [minor] wn.ui.toolbar.show_banner
version-14
Anand Doshi
12 年之前
父節點
a33299a6f5
當前提交
3886cad8b2
共有
2 個文件被更改
,包括
13 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
public/css/ui/common.css
+4
-0
public/js/wn/ui/toolbar/toolbar.js
+ 9
- 0
public/css/ui/common.css
查看文件
@@ -488,4 +488,13 @@ fieldset[disabled] .btn-default.active {
text-overflow: ellipsis;
white-space: nowrap;
padding-right: 0px;
}
.toolbar-banner {
margin-top: -20px;
margin-bottom: 20px;
text-align: center;
background-color: rgb(255, 255, 204);
padding: 7px;
z-index: 1;
}
+ 4
- 0
public/js/wn/ui/toolbar/toolbar.js
查看文件
@@ -253,3 +253,7 @@ wn.ui.toolbar.show_about = function() {
}
return false;
}
wn.ui.toolbar.show_banner = function(msg) {
return $('<div class="toolbar-banner"></div>').html(msg).appendTo($('header'));
}
Write
Preview
Loading…
取消
儲存