本文整理汇总了PHP中UI::tabPane方法的典型用法代码示例。如果您正苦于以下问题:PHP UI::tabPane方法的具体用法?PHP UI::tabPane怎么用?PHP UI::tabPane使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UI
的用法示例。
在下文中一共展示了UI::tabPane方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Tax
$col1 = $ui->col()->width(6)->open();
$ui->input()->type('hidden')->name('sr_no')->id('sr_no')->width(12)->value($sr_no)->show();
$col1->close();
$col2->close();
$col2 = $ui->col()->width(12)->open();
// $ui->callout()
// ->uiType("info")
// ->desc('Enlc : Photocopies of money receipts. Disbursement sheet, Statement of expenditure, Distribution list of Honoraria to faculty and supporting staff of ISM.
// ')
// ->show();
$col2->close();
$inputRow2->close();
$tabRow1 = $ui->row()->open();
$innercol2 = $ui->col()->width(12)->open();
$tabBox1 = $ui->tabBox()->tab("t1", "Details of Receipt / Payment", true)->tab("t2", "Credits & Disbursement")->tab("t3", "Net Amount Paylable")->tab("t4", "Calculation Sheet For Course Consultancy/Testing Disbursement")->open();
$t1 = $ui->tabPane()->id("t1")->active()->open();
/*****************************TAB 1 OPEN*************************************************/
$A_box = $ui->box()->solid()->uiType('primary')->open();
$table_A = $ui->table()->id('table_a')->bordered()->open();
?>
<tr>
<td width=70%>Total Amount received</td>
<td><?php
$ui->input()->type('text')->name('a_total_amount')->id('a_total_amount')->value($disbursement->a_total_amt)->width(12)->show();
?>
</td>
</tr>
<tr>
<td width=70%>Services Tax (Including CESS) Cess</td>
<td><?php
$ui->input()->type('text')->name('a_services_tax')->id('a_services_tax')->value($disbursement->a_services_tax)->width(12)->required()->show();
示例2: ucwords
$status4 = $pending_status;
} else {
if ($emp_validation_details->educational_status == 'rejected') {
$status4 = $rejected_status;
}
}
if ($emp_validation_details->stay_status == 'pending') {
$status5 = $pending_status;
} else {
if ($emp_validation_details->stay_status == 'rejected') {
$status5 = $rejected_status;
}
}
}
$tabbox = $ui->tabBox()->tab('all', '<br>' . $ui->icon('user') . 'All Details', $step == 5)->tab('basic_details', $status1 . '<br>Basic Details', $step == 0)->tab('prev_emp', $status2 . '<br>Employment Details', $step == 1)->tab('emp_fam', $status3 . '<br>Family Member Details', $step == 2)->tab('emp_edu', $status4 . '<br>Educational Qualifications', $step == 3)->tab('last_five', $status5 . '<br>Stay Details', $step == 4)->open();
$basic = $ui->tabPane()->id('basic_details');
if ($step == 0) {
$basic->active();
}
$basic->open();
if ($emp) {
$data['name'] = $emp->salutation . '. ' . ucwords(trim($emp->first_name)) . ' ' . trim(ucwords(trim($emp->middle_name)) . ' ' . ucwords(trim($emp->last_name)));
$data['department'] = $this->departments_model->getDepartmentById($emp->dept_id)->name;
$data['designation'] = $this->designations_model->getDesignationById($emp->designation)->name;
$data['permanent_pretty'] = $permanent_address->line1 . ',<br>' . (trim($permanent_address->line2) == '' ? '' : $permanent_address->line2 . ',<br>') . ucwords($permanent_address->city) . ', ' . ucwords($permanent_address->state) . ' - ' . $permanent_address->pincode . '<br>' . ucwords($permanent_address->country) . '<br>Contact no. ' . $permanent_address->contact_no;
$data['present_pretty'] = $present_address->line1 . ',<br>' . (trim($present_address->line2) == '' ? '' : $present_address->line2 . ',<br>') . ucwords($present_address->city) . ', ' . ucwords($present_address->state) . ' - ' . $present_address->pincode . '<br>' . ucwords($present_address->country) . '<br>Contact no. ' . $present_address->contact_no;
if ($emp_validation_details) {
if ($emp_validation_details->profile_pic_status == 'pending') {
$ui->callout()->title("Pending" . $ui->label()->uiType('info')->id('pending_pic')->classes('pull-right')->text('Show'))->desc('Profile Picture is not yet validated.<br><img id="pending_photo" src="' . base_url() . 'assets/images/' . $pending_photo . '" height="150" />')->uiType('info')->show();
} else {
if ($emp_validation_details->profile_pic_status == 'rejected') {
示例3: asynchronously
<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>
<p>Then, put all the <code>TabPane</code>s. Remember to set proper <code>id</code>s for them.</p>
示例4: 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
示例5: 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>
示例6: 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];
示例7:
$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();
$inputRow1 = $ui->row()->open();
示例8: UI
<?php
$ui = new UI();
// $box = $ui->box()->uiType('primary')->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("list"))->title("Complaint List")->tab("registered_complaints", "Registerd Complaints", true)->tab("closed_complaints", "Closed Complaints")->tab("rejected_complaints", "Rejected Complaints")->tab("all_complaints", "All Complaints")->open();
$tab1 = $ui->tabPane()->id("registered_complaints")->active()->open();
if ($total_rows_under_processing == 0) {
$ui->callout()->uiType("info")->title("No Complaints Registered.")->desc("")->show();
} else {
$table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
<thead>
<tr>
<th>Complaint ID</th>
<th>Registered By</th>
<th>Registered On</th>
<th>Location</th>
<!-- <th>Location Details</th>
<th>Problem Details</th>
<th>Remarks</th> -->
</tr>
</thead>
<?php
$sno = 1;
while ($sno <= $total_rows_under_processing) {
?>
<tr>
<td><a href="<?php
echo site_url("complaint/complaint_details/details/" . $data_array_under_processing[$sno][1] . "/UnderProcessing");
?>
"><?php
示例9:
$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) {
?>
示例10: 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>
示例11:
?>
</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>
</thead>
示例12:
$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>
示例13: 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();
示例14:
$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>
</tr>