diff options
-rw-r--r-- | A8_srv_build/add.php | 2 | ||||
-rw-r--r-- | A8_srv_build/table.css | 57 |
2 files changed, 58 insertions, 1 deletions
diff --git a/A8_srv_build/add.php b/A8_srv_build/add.php index 17da21a..db78a0f 100644 --- a/A8_srv_build/add.php +++ b/A8_srv_build/add.php @@ -21,7 +21,7 @@ session_start(); include('config.inc'); if(isset($_POST['submit'])) { - if(!empty($_POST['name'])) + if(!empty($_POST['seq']) && !empty($_POST['name']) && !empty($_POST['version'])) { $seq=($_POST['seq']); $name=($_POST['name']); diff --git a/A8_srv_build/table.css b/A8_srv_build/table.css new file mode 100644 index 0000000..bdbed04 --- /dev/null +++ b/A8_srv_build/table.css @@ -0,0 +1,57 @@ +/* Begin Build Table Style */ +table.bdb { + display: table; + font-family: Hack, monaco, "courier new", monospace; + border-collapse: separate; + border: 0.063em solid #839E99; + background: #F1F8EE; + color: black; +} + +.bdb thead { + display: table-header-group; + vertical-align: middle; + text-align: left; + /*border-color: inherit;*/ + background: #2C5755; + color: #F1F8EE; +} + +.bdb tbody { + display: table-row-group; + vertical-align: middle; + text-align: left; + border-color: inherit; + color: black; + background: #D0E8D0; +} + +.bdb tfoot { + display: table-footer-group; + vertical-align: middle; + text-align: left; + /*border-color: inherit*/ + background: #2C5755; + color: #F1F8EE; +} + +.bdb caption { + display: table-caption; + text-align: left; + font-weight: bold; + padding: 1em 0.250em; +} +.bdb tbody tr:nth-child(odd) { + background: #D0D0D0; +} +.bdb tbody tr:nth-child(even) { + background: #B8B8B8; +} +.bdb tbody tr:hover { + color: #004000; + background: #80A080; +} +input[type="checkbox"]:checked { + box-shadow: 0 0 0 1px red; +} +/* End Build Table Style */ |