Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zarovnani prednasek "mimo" grid #3

Open
jmlich opened this issue Jan 25, 2016 · 3 comments
Open

zarovnani prednasek "mimo" grid #3

jmlich opened this issue Jan 25, 2016 · 3 comments

Comments

@jmlich
Copy link
Contributor

jmlich commented Jan 25, 2016

Bylo by dobre umoznit zarovnat prednasku mimo mrizku.
Napriklad:

  • chci mit 5m prestavky a zacatky zarovnane po pul hodine.
  • soucasne chci aby prestavky byli v rozvrhu videt
  • v pripade p2d2 jsem nastavil interval po 5 minutach a jednoduchy program od 8h-17h ma na vysku 4000px (pres 3 stranky)
@pkubatrh
Copy link
Contributor

Zkousel jsem se mrknout na to, jak by se to dalo resit. V podstate bude nutne pridat nejakou hodnotu N, ktera bude udavat casovy usek v minutach, ktery zaujme jeden radek tabulky, pokud v ni bude naplanovana prednaska. Volne radky pak budou klasicke delky (prestavky).
Pak me napadly zatim jen dve moznosti, jak pristupovat k prednaskam:

  1. Vsechny prednasky budou delitelne N. Tedy pro N=30m budou prednasky delek 30,60,90 ... Pri pouziti tohoto zpusobu pokud budou nekde prestavky mensi velikosti (10m), tak musi byt zaroven ve vsech mistnostech.
    https://ctrlv.cz/f0zs
  2. Vsechny prednasky budou delitelne N, ale budou v sobe mit zapocitany cas prestavek. Tedy pro N=30m a prestavku=10m to bude 30,70,110 ... Timto zpusobem je mozne mit prestavky jen v nekterych mistnostech, ale pokud by tam ta prestavka nebyla a misto toho zacinala jina prednaska, tak je to problem.
    https://ctrlv.cz/Xk0I

@jmlich
Copy link
Contributor Author

jmlich commented Jan 26, 2016

v tomto pripade neni nutne drag n drop presouvani. v advanced bude textove pole kde se zadaji casy od do.

pkubatrh pushed a commit that referenced this issue Mar 14, 2016
pkubatrh pushed a commit that referenced this issue Mar 16, 2016
@jmlich
Copy link
Contributor Author

jmlich commented Apr 27, 2016

Toto se mi zda hotove. Chybi tady neco?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants