沢山追加

This commit is contained in:
2026-04-27 13:18:55 +09:00
parent f0f75124ee
commit 1bc9e594e2
21 changed files with 971 additions and 175 deletions

View File

@@ -1,3 +1,3 @@
{@ include(common/header) @}
<p>見つけられません。ごめんなしゃーい!!</p>
{@ include(common/footer) @}
{@ include(common/footer) @}

View File

@@ -0,0 +1,53 @@
{@ include(common/header) @}
<h2>ドメイン確認</h2>
<form method="GET" action="/openprovider/checkdomain">
各行列で1つのドメイン名をご入力下さい。<br />
<textarea name="domains">{{ $saved }}</textarea><br />
<button>送信</button>
</form>
{@ if (isset($data) && !empty($data)) @}
<hr />
<h2>結果</h2>
<table>
<thead>
<tr>
<th>ドメイン名</th>
<th>状況</th>
<th>理由</th>
<th>値段</th>
</tr>
</thead>
<tbody>
{@ foreach ($data as $d) @}
{$ $status = '不明' $}
{$ $statusClass = 'status-fumei' $}
{@ if ($d['status'] === 'free') @}
{$ $status = '登録可能' $}
{$ $statusClass = 'status-free' $}
{@ elif ($d['status'] === 'reserved') @}
{$ $status = '予約済み' $}
{$ $statusClass = 'status-reserved' $}
{@ elif ($d['status'] === 'active') @}
{$ $status = '登録済み' $}
{$ $statusClass = 'status-use' $}
{@ endif @}
<tr class="{{ $statusClass }}">
<td><a href="/openprovider/registerdomain/{{ $d['domain'] }}">{{ $d['domain'] }}</a>{{ isset($d['is_premium']) && $d['is_premium'] ? '(プレミアム)' : '' }}</td>
<td>{{ $status }}</td>
<td>{{ $d['reason'] ?? '' }}</td>
<td>
{@ if (isset($d['price'])) @}
{@ if (isset($d['price']['product'])) @}
商品: {{ $d['price']['product']['price'] }} {{ $d['price']['product']['currency'] }}
{@ endif @}
{@ if (isset($d['price']['reseller'])) @}
<br />リセラー: {{ $d['price']['reseller']['price'] }} {{ $d['price']['reseller']['currency'] }}
{@ endif @}
{@ endif @}
</td>
</tr>
{@ endforeach @}
</tbody>
</table>
{@ endif @}
{@ include(common/footer) @}

View File

@@ -0,0 +1,34 @@
{@ include(common/header) @}
<a href="#" class="">DNSゾーンの追加ボタン</a><br />
{@ if (isset($data['results'])) @}
検索バー<br />
<h2>編集</h2>
<table>
<thead>
<tr>
<th>名前</th>
<th>種類</th>
<th>内容</th>
<th>プライオリティ</th>
<th>TTL</th>
</tr>
</thead>
<tbody>
{@ foreach ($data['results'] as $d) @}
<tr>
<td><a href="/openprovider/editdnszone/{{ $d['name'] }}">{{ $d['name'] }}</a></td>
<td>{{ $d['type'] }}</td>
<td>{{ substr($d['value'], 0, 40) }}</td>
<td>{{ $d['prio'] ?? '' }}</td>
<td>{{ $d['ttl'] }}</td>
</tr>
{@ endforeach @}
</tbody>
</table>
</div>
{@ else @}
<p>何も見つけられませんでした。</p>
{@ endif @}
{@ kys($data) @}
{@ include(common/footer) @}

View File

