Created
October 11, 2016 08:27
-
-
Save webbingstudio/47fd26af0151e677ef77c68ad23037fa to your computer and use it in GitHub Desktop.
a-blog cmsで管理ページの削除ボタンを無効化する ref: http://qiita.com/webbingstudio@github/items/82eff458df1bcba17746
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- BEGIN_IF [%{BID}/eq/1] --> | |
<style> | |
/* 管理ページ内でサイトの根幹に関わる設定の削除を禁止する */ | |
.acms-admin-form input[name^="ACMS_"][name*="Blog_Delete:"], | |
.acms-admin-form input[name^="ACMS_"][name*="Category_Delete:"] { | |
position: relative; | |
background: #ccc none; | |
color: #333; | |
border-color: #999; | |
opacity: .5; | |
pointer-events : none; | |
} | |
</style> | |
<!-- END_IF --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment