Commit d22c846f by hannan

changes

parent 8c96bda3
...@@ -57,7 +57,6 @@ input[type=number] { ...@@ -57,7 +57,6 @@ input[type=number] {
<option value="0">Inactive</option> <option value="0">Inactive</option>
</select> </select>
</div> </div>
<button class="ui close button">Cancel</button>
<button class="ui blue button" type="submit">Submit</button> <button class="ui blue button" type="submit">Submit</button>
</form> </form>
</div> </div>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</div> </div>
</div> </div>
<button class="ui button" type="submit">Open Form</button> <button class="ui green button" type="submit">Open Form</button>
</form> </form>
</div> </div>
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
@endforeach @endforeach
</tbody> </tbody>
<tfoot> <!-- <tfoot>
<tr> <tr>
<th colspan="6"> <th colspan="6">
<div class="ui right floated pagination menu"> <div class="ui right floated pagination menu">
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
</div> </div>
</th> </th>
</tr> </tr>
</tfoot> </tfoot> -->
</table> </table>
</div> </div>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
@endforeach @endforeach
</tbody> </tbody>
<tfoot> <!-- <tfoot>
<tr> <tr>
<th colspan="7"> <th colspan="7">
<div class="ui right floated pagination menu"> <div class="ui right floated pagination menu">
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</div> </div>
</th> </th>
</tr> </tr>
</tfoot> </tfoot> -->
</table> </table>
<button class="center aligned ui teal compact labeled icon button" onclick="window.location.href='{{ route('timesheet::maintenance.senaraiProject', [ 'id' => $pid ]) }}';"> <button class="center aligned ui teal compact labeled icon button" onclick="window.location.href='{{ route('timesheet::maintenance.senaraiProject', [ 'id' => $pid ]) }}';">
<i class="angle double left icon"></i> <i class="angle double left icon"></i>
......
...@@ -51,7 +51,7 @@ class DashboardController extends Controller ...@@ -51,7 +51,7 @@ class DashboardController extends Controller
return view('timesheet::dashboard.admin'); return view('timesheet::dashboard.admin');
} }
if (($roleid == '2' ) OR ($roleid == '5' )) { if (($roleid == ('2'||'5'||'6'||'7'||'8'))) {
$staffid = users::find(Auth::id()) $staffid = users::find(Auth::id())
->u_staffID; ->u_staffID;
...@@ -75,7 +75,6 @@ class DashboardController extends Controller ...@@ -75,7 +75,6 @@ class DashboardController extends Controller
}if ($roleid == '3') { }if ($roleid == '3') {
return view('timesheet::dashboard.verifier'); return view('timesheet::dashboard.verifier');
} }
if ($roleid == '4') { if ($roleid == '4') {
......
...@@ -109,6 +109,16 @@ class ServiceProvider extends BaseServiceProvider ...@@ -109,6 +109,16 @@ class ServiceProvider extends BaseServiceProvider
->active('pengurusan/*') ->active('pengurusan/*')
->data('permission', Permission::laporan); ->data('permission', Permission::laporan);
$Projek = $this->app['laravolt.menu']->add(__('Project Management'))->data('icon', 'align justify');
$Projek->add(__('List of Project'), route('timesheet::maintenance.senaraiProject'))
->data('icon', 'users icon')
->active('projek/*')
->data('permission', Permission::projek);
$Projek->add(__('Add New Project'), route('timesheet::maintenance.penambahanProject'))
->data('icon', 'users icon')
->active('projek/*')
->data('permission', Permission::projek);
$pengurusanProject = $this->app['laravolt.menu']->add(__('Project Management'))->data('icon', 'align justify'); $pengurusanProject = $this->app['laravolt.menu']->add(__('Project Management'))->data('icon', 'align justify');
$pengurusanProject->add(__('List of Project'), route('timesheet::maintenance.senaraiProject')) $pengurusanProject->add(__('List of Project'), route('timesheet::maintenance.senaraiProject'))
->data('icon', 'users icon') ->data('icon', 'users icon')
......
@if(strlen(config('laravolt.ui.brand_image')) > 0) @if(strlen(config('laravolt.ui.brand_image')) > 0)
<img src="/laravolt/img/bg/index.png" alt="" class="ui image {{ $class ?? 'tiny' }}"> <img src="img/3f-logo.svg" alt="" class="ui image {{ $class ?? 'tiny' }}">
@endif @endif
<h2 class="ui header brand centered"> <h2 class="ui header brand centered">
<!-- @include('ui::components.brand-image') --> @include('ui::components.brand-image')
{{ config('laravolt.ui.brand_name') }} {{ config('laravolt.ui.brand_name') }}
</h2> </h2>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment