This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#myModal">Delete</button> | |
#modal | |
<div id="myModal" class="modal fade" role="dialog"> | |
<div class="modal-dialog"> | |
<!-- Modal content--> | |
<div class="modal-content"> | |
<div class="modal-header"> | |
<button type="button" class="close" data-dismiss="modal">×</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
{% load static %} | |
<html> | |
<head> | |
<link href="{% static "infohub/bootstrap-3.3.5-dist/css/bootstrap.min.css" %}" rel="stylesheet"> | |
<link href="{% static "malaria/style.css" %}" rel="stylesheet"> | |
<link href="{% static "malaria/sticky-footer.css" %}" rel="stylesheet"> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from infohub.config import * | |
BASE_DIR = os.path.dirname(os.path.dirname(__file__)) | |
SITE_ID = 1 | |
# Quick-start development settings - unsuitable for production | |
# See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/ | |
# SECURITY WARNING: keep the secret key used in production secret! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style> | |
#image { | |
position: fixed; | |
} | |
</style> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body class= "transport"> | |
<form action="/catalog/transport/" method="POST">{% csrf_token %} | |
<div id="frm"> | |
{{TransportFormA.as_p}} | |
<div class="item" id="itm" style="display:none;"> | |
{{TransportFormB.as_p}} | |
</div> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style type="text/css"> | |
span.s1{margin-left: 9%;} | |
span.s2{margin-left: 8%;} | |
span.s3{margin-left: 10%;} | |
span.sm{margin-left: 4%;} | |
</style> | |
<title>Transport</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style type="text/css"> | |
span.s1{margin-left: 9%;} | |
span.s2{margin-left: 8%;} | |
span.s3{margin-left: 10%;} | |
span.sm{margin-left: 4%;} | |
</style> | |
<title>Transport</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style type="text/css"> | |
span.s1{margin-left: 9%;} | |
span.s2{margin-left: 8%;} | |
span.s3{margin-left: 10%;} | |
span.sm{margin-left: 4%;} | |
</style> | |
<title>Transport</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="refresh" content="15"> | |
<style type="text/css"> | |
h1{margin-left: 30%;} | |
h1.as{margin-left: 35%;} | |
table{width: 60%; margin-left:15%;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.shortcuts import render | |
from librehatti.bills.models import QuotedOrder, QuotedItem | |
from librehatti.catalog.models import * | |
from django.contrib.auth.models import User | |
import useraccounts | |
from django.db.models import Sum | |
def proforma(request): | |
QuotedItem_list = QuotedItem.objects.all() |
NewerOlder