Commit 85e29181 authored by prabaswara's avatar prabaswara

redesign

parent 55dea877
...@@ -42,7 +42,7 @@ INSTALLED_APPS = [ ...@@ -42,7 +42,7 @@ INSTALLED_APPS = [
'Application', 'Application',
'API', 'API',
'myauth.apps.MyauthConfig', 'myauth.apps.MyauthConfig',
'widget_tweaks' 'widget_tweaks',
] ]
MIDDLEWARE = [ MIDDLEWARE = [
......
asgiref==3.4.0
Django==3.2.4
djangorestframework==3.12.4
pytz==2021.1
sqlparse==0.4.1
typing-extensions==3.10.0.0
...@@ -79,23 +79,26 @@ $("#button_unhide").click(function() { ...@@ -79,23 +79,26 @@ $("#button_unhide").click(function() {
}) })
$("#button_hide_panel").click(function() { $("#button_hide_panel").click(function() {
$("#panel-samping").css('display', 'none'); $("#panel-samping").toggleClass("move");
// $("#panel-samping").css('display', 'none');
$("#button_unhide_panel").css('display', 'block'); $("#button_unhide_panel").css('display', 'block');
$("#button_hide_panel").css('display', 'none'); $("#button_hide_panel").css('display', 'none');
$("#thisFooter").css('left', '0px'); // $("#thisFooter").css('left', '0px');
$('#legenda').css('left', '0px'); // $('#legenda').css('left', '0px');
}) })
$("#button_unhide_panel").click(function() { $("#button_unhide_panel").click(function() {
$("#panel-samping").css('display', 'block'); $("#panel-samping").toggleClass("move");
$("#button_unhide").css('display', 'none'); $(this).toggleClass("move-btn");
$("#button_hide_panel").css('display', 'block'); // $("#panel-samping").css('display', 'block');
$("#thisFooter").css('left', '380px'); // $("#button_unhide").css('display', 'none');
$("#thisFooter").css('max-width', '900px'); // $("#button_hide_panel").css('display', 'block');
$('#legenda').css('left', '380px'); // $("#thisFooter").css('left', '380px');
$("#legenda").css('max-width', '900px'); // $("#thisFooter").css('max-width', '900px');
// $('#legenda').css('left', '380px');
// $("#legenda").css('max-width', '900px');
}) })
......
<style> <style>
.footer { .footer {
background: #ffffffa6; background: #ffffff00;
position: fixed; position: fixed;
left: 0px; left: 0px;
right: 0px; right: 0px;
bottom: 0; bottom: 0;
width: 1000px; width: 100%;
max-width: 100%;
overflow-x: clip;
height: 170px; height: 170px;
z-index: 999; z-index: 999;
} }
.legenda { .legenda {
background: #ffffffa6; background: #ffffff00;
position: fixed; position: fixed;
left: 20px; left: 20px;
bottom: 0; bottom: 0;
...@@ -66,7 +68,7 @@ ...@@ -66,7 +68,7 @@
display: block; display: block;
} }
#button_hide { /* #button_hide {
line-height: 15px; line-height: 15px;
width: 40px; width: 40px;
font-size: 10pt; font-size: 10pt;
...@@ -78,8 +80,8 @@ ...@@ -78,8 +80,8 @@
right: 0; right: 0;
z-index: 99999999; z-index: 99999999;
} }
*/
#button_unhide { /* #button_unhide {
line-height: 15px; line-height: 15px;
width: 40px; width: 40px;
font-size: 10pt; font-size: 10pt;
...@@ -88,7 +90,7 @@ ...@@ -88,7 +90,7 @@
position: absolute; position: absolute;
bottom: 0; bottom: 0;
z-index: 99999999; z-index: 99999999;
} } */
.dataTables_length { .dataTables_length {
margin: 0 0 0px 0px; margin: 0 0 0px 0px;
...@@ -143,7 +145,20 @@ ...@@ -143,7 +145,20 @@
} }
#btn_edit_kelurahan { #btn_edit_kelurahan {
display: none; display: block;
position: relative;
top: 0;
right: 0;
width: 100px;
background-color: #fff;
border-radius: 36px;
height: 36px;
cursor: inherit;
}
#btn_edit_kelurahan :hover{
border-color: #DADCE0;
background-color: #F1F3F4;
} }
#btn_edit_tuplah { #btn_edit_tuplah {
......
...@@ -439,7 +439,7 @@ ...@@ -439,7 +439,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -819,7 +819,7 @@ ...@@ -819,7 +819,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -1199,7 +1199,7 @@ ...@@ -1199,7 +1199,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -1579,7 +1579,7 @@ ...@@ -1579,7 +1579,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -2002,7 +2002,7 @@ ...@@ -2002,7 +2002,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
...@@ -2410,7 +2410,7 @@ ...@@ -2410,7 +2410,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -2789,7 +2789,7 @@ ...@@ -2789,7 +2789,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -3153,7 +3153,7 @@ ...@@ -3153,7 +3153,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -3479,7 +3479,7 @@ ...@@ -3479,7 +3479,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -3785,7 +3785,7 @@ ...@@ -3785,7 +3785,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src="static/img/image/` + feature.administrasi.f4 + `" alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src="static/img/image/` + feature.administrasi.f4 + `" alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -4140,7 +4140,7 @@ ...@@ -4140,7 +4140,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src="static/img/image/` + feature.administrasi.f8 + `" alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -4573,7 +4573,7 @@ ...@@ -4573,7 +4573,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src=` + path_img + ` alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src=` + path_img + ` alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
......
...@@ -154,16 +154,20 @@ ...@@ -154,16 +154,20 @@
<script> <script>
function panel_samp() { function panel_samp() {
if ($('#panel-samping').css('display') == 'block') { if ($('#panel-samping').css('display') == 'block') {
$("#thisFooter").css('left', '380px'); // $("#panel-samping").toggleClass("move");
$("#thisFooter").css('max-width', '900px'); // $("#button_unhide_panel").toggleClass("move-btn");
$('#button_unhide').css('right', '85px'); // $("#thisFooter").css('left', '380px');
$('#legenda').css('left', '380px'); // $("#thisFooter").css('max-width', '900px');
$("#legenda").css('max-width', '900px'); // $('#button_unhide').css('right', '85px');
// $('#legenda').css('left', '380px');
// $("#legenda").css('max-width', '900px');
} else { } else {
$("#thisFooter").css('left', '0px'); // $("#panel-samping").toggleClass("move");
$("#thisFooter").css('max-width', '900px'); // $("#button_unhide_panel").toggleClass("move-btn");
$('#button_unhide').css('right', '365px'); // $("#thisFooter").css('left', '0px');
$('#legenda').css('left', '0px'); // $("#thisFooter").css('max-width', '900px');
// $('#button_unhide').css('right', '365px');
// $('#legenda').css('left', '0px');
} }
} }
...@@ -208,14 +212,11 @@ ...@@ -208,14 +212,11 @@
content = ` content = `
<a href="/editkelurahan/?kode_dagri=` + encodeURIComponent(feature.administrasi.f1) + `" id='btn_edit_kelurahan' class='btn
btn-default btn_edit_kelurahan' style="position: absolute;
top: 6px;right: 5px;width: 60px;">Edit</a>
<table class="table table-hover tasks-list"> <table class="table table-hover tasks-list">
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src=` + path_img + ` alt="Image" style="width: 100%;max-height: 237px;height:237"> </th> <img src=` + path_img + ` alt="Image" style="width: 100%;max-height: 368px;height:368"> </th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -259,6 +260,12 @@ ...@@ -259,6 +260,12 @@
</div> </div>
</th> </th>
</tr> </tr>
<tr>
<td>
<a href="/editkelurahan/?kode_dagri=` + encodeURIComponent(feature.administrasi.f1) + `" id='btn_edit_kelurahan' class='btn
btn-default btn_edit_kelurahan'>Edit</a>
</td>
</tr>
<tr> <tr>
<th> <th>
<label class="text-semibold" style="margin-left:10px">Informasi Penduduk <label class="text-semibold" style="margin-left:10px">Informasi Penduduk
...@@ -531,8 +538,8 @@ ...@@ -531,8 +538,8 @@
</table>`; </table>`;
$("#panel-samping").css("display", "block"); $("#panel-samping").css("display", "block");
$("#button_hide_panel").css("display", "block") $("#button_hide_panel").css("display", "block")
$("#thisFooter").css('left', '380px'); // $("#thisFooter").css('left', '380px');
$("#thisFooter").css('width', '930px'); // $("#thisFooter").css('width', '930px');
$("#thisFooter").css('display', 'none'); $("#thisFooter").css('display', 'none');
$("#button_unhide").css('display', 'block') $("#button_unhide").css('display', 'block')
$("#isi_panel").html(content) $("#isi_panel").html(content)
...@@ -544,7 +551,7 @@ ...@@ -544,7 +551,7 @@
mouseover: function(e) { mouseover: function(e) {
var info_foot = ` var info_foot = `
<div class="col-xs-12"> <div class="col-xs-12">
<div class="row">
<div class="col-md-5" style="min-width: 300px;"> <div class="col-md-5" style="min-width: 300px;">
<div class="form-group"> <div class="form-group">
<label class="text-semibold">Informasi</label> <label class="text-semibold">Informasi</label>
...@@ -624,6 +631,7 @@ ...@@ -624,6 +631,7 @@
</b></i> </b></i>
</div> </div>
</div>
</div> </div>
`; `;
$('#info-footer').html(info_foot) $('#info-footer').html(info_foot)
...@@ -994,7 +1002,7 @@ ...@@ -994,7 +1002,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src=` + path_img + ` alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src=` + path_img + ` alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -1383,7 +1391,7 @@ ...@@ -1383,7 +1391,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src=` + path_img + ` alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src=` + path_img + ` alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -1805,7 +1813,7 @@ ...@@ -1805,7 +1813,7 @@
<thead style="text-align: center;"> <thead style="text-align: center;">
<tr> <tr>
<th style="padding: 0 0 0 0px;"> <th style="padding: 0 0 0 0px;">
<img src=` + path_img + ` alt="Image" style="width: 100%;max-height: 237px;height:237"> <img src=` + path_img + ` alt="Image" style="width: 100%;max-height: 368px;height:368">
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -2283,7 +2291,7 @@ ...@@ -2283,7 +2291,7 @@
// <thead style="text-align: center;"> // <thead style="text-align: center;">
// <tr> // <tr>
// <th style="padding: 0 0 0 0px;"> // <th style="padding: 0 0 0 0px;">
// <img src=` + path_img + ` alt="Image" style="width: 100%;max-height: 237px;height:237"> // <img src=` + path_img + ` alt="Image" style="width: 100%;max-height: 368px;height:368">
// </th> // </th>
// </tr> // </tr>
// </thead> // </thead>
......
{% load static %} {% load static %}
<!-- Main navbar --> <!-- Main navbar -->
<div class="navbar navbar-inverse"> <div class="navbar navbar-inverse navbar-fixed-top bg-none">
<div class="navbar-header"> <div class="navbar-header">
<a class="navbar-brand" href="{% url 'apps:dashboard' %}"> <a class="navbar-brand gradient-text " href="{% url 'apps:dashboard' %}">
<!-- <h3>NationalAddress</h3> --> <!-- <h3>NationalAddress</h3> -->
<i class=" icon-location4"></i> <i class="icon-location4 fa-gradient"></i>
<b>&nbsp;&nbsp;OKU-GIS</b> <b>&nbsp;&nbsp;OKU-GIS</b>
</a> </a>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</div> </div>
<div class="navbar-collapse collapse" id="navbar-mobile"> <div class="navbar-collapse collapse" id="navbar-mobile">
<p class="navbar-text"><span class="label bg-success-400">Online</span></p> <!-- <p class="navbar-text"><span class="label bg-success-400">Online</span></p> -->
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li class="dropdown dropdown-user"> <li class="dropdown dropdown-user">
......
This diff is collapsed.
{% load static %} {% load static %}
<div class="fixed-plugin" style="position: absolute;z-index: 999;right: 0px;background-color: #40777c;border-top-left-radius: 10px;border-bottom-left-radius: 10px;margin-top: 5px;"> <ul class="dock" style="right: 0;position: absolute;">
<li class="fixed-plugin" style="top: 100px;">
<div class="dropdown show-dropdown"> <div class="dropdown show-dropdown">
<a href="#" data-toggle="dropdown"> <a href="#" data-toggle="dropdown">
<i class="fa fa-map-o fa-2x" style="color: white; <i class="fa fa-map-o fa-2x" style="color: white;
...@@ -7,10 +8,7 @@ ...@@ -7,10 +8,7 @@
border-radius: 0 0 6px 6px; border-radius: 0 0 6px 6px;
width: auto;"> </i> width: auto;"> </i>
</a> </a>
<ul class="dropdown-menu" x-placement="bottom-start" style="right: 50px; <ul class="dropdown-menu" x-placement="bottom-start" >
position: absolute;
margin-left: -757px !important;
margin-top: -47px !important;">
<li class="header-title text-center">Maps BaseLayer</li> <li class="header-title text-center">Maps BaseLayer</li>
<div class="dropdown-content-body"> <div class="dropdown-content-body">
<div class="row text-center"> <div class="row text-center">
...@@ -57,15 +55,8 @@ ...@@ -57,15 +55,8 @@
</div> </div>
</ul> </ul>
</div> </div>
</div> </li>
<div class="fixed-plugin" style="position: absolute; <li class="fixed-plugin" style="top: 160px;">
z-index: 999;
right: 0px;
background-color: #40777c;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
top: 105px;
width: 50px;">
<div class="dropdown show-dropdown"> <div class="dropdown show-dropdown">
<a href="#" data-toggle="dropdown"> <a href="#" data-toggle="dropdown">
...@@ -74,11 +65,7 @@ ...@@ -74,11 +65,7 @@
margin: 4px; margin: 4px;
margin-left: 10px;"> </i> margin-left: 10px;"> </i>
</a> </a>
<ul class="dropdown-menu" style="float: right; <ul class="dropdown-menu" >
position: absolute;
width: 550px;
margin-left: -550px !important;
margin-top: -46px !important;">
<li class="header-title text-center">Sidebar Filters</li> <li class="header-title text-center">Sidebar Filters</li>
<!-- <div id="sidebar" onmouseleave="overll()"> <!-- <div id="sidebar" onmouseleave="overll()">
<div class="sidebar-wrapper"> <div class="sidebar-wrapper">
...@@ -246,7 +233,7 @@ ...@@ -246,7 +233,7 @@
</ul> </ul>
</div> </div>
</div> </div>
</ul>
<!-- Second navbar --> <!-- Second navbar -->
<div class="navbar navbar-default" id="navbar-second" style="display: none;"> <div class="navbar navbar-default" id="navbar-second" style="display: none;">
<ul class="nav navbar-nav no-border visible-xs-block"> <ul class="nav navbar-nav no-border visible-xs-block">
...@@ -277,5 +264,4 @@ ...@@ -277,5 +264,4 @@
</div> </div>
</div> </div>
</div> </div>
\ No newline at end of file
This diff is collapsed.
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<a class="navbar-brand" href="{% url 'apps:dashboard' %}"> <a class="navbar-brand" href="{% url 'apps:dashboard' %}">
<!-- <h3>NationalAddress</h3> --> <!-- <h3>NationalAddress</h3> -->
<i class=" icon-location4"></i> <i class=" icon-location4"></i>
<b>&nbsp;&nbsp;OKU-GIS</b> <b>&nbsp;&nbsp;OKU-GISs</b>
</a> </a>
<ul class="nav navbar-nav pull-right visible-xs-block"> <ul class="nav navbar-nav pull-right visible-xs-block">
......
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