本文整理汇总了PHP中UI::tabBox方法的典型用法代码示例。如果您正苦于以下问题:PHP UI::tabBox方法的具体用法?PHP UI::tabBox怎么用?PHP UI::tabBox使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UI
的用法示例。
在下文中一共展示了UI::tabBox方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$ui->input()->type('text')->label('Bank Name and Branch<span style= "color:red;"> *</span>')->name('bank_name')->required()->width(6)->show();
$ui->datePicker()->name('dd_cheque_date')->label('DD/Cheque/Transection Date.<span style= "color:red;"> *</span>')->value(date("yy-mm-dd"))->dateFormat('yy-mm-dd')->width(6)->show();
$inputRow5->close();
$inputRow6 = $ui->row()->open();
$ui->input()->type('text')->label('DD/Cheque/Transection No.<span style= "color:red;"> *</span>')->name('dd_cheque_no')->required()->width(6)->show();
$ui->input()->type('text')->label('DD/Cheque/Transection Amount<span style= "color:red;"> *</span>')->name('dd_cheque_amount')->id('dd_cheque_amount')->required()->width(6)->show();
$inputRow6->close();
$inputRow6 = $ui->row()->open();
$innercol2 = $ui->col()->width(12)->open();
$ui->input()->label('Scan Copy Of DD/Cheque/Transection')->type('file')->name('scope_path')->required()->show();
echo "(Allowed Types: pdf, doc, docx, jpg, jpeg, png, xls, xlsx, csv and Max Size: 1.0 MB)";
$innercol2->close();
$inputRow6->close();
$TCAPD_box->close();
$OAT_box = $ui->box()->title('Objective And Type')->solid()->uiType('primary')->open();
$tabBox1 = $ui->tabBox()->tab("scope", "Scope of consultancy", true)->tab("testing", "Testing Type")->tab("client", "Client Type")->open();
$tab1 = $ui->tabPane()->id("scope")->active()->open();
$flag = 1;
/**scope of consultancy*/
if ($payment_no->payment_no) {
$inputRow1 = $ui->row()->open();
$innercol3 = $ui->col()->width(12)->open();
$inputRow1 = $ui->row()->open();
echo '<br> ';
$js = 'onclick="javascript:document.getElementById(\'filebox\').style.display=\'block\';"';
$ui->button()->icon($ui->icon('refresh'))->value('Scope Of Work')->uiType('primary')->extras($js)->width(6)->show();
echo " ";
echo '<a href="' . base_url() . 'assets/files/consultant/SCOPE_CONSULT/' . $client->scope_consultancy . '" title=
"download file" download="' . $client->scope_consultancy . '">' . $client->scope_consultancy . '</a>';
echo "<br/><br/>";
$inputRow1->close();
示例2:
if ($publications[$i]['edition'] % 10 == 3) {
$str[$type] .= $publications[$i]['edition'] . "rd edition.";
} else {
$str[$type] .= $publications[$i]['edition'] . "th edition.";
}
}
}
}
}
}
}
$str[$type] .= "</td></tr>";
}
}
$column1 = $ui->col()->width(12)->open();
$tabBox1 = $ui->tabBox()->tab("all", "All", true)->tab("national_journal", "National Journal")->tab("international_journal", "International Journal")->tab("national_conference", "National Conference")->tab("international_conference", "International Conference")->tab("books", "Books")->tab("book_chapter", "Book Chapter")->tab("search", "Search")->open();
$allPublication = $ui->tabPane()->id("all")->active()->open();
echo '<div id="all" >';
?>
<h4><center> All publications of <?php
echo $own_name;
?>
</center></h4><?php
$table = $ui->table()->hover()->bordered()->open();
for ($i = 1; $i <= 10; $i++) {
if ($str[$i] != "") {
if ($i == 1) {
?>
<th colspan="4">National Journal</th><?php
} else {
if ($i == 2) {
示例3: UI
<?php
$ui = new UI();
$outer_row = $ui->row()->open();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file"))->title("Track File")->tab("sent", "Track Sent Files", true)->tab("track_num_tab", "Track Files by Track Number")->open();
$tab1 = $ui->tabPane()->id("sent")->active()->open();
if ($total_rows != 0) {
$table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
<thead>
<tr>
<th>File No.</th>
<th>File Subject</th>
<th>File Track Number</th>
<th>Sent To</th>
<th>Sent On</th>
<th>Current Status</th>
<th>File Operations</th>
</tr>
</thead>
<?php
$sno = 1;
while ($sno <= $total_rows) {
?>
<tr>
<td><?php
if ($data_array[$sno][1]) {
echo $data_array[$sno][1];
示例4: asynchronously
</p>
<pre>
var $myBox = $("#myBoxId");
$myBox.showLoading(); // This shows the loading gif
...
$myBox.hideLoading() // This hides the loading gif
</pre>
<?php
$ui->callout()->uiType("warning")->desc('<strong>DO NOT</strong> place your scripts directly in the view. Place it in a .js file and link it through the controller.')->show();
$ui->callout()->uiType("info")->desc('View the source of this page to see how loading works Normally, you\'d do this when you\'re loading something asynchronously (via AJAX). For a more concrete example, see the <a href="#">/assets/js/ui_example/user-loader.js</a>')->show();
$box->close();
$col->close();
$loadingBoxRow->close();
$tabsRow = $ui->row()->open();
$col = $ui->col()->width(8)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("th"))->title("Introducing Tabs")->tab("intro", "How it works", true)->tab("abouttitle", $ui->icon("plus") . " More about titles")->tab("settings", $ui->icon('gear'))->open();
$tab1 = $ui->tabPane()->id("intro")->active()->open();
?>
<h4>Tabs are awesome - an easy to create.</h4>
<p>Tabs behave just like <code>Box</code>es. First, open a <code>tabBox</code> as follows:</p>
<pre>
$myTabBox = $ui->tabBox()
->tab("tabPaneId1", "Tab Pane's Title", true) // 'true' means active
->tab("tabPaneId2", "Tab Pane Title 1")
...
->tab("tabPaneIdn", "Tab Pane Title n")
->open();
</pre>
示例5:
$column1 = $ui->col()->width(0)->open();
$column1->close();
$column2 = $ui->col()->width(12)->open();
$new_payment = $payment;
?>
<div class="modal-body">
<center>
<?php
$data_row = $ui->row()->id('data_row')->open();
$data_row->close();
?>
</div>
<?php
$column2->close();
$column2 = $ui->col()->width(12)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file-o"))->title("Consultancy Form")->tab("current", "To Be Approved", true)->tab("archived", "Approved")->tab("complete", "Completed")->tab("cancel", "Canceled")->open();
$tab1 = $ui->tabPane()->id("current")->active()->open();
$flag = 1;
// if($count_current_circular != 0){
$table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
<thead>
<tr>
<th>Title</th>
<th>Posted On/ Edited On</th>
<th>Revision Status</th>
<th>Action</th>
<th >Links</th>
<th >Requested File</th>
示例6: UI
<?php
$ui = new UI();
$tabsRow = $ui->row()->open();
$tabBox = $ui->tabBox()->icon($ui->icon("th"))->title("Details of Posts")->tab("current", $ui->icon("bars") . "Current List", true)->tab("archived", $ui->icon("bars") . "Archived List")->open();
$tab1 = $ui->tabPane()->id("current")->active()->open();
if (count($details_of_posts) == 0) {
$box = $ui->callout()->title("Empty List")->desc("There is no post in the current list.")->uiType("info")->show();
} else {
$table = $ui->table()->id('currentTable')->responsive()->hover()->bordered()->striped()->sortable()->searchable()->paginated()->open();
?>
<thead>
<tr>
<th><center>Post Name</center></th>
<th><center>IP Address of Post</center></th>
<th><center>Shift A</center></th>
<th><center>Shift B</center></th>
<th><center>Shift C</center></th>
<th><center>Total</center></th>
<th><center>Edit</center></th>
<th><center>Remove</center></th>
</tr>
</thead>
<?php
foreach ($details_of_posts as $key => $post) {
$total = $post->number_a + $post->number_b + $post->number_c;
echo '<tr>
<td align="center">' . $post->postname . '</td>
<td align="center"><a href = "http://' . $post->ipaddress . '" target= "_blank" title="' . $post->postname . '">' . $post->ipaddress . '</a></td>
<td align="center">' . $post->number_a . '</td>
<td align="center">' . $post->number_b . '</td>
示例7:
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
foreach ($details as $disbursement) {
}
$box = $ui->box()->solid()->uiType('primary')->open();
$inputRow2 = $ui->row()->open();
$col1 = $ui->col()->width(6)->open();
$col1->close();
$col2 = $ui->col()->width(6)->open();
$ui->input()->type('text')->label('CONS')->name('consultancy_no')->id('consultancy_no')->disabled()->value($disbursement->consultancy_no)->width(12)->show();
$col2->close();
$consultancy_no = $disbursement->consultancy_no;
$inputRow2->close();
$tabRow1 = $ui->row()->open();
$tabBox1 = $ui->tabBox()->tab("t1", "Disbursement Sheet", true)->tab("t2", "Consultants")->tab("t3", "Supporting Staffs")->open();
$t1 = $ui->tabPane()->id("t1")->active()->open();
$A_box = $ui->box()->title('A. Details of Receipt/Payment:')->solid()->uiType('primary')->open();
$table_A = $ui->table()->id('table_a')->bordered()->striped()->sortable()->open();
?>
<tr>
<td width=70%>Total Charges</td>
<td><?php
echo $disbursement->a_total_charge;
?>
</td>
</tr>
<tr>
<td width=70%>Services Tax + Educational Cess</td>
<td><?php
echo $disbursement->a_services_tax;
示例8: UI
<div id="print">
<?php
$ui = new UI();
$tabsRow = $ui->row()->open();
$tabBox = $ui->tabBox()->icon($ui->icon("th"))->title("Duty Chart")->tab("today", $ui->icon("bars") . "Today Chart", true)->tab("tomorrow", $ui->icon("bars") . "Tomorrow Chart")->tab("complete", $ui->icon("bars") . "Complete Chart")->open();
$tab1 = $ui->tabPane()->id("today")->active()->open();
if (count($details_of_guards_at_a_date_today) == 0) {
$box = $ui->callout()->title("Empty List")->desc("There is no duty for any guard today.")->uiType("info")->show();
} else {
$table = $ui->table()->id('dateDutyChartTable')->responsive()->hover()->bordered()->striped()->sortable()->paginated()->searchable()->open();
?>
<thead>
<tr>
<th class="print-no-display" width="30px">Photo</th>
<th><center>Guard Name</center></th>
<th><center>Post Name</center></th>
<th><center>Shift</center></th>
<th><center>Replace</center></th>
<th><center>Remove</center></th>
</tr>
</thead>
<tfoot>
<tr>
<th class="print-no-display" width="30px">Photo</th>
<th><center>Guard Name</center></th>
<th><center>Post Name</center></th>
<th><center>Shift</center></th>
<th><center>Replace</center></th>
<th><center>Remove</center></th>
</tr>
示例9: UI
<?php
$ui = new UI();
$outer_row = $ui->row()->open();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file"))->title("Previous Versions of Notice id - " . $prevnotice)->tab("current", "Old Versions", true)->open();
$tab1 = $ui->tabPane()->id("current")->active()->open();
$table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
<thead>
<tr>
<th>Notice Number</th>
<th >Notice Subject</th>
<th>Posted On/ Edited On</th>
<th >Issued By</th>
<th>Revision Status</th>
<th >Links</th>
</tr>
</thead>
<?php
foreach ($notices as $key => $notice) {
?>
<tr>
<td align="center"><?php
echo $notice->notice_no;
?>
</td>
<td><?php
示例10: UI
<?php
$ui = new UI();
$outer_row = $ui->row()->open();
$column2 = $ui->col()->width(12)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file"))->title("Minutes")->tab("current", "Current Minutes", true)->tab("archived", "Archived Minutes")->open();
$tab1 = $ui->tabPane()->id("current")->active()->open();
$flag = 1;
if ($count_current_minutes != 0) {
$table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
<thead>
<tr>
<th>Minutes Number</th>
<th >Meeting Type</th>
<th >Meeting Date</th>
<th >Meeting Place</th>
<th>Posted On/ Edited On</th>
<th >Issued By</th>
<th>Revision Status</th>
<th >Links</th>
</tr>
</thead>
<?php
foreach ($minutes as $key => $minute) {
?>
<tr>
<td align="center"><?php
echo $minute->minutes_no;
?>
示例11: UI
<?php
$ui = new UI();
$outer_row = $ui->row()->open();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file"))->title("Previous Versions of Payment No. - " . $details[0]->payment_no)->tab("current", "Old Versions", true)->open();
$table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
<thead>
<tr>
<th>Revision Status</th>
<th >Scan Copy of DD/Cheque/Transection</th>
<th >Scope of Consultancy</th>
<th >View Links</th>
</tr>
</thead>
<?php
foreach ($details as $key => $cons_row) {
?>
<tr>
<td>
<?php
if ($cons_row->modification_value == 0) {
echo 'Original';
示例12:
echo $Casual_balance;
?>
</td>
</tr>
<tr>
<td>Restricted Leave</td>
<td><?php
echo $Restricted_balance;
?>
</td>
</tr>
<?php
$table->close();
$box->close();
$tabBox1 = $ui->tabBox()->title('Leave Details')->tab("casual_leave", "Casual Leave", true)->tab("restricted_leave", "Restricted Leave", false)->open();
$tab1 = $ui->tabPane()->id("casual_leave")->active()->open();
$table1 = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
<thead>
<tr>
<th><center>Leave Number</center></th>
<th><center>Leave Type</center></th>
<th><center>Leave Applied Date</center></th>
<th><center>Start Date</center></th>
<th><center>End Date</center></th>
<th><center>Period</center></th>
<th><center>Half/Full</center></th>
<th><center>Before Noon/After Noon</center></th>
<th><center>Leave Status</center></th>
</tr>
示例13:
}
$ui->select()->name('postnamer')->id('postnamer')->addonLeft($ui->icon("building"))->options($postname_array)->required()->show();
$postnamecol->close();
$buttoncol = $ui->col()->width(1)->t_width(2)->m_width(3)->open();
$ui->button()->value('Go')->icon($ui->icon('arrow-right'))->uiType('primary')->id('rangepostsubmit')->name('rangepostsubmit')->show();
$buttoncol->close();
$selectqueryRow->close();
echo '</div>';
$headingBox->close();
?>
<?php
$headingBox = $ui->box()->id('postDutyChartBox')->uiType('info')->title('Details of Guards at post <div style="float:right; margin-left:10px;" id="post-div"></div>')->solid()->open();
$tabsRow = $ui->row()->open();
$tabsCol = $ui->col()->open();
$tabBox = $ui->tabBox()->icon($ui->icon("th"))->title("Duty Chart")->tab("regularp", $ui->icon("bars") . "Regular List", true)->tab("overtimep", $ui->icon("bars") . "Overtime List")->open();
$tab1 = $ui->tabPane()->id("regularp")->active()->open();
echo '<div id="postmessage-div" style="display:none;">';
$box = $ui->callout()->title("Empty List")->desc("List is empty for the given post.")->uiType("info")->show();
echo '</div>';
$tableRow = $ui->row()->id('postDutyChartTableRow')->open();
$table = $ui->table()->id('postDutyChartTable')->responsive()->hover()->bordered()->striped()->sortable()->paginated()->searchable()->open();
?>
<thead>
<tr>
<th class="print-no-display" width="30px">Photo</th>
<th><center>Guard Name</center></th>
<th><center>Shift</center></th>
<th><center>Duty Date</center></th>
</tr>
</thead>
示例14: UI
<?php
$ui = new UI();
$outer_row = $ui->row()->id('or')->open();
$col = $ui->col()->width(12)->t_width(12)->m_width(12)->open();
$tabbox = $ui->tabBox()->tab("tabPanemakeschedule", "Make Schedule", true)->tab("tabPaneschedule", "Existing Schedule")->tab("tabPanesreschedule", "Reschedule Companies")->open();
$tab1 = $ui->tabPane()->id("tabPanemakeschedule")->active()->open();
$box_makeschedule = $ui->box()->id('box_makeschedule_top')->title("Create Schedule")->open();
$form = $ui->form()->id("add_course_form")->action("tnpcell/allot_date/AllotDatesToCompany")->multipart()->open();
$row_lower = $ui->row()->open();
$array_options = array();
array_push($array_options, $ui->option()->extras("value=''")->text("Select Company")->disabled()->selected());
foreach ($company_basic_info as $row) {
array_push($array_options, $ui->option()->value($row->company_id)->text($row->company_name . " (" . $row->session . ")"));
}
$ui->select()->label("Select Company")->id("ddl_company")->name("ddl_company")->width(12)->options($array_options)->required()->show();
$row_lower->close();
$row_upper = $ui->row()->open();
$col1 = $ui->col()->width(5)->open();
$ui->datePicker()->extras("required")->dateformat("yyyy-mm-dd")->id("date_from")->name("date_from")->label("Allot Date From ")->placeholder("Select Date")->show();
$col1->close();
$col1 = $ui->col()->width(5)->open();
$ui->datePicker()->extras("required")->dateformat("yyyy-mm-dd")->id("date_to")->name("date_to")->label("Allot Date To ")->placeholder("Select Date")->show();
$col1->close();
$col1 = $ui->col()->width(2)->extras("style='padding-top:24px;'")->open();
$ui->button()->value('Check Slot')->uiType('primary')->extras("valign='middle' style = 'vertical-align:middle;'")->id("btn_checkslot")->name('button')->show();
$col1->close();
$row_upper->close();
$ui->button()->value('Allot Date')->width(3)->uiType('primary')->submit()->name('submit')->show();
echo "<br><br>";
$form->close();
示例15: UI
<?php
$ui = new UI();
$row = $ui->row()->open();
$eventsCol = $ui->col()->width(8)->open();
$unreadBadge = $unreadNotice > 0 ? '<small class="badge bg-red">' . $unreadNotice . '</small>' : '';
$eventsTabBox = $ui->tabBox()->tab("notices", $ui->icon("info-circle") . " Notices " . $unreadBadge, true)->tab("circulars", $ui->icon("file-text-o") . " Circulars")->tab("minutes", $ui->icon("users") . " Meetings ")->open();
$noticesTab = $ui->tabPane()->id("notices")->active()->open();
?>
<div id="notices">
</div>
<!-- <div>
<?php
foreach ($notices as $key => $notice) {
?>
<div class="notice">
<div class="sender-info">
<div class="dp">
<img src="<?php
echo base_url() . "assets/images/" . $notice->photopath;
?>
" />
</div>
<div class="sender">
<p class="sender-designation"><?php
echo ucwords($notice->auth_name);
?>
, <?php