Commit 8bb14782 by Joel Marpaung

no message

parent e18973c9
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "syp_d4ti_02.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
# The above import may fail for some other reason. Ensure that the
# issue is really that Django is missing to avoid masking other
# exceptions on Python 2.
try:
import django
except ImportError:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
)
raise
execute_from_command_line(sys.argv)
from django.contrib import admin
# Register your models here.
from django.apps import AppConfig
class SurveyerConfig(AppConfig):
name = 'surveyer'
from django.db import models
# Create your models here.
from django.test import TestCase
# Create your tests here.
from django.shortcuts import render
# Create your views here.
"""
Django settings for syp_d4ti_02 project.
Generated by 'django-admin startproject' using Django 1.10.5.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""
import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
TEMPLATE_DIR = os.path.join(BASE_DIR,'templates')
STATIC_DIR = os.path.join(BASE_DIR,'static')
MEDIA_DIR = os.path.join(BASE_DIR,'media')
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '5hghq6$7d^%7pso)5%3vzu@2w^ick!v$#yjy+)kms-5@8&e1e!'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'administrator',
'farmer',
'quality_control',
'surveyer',
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
ROOT_URLCONF = 'syp_d4ti_02.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'syp_d4ti_02.wsgi.application'
# Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'syp_d4ti_02',
'USER' : 'root',
'PASSWORD' : '',
'HOST': 'localhost',
'PORT' : '3306',
}
}
# Password validation
# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
# Internationalization
# https://docs.djangoproject.com/en/1.10/topics/i18n/
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.10/howto/static-files/
STATIC_URL = '/static/'
STATICFILES_DIRS = [
STATIC_DIR,
]
MEDIA_ROOT = MEDIA_DIR
MEDIA_URL = '/media/'
LOGIN_URL = '/login/'
\ No newline at end of file
"""syp_d4ti_02 URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
Including another URLconf
1. Import the include() function: from django.conf.urls import url, include
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from django.contrib import admin
urlpatterns = [
url(r'^admin/', admin.site.urls),
]
"""
WSGI config for syp_d4ti_02 project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "syp_d4ti_02.settings")
application = get_wsgi_application()
<!DOCTYPE html>
{% load staticfiles %}
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.6 -->
<link rel="stylesheet" href="{% static 'AdminLTE/bootstrap/css/bootstrap.min.css' %}">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="{% static 'AdminLTE/dist/css/AdminLTE.min.css' %}">
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet" href="{% static 'AdminLTE/dist/css/skins/_all-skins.min.css' %}">
<!-- iCheck -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/iCheck/flat/blue.css' %}">
<!-- Morris chart -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/morris/morris.css' %}">
<!-- jvectormap -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/jvectormap/jquery-jvectormap-1.2.2.css' %}">
<!-- Date Picker -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/datepicker/datepicker3.css' %}">
<!-- Daterange picker -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/daterangepicker/daterangepicker.css' %}">
<!-- bootstrap wysihtml5 - text editor -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css' %}">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<header class="main-header">
<!-- Logo -->
<a href="index2.html" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>SI</b>ML</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>SI </b>Manajemen Lahan</span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- Messages: style can be found in dropdown.less-->
<li class="dropdown messages-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-envelope-o"></i>
<span class="label label-success">4</span>
</a>
<ul class="dropdown-menu">
<li class="header">You have 4 messages</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li><!-- start message -->
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Support Team
<small><i class="fa fa-clock-o"></i> 5 mins</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<!-- end message -->
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user3-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
AdminLTE Design Team
<small><i class="fa fa-clock-o"></i> 2 hours</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user4-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Developers
<small><i class="fa fa-clock-o"></i> Today</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user3-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Sales Department
<small><i class="fa fa-clock-o"></i> Yesterday</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user4-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Reviewers
<small><i class="fa fa-clock-o"></i> 2 days</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
</ul>
</li>
<li class="footer"><a href="#">See All Messages</a></li>
</ul>
</li>
<!-- Notifications: style can be found in dropdown.less -->
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-bell-o"></i>
<span class="label label-warning">10</span>
</a>
<ul class="dropdown-menu">
<li class="header">You have 10 notifications</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li>
<a href="#">
<i class="fa fa-users text-aqua"></i> 5 new members joined today
</a>
</li>
<li>
<a href="#">
<i class="fa fa-warning text-yellow"></i> Very long description here that may not fit into the
page and may cause design problems
</a>
</li>
<li>
<a href="#">
<i class="fa fa-users text-red"></i> 5 new members joined
</a>
</li>
<li>
<a href="#">
<i class="fa fa-shopping-cart text-green"></i> 25 sales made
</a>
</li>
<li>
<a href="#">
<i class="fa fa-user text-red"></i> You changed your username
</a>
</li>
</ul>
</li>
<li class="footer"><a href="#">View all</a></li>
</ul>
</li>
<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="{% static farmer.photo %}" class="user-image" alt="User Image">
</a>
<ul class="dropdown-menu">
<!-- User image -->
<li class="user-header">
<img src="{% static farmer.photo %}" class="img-circle" alt="User Image">
<p>
{{ farmer.full_name }} - Petani
</p>
</li>
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a href="{% url 'farmer:indexDataDiri' %}" class="btn btn-default btn-flat">Data Diri</a>
</div>
<div class="pull-right">
<a href="{% url 'farmer:logout' %}" class="btn btn-default btn-flat">Keluar</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="{% static farmer.photo %}" class="img-circle" alt="User Image">
</div>
<div class="pull-left info">
<p>{{ farmer.full_name }}</p>
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
</div>
</div>
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu">
<li class="header">NAVIGASI UTAMA</li>
<li class="{% if nbar == 'home' %} active {% endif %}">
<a href="{% url 'farmer:index' %}">
<i class="fa fa-th"></i> <span>Beranda</span>
</a>
</li>
<li class="{% if nbar == 'activePengajuan' %} active {% endif %}treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Pengajuan Lahan</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li class="{% if li == 'createPengajuan' %}active{% endif %}"><a href="{% url 'farmer:createPengajuanLahan' %}"><i class="fa fa-circle-o"></i>Buat Pengajuan</a></li>
<li class="{% if li == 'daftarPengajuan' %}active {% endif %}"><a href="{% url 'farmer:daftarPengajuanLahan' %}"><i class="fa fa-circle-o"></i>Daftar Pengajuan</a></li>
</ul>
</li>
<li class="{% if nbar == 'activePeminjaman' %} active {% endif %}treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Peminjaman Uang</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li class="{% if li == 'createPeminjaman' %}active{% endif %}"><a href="{% url 'farmer:createPeminjamanUang' %}"><i class="fa fa-circle-o"></i>Buat Peminjaman</a></li>
<li class="{% if li == 'daftarPeminjaman' %}active{% endif %}"><a href="{% url 'farmer:daftarPeminjamanUang' %}"><i class="fa fa-circle-o"></i>Daftar Peminjaman</a></li>
</ul>
</li>
<li class="{% if nbar == 'lahan' %} active {% endif %}">
<a href="{% url 'farmer:indexDataLahan' %}">
<i class="fa fa-th"></i> <span>Data Lahan</span>
</a>
</li>
</ul>
</section>
<!-- /.sidebar -->
</aside>
{% block body_block %}
{% endblock %}
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<footer class="main-footer">
<strong>Copyright &copy; 2017 <a href="http://del.ac.id">PT. Lahan Tebu Rakyat</a>.</strong> All rights
reserved.
</footer>
<aside class="control-sidebar control-sidebar-dark">
<div class="tab-content">
<div class="tab-pane" id="control-sidebar-home-tab">
</div>
</div>
</aside>
<!-- /.control-sidebar -->
<!-- Add the sidebar's background. This div must be placed
immediately after the control sidebar -->
<!-- ./wrapper -->
<!-- jQuery 2.2.3 -->
<script src="{% static 'AdminLTE/plugins/jQuery/jquery-2.2.3.min.js' %}"></script>
<!-- jQuery UI 1.11.4 -->
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<!-- Bootstrap 3.3.6 -->
<script src="{% static 'AdminLTE/bootstrap/js/bootstrap.min.js' %}"></script>
<!-- Morris.js charts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="{% static 'AdminLTE/plugins/morris/morris.min.js' %}"></script>
<!-- Sparkline -->
<script src="{% static 'AdminLTE/plugins/sparkline/jquery.sparkline.min.js' %}"></script>
<!-- jvectormap -->
<script src="{% static 'AdminLTE/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js' %}"></script>
<script src="{% static 'AdminLTE/plugins/jvectormap/jquery-jvectormap-world-mill-en.js' %}"></script>
<!-- jQuery Knob Chart -->
<script src="{% static 'AdminLTE/plugins/knob/jquery.knob.js' %}"></script>
<!-- daterangepicker -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
<script src="{% static 'AdminLTE/plugins/daterangepicker/daterangepicker.js' %}"></script>
<!-- datepicker -->
<script src="{% static 'AdminLTE/plugins/datepicker/bootstrap-datepicker.js' %}"></script>
<!-- Bootstrap WYSIHTML5 -->
<script src="{% static 'AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js' %}"></script>
<!-- Slimscroll -->
<script src="{% static 'AdminLTE/plugins/slimScroll/jquery.slimscroll.min.js' %}"></script>
<!-- FastClick -->
<script src="{% static 'AdminLTE/plugins/fastclick/fastclick.js' %}"></script>
<!-- AdminLTE App -->
<script src="{% static 'AdminLTE/dist/js/app.min.js' %}"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<script src="{% static 'AdminLTE/dist/js/pages/dashboard.js' %}"></script>
<!-- AdminLTE for demo purposes -->
<script src="{% static 'AdminLTE/dist/js/demo.js' %}"></script>
</body>
</html>
{% extends 'farmer/base.html' %}
<title>Farmer | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<h1>Index Lahan</h1>
</section>
{% endblock %}
\ No newline at end of file
{% extends 'farmer/base.html' %}
<title>Farmer | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<h1>This is farmer page </h1>
</section>
{% endblock %}
{% extends 'farmer/base.html' %}
<title>Farmer | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Buat Pengajuan Peminjaman Uang
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="col-md-12">
<!-- Horizontal Form -->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Silahkan buat pengajuan peminjaman uang anda dengan mengisi form ini</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
<form class="form-horizontal" role="form" action="/create-peminjaman-uang/" method="POST" enctype="multipart/form-data">
{% csrf_token %}
<div class="box-body">
<div class="form-group">
<label class="col-sm-2 control-label">Nama Bank</label>
<div class="col-sm-10">
<input type="text" class="form-control" placeholder="Cth : BNI / BCA / BRI" name="bank_name" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">No Rekening</label>
<div class="col-sm-10">
<input type="text" class="form-control" placeholder="Cth : BNI / BCA / BRI" name="no_rekening" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Besar Peminjaman</label>
<div class="col-sm-10">
<input type="text" class="form-control" placeholder="Cth : Rp 2.500.000" name="besar_peminjaman" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Alasan Peminjaman</label>
<div class="col-sm-10">
<textarea class="form-control" name="alasan_peminjaman" placeholder="Cth : Untuk mengolah lahan dan membeli peralatan pengolahan lahan, seperti cangkul, dll." required></textarea>
</div>
</div>
</div>
<!-- /.box-body -->
<div class="box-footer">
<button type="reset" class="btn btn-default">Reset</button>
<button type="submit" class="btn btn-info pull-right">Ajukan</button>
</div>
<!-- /.box-footer -->
</form>
</div>
</section>
{% endblock %}
\ No newline at end of file
{% extends 'farmer/base.html' %}
<title>Farmer | Dashboard</title>
{% block body_block %}
{% load staticfiles %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Daftar Pengajuan Peminjaman <a href="{% url 'farmer:daftarPeminjamanUang' %}" class="btn btn-warning btn-lg">Pending</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPeminjamanTolak' %}" class="btn btn-danger btn-lg">Tolak</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPeminjamanSetuju' %}" class="btn btn-success btn-lg">Setuju</a>
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Pengajuan Peminjaman dipending</h3>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table id="example2" class="table table-hover">
<thead>
<tr>
<th>Nama Bank</th>
<th>No. Rekening</th>
<th>Status</th>
<th>Besar Peminjaman</th>
<th>Alasan Peminjaman</th>
<th>Tanggal Peminjaman</th>
<th>Aksi</th>
</tr>
</thead>
{% for pending in peminjaman_uang %}
<tr>
<td>{{ pending.bank_name }} </td>
<td>{{ pending.no_rekening }} </td>
<td><span class="label label-warning">Pending</span></td>
<td>{{ pending.besar_peminjaman }} </td>
<td>{{ pending.alasan_peminjaman }} </td>
<td>{{ pending.tanggal_peminjaman }} </td>
<td><a href="{% url 'farmer:daftarPengajuanLahan' %}" class="btn btn-info">Ubah</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPengajuanLahanTolak' %}" class="btn btn-danger ">Batal</a></td>
</tr>
{% endfor %}
</table>
</div>
<!-- /.box-body -->
<!-- /.box-body -->
<div class="box-footer clearfix">
<ul class="pagination pagination-sm no-margin pull-right">
{% if peminjaman_uang.has_previous %}
<li><a href="?page={{ peminjaman_uang.previous_page_number }}">&laquo;</a></li>
{% else %}
<li><a disabled>&laquo;</a></li>
{% endif %}
{% for pg in peminjaman_uang.paginator.page_range %}
{% if peminjaman_uang.number == pg %}
<li class="active"><a href="?page={{ pg }}">{{ pg }}</a></li>
{% else %}
<li><a href="?page={{ pg }}">{{ pg }}</a></li>
{% endif %}
{% endfor %}
{% if peminjaman_uang.has_next %}
<li><a href="?page={{ peminjaman_uang.next_page_number }}">&raquo;</a></li>
{% else %}
<li><a disabled>&raquo;</a></li>
{% endif %}
</ul>
</div>
</div>
<!-- /.box -->
</div>
</div>
</section>
{% endblock %}
\ No newline at end of file
{% extends 'farmer/base.html' %}
<title>Farmer | Dashboard</title>
{% block body_block %}
{% load staticfiles %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Daftar Pengajuan Peminjaman <a href="{% url 'farmer:daftarPeminjamanUang' %}" class="btn btn-warning btn-lg">Pending</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPeminjamanTolak' %}" class="btn btn-danger btn-lg">Tolak</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPeminjamanSetuju' %}" class="btn btn-success btn-lg">Setuju</a>
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Pengajuan Peminjaman ditolak</h3>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table id="example2" class="table table-hover">
<thead>
<tr>
<th>Nama Bank</th>
<th>No. Rekening</th>
<th>Status</th>
<th>Besar Peminjaman</th>
<th>Alasan Peminjaman</th>
<th>Tanggal Peminjaman</th>
<th>Aksi</th>
</tr>
</thead>
{% for pending in peminjaman_uang %}
<tr>
<td>{{ pending.bank_name }} </td>
<td>{{ pending.no_rekening }} </td>
<td><span class="label label-danger">Tolak</span></td>
<td>{{ pending.besar_peminjaman }} </td>
<td>{{ pending.alasan_peminjaman }} </td>
<td>{{ pending.tanggal_peminjaman }} </td>
<td><a href="{% url 'farmer:daftarPengajuanLahan' %}" class="btn btn-info">Lihat</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPengajuanLahanTolak' %}" class="btn btn-danger">Hapus</a></td>
</tr>
{% endfor %}
</table>
</div>
<!-- /.box-body -->
<!-- /.box-body -->
<div class="box-footer clearfix">
<ul class="pagination pagination-sm no-margin pull-right">
{% if peminjaman_uang.has_previous %}
<li><a href="?page={{ peminjaman_uang.previous_page_number }}">&laquo;</a></li>
{% else %}
<li><a disabled>&laquo;</a></li>
{% endif %}
{% for pg in peminjaman_uang.paginator.page_range %}
{% if peminjaman_uang.number == pg %}
<li class="active"><a href="?page={{ pg }}">{{ pg }}</a></li>
{% else %}
<li><a href="?page={{ pg }}">{{ pg }}</a></li>
{% endif %}
{% endfor %}
{% if peminjaman_uang.has_next %}
<li><a href="?page={{ peminjaman_uang.next_page_number }}">&raquo;</a></li>
{% else %}
<li><a disabled>&raquo;</a></li>
{% endif %}
</ul>
</div>
</div>
<!-- /.box -->
</div>
</div>
</section>
{% endblock %}
\ No newline at end of file
{% extends 'farmer/base.html' %}
<title>Farmer | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Buat Pengajuan Lahan
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="col-md-12">
<!-- Horizontal Form -->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Silahkan buat pengajuan lahan anda dengan mengisi form ini</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
<form class="form-horizontal" role="form" action="/create-pengajuan-lahan/" method="POST" enctype="multipart/form-data">
{% csrf_token %}
<div class="box-body">
<div class="form-group">
<label class="col-sm-2 control-label">Luas Lahan</label>
<div class="col-sm-10">
<input type="text" class="form-control" placeholder="Cth : 2 hektar / 250 m2" name="luas_lahan" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Alamat Lahan</label>
<div class="col-sm-10">
<textarea class="form-control" name="alamat_lahan" placeholder="Cth : Jln. Sigura-gura, Desa Pangombusan, Kecamatan Parmaksian, Kabupaten Toba Samosir" required></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Keterangan Lahan</label>
<div class="col-sm-10">
<textarea class="form-control" name="keterangan" placeholder="Cth : Lahan ini merupakan lahan basah dan sangat subur. Tanah pada lahan ini adalah tanah hitam. Lahan ditumbuhi tumbuhan rawa" required></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Sertifikat Lahan</label>
<div class="col-sm-10">
<input type="file" class="form-control" value="test" name="image_certificate" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Gambar Lahan 1</label>
<div class="col-sm-10">
<input type="file" class="form-control" value="test" name="image1" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Gambar Lahan 2</label>
<div class="col-sm-10">
<input type="file" class="form-control" value="test" name="image2" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Gambar Lahan 3</label>
<div class="col-sm-10">
<input type="file" class="form-control" value="test" name="image3" required>
</div>
</div>
</div>
<!-- /.box-body -->
<div class="box-footer">
<button type="reset" class="btn btn-default">Reset</button>
<button type="submit" class="btn btn-info pull-right">Ajukan</button>
</div>
<!-- /.box-footer -->
</form>
</div>
</section>
{% endblock %}
\ No newline at end of file
{% extends 'farmer/base.html' %}
<title>Farmer | Dashboard</title>
{% block body_block %}
{% load staticfiles %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Daftar Pengajuan Lahan <a href="{% url 'farmer:daftarPengajuanLahan' %}" class="btn btn-warning btn-lg">Pending</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPengajuanLahanTolak' %}" class="btn btn-danger btn-lg">Tolak</a>
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Pengajuan Lahan dipending</h3>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table id="example2" class="table table-hover">
<thead>
<tr>
<th>Luas Lahan</th>
<th>Alamat Lahan</th>
<th>Status</th>
<th>Keterangan</th>
<th>Tanggal Pengajuan</th>
<th>Aksi</th>
</tr>
</thead>
{% for pending in pengajuan_pending %}
<tr>
<td>{{ pending.luas_lahan }} </td>
<td>{{ pending.alamat_lahan }} </td>
<td><span class="label label-warning">Pending</span></td>
<td>{{ pending.keterangan }} </td>
<td>{{ pending.tanggal_pengajuan }} </td>
<td><a href="{% url 'farmer:daftarPengajuanLahan' %}" class="btn btn-info">Ubah</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPengajuanLahanTolak' %}" class="btn btn-danger ">Batal</a></td>
</tr>
{% endfor %}
</table>
</div>
<!-- /.box-body -->
<!-- /.box-body -->
<div class="box-footer clearfix">
<ul class="pagination pagination-sm no-margin pull-right">
{% if pengajuan_pending.has_previous %}
<li><a href="?page={{ pengajuan_pending.previous_page_number }}">&laquo;</a></li>
{% else %}
<li><a disabled>&laquo;</a></li>
{% endif %}
{% for pg in pengajuan_pending.paginator.page_range %}
{% if pengajuan_pending.number == pg %}
<li class="active"><a href="?page={{ pg }}">{{ pg }}</a></li>
{% else %}
<li><a href="?page={{ pg }}">{{ pg }}</a></li>
{% endif %}
{% endfor %}
{% if pengajuan_pending.has_next %}
<li><a href="?page={{ pengajuan_pending.next_page_number }}">&raquo;</a></li>
{% else %}
<li><a disabled>&raquo;</a></li>
{% endif %}
</ul>
</div>
</div>
<!-- /.box -->
</div>
</div>
</section>
{% endblock %}
\ No newline at end of file
{% extends 'farmer/base.html' %}
<title>Farmer | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Daftar Pengajuan Lahan <a href="{% url 'farmer:daftarPengajuanLahan' %}" class="btn btn-warning btn-lg">Pending</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPengajuanLahanTolak' %}" class="btn btn-danger btn-lg">Tolak</a>
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Pengajuan Lahan ditolak</h3>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table id="example2" class="table table-hover">
<thead>
<tr>
<th>Luas Lahan</th>
<th>Alamat Lahan</th>
<th>Status</th>
<th>Keterangan</th>
<th>Tanggal Pengajuan</th>
<th>Aksi</th>
</tr>
</thead>
{% for reject in pengajuan_reject %}
<tr>
<td>{{ reject.luas_lahan }} </td>
<td>{{ reject.alamat_lahan }} </td>
<td><span class="label label-danger">Tolak</span></td>
<td>{{ reject.keterangan }} </td>
<td>{{ reject.tanggal_pengajuan }} </td>
<td><a href="{% url 'farmer:daftarPengajuanLahan' %}" class="btn btn-info">Detail</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPengajuanLahanTolak' %}" class="btn btn-danger">Hapus</a></td>
</tr>
{% endfor %}
</table>
</div>
<!-- /.box-body -->
<!-- /.box-body -->
<div class="box-footer clearfix">
<ul class="pagination pagination-sm no-margin pull-right">
{% if pengajuan_reject.has_previous %}
<li><a href="?page={{ pengajuan_reject.previous_page_number }}">&laquo;</a></li>
{% else %}
<li><a disabled>&laquo;</a></li>
{% endif %}
{% for pg in pengajuan_reject.paginator.page_range %}
{% if pengajuan_reject.number == pg %}
<li class="active"><a href="?page={{ pg }}">{{ pg }}</a></li>
{% else %}
<li><a href="?page={{ pg }}">{{ pg }}</a></li>
{% endif %}
{% endfor %}
{% if pengajuan_reject.has_next %}
<li><a href="?page={{ pengajuan_reject.next_page_number }}">&raquo;</a></li>
{% else %}
<li><a disabled>&raquo;</a></li>
{% endif %}
</ul>
</div>
</div>
<!-- /.box -->
</div>
</div>
</section>
{% endblock %}
\ No newline at end of file
{% extends 'farmer/base.html' %}
<title>Farmer | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<h1>This is profile farmer page </h1>
</section>
{% endblock %}
<!DOCTYPE html>
{% load staticfiles %}
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.6 -->
<link rel="stylesheet" href="{% static 'AdminLTE/bootstrap/css/bootstrap.min.css' %}">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="{% static 'AdminLTE/dist/css/AdminLTE.min.css' %}">
<!-- iCheck -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/iCheck/flat/blue.css' %}">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
{% block body_block %}
{% endblock %}
<!-- jQuery 2.2.3 -->
<script src="../../plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="../../bootstrap/js/bootstrap.min.js"></script>
<!-- iCheck -->
<script src="../../plugins/iCheck/icheck.min.js"></script>
<script>
$(function () {
$('input').iCheck({
checkboxClass: 'icheckbox_square-blue',
radioClass: 'iradio_square-blue',
increaseArea: '20%' // optional
});
});
</script>
</body>
</html>
{% extends 'homepage/base.html' %}
{% load staticfiles %}
{% block body_block %}
<body class="hold-transition login-page">
<div class="login-box">
<div class="login-logo">
<a href="../../index2.html"><b>SI</b> Manajemen Lahan</a>
</div>
<!-- /.login-logo -->
<div class="login-box-body">
<p class="login-box-msg">Masuk menggunakan akun anda</p>
<form action="/login/" method="POST" id="loginform" class="form-horizontal">
{% csrf_token %}
<div class="form-group has-feedback">
<input id="login-username" type="text" class="form-control" name="username" value="" placeholder="nama pengguna">
<span class="glyphicon glyphicon-user form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input id="login-password" type="password" class="form-control" name="password" placeholder="kata sandi">
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<div class="row">
<div class="col-xs-8">
</div>
<!-- /.col -->
<div class="col-xs-4">
<button type="submit" class="btn btn-primary btn-block btn-flat">Masuk</button>
</div>
<!-- /.col -->
</div>
</form>
<div class="social-auth-links text-center">
</div>
<!-- /.social-auth-links -->
<a href="#">Saya Lupa Password</a><br>
<a href="{% url 'register' %}" class="text-center">Daftar Akun</a>
</div>
<!-- /.login-box-body -->
</div>
{% endblock %}
\ No newline at end of file
{% extends 'homepage/base.html' %}
{% load staticfiles %}
{% block body_block %}
<body class="hold-transition register-page">
<div class="register-box">
<div class="register-logo">
<a href="../../index2.html"><b>SI</b> Manajemen Lahan</a>
</div>
<div class="register-box-body">
<p class="login-box-msg">Daftarkan akun anda</p>
<form class="form-horizontal" role="form" action="/register/" method="POST">
{% csrf_token %}
<div class="form-group has-feedback">
<input type="text" class="form-control" name="username" placeholder="nama pengguna untuk akun" required min-length=5>
<span class="glyphicon glyphicon-user form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input type="password" class="form-control" name="password" placeholder="kata sandi" required min-length=8>
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input type="password" class="form-control" name="password2" placeholder="masukkan kembali kata sandi" required min-length=8>
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input type="text" class="form-control" name="full_name" placeholder="nama lengkap" required>
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input type="text" class="form-control" name="phone" placeholder="nomor telepon" required>
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input type="text" class="form-control" name="kabupaten" placeholder="kabupaten" required>
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input type="text" class="form-control" name="kecamatan" placeholder="kecamatan" required min-length=5>
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<textarea class="form-control" name="alamat" placeholder="alamat" required></textarea>
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
</div>
<div class="row">
<div class="col-xs-8">
</div>
<!-- /.col -->
<div class="col-xs-4">
<button type="submit" class="btn btn-primary btn-block btn-flat">Daftar</button>
</div>
<!-- /.col -->
</div>
</form>
<div class="social-auth-links text-center">
</div>
<a href="{% url 'login' %}" class="text-center">Sudah punya akun</a>
</div>
<!-- /.form-box -->
</div>
{% endblock %}
\ No newline at end of file
<!DOCTYPE html>
{% load staticfiles %}
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.6 -->
<link rel="stylesheet" href="{% static 'AdminLTE/bootstrap/css/bootstrap.min.css' %}">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="{% static 'AdminLTE/dist/css/AdminLTE.min.css' %}">
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet" href="{% static 'AdminLTE/dist/css/skins/_all-skins.min.css' %}">
<!-- iCheck -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/iCheck/flat/blue.css' %}">
<!-- Morris chart -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/morris/morris.css' %}">
<!-- jvectormap -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/jvectormap/jquery-jvectormap-1.2.2.css' %}">
<!-- Date Picker -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/datepicker/datepicker3.css' %}">
<!-- Daterange picker -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/daterangepicker/daterangepicker.css' %}">
<!-- bootstrap wysihtml5 - text editor -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css' %}">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<header class="main-header">
<!-- Logo -->
<a href="index2.html" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>SI</b>ML</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>SI </b>Manajemen Lahan</span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- Messages: style can be found in dropdown.less-->
<li class="dropdown messages-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-envelope-o"></i>
<span class="label label-success">4</span>
</a>
<ul class="dropdown-menu">
<li class="header">You have 4 messages</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li><!-- start message -->
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Support Team
<small><i class="fa fa-clock-o"></i> 5 mins</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<!-- end message -->
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user3-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
AdminLTE Design Team
<small><i class="fa fa-clock-o"></i> 2 hours</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user4-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Developers
<small><i class="fa fa-clock-o"></i> Today</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user3-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Sales Department
<small><i class="fa fa-clock-o"></i> Yesterday</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user4-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Reviewers
<small><i class="fa fa-clock-o"></i> 2 days</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
</ul>
</li>
<li class="footer"><a href="#">See All Messages</a></li>
</ul>
</li>
<!-- Notifications: style can be found in dropdown.less -->
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-bell-o"></i>
<span class="label label-warning">10</span>
</a>
<ul class="dropdown-menu">
<li class="header">You have 10 notifications</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li>
<a href="#">
<i class="fa fa-users text-aqua"></i> 5 new members joined today
</a>
</li>
<li>
<a href="#">
<i class="fa fa-warning text-yellow"></i> Very long description here that may not fit into the
page and may cause design problems
</a>
</li>
<li>
<a href="#">
<i class="fa fa-users text-red"></i> 5 new members joined
</a>
</li>
<li>
<a href="#">
<i class="fa fa-shopping-cart text-green"></i> 25 sales made
</a>
</li>
<li>
<a href="#">
<i class="fa fa-user text-red"></i> You changed your username
</a>
</li>
</ul>
</li>
<li class="footer"><a href="#">View all</a></li>
</ul>
</li>
<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="user-image" alt="User Image">
<span class="hidden-xs">Joel Marpaung</span>
</a>
<ul class="dropdown-menu">
<!-- User image -->
<li class="user-header">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="img-circle" alt="User Image">
<p>
Joel Marpaung - Admin
</p>
</li>
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a href="#" class="btn btn-default btn-flat">Profile</a>
</div>
<div class="pull-right">
<a href="#" class="btn btn-default btn-flat">Sign out</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="img-circle" alt="User Image">
</div>
<div class="pull-left info">
<p>Joel Marpaung</p>
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
</div>
</div>
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu">
<li class="header">NAVIGASI UTAMA</li>
<li class="{% if nbar == 'home' %} active {% endif %}">
<a href="{% url 'quality_control:index' %}">
<i class="fa fa-th"></i> <span>Beranda</span>
</a>
</li>
<li class="{% if nbar == 'lahan' %} active {% endif %}">
<a href="{% url 'quality_control:indexDataLahan' %}">
<i class="fa fa-th"></i> <span>Data Lahan</span>
</a>
</li>
</ul>
</section>
<!-- /.sidebar -->
</aside>
{% block body_block %}
{% endblock %}
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<footer class="main-footer">
<strong>Copyright &copy; 2017 <a href="http://del.ac.id">PT. Lahan Tebu Rakyat</a>.</strong> All rights
reserved.
</footer>
<!-- /.control-sidebar -->
<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
<div class="tab-content">
<div class="tab-pane" id="control-sidebar-home-tab">
</div>
</div>
</aside>
<!-- /.control-sidebar -->
<!-- Add the sidebar's background. This div must be placed
immediately after the control sidebar -->
<!-- jQuery 2.2.3 -->
<script src="{% static 'AdminLTE/plugins/jQuery/jquery-2.2.3.min.js' %}"></script>
<!-- jQuery UI 1.11.4 -->
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<!-- Bootstrap 3.3.6 -->
<script src="{% static 'AdminLTE/bootstrap/js/bootstrap.min.js' %}"></script>
<!-- Morris.js charts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="{% static 'AdminLTE/plugins/morris/morris.min.js' %}"></script>
<!-- Sparkline -->
<script src="{% static 'AdminLTE/plugins/sparkline/jquery.sparkline.min.js' %}"></script>
<!-- jvectormap -->
<script src="{% static 'AdminLTE/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js' %}"></script>
<script src="{% static 'AdminLTE/plugins/jvectormap/jquery-jvectormap-world-mill-en.js' %}"></script>
<!-- jQuery Knob Chart -->
<script src="{% static 'AdminLTE/plugins/knob/jquery.knob.js' %}"></script>
<!-- daterangepicker -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
<script src="{% static 'AdminLTE/plugins/daterangepicker/daterangepicker.js' %}"></script>
<!-- datepicker -->
<script src="{% static 'AdminLTE/plugins/datepicker/bootstrap-datepicker.js' %}"></script>
<!-- Bootstrap WYSIHTML5 -->
<script src="{% static 'AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js' %}"></script>
<!-- Slimscroll -->
<script src="{% static 'AdminLTE/plugins/slimScroll/jquery.slimscroll.min.js' %}"></script>
<!-- FastClick -->
<script src="{% static 'AdminLTE/plugins/fastclick/fastclick.js' %}"></script>
<!-- AdminLTE App -->
<script src="{% static 'AdminLTE/dist/js/app.min.js' %}"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<script src="{% static 'AdminLTE/dist/js/pages/dashboard.js' %}"></script>
<!-- AdminLTE for demo purposes -->
<script src="{% static 'AdminLTE/dist/js/demo.js' %}"></script>
</body>
</html>
{% extends 'quality_control/base.html' %}
<title>Surveyer | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<h1>Index Lahan Quality Control</h1>
</section>
{% endblock %}
{% extends 'quality_control/base.html' %}
<title>Surveyer | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<h1>Index Quality Control</h1>
</section>
{% endblock %}
<!DOCTYPE html>
{% load staticfiles %}
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.6 -->
<link rel="stylesheet" href="{% static 'AdminLTE/bootstrap/css/bootstrap.min.css' %}">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="{% static 'AdminLTE/dist/css/AdminLTE.min.css' %}">
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet" href="{% static 'AdminLTE/dist/css/skins/_all-skins.min.css' %}">
<!-- iCheck -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/iCheck/flat/blue.css' %}">
<!-- Morris chart -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/morris/morris.css' %}">
<!-- jvectormap -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/jvectormap/jquery-jvectormap-1.2.2.css' %}">
<!-- Date Picker -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/datepicker/datepicker3.css' %}">
<!-- Daterange picker -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/daterangepicker/daterangepicker.css' %}">
<!-- bootstrap wysihtml5 - text editor -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css' %}">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<header class="main-header">
<!-- Logo -->
<a href="index2.html" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>SI</b>ML</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>SI </b>Manajemen Lahan</span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- Messages: style can be found in dropdown.less-->
<li class="dropdown messages-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-envelope-o"></i>
<span class="label label-success">4</span>
</a>
<ul class="dropdown-menu">
<li class="header">You have 4 messages</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li><!-- start message -->
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Support Team
<small><i class="fa fa-clock-o"></i> 5 mins</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<!-- end message -->
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user3-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
AdminLTE Design Team
<small><i class="fa fa-clock-o"></i> 2 hours</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user4-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Developers
<small><i class="fa fa-clock-o"></i> Today</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user3-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Sales Department
<small><i class="fa fa-clock-o"></i> Yesterday</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user4-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Reviewers
<small><i class="fa fa-clock-o"></i> 2 days</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
</ul>
</li>
<li class="footer"><a href="#">See All Messages</a></li>
</ul>
</li>
<!-- Notifications: style can be found in dropdown.less -->
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-bell-o"></i>
<span class="label label-warning">10</span>
</a>
<ul class="dropdown-menu">
<li class="header">You have 10 notifications</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li>
<a href="#">
<i class="fa fa-users text-aqua"></i> 5 new members joined today
</a>
</li>
<li>
<a href="#">
<i class="fa fa-warning text-yellow"></i> Very long description here that may not fit into the
page and may cause design problems
</a>
</li>
<li>
<a href="#">
<i class="fa fa-users text-red"></i> 5 new members joined
</a>
</li>
<li>
<a href="#">
<i class="fa fa-shopping-cart text-green"></i> 25 sales made
</a>
</li>
<li>
<a href="#">
<i class="fa fa-user text-red"></i> You changed your username
</a>
</li>
</ul>
</li>
<li class="footer"><a href="#">View all</a></li>
</ul>
</li>
<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="user-image" alt="User Image">
<span class="hidden-xs">Joel Marpaung</span>
</a>
<ul class="dropdown-menu">
<!-- User image -->
<li class="user-header">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="img-circle" alt="User Image">
<p>
Joel Marpaung - Admin
</p>
</li>
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a href="#" class="btn btn-default btn-flat">Profile</a>
</div>
<div class="pull-right">
<a href="#" class="btn btn-default btn-flat">Sign out</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="img-circle" alt="User Image">
</div>
<div class="pull-left info">
<p>Joel Marpaung</p>
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
</div>
</div>
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu">
<li class="header">NAVIGASI UTAMA</li>
<li class="{% if nbar == 'home' %} active {% endif %}">
<a href="{% url 'staff:index' %}">
<i class="fa fa-th"></i> <span>Beranda</span>
</a>
</li>
<li class="{% if nbar == 'activeStaff' %} active {% endif %}treeview">
<a href="#">
<i class="fa fa-dashboard"></i><span>Data Admin</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li class="{% if li == 'createStaff' %}active{% endif %}"><a href="{% url 'staff:createStaff' %}"><i class="fa fa-circle-o"></i>Tambah Admin</a></li>
<li class="{% if li == 'daftarStaff' %}active {% endif %}"><a href="{% url 'staff:daftarStaff' %}"><i class="fa fa-circle-o"></i>Daftar Admin</a></li>
</ul>
</li>
<li class="{% if nbar == 'activePengajuan' %} active {% endif %}treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Pengajuan Lahan</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li class="{% if li == 'pendingPengajuan' %}active{% endif %}"><a href="{% url 'staff:pendingPengajuanLahan' %}"><i class="fa fa-circle-o"></i>Pengajuan Pending</a></li>
<li class="{% if li == 'rejectPengajuan' %}active{% endif %}"><a href="{% url 'staff:rejectPengajuanLahan' %}"><i class="fa fa-circle-o"></i>Pengajuan Ditolak</a></li>
</ul>
</li>
<li class="{% if nbar == 'activePeminjaman' %} active {% endif %}treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Peminjaman Uang</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li class="{% if li == 'pendingPeminjaman' %}active{% endif %}"><a href="{% url 'staff:pendingPeminjamanUang' %}"><i class="fa fa-circle-o"></i>Peminjaman Pending</a></li>
<li class="{% if li == 'acceptPeminjaman' %}active{% endif %}"><a href="{% url 'staff:acceptPeminjamanUang' %}"><i class="fa fa-circle-o"></i>Peminjaman Disetujui</a></li>
<li class="{% if li == 'rejectPeminjaman' %}active{% endif %}"><a href="{% url 'staff:rejectPeminjamanUang' %}"><i class="fa fa-circle-o"></i>Peminjaman Ditolak</a></li>
</ul>
</li>
<li class="{% if nbar == 'lahan' %} active {% endif %}">
<a href="{% url 'staff:indexDataLahan' %}">
<i class="fa fa-th"></i> <span>Data Lahan</span>
</a>
</li>
</ul>
</section>
<!-- /.sidebar -->
</aside>
{% block body_block %}
{% endblock %}
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<footer class="main-footer">
<strong>Copyright &copy; 2017 <a href="http://del.ac.id">PT. Lahan Tebu Rakyat</a>.</strong> All rights
reserved.
</footer>
<!-- /.control-sidebar -->
<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
<div class="tab-content">
<div class="tab-pane" id="control-sidebar-home-tab">
</div>
</div>
</aside>
<!-- /.control-sidebar -->
<!-- Add the sidebar's background. This div must be placed
immediately after the control sidebar -->
<!-- jQuery 2.2.3 -->
<script src="{% static 'AdminLTE/plugins/jQuery/jquery-2.2.3.min.js' %}"></script>
<!-- jQuery UI 1.11.4 -->
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<!-- Bootstrap 3.3.6 -->
<script src="{% static 'AdminLTE/bootstrap/js/bootstrap.min.js' %}"></script>
<!-- Morris.js charts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="{% static 'AdminLTE/plugins/morris/morris.min.js' %}"></script>
<!-- Sparkline -->
<script src="{% static 'AdminLTE/plugins/sparkline/jquery.sparkline.min.js' %}"></script>
<!-- jvectormap -->
<script src="{% static 'AdminLTE/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js' %}"></script>
<script src="{% static 'AdminLTE/plugins/jvectormap/jquery-jvectormap-world-mill-en.js' %}"></script>
<!-- jQuery Knob Chart -->
<script src="{% static 'AdminLTE/plugins/knob/jquery.knob.js' %}"></script>
<!-- daterangepicker -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
<script src="{% static 'AdminLTE/plugins/daterangepicker/daterangepicker.js' %}"></script>
<!-- datepicker -->
<script src="{% static 'AdminLTE/plugins/datepicker/bootstrap-datepicker.js' %}"></script>
<!-- Bootstrap WYSIHTML5 -->
<script src="{% static 'AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js' %}"></script>
<!-- Slimscroll -->
<script src="{% static 'AdminLTE/plugins/slimScroll/jquery.slimscroll.min.js' %}"></script>
<!-- FastClick -->
<script src="{% static 'AdminLTE/plugins/fastclick/fastclick.js' %}"></script>
<!-- AdminLTE App -->
<script src="{% static 'AdminLTE/dist/js/app.min.js' %}"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<script src="{% static 'AdminLTE/dist/js/pages/dashboard.js' %}"></script>
<!-- AdminLTE for demo purposes -->
<script src="{% static 'AdminLTE/dist/js/demo.js' %}"></script>
</body>
</html>
{% extends 'staff/base.html' %}
<title>Admin | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<h1>This is data lahan index </h1>
</section>
{% endblock %}
{% extends 'staff/base.html' %}
<title>Admin | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Tambah Staff Baru
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="col-md-12">
<!-- Horizontal Form -->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Silahkan tambah staff baru dengan mengisi form ini</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
<form class="form-horizontal" role="form" action="/staff/create-staff/" method="POST" enctype="multipart/form-data">
{% csrf_token %}
<div class="box-body">
<div class="form-group">
<label class="col-sm-2 control-label">Nama Pengguna</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="username" placeholder="nama pengguna untuk akun" required min-length=5>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Kata Sandi</label>
<div class="col-sm-10">
<input type="password" class="form-control" name="password" placeholder="kata sandi" required min-length=8>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Ulang Kata Sandi</label>
<div class="col-sm-10">
<input type="password" class="form-control" name="password2" placeholder="masukkan kembali kata sandi" required min-length=8>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Nama Lengkap</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="full_name" placeholder="nama lengkap" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Peran</label>
<div class="col-sm-10">
<select class="form-control" name="role" required>
<option value="admin">Admin</option>
<option value="surveyer">Surveyer</option>
<option value="quality">Quality Control</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Foto Profil</label>
<div class="col-sm-10">
<input type="file" class="form-control" value="test" name="photo" required>
</div>
</div>
</div>
<!-- /.box-body -->
<div class="box-footer">
<button type="reset" class="btn btn-default">Reset</button>
<button type="submit" class="btn btn-info pull-right">Tambah Staff</button>
</div>
<!-- /.box-footer -->
</form>
</div>
</section>
{% endblock %}
{% extends 'staff/base.html' %}
<title>Admin | Dashboard</title>
{% block body_block %}
{% load staticfiles %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Daftar Staff
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Daftar Staff</h3>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table id="example2" class="table table-hover">
<thead>
<tr>
<th>Username</th>
<th>Full Name</th>
<th>Peran</th>
<th>Foto</th>
<th>Aksi</th>
</tr>
</thead>
{% for staff in daftar_staff %}
<tr>
<td>{{ staff.username }} </td>
<td>{{ staff.full_name }} </td>
<td>{% if staff.role == 'admin' %}
<span class="label label-primary" style="font-size: 15px">Admin</span>
{% elif staff.role == 'surveyer' %}
<span class="label label-success" style="font-size: 15px">Surveyer</span>
{% else %}
<span class="label label-info" style="font-size: 15px">Quality Control</span>
{% endif %}
</td>
<td><div class="user-panel"><div class="pull-left image">
<img src="{% static staff.photo %}" class="img-circle" alt="User Image">
</div></div>
</td>
<td><a href="" class="btn btn-danger ">Hapus</a></td>
</tr>
{% endfor %}
</table>
</div>
<!-- /.box-body -->
<!-- /.box-body -->
<div class="box-footer clearfix">
<ul class="pagination pagination-sm no-margin pull-right">
{% if daftar_staff.has_previous %}
<li><a href="?page={{ daftar_staff.previous_page_number }}">&laquo;</a></li>
{% else %}
<li><a disabled>&laquo;</a></li>
{% endif %}
{% for pg in daftar_staff.paginator.page_range %}
{% if daftar_staff.number == pg %}
<li class="active"><a href="?page={{ pg }}">{{ pg }}</a></li>
{% else %}
<li><a href="?page={{ pg }}">{{ pg }}</a></li>
{% endif %}
{% endfor %}
{% if daftar_staff.has_next %}
<li><a href="?page={{ daftar_staff.next_page_number }}">&raquo;</a></li>
{% else %}
<li><a disabled>&raquo;</a></li>
{% endif %}
</ul>
</div>
</div>
<!-- /.box -->
</div>
</div>
</section>
{% endblock %}
\ No newline at end of file
{% extends 'staff/base.html' %}
<title>Admin | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<h1>This is admin page </h1>
</section>
{% endblock %}
{% extends 'staff/base.html' %}
<title>Admin | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<h1>This is peminjaman accept</h1>
</section>
{% endblock %}
{% extends 'staff/base.html' %}
<title>Admin | Dashboard</title>
{% block body_block %}
{% load staticfiles %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Daftar Pengajuan Peminjaman
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Pengajuan Peminjaman dipending</h3>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table id="example2" class="table table-hover">
<thead>
<tr>
<th>Nama Bank</th>
<th>No. Rekening</th>
<th>Status</th>
<th>Besar Peminjaman</th>
<th>Alasan Peminjaman</th>
<th>Tanggal Peminjaman</th>
<th>Aksi</th>
</tr>
</thead>
{% for pending in peminjaman_uang %}
<tr>
<td>{{ pending.bank_name }} </td>
<td>{{ pending.no_rekening }} </td>
<td><span class="label label-warning">Pending</span></td>
<td>{{ pending.besar_peminjaman }} </td>
<td>{{ pending.alasan_peminjaman }} </td>
<td>{{ pending.tanggal_peminjaman }} </td>
<td><a href="{% url 'farmer:daftarPengajuanLahan' %}" class="btn btn-info">Ubah</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPengajuanLahanTolak' %}" class="btn btn-danger ">Batal</a></td>
</tr>
{% endfor %}
</table>
</div>
<!-- /.box-body -->
<!-- /.box-body -->
<div class="box-footer clearfix">
<ul class="pagination pagination-sm no-margin pull-right">
{% if peminjaman_uang.has_previous %}
<li><a href="?page={{ peminjaman_uang.previous_page_number }}">&laquo;</a></li>
{% else %}
<li><a disabled>&laquo;</a></li>
{% endif %}
{% for pg in peminjaman_uang.paginator.page_range %}
{% if peminjaman_uang.number == pg %}
<li class="active"><a href="?page={{ pg }}">{{ pg }}</a></li>
{% else %}
<li><a href="?page={{ pg }}">{{ pg }}</a></li>
{% endif %}
{% endfor %}
{% if peminjaman_uang.has_next %}
<li><a href="?page={{ peminjaman_uang.next_page_number }}">&raquo;</a></li>
{% else %}
<li><a disabled>&raquo;</a></li>
{% endif %}
</ul>
</div>
</div>
<!-- /.box -->
</div>
</div>
</section>
{% endblock %}
\ No newline at end of file
{% extends 'staff/base.html' %}
<title>Admin | Dashboard</title>
{% block body_block %}
{% load staticfiles %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Daftar Pengajuan Peminjaman
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Pengajuan Peminjaman ditolak</h3>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table id="example2" class="table table-hover">
<thead>
<tr>
<th>Nama Bank</th>
<th>No. Rekening</th>
<th>Status</th>
<th>Besar Peminjaman</th>
<th>Alasan Peminjaman</th>
<th>Tanggal Peminjaman</th>
<th>Aksi</th>
</tr>
</thead>
{% for pending in peminjaman_uang %}
<tr>
<td>{{ pending.bank_name }} </td>
<td>{{ pending.no_rekening }} </td>
<td><span class="label label-danger">Tolak</span></td>
<td>{{ pending.besar_peminjaman }} </td>
<td>{{ pending.alasan_peminjaman }} </td>
<td>{{ pending.tanggal_peminjaman }} </td>
<td><a href="{% url 'farmer:daftarPengajuanLahan' %}" class="btn btn-info">Lihat</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPengajuanLahanTolak' %}" class="btn btn-danger">Hapus</a></td>
</tr>
{% endfor %}
</table>
</div>
<!-- /.box-body -->
<!-- /.box-body -->
<div class="box-footer clearfix">
<ul class="pagination pagination-sm no-margin pull-right">
{% if peminjaman_uang.has_previous %}
<li><a href="?page={{ peminjaman_uang.previous_page_number }}">&laquo;</a></li>
{% else %}
<li><a disabled>&laquo;</a></li>
{% endif %}
{% for pg in peminjaman_uang.paginator.page_range %}
{% if peminjaman_uang.number == pg %}
<li class="active"><a href="?page={{ pg }}">{{ pg }}</a></li>
{% else %}
<li><a href="?page={{ pg }}">{{ pg }}</a></li>
{% endif %}
{% endfor %}
{% if peminjaman_uang.has_next %}
<li><a href="?page={{ peminjaman_uang.next_page_number }}">&raquo;</a></li>
{% else %}
<li><a disabled>&raquo;</a></li>
{% endif %}
</ul>
</div>
</div>
<!-- /.box -->
</div>
</div>
</section>
{% endblock %}
{% extends 'staff/base.html' %}
<title>Admin | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<h1>Pengajuan Accept</h1>
</section>
{% endblock %}
{% extends 'staff/base.html' %}
<title>Admin | Dashboard</title>
{% block body_block %}
{% load staticfiles %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Daftar Pengajuan Lahan Pending
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Pengajuan Lahan dipending</h3>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table id="example2" class="table table-hover">
<thead>
<tr>
<th>Luas Lahan</th>
<th>Alamat Lahan</th>
<th>Status</th>
<th>Keterangan</th>
<th>Tanggal Pengajuan</th>
<th>Aksi</th>
</tr>
</thead>
{% for pending in pengajuan_pending %}
<tr>
<td>{{ pending.luas_lahan }} </td>
<td>{{ pending.alamat_lahan }} </td>
<td><span class="label label-warning">Pending</span></td>
<td>{{ pending.keterangan }} </td>
<td>{{ pending.tanggal_pengajuan }} </td>
<td><a href="{% url 'farmer:daftarPengajuanLahan' %}" class="btn btn-info">Detail</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPengajuanLahanTolak' %}" class="btn btn-danger">Tolak</a></td>
</tr>
{% endfor %}
</table>
</div>
<!-- /.box-body -->
<!-- /.box-body -->
<div class="box-footer clearfix">
<ul class="pagination pagination-sm no-margin pull-right">
{% if pengajuan_pending.has_previous %}
<li><a href="?page={{ pengajuan_pending.previous_page_number }}">&laquo;</a></li>
{% else %}
<li><a disabled>&laquo;</a></li>
{% endif %}
{% for pg in pengajuan_pending.paginator.page_range %}
{% if pengajuan_pending.number == pg %}
<li class="active"><a href="?page={{ pg }}">{{ pg }}</a></li>
{% else %}
<li><a href="?page={{ pg }}">{{ pg }}</a></li>
{% endif %}
{% endfor %}
{% if pengajuan_pending.has_next %}
<li><a href="?page={{ pengajuan_pending.next_page_number }}">&raquo;</a></li>
{% else %}
<li><a disabled>&raquo;</a></li>
{% endif %}
</ul>
</div>
</div>
<!-- /.box -->
</div>
</div>
</section>
{% endblock %}
\ No newline at end of file
{% extends 'staff/base.html' %}
<title>Admin | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Daftar Pengajuan Lahan
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Pengajuan Lahan ditolak</h3>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<table id="example2" class="table table-hover">
<thead>
<tr>
<th>Luas Lahan</th>
<th>Alamat Lahan</th>
<th>Status</th>
<th>Keterangan</th>
<th>Tanggal Pengajuan</th>
<th>Aksi</th>
</tr>
</thead>
{% for reject in pengajuan_reject %}
<tr>
<td>{{ reject.luas_lahan }} </td>
<td>{{ reject.alamat_lahan }} </td>
<td><span class="label label-danger">Tolak</span></td>
<td>{{ reject.keterangan }} </td>
<td>{{ reject.tanggal_pengajuan }} </td>
<td><a href="{% url 'farmer:daftarPengajuanLahan' %}" class="btn btn-info">Detail</a>&nbsp; &nbsp; &nbsp;<a href="{% url 'farmer:daftarPengajuanLahanTolak' %}" class="btn btn-danger">Hapus</a></td>
</tr>
{% endfor %}
</table>
</div>
<!-- /.box-body -->
<!-- /.box-body -->
<div class="box-footer clearfix">
<ul class="pagination pagination-sm no-margin pull-right">
{% if pengajuan_reject.has_previous %}
<li><a href="?page={{ pengajuan_reject.previous_page_number }}">&laquo;</a></li>
{% else %}
<li><a disabled>&laquo;</a></li>
{% endif %}
{% for pg in pengajuan_reject.paginator.page_range %}
{% if pengajuan_reject.number == pg %}
<li class="active"><a href="?page={{ pg }}">{{ pg }}</a></li>
{% else %}
<li><a href="?page={{ pg }}">{{ pg }}</a></li>
{% endif %}
{% endfor %}
{% if pengajuan_reject.has_next %}
<li><a href="?page={{ pengajuan_reject.next_page_number }}">&raquo;</a></li>
{% else %}
<li><a disabled>&raquo;</a></li>
{% endif %}
</ul>
</div>
</div>
<!-- /.box -->
</div>
</div>
</section>
{% endblock %}
\ No newline at end of file
<!DOCTYPE html>
{% load staticfiles %}
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.6 -->
<link rel="stylesheet" href="{% static 'AdminLTE/bootstrap/css/bootstrap.min.css' %}">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="{% static 'AdminLTE/dist/css/AdminLTE.min.css' %}">
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet" href="{% static 'AdminLTE/dist/css/skins/_all-skins.min.css' %}">
<!-- iCheck -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/iCheck/flat/blue.css' %}">
<!-- Morris chart -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/morris/morris.css' %}">
<!-- jvectormap -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/jvectormap/jquery-jvectormap-1.2.2.css' %}">
<!-- Date Picker -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/datepicker/datepicker3.css' %}">
<!-- Daterange picker -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/daterangepicker/daterangepicker.css' %}">
<!-- bootstrap wysihtml5 - text editor -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css' %}">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<header class="main-header">
<!-- Logo -->
<a href="index2.html" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>SI</b>ML</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>SI </b>Manajemen Lahan</span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- Messages: style can be found in dropdown.less-->
<li class="dropdown messages-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-envelope-o"></i>
<span class="label label-success">4</span>
</a>
<ul class="dropdown-menu">
<li class="header">You have 4 messages</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li><!-- start message -->
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Support Team
<small><i class="fa fa-clock-o"></i> 5 mins</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<!-- end message -->
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user3-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
AdminLTE Design Team
<small><i class="fa fa-clock-o"></i> 2 hours</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user4-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Developers
<small><i class="fa fa-clock-o"></i> Today</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user3-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Sales Department
<small><i class="fa fa-clock-o"></i> Yesterday</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="{% static 'AdminLTE/dist/img/user4-128x128.jpg' %}" class="img-circle" alt="User Image">
</div>
<h4>
Reviewers
<small><i class="fa fa-clock-o"></i> 2 days</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
</ul>
</li>
<li class="footer"><a href="#">See All Messages</a></li>
</ul>
</li>
<!-- Notifications: style can be found in dropdown.less -->
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-bell-o"></i>
<span class="label label-warning">10</span>
</a>
<ul class="dropdown-menu">
<li class="header">You have 10 notifications</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li>
<a href="#">
<i class="fa fa-users text-aqua"></i> 5 new members joined today
</a>
</li>
<li>
<a href="#">
<i class="fa fa-warning text-yellow"></i> Very long description here that may not fit into the
page and may cause design problems
</a>
</li>
<li>
<a href="#">
<i class="fa fa-users text-red"></i> 5 new members joined
</a>
</li>
<li>
<a href="#">
<i class="fa fa-shopping-cart text-green"></i> 25 sales made
</a>
</li>
<li>
<a href="#">
<i class="fa fa-user text-red"></i> You changed your username
</a>
</li>
</ul>
</li>
<li class="footer"><a href="#">View all</a></li>
</ul>
</li>
<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="user-image" alt="User Image">
<span class="hidden-xs">Joel Marpaung</span>
</a>
<ul class="dropdown-menu">
<!-- User image -->
<li class="user-header">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="img-circle" alt="User Image">
<p>
Joel Marpaung - Admin
</p>
</li>
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a href="#" class="btn btn-default btn-flat">Profile</a>
</div>
<div class="pull-right">
<a href="#" class="btn btn-default btn-flat">Sign out</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="{% static 'AdminLTE/dist/img/user2-160x160.jpg' %}" class="img-circle" alt="User Image">
</div>
<div class="pull-left info">
<p>Joel Marpaung</p>
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
</div>
</div>
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu">
<li class="header">NAVIGASI UTAMA</li>
<li class="{% if nbar == 'home' %} active {% endif %}">
<a href="{% url 'surveyer:index' %}">
<i class="fa fa-th"></i> <span>Beranda</span>
</a>
</li>
<li class="{% if nbar == 'lahan' %} active {% endif %}">
<a href="{% url 'surveyer:indexDataLahan' %}">
<i class="fa fa-th"></i> <span>Data Lahan</span>
</a>
</li>
</ul>
</section>
<!-- /.sidebar -->
</aside>
{% block body_block %}
{% endblock %}
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<footer class="main-footer">
<strong>Copyright &copy; 2017 <a href="http://del.ac.id">PT. Lahan Tebu Rakyat</a>.</strong> All rights
reserved.
</footer>
<!-- /.control-sidebar -->
<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
<div class="tab-content">
<div class="tab-pane" id="control-sidebar-home-tab">
</div>
</div>
</aside>
<!-- /.control-sidebar -->
<!-- Add the sidebar's background. This div must be placed
immediately after the control sidebar -->
<!-- jQuery 2.2.3 -->
<script src="{% static 'AdminLTE/plugins/jQuery/jquery-2.2.3.min.js' %}"></script>
<!-- jQuery UI 1.11.4 -->
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<!-- Bootstrap 3.3.6 -->
<script src="{% static 'AdminLTE/bootstrap/js/bootstrap.min.js' %}"></script>
<!-- Morris.js charts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="{% static 'AdminLTE/plugins/morris/morris.min.js' %}"></script>
<!-- Sparkline -->
<script src="{% static 'AdminLTE/plugins/sparkline/jquery.sparkline.min.js' %}"></script>
<!-- jvectormap -->
<script src="{% static 'AdminLTE/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js' %}"></script>
<script src="{% static 'AdminLTE/plugins/jvectormap/jquery-jvectormap-world-mill-en.js' %}"></script>
<!-- jQuery Knob Chart -->
<script src="{% static 'AdminLTE/plugins/knob/jquery.knob.js' %}"></script>
<!-- daterangepicker -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
<script src="{% static 'AdminLTE/plugins/daterangepicker/daterangepicker.js' %}"></script>
<!-- datepicker -->
<script src="{% static 'AdminLTE/plugins/datepicker/bootstrap-datepicker.js' %}"></script>
<!-- Bootstrap WYSIHTML5 -->
<script src="{% static 'AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js' %}"></script>
<!-- Slimscroll -->
<script src="{% static 'AdminLTE/plugins/slimScroll/jquery.slimscroll.min.js' %}"></script>
<!-- FastClick -->
<script src="{% static 'AdminLTE/plugins/fastclick/fastclick.js' %}"></script>
<!-- AdminLTE App -->
<script src="{% static 'AdminLTE/dist/js/app.min.js' %}"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<script src="{% static 'AdminLTE/dist/js/pages/dashboard.js' %}"></script>
<!-- AdminLTE for demo purposes -->
<script src="{% static 'AdminLTE/dist/js/demo.js' %}"></script>
</body>
</html>
{% extends 'surveyer/base.html' %}
<title>Surveyer | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<h1>Data Lahan</h1>
</section>
{% endblock %}
{% extends 'surveyer/base.html' %}
<title>Admin | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<h1>Surveyer Page</h1>
</section>
{% endblock %}
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