[cleanup] [website]

This commit is contained in:
Rushabh Mehta
2016-01-01 17:23:12 +05:30
parent f41da5cfab
commit 51008f2abc
13 changed files with 46 additions and 28 deletions

View File

@@ -1,9 +1,18 @@
{% extends "templates/web.html" %}
{% block title %} {{ "Shopping Cart" }} {% endblock %}
{% block header %}<h2>{{ _("My Cart") }}</h2>{% endblock %}
{% block script %}{% include "templates/includes/cart.js" %}{% endblock %}
{% block style %}{% include "templates/includes/cart.css" %}{% endblock %}
{% block script %}
<script>{% include "templates/includes/cart.js" %}</script>
{% endblock %}
{% block style %}
<style>
{% include "templates/includes/cart.css" %}
</style>
{% endblock %}
{% block header_actions %}
@@ -14,7 +23,7 @@
{% endif %}
{% endblock %}
{% block content %}
{% block page_content %}
{% from "templates/includes/macros.html" import item_name_and_description %}

View File

@@ -1,8 +1,10 @@
{% extends "templates/web.html" %}
{% block title %} {{ "My Profile" }} {% endblock %}
{% block header %}<h2>My Profile</h2>{% endblock %}
{% block content %}
{% block page_content %}
<div class="user-content" style="max-width: 500px;">
<div class="alert alert-warning" id="message" style="display: none;"></div>
<form>
@@ -26,7 +28,7 @@
</form>
</div>
<script>
$(document).ready(function() {
frappe.ready(function() {
$("#fullname").val(getCookie("full_name") || "");
$("#update_user").click(function() {
frappe.call({

View File

@@ -1,11 +1,17 @@
{% extends "templates/web.html" %}
{% block header %}
<h1>{{ doc.name }}</h1>
<!-- <h6 class="text-muted">{{ doc._title or doc.doctype }}</h6> -->
{% endblock %}
{% block style %}{% include "templates/includes/order/order.css" %}{% endblock %}
{% block style %}
<style>
{% include "templates/includes/order/order.css" %}
</style>
{% endblock %}
{% block content %}
{% block page_content %}
{% from "erpnext/templates/includes/order/order_macros.html" import item_name_and_description %}

View File

@@ -1,8 +1,10 @@
{% extends "templates/web.html" %}
{% block title %} {{ title }} {% endblock %}
{% block header %}<h2>{{ title }}</h2>{% endblock %}
{% block content %}
{% block page_content %}
<div class="partners-content">
{% for partner_info in partners %}
<div class="row">

View File

@@ -1,3 +1,5 @@
{% extends "templates/web.html" %}
{% block title %} {{ "Product Search" }} {% endblock %}
{% block header %}<h2>Product Search</h2>{% endblock %}
@@ -6,11 +8,11 @@
{% include 'templates/includes/product_search_box.html' %}
{% endblock %}
{% block content %}
{% block page_content %}
<script>{% include "templates/includes/product_list.js" %}</script>
<script>
$(document).ready(function() {
frappe.ready(function() {
var txt = get_url_arg("q");
$(".search-results").html("Search results for: " + txt);
window.search = txt;