cfmgrv4 init...1
This commit is contained in:
parent
fc75ccaaa5
commit
852f7198e7
@ -1,6 +1,6 @@
|
|||||||
<link href="/css/<?= $viewDatas['layout'] ?>/content.css" media="screen" rel="stylesheet" type="text/css" />
|
<link href="/css/<?= $viewDatas['layout'] ?>/content.css" media="screen" rel="stylesheet" type="text/css" />
|
||||||
<?= form_open_multipart(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
|
<?= form_open(current_url() . '/create', $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
|
||||||
<table class="form table table-bordered table-striped">
|
<table class="form table table-bordered table-striped" style="width:500px;">
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label"><?= getFieldLabel_AccountHelper($field, $viewDatas) ?></td>
|
<td class="label"><?= getFieldLabel_AccountHelper($field, $viewDatas) ?></td>
|
||||||
|
|||||||
@ -69,11 +69,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="index_pagination"><?= $viewDatas['pagination'] ?></div>
|
<div class="index_pagination"><?= $viewDatas['pagination'] ?></div>
|
||||||
<?= form_close() ?>
|
<?= form_close() ?>
|
||||||
<div class="index_form">
|
<nav class="index_form navbar navbar-expand-lg">
|
||||||
<div id="index_create_form"></div>
|
<div class="container-fluid">
|
||||||
</div>
|
<nav class="nav"></nav>
|
||||||
|
<nav id="index_create_form" class="nav justify-content-center"></nav>
|
||||||
|
<nav class="nav justify-content-end"></nav>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener('DOMContentLoaded', function () {
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
loadContentForm(
|
loadContentForm(
|
||||||
"<?= base_url(strtolower($viewDatas["class_path"]) . "/create") ?>",
|
"<?= base_url(strtolower($viewDatas["class_path"]) . "/create") ?>",
|
||||||
document.getElementById('index_create_form')
|
document.getElementById('index_create_form')
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<link href="/css/<?= $viewDatas['layout'] ?>/content.css" media="screen" rel="stylesheet" type="text/css" />
|
<link href="/css/<?= $viewDatas['layout'] ?>/content.css" media="screen" rel="stylesheet" type="text/css" />
|
||||||
<?= form_open(current_url() . '/create', $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
|
<?= form_open(current_url() . '/create', $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
|
||||||
<table class="table table-bordered table-striped" style="width:400px; margin:0 auto;">
|
<table class="form table table-bordered table-striped">
|
||||||
<tr>
|
<tr>
|
||||||
<th style="text-align:center;">도메인</th>
|
<th style="text-align:center;">도메인</th>
|
||||||
<th style="text-align:center;">Type</th>
|
<th style="text-align:center;">Type</th>
|
||||||
@ -32,4 +32,4 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<?= form_close(); ?>
|
<?= form_close(); ?>
|
||||||
<?php if (session()->getFlashdata('error')): ?> <?= session()->getFlashdata('error') ?><?php endif ?>
|
<?php if (session()->getFlashdata('error')): ?> <?= session()->getFlashdata('error') ?><?php endif ?>
|
||||||
@ -69,7 +69,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="index_pagination"><?= $viewDatas['pagination'] ?></div>
|
<div class="index_pagination"><?= $viewDatas['pagination'] ?></div>
|
||||||
<?= form_close() ?>
|
<?= form_close() ?>
|
||||||
<div id="index_create_form">
|
<nav class="index_form navbar navbar-expand-lg">
|
||||||
<?= $this->include('admin/cloudflare/record/create'); ?>
|
<div class="container-fluid">
|
||||||
</div>
|
<nav class="nav"></nav>
|
||||||
|
<nav id="index_create_form" class="nav justify-content-center">
|
||||||
|
<?= $this->include('admin/cloudflare/record/create'); ?>
|
||||||
|
</nav>
|
||||||
|
<nav class="nav justify-content-end"></nav>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
<?= $this->endSection() ?>
|
<?= $this->endSection() ?>
|
||||||
@ -1,6 +1,6 @@
|
|||||||
<link href="/css/<?= $viewDatas['layout'] ?>/content.css" media="screen" rel="stylesheet" type="text/css" />
|
<link href="/css/<?= $viewDatas['layout'] ?>/content.css" media="screen" rel="stylesheet" type="text/css" />
|
||||||
<?= form_open(current_url() . '/create', $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
|
<?= form_open(current_url() . '/create', $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
|
||||||
<table class="table table-bordered table-striped" style="width:400px; margin:0 auto;">
|
<table class="form table table-bordered table-striped">
|
||||||
<tr>
|
<tr>
|
||||||
<th style="text-align:center;">계정정보</th>
|
<th style="text-align:center;">계정정보</th>
|
||||||
<th style="text-align:center;">Type</th>
|
<th style="text-align:center;">Type</th>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
<td nowrap>
|
<td nowrap>
|
||||||
<?php foreach (explode(",", getenv("cfmgr.default.record.hosts")) as $host): ?>
|
<?php foreach (explode(",", getenv("cfmgr.default.record.hosts")) as $host): ?>
|
||||||
<div style="text-align:left;">
|
<div style="text-align:left;">
|
||||||
<?= form_checkbox(["name" => "hosts[]", "value" => $host, "checked" => "checked"]); ?> <?= $host ?>
|
<?= form_checkbox(["name" => "hosts[]", "value" => $host, "checked" => "checked"]); ?> <?= $host ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</td>
|
</td>
|
||||||
@ -41,4 +41,4 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<?= form_close(); ?>
|
<?= form_close(); ?>
|
||||||
<?php if (session()->getFlashdata('error')): ?> <?= session()->getFlashdata('error') ?><?php endif ?>
|
<?php if (session()->getFlashdata('error')): ?> <?= session()->getFlashdata('error') ?><?php endif ?>
|
||||||
@ -69,7 +69,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="index_pagination"><?= $viewDatas['pagination'] ?></div>
|
<div class="index_pagination"><?= $viewDatas['pagination'] ?></div>
|
||||||
<?= form_close() ?>
|
<?= form_close() ?>
|
||||||
<div id="index_create_form">
|
<nav class="index_form navbar navbar-expand-lg">
|
||||||
<?= $this->include('admin/cloudflare/zone/create'); ?>
|
<div class="container-fluid">
|
||||||
</div>
|
<nav class="nav"></nav>
|
||||||
|
<nav id="index_create_form" class="nav justify-content-center">
|
||||||
|
<?= $this->include('admin/cloudflare/zone/create'); ?>
|
||||||
|
</nav>
|
||||||
|
<nav class="nav justify-content-end"></nav>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
<?= $this->endSection() ?>
|
<?= $this->endSection() ?>
|
||||||
@ -40,12 +40,12 @@ nav.index_top nav.search a.excel {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -9px;
|
top: -9px;
|
||||||
right: -45px;
|
right: -45px;
|
||||||
border-color: 1px solid red;
|
/* border-color: 1px solid red; */
|
||||||
}
|
}
|
||||||
/*페이지정보*/
|
/*페이지정보*/
|
||||||
nav.index_top nav.pageinfo {
|
nav.index_top nav.pageinfo {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-color: 1px solid red;
|
/* border-color: 1px solid red; */
|
||||||
}
|
}
|
||||||
/* Table 부분 */
|
/* Table 부분 */
|
||||||
table.index_table {
|
table.index_table {
|
||||||
@ -98,13 +98,8 @@ div.index_pagination nav ul.pagination li.active a {
|
|||||||
div.index_pagination nav ul.pagination li a:hover {
|
div.index_pagination nav ul.pagination li a:hover {
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
}
|
}
|
||||||
div.index_form {
|
nav.index_form {
|
||||||
margin-top: 30px;
|
margin-top:20px;
|
||||||
text-align: center;
|
text-align:center;
|
||||||
/* border: 1px solid red; */
|
/* border: 1px solid red; */
|
||||||
}
|
}
|
||||||
div.index_form div#index_create_form {
|
|
||||||
margin: auto; /*수평의 가운데정렬시*/
|
|
||||||
width: 500px;
|
|
||||||
/* border: 1px solid blue; */
|
|
||||||
}
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user