mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 09:24:45 +00:00
[website] [cleanup] separated website generation in framework and erpnext
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
{% extends "html/outer.html" %}
|
||||
|
||||
{% set title="Not Found" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="content">
|
||||
<div class="layout-wrapper layout-main">
|
||||
<h3><i class="icon-exclamation-sign"></i> Page missing or moved</h3>
|
||||
<br>
|
||||
<p>We are very sorry for this, but the page you are looking for is missing
|
||||
(this could be because of a typo in the address) or moved.</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "html/page.html" %}
|
||||
{% extends "app/website/templates/html/page.html" %}
|
||||
|
||||
{% set title="About Us" %}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "html/page.html" %}
|
||||
{% extends "app/website/templates/html/page.html" %}
|
||||
|
||||
{% set title="My Account" %}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "html/outer.html" %}
|
||||
{% extends "app/website/templates/html/outer.html" %}
|
||||
|
||||
{% block header %}
|
||||
<style>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{% extends "html/page.html" %}
|
||||
{% extends "app/website/templates/html/page.html" %}
|
||||
|
||||
{% block javascript %}
|
||||
{% include "js/blog.js" %}
|
||||
{% include "app/website/templates/js/blog.js" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block css %}
|
||||
{% include "css/blog.css" %}
|
||||
{% include "app/website/templates/css/blog.css" %}
|
||||
{% endblock %}
|
||||
|
||||
{% set title="Blog" %}
|
||||
@@ -29,5 +29,5 @@
|
||||
style="display:none;">More...</button>
|
||||
</div>
|
||||
</div>
|
||||
{% include 'html/blog_footer.html' %}
|
||||
{% include 'app/website/templates/html/blog_footer.html' %}
|
||||
{% endblock %}
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "html/page.html" %}
|
||||
{% extends "app/website/templates/html/page.html" %}
|
||||
|
||||
{% block javascript %}
|
||||
{% include "js/contact.js" %}
|
||||
{% include "app/website/templates/js/contact.js" %}
|
||||
{% endblock %}
|
||||
|
||||
{% set title="Contact Us" %}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
{% extends "html/outer.html" %}
|
||||
|
||||
{% set title="Error" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="content">
|
||||
<div class="layout-wrapper layout-main">
|
||||
<h3><i class="icon-exclamation-sign"></i> Oops, a server error has occured</h3>
|
||||
<br>
|
||||
<pre>%(error)s</pre>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -1 +1 @@
|
||||
{% extends "html/web_page.html" %}
|
||||
{% extends "app/website/templates/html/web_page.html" %}
|
||||
@@ -1,62 +0,0 @@
|
||||
{% extends "html/base.html" %}
|
||||
|
||||
{% block header %}
|
||||
<script>
|
||||
{% include "js/login.js" %}
|
||||
</script>
|
||||
{% include "css/login.css" %}
|
||||
{% endblock %}
|
||||
|
||||
{% set title="Login" %}
|
||||
|
||||
{% block body %}
|
||||
<div class="container" id='login_wrapper'>
|
||||
<div class='layout-wrapper layout-main'>
|
||||
<p id="login_message" class="alert" style="display: none;"></p>
|
||||
<h3><i class="icon-lock" style="margin-top: 7px"></i> Login</h3>
|
||||
<form autocomplete="on">
|
||||
<table border="0" class="login-box">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: right; padding: 3px;"
|
||||
id="login-label">Login Id</td>
|
||||
<td><input id="login_id" type="text" style="width: 180px"/></td>
|
||||
</tr>
|
||||
<tr id="password-row">
|
||||
<td style="text-align: right; padding: 3px;" >Password</td>
|
||||
<td><input id="password" type="password" style="width: 180px" /></td>
|
||||
</tr>
|
||||
<tr id="full-name-row" style="display: none;">
|
||||
<td style="text-align: right; padding: 3px;">Full Name</td>
|
||||
<td><input id="full_name" type="text" style="width: 180px" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<button type="submit" id="login_btn"
|
||||
class="btn btn-small btn-primary">Login</button>
|
||||
<img src="lib/images/ui/button-load.gif" id="login-spinner"
|
||||
style="display: none;">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<br>
|
||||
<p style="text-align: center" id="forgot-wrapper">
|
||||
<a id="forgot-password" style="cursor:pointer"
|
||||
onclick="return login.show_forgot_password()">Forgot Password</a></p>
|
||||
<p style="text-align: center" id="sign-up-wrapper">
|
||||
New user? <a id="sign-up" style="cursor:pointer"
|
||||
onclick="return login.sign_up()">Sign Up</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="web-footer login-footer container">
|
||||
<a href="index.html">Home</a> |
|
||||
<a href="https://erpnext.com">ERPNext</a><br><br>
|
||||
{% if copyright %}
|
||||
<div class="web-footer-copyright">© {{ copyright }}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
@@ -1,11 +0,0 @@
|
||||
{% extends "html/outer.html" %}
|
||||
|
||||
{% set title=webnotes.message_title %}
|
||||
|
||||
{% block content %}
|
||||
<div class="content">
|
||||
<div class="layout-wrapper layout-main">
|
||||
{{ webnotes.message }}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "html/page.html" %}
|
||||
{% extends "app/website/templates/html/page.html" %}
|
||||
|
||||
{% set title=doc.name %}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "html/page.html" %}
|
||||
{% extends "app/website/templates/html/page.html" %}
|
||||
|
||||
{% set title="My Orders" %}
|
||||
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Print Format</title>
|
||||
<meta name="generator" content="wnframework">
|
||||
<style>
|
||||
{{ css }}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{{ body }}
|
||||
</body>
|
||||
{%- if comment -%}
|
||||
<!-- {{ comment }} -->
|
||||
{%- endif -%}
|
||||
</html>
|
||||
@@ -1,9 +1,9 @@
|
||||
{% extends "html/page.html" %}
|
||||
{% extends "app/website/templates/html/page.html" %}
|
||||
|
||||
{% set title="Product Search" %}
|
||||
|
||||
{% block javascript %}
|
||||
{% include "js/product_list.js" %}
|
||||
{% include "app/website/templates/js/product_list.js" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
@@ -17,7 +17,7 @@ $(document).ready(function() {
|
||||
});
|
||||
</script>
|
||||
|
||||
{% include 'html/product_search_box.html' %}
|
||||
{% include 'app/website/templates/html/product_search_box.html' %}
|
||||
<div class="span12">
|
||||
<h3 class="search-results">Search Results</h3>
|
||||
<div id="search-list" class="row">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "html/page.html" %}
|
||||
{% extends "app/website/templates/html/page.html" %}
|
||||
|
||||
{% set title="My Profile" %}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "html/page.html" %}
|
||||
{% extends "app/website/templates/html/page.html" %}
|
||||
|
||||
{% set title=doc.name %}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "html/page.html" %}
|
||||
{% extends "app/website/templates/html/page.html" %}
|
||||
|
||||
{% set title="My Tickets" %}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "html/page.html" %}
|
||||
{% extends "app/website/templates/html/page.html" %}
|
||||
|
||||
{% set title="Blog Writers" %}
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
{% endif %}
|
||||
<hr>
|
||||
{% for blogger_info in bloggers %}
|
||||
{% include "html/blogger.html" %}
|
||||
{% include "app/website/templates/html/blogger.html" %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% include 'html/blog_footer.html' %}
|
||||
{% include 'app/website/templates/html/blog_footer.html' %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user