├── log.txt ├── db ├── snote-bak.db └── snote-dev.db ├── app ├── static │ ├── materialize │ │ ├── css │ │ │ ├── gen.bat │ │ │ ├── components │ │ │ │ ├── _mixins.scss │ │ │ │ ├── _icons-material-design.scss │ │ │ │ ├── forms │ │ │ │ │ ├── _forms.scss │ │ │ │ │ ├── _file-input.scss │ │ │ │ │ ├── _switches.scss │ │ │ │ │ ├── _select.scss │ │ │ │ │ ├── _radio-buttons.scss │ │ │ │ │ ├── _range.scss │ │ │ │ │ ├── _checkboxes.css │ │ │ │ │ ├── _input-fields.scss │ │ │ │ │ └── _checkboxes.scss │ │ │ │ ├── _chips.scss │ │ │ │ ├── _carousel.scss │ │ │ │ ├── _table_of_contents.scss │ │ │ │ ├── _tooltip.scss │ │ │ │ ├── _materialbox.scss │ │ │ │ ├── _toast.scss │ │ │ │ ├── _dropdown.scss │ │ │ │ ├── _tabs.scss │ │ │ │ ├── _modal.scss │ │ │ │ ├── _slider.scss │ │ │ │ ├── _typography.scss │ │ │ │ ├── _collapsible.scss │ │ │ │ ├── _roboto.scss │ │ │ │ ├── _cards.scss │ │ │ │ ├── _sideNav.scss │ │ │ │ ├── _grid.scss │ │ │ │ ├── date_picker │ │ │ │ │ ├── _default.time.scss │ │ │ │ │ ├── _default.scss │ │ │ │ │ └── _default.date.scss │ │ │ │ ├── _navbar.scss │ │ │ │ ├── _buttons.scss │ │ │ │ ├── _waves.scss │ │ │ │ └── _normalize.scss │ │ │ └── materialize.scss │ │ ├── font │ │ │ ├── roboto │ │ │ │ ├── Roboto-Bold.eot │ │ │ │ ├── Roboto-Bold.ttf │ │ │ │ ├── Roboto-Thin.eot │ │ │ │ ├── Roboto-Thin.ttf │ │ │ │ ├── Roboto-Bold.woff │ │ │ │ ├── Roboto-Bold.woff2 │ │ │ │ ├── Roboto-Light.eot │ │ │ │ ├── Roboto-Light.ttf │ │ │ │ ├── Roboto-Light.woff │ │ │ │ ├── Roboto-Medium.eot │ │ │ │ ├── Roboto-Medium.ttf │ │ │ │ ├── Roboto-Thin.woff │ │ │ │ ├── Roboto-Thin.woff2 │ │ │ │ ├── Roboto-Light.woff2 │ │ │ │ ├── Roboto-Medium.woff │ │ │ │ ├── Roboto-Medium.woff2 │ │ │ │ ├── Roboto-Regular.eot │ │ │ │ ├── Roboto-Regular.ttf │ │ │ │ ├── Roboto-Regular.woff │ │ │ │ └── Roboto-Regular.woff2 │ │ │ └── material-design-icons │ │ │ │ ├── Material-Design-Icons.eot │ │ │ │ ├── Material-Design-Icons.ttf │ │ │ │ ├── Material-Design-Icons.woff │ │ │ │ └── Material-Design-Icons.woff2 │ │ └── fonts │ │ │ └── roboto │ │ │ ├── Roboto-Bold.eot │ │ │ ├── Roboto-Bold.ttf │ │ │ ├── Roboto-Bold.woff │ │ │ ├── Roboto-Light.eot │ │ │ ├── Roboto-Light.ttf │ │ │ ├── Roboto-Thin.eot │ │ │ ├── Roboto-Thin.ttf │ │ │ ├── Roboto-Thin.woff │ │ │ ├── Roboto-Bold.woff2 │ │ │ ├── Roboto-Light.woff │ │ │ ├── Roboto-Light.woff2 │ │ │ ├── Roboto-Medium.eot │ │ │ ├── Roboto-Medium.ttf │ │ │ ├── Roboto-Medium.woff │ │ │ ├── Roboto-Medium.woff2 │ │ │ ├── Roboto-Regular.eot │ │ │ ├── Roboto-Regular.ttf │ │ │ ├── Roboto-Regular.woff │ │ │ ├── Roboto-Thin.woff2 │ │ │ └── Roboto-Regular.woff2 │ ├── main │ │ ├── images │ │ │ ├── bg.jpg │ │ │ └── bg - 副本.jpg │ │ ├── js │ │ │ └── main.js │ │ └── css │ │ │ └── main.css │ └── simditor │ │ ├── styles │ │ ├── simditor.scss │ │ └── fonticon.scss │ │ ├── images │ │ └── image.png │ │ └── scripts │ │ ├── module.min.js │ │ ├── hotkeys.min.js │ │ ├── simditor-html.js │ │ ├── uploader.min.js │ │ ├── module.js │ │ ├── hotkeys.js │ │ └── uploader.js ├── note │ ├── __init__.py │ ├── form.py │ └── views.py ├── user │ ├── __init__.py │ ├── form.py │ └── views.py ├── main │ ├── __init__.py │ ├── views.py │ └── errors.py ├── templates │ ├── inc │ │ ├── resource_simditor.html │ │ ├── resource_materialize.html │ │ ├── menu.html │ │ └── header.html │ ├── 404.html │ ├── 500.html │ ├── layout │ │ └── layout.html │ ├── detail.html │ ├── login.html │ ├── macro │ │ └── main.html │ ├── signup.html │ ├── index.html │ └── write.html ├── helper.py ├── upload.py ├── crypt.py ├── __init__.py └── models.py ├── .gitignore ├── requirements.txt ├── README.md ├── config ├── __init__.py ├── testing.py └── development.py ├── manage.py └── install.py /log.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /db/snote-bak.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/db/snote-bak.db -------------------------------------------------------------------------------- /db/snote-dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/db/snote-dev.db -------------------------------------------------------------------------------- /app/static/materialize/css/gen.bat: -------------------------------------------------------------------------------- 1 | sass -t compressed materialize.scss materialize.min.css -------------------------------------------------------------------------------- /app/static/main/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/main/images/bg.jpg -------------------------------------------------------------------------------- /app/static/simditor/styles/simditor.scss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | @import 'fonticon'; 4 | @import 'editor'; 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .idea/* 3 | .vscode/ 4 | *.pyc 5 | .tmp/* 6 | config/production.py 7 | db/*.db 8 | .sass-cache -------------------------------------------------------------------------------- /app/static/main/images/bg - 副本.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/main/images/bg - 副本.jpg -------------------------------------------------------------------------------- /app/static/simditor/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/simditor/images/image.png -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Bold.eot -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Bold.ttf -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Thin.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Thin.eot -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Thin.ttf -------------------------------------------------------------------------------- /app/note/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from flask import Blueprint 3 | 4 | note = Blueprint('note', __name__) 5 | 6 | from . import views 7 | -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Bold.woff -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Bold.woff2 -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Light.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Light.eot -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Light.ttf -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Light.woff -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Medium.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Medium.eot -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Medium.ttf -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Thin.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Thin.woff -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Thin.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Thin.woff2 -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Bold.eot -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Bold.ttf -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Bold.woff -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Light.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Light.eot -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Light.ttf -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Thin.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Thin.eot -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Thin.ttf -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Thin.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Thin.woff -------------------------------------------------------------------------------- /app/user/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from flask import Blueprint 3 | 4 | user = Blueprint('user', __name__) 5 | 6 | from . import views 7 | -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Light.woff2 -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Medium.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Medium.woff -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Medium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Medium.woff2 -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Regular.eot -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Regular.ttf -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Regular.woff -------------------------------------------------------------------------------- /app/static/materialize/font/roboto/Roboto-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/roboto/Roboto-Regular.woff2 -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Bold.woff2 -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Light.woff -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Light.woff2 -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Medium.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Medium.eot -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Medium.ttf -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Medium.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Medium.woff -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Medium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Medium.woff2 -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Regular.eot -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Regular.ttf -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Regular.woff -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Thin.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Thin.woff2 -------------------------------------------------------------------------------- /app/main/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from flask import Blueprint 3 | 4 | main = Blueprint('main', __name__) 5 | 6 | from . import views, errors 7 | -------------------------------------------------------------------------------- /app/static/materialize/fonts/roboto/Roboto-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/fonts/roboto/Roboto-Regular.woff2 -------------------------------------------------------------------------------- /app/templates/inc/resource_simditor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/static/materialize/font/material-design-icons/Material-Design-Icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/material-design-icons/Material-Design-Icons.eot -------------------------------------------------------------------------------- /app/static/materialize/font/material-design-icons/Material-Design-Icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/material-design-icons/Material-Design-Icons.ttf -------------------------------------------------------------------------------- /app/static/materialize/font/material-design-icons/Material-Design-Icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/material-design-icons/Material-Design-Icons.woff -------------------------------------------------------------------------------- /app/static/materialize/font/material-design-icons/Material-Design-Icons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keelii/snote/HEAD/app/static/materialize/font/material-design-icons/Material-Design-Icons.woff2 -------------------------------------------------------------------------------- /app/static/materialize/css/components/_mixins.scss: -------------------------------------------------------------------------------- 1 | // @mixin box-shadow-2($args1, $args2) { 2 | // -webkit-box-shadow: $args1, $args2; 3 | // -moz-box-shadow: $args1, $args2; 4 | // box-shadow: $args1, $args2; 5 | // } -------------------------------------------------------------------------------- /app/templates/inc/resource_materialize.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/static/materialize/css/components/_icons-material-design.scss: -------------------------------------------------------------------------------- 1 | /* This is needed for some mobile phones to display the Google Icon font properly */ 2 | .material-icons { 3 | text-rendering: optimizeLegibility; 4 | font-feature-settings: 'liga'; 5 | } 6 | -------------------------------------------------------------------------------- /app/templates/404.html: -------------------------------------------------------------------------------- 1 | {% extends 'layout/layout.html' %} 2 | 3 | {% block body %} 4 | {% include 'inc/header.html' %} 5 | 6 |
Return to home page.
10 | 11 |Return to home page.
10 | 11 |{{ note.content | striptags | truncate(length=500) }}
20 |