@@ -0,0 +1,150 @@
{@ include(common/header) @}
<style>
.tabs {
border-radius: 2px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.tab-nav {
display: flex;
border-bottom: 1px solid #ea79d8;
}
.tab-nav label {
flex: 1;
color: #ea79d8;
padding: 16px 20px;
text-align: center;
cursor: pointer;
background: #550f75;
transition: all 0.3s;
font-weight: 600;
}
.tab-nav label:hover {
background: #8952a3;
}
.tab-input {
display: none;
}
#tab1:checked ~ .tab-nav label[for="tab1"],
#tab2:checked ~ .tab-nav label[for="tab2"],
#tab3:checked ~ .tab-nav label[for="tab3"],
#tab4:checked ~ .tab-nav label[for="tab4"] {
background: #2c023f;
border-bottom: 3px solid #ea79d8;
color: #ea79d8;
}
.tab-content {
display: none;
min-height: 200px;
}
#tab1:checked ~ .tab-content[data-tab="1"],
#tab2:checked ~ .tab-nav ~ .tab-content[data-tab="2"],
#tab3:checked ~ .tab-nav ~ .tab-content[data-tab="3"],
#tab4:checked ~ .tab-nav ~ .tab-content[data-tab="4"] {
display: block;
}
</style>
<a href="#" class="">DNSレコードの追加ボタン</a><br />
<a href="#" class="">DNSゾーンの削除ボタン</a><br />
{@ if (isset($data['rec']['results']) || isset($data['zone'])) @}
検索バー<br />
<div class="tabs">
<input type="radio" id="tab1" name="tabs" class="tab-input" checked />
<input type="radio" id="tab2" name="tabs" class="tab-input" />
<input type="radio" id="tab3" name="tabs" class="tab-input" />
<input type="radio" id="tab4" name="tabs" class="tab-input" />
<div class="tab-nav">
<label for="tab1">レコード</label>
<label for="tab2">詳細</label>
<label for="tab3">DNSSEC鍵</label>
<label for="tab4">履歴</label>
</div>
<div class="tab-content" data-tab="1">
<h2>レコード</h2>
<table>
<thead>
<tr>
<th>名前</th>
<th>種類</th>
<th>内容</th>
<th>プライオリティ</th>
<th>TTL</th>
</tr>
</thead>
<tbody>
{@ foreach ($data['rec']['results'] as $d) @}
<tr>
<td><a href="/openprovider/editdnszone/{{ $d['name'] }}">{{ $d['name'] }}</a></td>
<td>{{ $d['type'] }}</td>
<td>{{ substr($d['value'], 0, 40) }}</td>
<td>{{ $d['prio'] ?? '' }}</td>
<td>{{ $d['ttl'] }}</td>
</tr>
{@ endforeach @}
</tbody>
</table>
</div>
<div class="tab-content" data-tab="2">
<h2>詳細</h2>
<table>
<tbody>
<tr>
<td>ドメイン名</td>
<td>{{ $data['zone']['name'] }}</td>
</tr>
<tr>
<td>種類</td>
<td>{{ $data['zone']['type'] }}</td>
</tr>
<tr>
<td>DNSゾーンプロバイダー</td>
<td>Openprovider</td>
</tr>
<tr>
<td>追加日</td>
<td>{{ $data['zone']['creation_date'] }}</td>
</tr>
<tr>
<td>最終更新日</td>
<td>{{ $data['zone']['modification_date'] }}</td>
</tr>
<tr>
<td>レコード数</td>
<td>{{ $data['rec']['total'] }}</td>
</tr>
<tr>
<td>DNSSEC有効</td>
<td></td>
</tr>
<tr>
<td>SpamExperts</td>
<td>{{ $data['zone']['is_spamexperts_enabled'] ? '有' : '無' }}</td>
</tr>
</tbody>
</table>
</div>
<div class="tab-content" data-tab="3">
<h2>DNSSEC鍵</h2>
<p>ささ</p>
</div>
<div class="tab-content" data-tab="4">
<h2>履歴</h2>
<p>ささ</p>
</div>
</div>
{@ else @}
<p>何も見つけられませんでした。</p>
{@ endif @}
{@ include(common/footer) @}

View File

@@ -0,0 +1,3 @@
{@ include(common/header) @}
{@ kys($data) @}
{@ include(common/footer) @}

View File

@@ -0,0 +1,3 @@
{@ include(common/header) @}
{@ kys($data) @}
{@ include(common/footer) @}

View File

@@ -0,0 +1,20 @@
{@ include(common/header) @}
<h1>{{ $description }}</h1>
<ul>
<li>顧客様</li>
<ul>
<li><a href="/openprovider/searchcustomer">顧客様検索</a></li>
</ul>
<li>ドメイン</li>
<ul>
<li><a href="/openprovider/checkdomain">ドメイン確認</a></li>
<li><a href="/openprovider/getdomainprices?domain.name=076&domain.extension=sex">ドメイン値段一覧</a></li>
<li><a href="/openprovider/listtlds">TLD一覧</a></li>
<li><a href="/openprovider/gettld/moe">TLDの表示.moe</a></li>
</ul>
<li>DNS</li>
<ul>
<li><a href="/openprovider/listdnszones">DNSゾーン一覧</a></li>
</ul>
</ul>
{@ include(common/footer) @}

View File

@@ -0,0 +1,32 @@
{@ include(common/header) @}
検索バー<br />
<a href="#" class="">DNSゾーンの追加ボタン</a>
{@ if (isset($data['results'])) @}
<table>
<thead>
<tr>
<th>Domain name</th>
<th>Type</th>
<th>DNS provider</th>
<th>Renewal date</th>
<th>Date added</th>
<th>Last change</th>
</tr>
</thead>
<tbody>
{@ foreach ($data['results'] as $d) @}
<tr>
<td><a href="/openprovider/getdns/{{ $d['name'] }}">{{ $d['name'] }}</a></td>
<td>{{ $d['type'] }}</td>
<td>{{ $d['provider'] }}</td>
<td></td>
<td>{{ $d['creation_date'] }}</td>
<td>{{ $d['modification_date'] }}</td>
</tr>
{@ endforeach @}
</tbody>
</table>
{@ else @}
<p>何も見つけられませんでした。</p>
{@ endif @}
{@ include(common/footer) @}

View File

@@ -0,0 +1,3 @@
{@ include(common/header) @}
{@ kys($data) @}
{@ include(common/footer) @}

View File

@@ -0,0 +1,3 @@
{@ include(common/header) @}
<p>表示許可却下。失礼。</p>
{@ include(common/footer) @}

View File

View File

@@ -0,0 +1,29 @@
{@ include(common/header) @}
検索<br />
{@ if (isset($data['results'])) @}
<table>
<thead>
<tr>
<th>Name</th>
<th>Company</th>
<th>E-mail address</th>
<th>Handle</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
{@ foreach ($data['results'] as $d) @}
<tr>
<td><a href="/openprovider/getcustomer/{{ $d['handle'] }}">{{ $d['name']['full_name'] }}</a></td>
<td>{{ $d['company_name'] }}</td>
<td>{{ $d['email'] }}</td>
<td>{{ $d['handle'] }}</td>
<td></td>
</tr>
{@ endforeach @}
</tbody>
</table>
{@ else @}
<p>何も見つけられませんでした。</p>
{@ endif @}
{@ include(common/footer) @}