mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-15 04:14:47 +00:00
Merge branch 'master-redesign' of github.com:sharelatex/web-sharelatex into master-redesign
This commit is contained in:
commit
8146a09b42
16 changed files with 43 additions and 312 deletions
|
@ -1,6 +0,0 @@
|
|||
module.exports=
|
||||
|
||||
dropbox: (req, res)->
|
||||
res.render "info/dropbox",
|
||||
title: 'Dropbox with LaTeX'
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
HomeController = require('./HomeController')
|
||||
InfoController = require('./InfoController')
|
||||
|
||||
module.exports =
|
||||
apply: (app) ->
|
||||
|
@ -12,4 +11,4 @@ module.exports =
|
|||
app.get '/planned_maintenance', HomeController.externalPage("planned_maintenance", "Planned Maintenance")
|
||||
app.get '/style', HomeController.externalPage("style_guide", "Style Guide")
|
||||
|
||||
app.get '/dropbox', InfoController.dropbox
|
||||
app.get '/dropbox', HomeController.externalPage("dropbox", "Dropbox and ShareLaTeX")
|
|
@ -1,138 +0,0 @@
|
|||
extends layout
|
||||
|
||||
block content
|
||||
.container
|
||||
.row
|
||||
.span12.span-box
|
||||
.page-header
|
||||
h1 Change Log
|
||||
small Some of the things that have changed on the site
|
||||
#changeLogContent
|
||||
h5 April
|
||||
ul
|
||||
li Added Templates
|
||||
h5 March
|
||||
ul
|
||||
li Improved search and replace
|
||||
li Improved Zip uploads
|
||||
li Improved Zip downloads
|
||||
li Added user bonus page
|
||||
li Added new help pages and knowledge base
|
||||
li Started Dropbox beta
|
||||
li Added 'About Us' page
|
||||
h5 February
|
||||
ul
|
||||
li Built in spell checker
|
||||
li Auto completion of commands
|
||||
li Saved message in bottom left doesn't flicker anymore
|
||||
li Files and folders are order alphabetically in the left hand pane
|
||||
li The root document can now be nested inside a folder
|
||||
li Duplicate project can now be done from inside the project settings
|
||||
h5 January
|
||||
ul
|
||||
li Split view and adjustable size panels added.
|
||||
h5 December
|
||||
ul
|
||||
li Site can now compile with LaTeX, XeLaTeX and pdfLaTeX
|
||||
li Made history/version control functionality
|
||||
li When returning to document the editor scrolls to where you previously where
|
||||
li Added recompile button
|
||||
h5 November
|
||||
ul
|
||||
li Added premium accounts
|
||||
li Updated backend collaberation system to allow multiple instances of the website to be run at the same time for more robustness
|
||||
h5 May - October
|
||||
ul
|
||||
li Lots of work on increasing stability so we can serve our growing user base (thank you!)
|
||||
li Background work to make it possible to record a complete history of changes to your documents
|
||||
h5 18th May
|
||||
ul
|
||||
li changed compiler to be more robust
|
||||
li updated ace editor code with new vim binding
|
||||
li added things to the resources page
|
||||
h5 13th May
|
||||
ul
|
||||
li Added site to chrome web store
|
||||
li cleaned up home page
|
||||
li added mailchimp sign up
|
||||
li added comments page
|
||||
li added link to public projects
|
||||
h5 11th May
|
||||
ul
|
||||
li Added flat view of public projects
|
||||
h5 9th May
|
||||
ul
|
||||
li Fixed bug with deleting projects
|
||||
h5 5th May
|
||||
ul
|
||||
li Lost of changes behind the scenes to improve robustness
|
||||
h5 21st April
|
||||
ul
|
||||
li Increased logging length to 48 hours
|
||||
li Trying to access a project while not logged in redirects to login page rather than restricted
|
||||
h5 20th April
|
||||
ul
|
||||
li Stability update to the compiling
|
||||
h5 16th April
|
||||
ul
|
||||
li When a compile fails user is shown the logs by default
|
||||
h5 11th April
|
||||
ul
|
||||
li Fixed lost connection bug
|
||||
li Fixed bug so large projects will compile (25,000+ words)
|
||||
h5 31st March
|
||||
ul
|
||||
li Added public and read only projects
|
||||
li Added blog post of LNUG talk
|
||||
li Added project upload
|
||||
li Improved safety of site removing edge case of when site crashes data could be potentially lost
|
||||
li Added blank project option when creating new project
|
||||
h5 26th March
|
||||
ul
|
||||
li Update to faq
|
||||
li All js files are now minified including editor
|
||||
h5 21st March
|
||||
ul
|
||||
li Fixed bug with double encoding of PDFs in headers
|
||||
li improved reliability of site
|
||||
h5 17th March
|
||||
ul
|
||||
li Minified JavaScript everywhere but editor
|
||||
h4 16th March
|
||||
ul
|
||||
li Added themes preview
|
||||
li Added Detexify to resources page
|
||||
h4 14th March
|
||||
ul
|
||||
li Added Resources list
|
||||
li Improved application monitoring
|
||||
h4 13th March 2012
|
||||
ul
|
||||
li Improved resilience reducing number of restarts required.
|
||||
li added UTF-8 to default project template
|
||||
li Fixed projects not always deleting
|
||||
h4 11th March 2012
|
||||
ul
|
||||
li Fixed deeply nested documents not being fount
|
||||
h4 8th March 2012
|
||||
ul
|
||||
li improved error handling on projects that don't compile
|
||||
li added more FAQ answers.
|
||||
h4 5th March 2012
|
||||
ul
|
||||
li fixed bug where error logs were not shown, infinite spinning compile
|
||||
li allow users to see raw logs
|
||||
li add change log
|
||||
li added quantcast
|
||||
h4 4th March 2012
|
||||
ul
|
||||
li fixed google plus button
|
||||
h4 3th March 2012
|
||||
ul
|
||||
li fixed dropping connections
|
||||
li fixed problem with missing data in zipped projects
|
||||
h4 2nd March 2012
|
||||
ul
|
||||
li updated 404 page with correct css
|
||||
|
||||
|
|
@ -1,94 +0,0 @@
|
|||
extends ../layout
|
||||
|
||||
block content
|
||||
.container
|
||||
.row
|
||||
.span10.offset1.span-box
|
||||
.page-header
|
||||
h1 Dropbox and LaTeX
|
||||
.long-form-features
|
||||
.row
|
||||
.span5
|
||||
h2 ShareLaTeX Dropbox Sync
|
||||
p LaTeX and Dropbox has never been easier
|
||||
p.subdued ShareLaTeX allows you to link your account
|
||||
| to Dropbox, keeping your LaTeX work synced at all
|
||||
| times. Using LaTeX in a team is made easier with
|
||||
| dropbox allowing your team members to use their own
|
||||
| tools, and work offline if required. With all of
|
||||
| your LaTeX synced to dropbox you never have to worry
|
||||
| about keeping backups of your ShareLaTeX work again.
|
||||
ul
|
||||
li Work Offline
|
||||
li Collaborate with more people
|
||||
li Worry free backups
|
||||
li Use different LaTeX Editors
|
||||
li Easy to add new files into your ShareLaTeX project
|
||||
li Automated backup snapshots
|
||||
.span5
|
||||
img(src="/img/dropbox/dropbox_banner_tall.png", alt="Sync your ShareLaTeX LaTeX using Dropbox").noborder
|
||||
|
||||
center
|
||||
a.btn.btn-large.btn-success(href='/user/subscription/plans') Sign Up Now for Dropbox Sync
|
||||
hr
|
||||
|
||||
.long-form-features
|
||||
.row
|
||||
.span6
|
||||
h2 Work Offline
|
||||
p.subdued Dropbox Sync allows you to work on your
|
||||
| LaTeX offline using Dropbox, then come back to the
|
||||
| updated project in ShareLaTeX, just like you never
|
||||
| left. Being on the move with no internet connection
|
||||
| no longer means you can not work on your LaTeX
|
||||
| project, and Dropbox's great offline capabilities
|
||||
| allows you to use local editors then let Dropbox and
|
||||
| ShareLaTeX take care of the rest.
|
||||
.span4
|
||||
img(src="/img/dropbox/dropbox_progress_bar.png", alt="Dropbox changes are checked for every 15 minutes").short_image
|
||||
|
||||
|
||||
.row
|
||||
.span4
|
||||
img(src="/img/dropbox/share_dropbox_folder.png", alt="share latex folder with other dropbox users").short_image
|
||||
.span6
|
||||
h2 Collaborate with Anyone
|
||||
p.subdued Not everyone wants to use ShareLaTeX, and
|
||||
| sharing your LaTeX files via Dropbox allows you to
|
||||
| collaborate with people who like to use a different
|
||||
| editor. Many people have been using LaTeX for
|
||||
| decades and do not want to move away from the tools
|
||||
| they know so well, but this no longer has to be a reason
|
||||
| to stop you working on a paper with them
|
||||
|
||||
.row
|
||||
.span6
|
||||
h2 LaTeX Backups in Dropbox
|
||||
p.subdued All of your LaTeX files will be safely
|
||||
| stored in Dropbox so you no longer have to worry
|
||||
| about having another backup of your paper.
|
||||
.span4
|
||||
img(src="/img/dropbox/dropbox_logo.png", alt="Sync your ShareLaTeX LaTeX using Dropbox")
|
||||
|
||||
.row
|
||||
.span4
|
||||
img(src="/img/dropbox/document_updated_modal.png", alt="Dropbox changes are checked for every 15 minutes")
|
||||
.span6
|
||||
h2 Easy to Insert Files and Folders into your ShareLaTeX Project
|
||||
p.subdued You can easily add new files into your
|
||||
| LaTeX project by just moving them into your Dropbox;
|
||||
| after a sync they will apear in ShareLaTeX.
|
||||
|
||||
.row
|
||||
.span6
|
||||
h2 Automated Snapshots After Each Update
|
||||
p.subdued Each time a change is detected in Dropbox
|
||||
| ShareLaTeX takes a project snapshot meaning there is
|
||||
| no chance of your changes being lost.
|
||||
.span4
|
||||
img(src="/img/dropbox/history_diff.png", alt="snapshots are taken before changes from Dropbox are applied")
|
||||
|
||||
center
|
||||
a.btn.btn-large.btn-success(href='/user/subscription/plans') Sign Up Now for Dropbox Sync
|
||||
|
||||
include ../general/small-footer
|
|
@ -1,9 +0,0 @@
|
|||
div.fb-like(data-href='https://www.sharelatex.com', ref='#{getReferalId()}', data-send='false', data-layout='box_count', data-width='450', data-show-faces='true', data-font='lucida grande')
|
||||
script(type='text/javascript')
|
||||
(function(d, s, id) {
|
||||
var js, fjs = d.getElementsByTagName(s)[0];
|
||||
if (d.getElementById(id)) {return;}
|
||||
js = d.createElement(s); js.id = id;
|
||||
js.src = '//connect.facebook.net/en_GB/all.js#xfbml=1';
|
||||
fjs.parentNode.insertBefore(js, fjs);
|
||||
}(document, 'script', 'facebook-jssdk'));
|
|
@ -1,25 +0,0 @@
|
|||
a(onclick='postToFeed(); return false;').facebook Post on Facebook
|
||||
|
||||
script(src='http://connect.facebook.net/en_US/all.js')
|
||||
script(type='text/javascript')
|
||||
FB.init({appId: "148710621956179", status: true, cookie: true});
|
||||
|
||||
function postToFeed() {
|
||||
|
||||
// calling the API ...
|
||||
var obj = {
|
||||
method: 'feed',
|
||||
redirect_uri: 'https://www.sharelatex.com',
|
||||
link: '#{buildReferalUrl()}',
|
||||
picture: 'https://www.sharelatex.com/brand/logo/logosmall.png',
|
||||
name: 'ShareLaTeX - Online LaTeX Editor',
|
||||
caption: 'Free Unlimited Projects and Compiles',
|
||||
description: 'ShareLaTeX is a free Online LaTeX Editor. Real time collaboration like Google Docs, with Dropbox, history and Auto Complete'
|
||||
};
|
||||
|
||||
//function callback(response) {
|
||||
// document.getElementById('msg').innerHTML = "Post ID: " + response['post_id'];
|
||||
//}
|
||||
|
||||
FB.ui(obj, callback);
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
<g:plusone size='tall' href='https://www.sharelatex.com'></g:plusone>
|
||||
|
||||
script(type='text/javascript')
|
||||
window.___gcfg = {lang: 'en-GB'};
|
||||
|
||||
(function() {
|
||||
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
||||
po.src = 'https://apis.google.com/js/plusone.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
|
||||
})();
|
|
@ -1,2 +0,0 @@
|
|||
a(href='https://twitter.com/share', counturl='https://www.sharelatex.com', data-text="is trying out online latex editor ShareLaTeX #{buildReferalUrl()}", data-count='vertical').twitter-share-button Tweet
|
||||
script(type='text/javascript', src='//platform.twitter.com/widgets.js')
|
|
@ -1,2 +0,0 @@
|
|||
a(href='https://twitter.com/share', counturl='https://www.sharelatex.com', data-text="is trying out online latex editor ShareLaTeX #{buildReferalUrl()}", data-count='none').twitter Tweet about us
|
||||
script(type='text/javascript', src='//platform.twitter.com/widgets.js')
|
|
@ -20,7 +20,7 @@ block content
|
|||
placeholder='email@example.com',
|
||||
ng-model="email",
|
||||
ng-model-options="{ updateOn: 'blur' }",
|
||||
autofocus
|
||||
focus="true"
|
||||
)
|
||||
span.small.text-primary(ng-show="loginForm.email.$invalid && loginForm.email.$dirty")
|
||||
| Must be an email address
|
||||
|
|
|
@ -32,7 +32,7 @@ block content
|
|||
ng-model="email",
|
||||
ng-init="email = #{JSON.stringify(new_email)}",
|
||||
ng-model-options="{ updateOn: 'blur' }",
|
||||
autofocus
|
||||
focus="true"
|
||||
)
|
||||
span.small.text-primary(ng-show="registerForm.email.$invalid && registerForm.email.$dirty")
|
||||
| Must be an email address
|
||||
|
|
|
@ -55,6 +55,17 @@ define [
|
|||
selectName(element)
|
||||
}
|
||||
|
||||
|
||||
App.directive "focus", ($timeout) ->
|
||||
scope:
|
||||
trigger: "@focus"
|
||||
|
||||
link: (scope, element) ->
|
||||
scope.$watch "trigger", (value) ->
|
||||
if value is "true"
|
||||
$timeout ->
|
||||
element[0].focus()
|
||||
|
||||
selectName = (element) ->
|
||||
# Select up to last '.'. I.e. everything
|
||||
# except the file extension
|
||||
|
|
27
services/web/public/stylesheets/app/features.less
Normal file
27
services/web/public/stylesheets/app/features.less
Normal file
|
@ -0,0 +1,27 @@
|
|||
.long-form-features {
|
||||
h2 {
|
||||
margin-top: 0;
|
||||
margin-bottom: @line-height-computed;
|
||||
}
|
||||
img {
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
h3 {
|
||||
margin: 0;
|
||||
}
|
||||
p {
|
||||
color: @gray
|
||||
}
|
||||
i {
|
||||
color: lighten(@blue, 15%);
|
||||
}
|
||||
|
||||
.row {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
}
|
|
@ -112,24 +112,3 @@
|
|||
background: url('/img/pattern-home.png') repeat #f1f1f1;
|
||||
border-top: 1px solid @gray-lightest;
|
||||
}
|
||||
|
||||
.long-form-features {
|
||||
h2 {
|
||||
margin-top: 0;
|
||||
margin-bottom: @line-height-computed;
|
||||
}
|
||||
img {
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
}
|
||||
h3 {
|
||||
margin: 0;
|
||||
}
|
||||
p {
|
||||
color: @gray
|
||||
}
|
||||
i {
|
||||
color: lighten(@blue, 15%);
|
||||
}
|
||||
}
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
* {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
// Headings
|
||||
|
|
|
@ -63,4 +63,4 @@
|
|||
@import "app/bonus.less";
|
||||
@import "app/register.less";
|
||||
@import "app/blog.less";
|
||||
@import "app/templates.less";
|
||||
@import "app/features.less";
|
||||
|
|
Loading…
Reference in a new issue