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
/* ------------------------------ | |
offcanvas上書き(幅を200pxで固定する) | |
------------------------------ */ | |
.js-acms-offcanvas-body-left { | |
left: 200px; | |
} | |
.js-acms-offcanvas-active .js-acms-offcanvas-sidebar { | |
width: 200px; | |
} |
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
[ | |
{ | |
"label": "Afghanistan", | |
"value": "AF" | |
}, | |
{ | |
"label": "Åland Islands", | |
"value": "AX" | |
}, | |
{ |
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 [%{CID}/re/^11$|^12$|^13$] --> | |
<p>カテゴリーIDが11,12,13のときに表示されます。</p> | |
<!-- END_IF --> |
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
<table class="acms-admin-table-admin-edit"> | |
<tr> | |
<th>エントリーの表示位置</th> | |
<td> | |
<label class="acms-admin-form-radio"><input type="radio" name="display" value="right"{display:checked#right} /><i class="acms-admin-ico-radio"></i>右</label> | |
<label class="acms-admin-form-radio"><input type="radio" name="display" value="left"{display:checked#left} /><i class="acms-admin-ico-radio"></i>左</label> | |
<input type="hidden" name="field[]" value="display" /> | |
</td> | |
</tr> | |
<tr> |
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_MODULE Touch_Top --> | |
<!-- BEGIN_MODULE Entry_Body --> | |
<!--#include file="/include/unit.html"--> | |
<!-- END_MODULE Entry_Body --> | |
<!-- END_MODULE Touch_Top --> |
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
import { connect } from 'react-redux'; | |
import { bindActionCreators } from 'redux'; | |
import React from 'react'; | |
import * as Actions from '../actions'; | |
import Hoge from '../components/hoge'; | |
class App extends React.Component { | |
render() { | |
const props = this.props; | |
return (<div> |
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
<div class="js-field"> | |
<div class="js-editable-table"> | |
<!-- BEGIN_IF [{table}[delnl]/nem] --> | |
{table}[raw] | |
<!-- ELSE --> | |
<table> | |
<tr> | |
<th>hogehoge</th> | |
<th>hogehoge</th> | |
</tr> |
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
async function get_pocket_count(url) { | |
const pocketUrl = encodeURIComponent(`https://widgets.getpocket.com/v1/button?v=1&count=horizontal&url=${url}&src=${url}`); | |
const response = await fetch(`http://query.yahooapis.com/v1/public/yql?q=select * from%20xml%20where%20url%3D%22${pocketUrl}%22&format=xml`) | |
const str = await response.text(); | |
const doc = await new window.DOMParser().parseFromString(str, "text/xml") | |
return doc.querySelector('#cnt').innerHTML; | |
} |
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
const GoogleMapsLoader = require('google-maps'); | |
export default class GooglePinMaker { | |
constructor({id, key, zoom, lat, lng, draggable, dragend, added, removed, markers, input, mode = 'view'}) { | |
this.markers = []; | |
this.tmp = markers; | |
const element = document.querySelector(`#${id}`); | |
if (element && element.getAttribute('data-lat')) { | |
lat = element.getAttribute('data-lat'); | |
lng = element.getAttribute('data-lng'); |
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
<?php | |
/** | |
* Class AAPP_Sample_GET_Sample | |
* | |
* /php/AC | |
*/ | |
class AAPP_Sample_GET_Sample extends ACMS_GET | |
{ | |
public function get() |