Commit Graph

13 Commits

Author SHA1 Message Date
888e7575f0 Add remarks field to translations 2023-05-04 18:11:40 +02:00
239177db50 Add makeshift image for dark mode 2023-02-11 23:24:19 +01:00
6ae1289400 More styling 2023-02-11 20:05:40 +01:00
ba2949a3bd Add eventlistener for change of day/night mode
And add a static js folder for js-files apart from the asset pipeline.
2023-02-05 20:14:06 +01:00
119ef28746 Add top image 2023-01-31 18:10:18 +01:00
aab04f5ecc Add public_content to translations table and rename lang to language 2023-01-15 17:55:26 +01:00
2075315721 Add unique constraint to Translation
To make sure only one translation per article is possible.
2022-12-30 21:16:06 +01:00
9e9c7b5519 Add Translators/deepl_accounts
mix phx.gen.live Translators DeeplAccount deepl_accounts\
  name:string description:text auth_key:string character_limit:integer\
  character_count:integer our_character_count:integer user_id:references:users
2022-12-26 18:51:30 +01:00
f66521dba8 Add Translations
mix phx.gen.live Translations Translation translations \
  lang:string title:string teaser:text content:map \
  date:utc_datetime user_id:references:users \
  public:boolean unauthorized:boolean article_id:references:articles
2022-12-26 18:45:40 +01:00
f7f1e1a284 Add Articles
mix phx.gen.live Articles Article articles title:string\                                                            /Crucial/git/phoenix-liveview-book
  content:text url:string language:string\
  date:utc_datetime author_id:references:authors
2022-12-26 18:02:29 +01:00
005a9d9337 Add Authors
mix phx.gen.live Authors Author authors name:string description:text homepage_name:string homepage_url:string
2022-12-26 17:12:46 +01:00
ad2f1e8ea0 Add users/authentication with phx.gen.auth 2022-12-26 15:30:06 +01:00
81466c3941 Initial commit
After mix phx.new
2022-12-26 14:55:17 +01:00