Ticket #3949: extcode-3949_1.patch

File extcode-3949_1.patch, 5.6 kB (added by TimothyClemans, 4 months ago)
  • /dev/null

    old new  
     1@import url('/css/master.css'); 
     2 
     3body { 
     4margin:10px 
     5} 
  • /dev/null

    old new  
     1{% extends "base.html" %} 
     2 
     3{% block title %}Account Recovery{% endblock %} 
     4{% block css %}registration{% endblock %} 
     5 
     6{% block body %} 
     7<div id="wrapper"> 
     8<h1>Account Recovery</h1> 
     9<p>A new password will be emailed to the email address connected to your account. However if you didn't confirm your email address you will be unable to recover your account.</p>   
     10 
     11            <form method="GET" action="/forgotpass"> 
     12 
     13<table> 
     14            <td align=right>Username:</td><td><input type="text" name="username" size="15" /></td></tr> 
     15            <tr><td></td><td align=left><input type="submit" value="Submit" /><input type="button" value="Cancel" style="margin-left:5px" onClick="parent.location='/'"></td></tr> 
     16            </table> </form> 
     17                        </div> 
     18             
     19             
     20{% endblock %} 
  • a/notebook/templates/account_settings.html

    old new  
    33{% block title %}Account Settings{% endblock %} 
    44{% block css %}account_settings{% endblock %} 
    55 
    6 {% block content %} 
     6{% block body %} 
    77<h1>Account Settings</h1> 
    88 
    99  <form method="post" action="/settings"> 
     
    1111    <div class="section"> 
    1212      <h2>Change Auto-Save Interval</h2> 
    1313      <div> 
    14           {{ autosave }} 
    1514Minutes: <select name="autosave"> 
    1615        {% for i, selected in autosave_intervals %} 
    1716    <option{{ selected }}>{{ i }}</option> 
  • a/notebook/templates/base.html

    old new  
    55        <link type="text/css" rel="stylesheet" href="/css/{% block css %}master{% endblock %}.css" media="screen" /> 
    66</head> 
    77<body> 
    8     {% block content %}{% endblock %} 
     8    {% block body %}{% endblock %} 
    99</body> 
    1010</html> 
  • /dev/null

    old new  
     1{% extends "base.html" %} 
     2 
     3{% block css %}main{% endblock %} 
     4 
     5{% block body %} 
     6 
     7        <div class="banner"> 
     8        <table width="100%"><tr><td> 
     9        <a class="banner" href="http://www.sagemath.org"><img align="top" src="/images/sagelogo.png" alt="Sage"> Notebook</a></td><td><span class="ping" id="ping">Searching for Sage server...</span></td> 
     10        </tr></table> 
     11        </div> 
     12 
     13{% block content %} 
     14 
     15{% endblock %} 
     16{% endblock %} 
     17 
  • /dev/null

    old new  
     1{% extends "base_authenticated.html" %} 
     2 
     3{% block title %}Error{% endblock %} 
     4 
     5{% block content %} 
     6<br><a class="usercontrol" href="/">Home</a> 
     7<hr class="usercontrol"> 
     8<br/><br/> 
     9{{ msg }} 
     10<br/><br/> 
     11{% if cont %} 
     12<center><a class="boldusercontrol" href="{{ cont }}"><font size=+1>Continue</font></a></center> 
     13{% endif %} 
     14{% endblock %} 
  • a/notebook/templates/login.html

    old new  
    22 
    33{% block title %}Sign in{% endblock %} 
    44 
    5 {% block content %} 
     5{% block body %} 
    66        <span class="banner"> 
    77        <a class="banner" href="http://www.sagemath.org"><img align="top" src="/images/sagelogo.png" alt="Sage"> Mathematics Software</a>: Welcome! 
    88        </span> 
  • a/notebook/templates/registration.html

    old new  
    44 
    55{% block css %}registration{% endblock %} 
    66 
    7 {% block content %} 
     7{% block body %} 
    88<div id="wrapper"> 
    99<h1>Sign up for a Sage Notebook account</h1> 
    1010{% if error %} 
  • /dev/null

    old new  
     1{% extends "base.html" %} 
     2 
     3{% block title %}User Management{% endblock %} 
     4{% block css %}user_management{% endblock %} 
     5 
     6{% block body %} 
     7<h1>User Management</h1> 
     8<p>Click on a user to see and edit his/her worksheets.</p> 
     9{% for user in users %} 
     10<a href="/home/{{ user }}/">{{ user }}</a><br /> 
     11{% endfor %} 
     12 
     13{% endblock %} 
     14 
  • a/notebook/templates/yes_no.html

    old new  
    22 
    33{% block title %}Confirm{% endblock %} 
    44 
    5 {% block content %} 
     5{% block body %} 
    66<table align=center border=1 cellpadding=20 bgcolor="efefef"> 
    77<tr><td> 
    88{{ message }}