Skip to content

Instantly share code, notes, and snippets.

View webbingstudio's full-sized avatar
🤤
Working from home

うぇびんさん webbingstudio

🤤
Working from home
View GitHub Profile
@webbingstudio
webbingstudio / acms_admin_entry_unit_extend_radio.html
Last active May 9, 2016 15:57
a-blog cmsのカスタムユニット:ラジオボタン
<style>
.acms-admin-ex-notice {
margin: 5px 0;
padding: 5px;
background-color: #F9F9F9;
color: #339900;
font-size: .75rem;
line-height: 1.25;
}
</style>
@webbingstudio
webbingstudio / acms_admin_entry_unit_extend_checkbox.html
Last active May 9, 2016 15:43
a-blog cmsのカスタムユニット:チェックボックス
<style>
.acms-admin-ex-notice {
margin: 5px 0;
padding: 5px;
background-color: #F9F9F9;
color: #339900;
font-size: .75rem;
line-height: 1.25;
}
</style>
@webbingstudio
webbingstudio / acms_admin_entry_unit_extend_img_02.html
Last active May 9, 2016 15:37
a-blog cmsのカスタムユニット:画像(tinyでプレビュー・原版を使用)
<style>
.acms-admin-ex-notice {
margin: 5px 0;
padding: 5px;
background-color: #F9F9F9;
color: #339900;
font-size: .75rem;
line-height: 1.25;
}
</style>
@webbingstudio
webbingstudio / acms_admin_entry_unit_extend_img_01.html
Last active May 9, 2016 15:36
a-blog cmsのカスタムユニット:画像(tinyでプレビュー・largeを使用)
<style>
.acms-admin-ex-notice {
margin: 5px 0;
padding: 5px;
background-color: #F9F9F9;
color: #339900;
font-size: .75rem;
line-height: 1.25;
}
</style>
@webbingstudio
webbingstudio / acms_admin_entry_unit_extend_textarea.html
Last active May 9, 2016 16:08
a-blog cmsのカスタムユニット:テキストエリア(複数行テキスト)
<style>
.acms-admin-ex-notice {
margin: 5px 0;
padding: 5px;
background-color: #F9F9F9;
color: #339900;
font-size: .75rem;
line-height: 1.25;
}
</style>
@webbingstudio
webbingstudio / acms_admin_entry_unit_extend_text.html
Last active May 9, 2016 15:35
a-blog cmsのカスタムユニット:テキスト
<style>
.acms-admin-ex-notice {
margin: 5px 0;
padding: 5px;
background-color: #F9F9F9;
color: #339900;
font-size: .75rem;
line-height: 1.25;
}
</style>
@webbingstudio
webbingstudio / acms_var_entry_meta.html
Created April 12, 2016 11:29
a-blog cmsのエントリーでカスタムフィールド、カテゴリー、親子ブログを考慮したtitleを完璧に表示したい
<!-- BEGIN_MODULE Entry_Body --><!-- BEGIN entry:loop -->
<!-- BEGIN_MODULE Sample:veil -->
## 変数:title要素ここから ----------------------------------------
<!-- END_MODULE Sample:veil -->
<!-- BEGIN_SetRendered id="var_meta_title" -->
<!-- BEGIN_MODULE Sample:veil -->
### title要素の指定がある場合はカテゴリー名の表示を無視する
<!-- END_MODULE Sample:veil -->
<!-- BEGIN_IF [{entry_meta_title}/nem] -->
@webbingstudio
webbingstudio / Gruntfile.js
Last active December 30, 2015 23:59
package.jsonとGruntfile.jsのサンプル ref: http://qiita.com/webbingstudio@github/items/14cf012a23d114e867e1
module.exports = function(grunt) {
"use strict";
grunt.initConfig({
sass: {
dist: {
options: {
// style: 'expanded'
style: 'compressed'
@webbingstudio
webbingstudio / cake2_form_name_input.php
Created July 13, 2013 19:33
Cake2: フォームヘルパーの氏名入力のサンプル ref: http://qiita.com/webbingstudio@github/items/be0c3edda211a0402526
echo $this->Form->input('Model.lname',
array(
'label' => '氏名',
'placeholder' => '姓',
'class' => 'input-small',
'after' => ' ',
'div' => false,
'error'=>false
)
);
@webbingstudio
webbingstudio / cake2_form_radio.php
Created July 13, 2013 19:29
Cake2: フォームヘルパーのradioのサンプル ref: http://qiita.com/webbingstudio@github/items/95f422fc40698cc7e016
echo '<p class="label">質問項目</p>';
echo '<span class="radio-set">';
echo $this->Form->radio('Model.form_name',
array(
'ああああ',
'いいい',
'ううううう',
'ええええ',
'おおお',
'その他'