Commit graph

21 commits

Author SHA1 Message Date
30c9148092 Move the remaining common css / js to their folders. 2018-02-24 12:51:36 -08:00
56a998682d Create js folder. Move Editor to its own file. 2018-02-24 00:46:55 -08:00
9c6cae7177 Use event listeners instead of setting onkeyup manually. 2018-02-24 00:24:38 -08:00
91d445a877 Add new page /clipboard, with full photo cards. 2018-02-17 19:12:34 -08:00
ef5bbf5fc3 Split HTTP response dict into ["meta"] and ["data"]. 2018-02-17 18:47:17 -08:00
1b631b33e9 Make separate functions for HTTP get / post. 2018-02-17 16:08:38 -08:00
e41532cff1 Rearrange some button CSS classes to be more generic.
Adds CSS variables for the highlight and shadow so they don't need
to be custom-defined for each color of button.
Elements should use more generic classes like green_button instead of
add_tag_button unless there's a good reason.
2017-12-16 14:13:02 -08:00
443d93ce18 Add the clipboard tray where users manage their photo clipboard.
Appearing on search and album pages, the tray is where you can
remove items from your clipboard without having to click on its
checkbox -- that photo card may not even be on the current page.
2017-12-16 03:47:54 -08:00
f69d9d409d Give the editor toolbox a CSS class. 2017-12-08 11:59:27 -08:00
c3c86de7f8 Only navigate to the album on 200. 2017-07-29 15:40:40 -07:00
05d84c733c Add <pre> to the types that get textarea inste of input. 2017-07-16 17:21:37 -07:00
ee555f5f41 Also provide a display_element_map in addition to edit_element_map. 2017-07-13 23:17:47 -07:00
0e17350d84 Add Editor elements for bookmarks. 2017-07-13 23:13:34 -07:00
1f9dd35e89 Add data-editor-empty-text attribute.
When the display element specifies this attribute, it will be used when
the user leaves that field empty.
2017-07-13 23:07:44 -07:00
5a512d8a25 Include an extra, more general css class "editor_button". 2017-07-09 19:51:58 -07:00
6e679f79b6 Add Editor class to generalize in-place editors. 2017-06-14 21:44:18 -07:00
1ad83937b4 Add 'Create Album' endpoint and interface. 2017-05-13 16:13:26 -07:00
956c55ac9a Remove unused code for add-tag-to-all of album.
I'll put it back when I actually make it work.
2017-05-13 15:52:08 -07:00
d18b34f2d9 bind_box_to_button can use ctrl+enter 2017-05-13 15:24:41 -07:00
e5d22e766a Fix usage of request.status 2017-05-05 21:08:32 -07:00
1c30ef5785 Further separate front & back; Create frontends folder
New frontends folder will hold all front-end interfaces for etiquette. Existing flask site moved here and refers to itself as a package with external launcher. etiquette_site renamed to etiquette_flask
2017-05-01 21:49:28 -07:00
Renamed from static/common.js (Browse further)