Segnalazione #67
Base template
0%
Description
Fare una prima versione del template di base per octonet, con:
- nome utente loggato (se loggato)
 - nome server corrente (se loggato)
 - elenco app attive (se loggato)
 - link al logout (se loggato)
 - link al login (se non loggato)
 
Associated revisions
Load font-awesome in base.html. refs: #67
Visually better. refs: #67
Add jquery 3.1.1 and remove old unversioned jquery file. refs: #67
Load new jquery versioned file. refs: #67
Add bootstrap 3.3.7 and remove old unversioned bootstrap files. refs: #67
Load bootstrap in base.html from versioned files. refs: #67
Move the theme under bootstrap's css directory, so that the fonts are correctly found. refs: #67
Load the theme from the new position. refs: #67
Add flags that work ootb with django languages (so en-us and en-gb, for instance) taken from https://www.gosquared.com/resources/flag-icons/ flat set. refs: #67
Get current language and show flag. refs: #67
Fix the dropdown for languages. refs: #67
Include i18n urls. refs: #67
Show server url with the new request.user object. refs: #67
Get serverinfo data. refs: #67
Bootstrapize the template and show apps in the right column. refs: #67
Avoid navbar going over content, with some attention for mobile/narrow screens. refs: #67
Show server info. refs: #67
Title. refs: #67
Show user. refs: #67
Return username in str(). refs: #67
Merge branch 'master' into t67. refs: #67
Every view that inherits from OctonetMixin (including the home view) has the 'logged in' check. refs: #67
Remove unused data. refs: #67
Add rounded transparent logo (the square one were ugly in the navbar, the transparent one cannot be read) and show it in the navbar. refs: #67
s/plugins/apps/. refs: #67
Add main_url to apps. refs: #67
Link to apps' main_url, if available. refs: #67
Left align flags. refs: #67
Add font_awesome_class to apps. refs: #67
Show font awesome icons for apps, defaulting to fa-question-circle when the config is empty. refs: #67
Use the flag from the same package for consistency. refs: #67
Add rounded transparent logo (the square one were ugly in the navbar, the transparent one cannot be read) and show it in the navbar. refs: #67
s/plugins/apps/. refs: #67
Add main_url to apps. refs: #67
Link to apps' main_url, if available. refs: #67
Left align flags. refs: #67
Add font_awesome_class to apps. refs: #67
Show font awesome icons for apps, defaulting to fa-question-circle when the config is empty. refs: #67
Use the flag from the same package for consistency. refs: #67
History
      
      Updated by Mark Caglienzi almost 9 years ago
      
    
    - Status changed from Nuovo to In elaborazione
 - Assignee set to Mark Caglienzi
 
      
      Updated by Mark Caglienzi almost 9 years ago
      
    
    - Status changed from In elaborazione to Commenti
 - Assignee changed from Mark Caglienzi to Enrico Zini
 
- Versionati tutti gli import di asset css e js (jquery 3.1.1, bootstrap 3.3.7, font-awesome 4.7) e integrato il tema nella directory 
css/di bootstrap (perché è lì che bootstrap se lo attende). - Quindi rimosse tutte le directory globali sotto a 
static/trannecss/, che contiene il filebase.csscon i nostri override al css generale. - Messe le immagini delle bandierine sotto a 
static/images/flags/, prese da https://www.gosquared.com/resources/flag-icons/ perché siano tutte coerenti, e con supporto a locale tipoen-us/en-gbsenza workaround/hack nel template. - Aggiunto 
__str__()a User perché restituisca lo username. - Mergiato in master.
 
      
      Updated by Mark Caglienzi almost 9 years ago
      
    
    PS: Il link a logout c'è quando l'utente è loggato, ma il link a login no perché col redirect del middleware non si arriva mai alla pagina di home da non loggati.
      
      Updated by Enrico Zini almost 9 years ago
      
    
    - Assignee changed from Enrico Zini to Mark Caglienzi
 
Alcune messe a punto:
- togliere il carrello della spesa da di fianco a octonet in alto a sinistra
 - allineare a sinistra le bandiere nel popup della lingua in basso a destra
 - rinominare "Available plugins" in "Available apps", visto che nel 2016 tutto si chiama "app"
 - linkare le app a sinistra alla pagina iniziale di ogni app. Per sapere qual è la pagina iniziale di ogni app, puoi aggiungere agli AppConfig un attributo 
main_urlche contenga un link alla pagina principale dell'app. 
      
      Updated by Christopher R. Gabriel almost 9 years ago
      
    
    Per evidenziare la app corrente , ci si puo' ispirare a lineage, app django che usiamo anche altrove.
      
      Updated by Christopher R. Gabriel almost 9 years ago
      
    
    Altra cosa: si potrebbe aggiungere alla app config la class corrisponde di font awesome per mettere una icona associata a ciascun plugin, per usarle sia nel menu di navigazione che nella pagina principale del plugin.
Per la rimozione del carrello a nota 4, ho gia' aggiunto al repository i loghi di FUSs.
      
      Updated by Mark Caglienzi almost 9 years ago
      
    
    - Status changed from In elaborazione to Commenti
 - Assignee changed from Mark Caglienzi to Christopher R. Gabriel
 
- Creato un logo bianco rotondo (quelli trasparenti non si leggono sulla navbar scura, e quelli bianchi quadrati sono brutti sullo scuro) e messo al posto del carrello della spesa nella navbar
 - Cambiato plugins in apps
 - Aggiunto 
main_urlalle app (se non presente, il link non viene creato) - Aggiunto 
font_awesome_classalle app. Se non presente viene mostratofa-question-circleperché tutto sia allineato e perché sia chiaro che c'è qualcosa che non va. - Allineate a sinistra le bandiere nella select delle lingue (cambiata quella inglese che era ancora quella vecchia, tonda, con quella uguale a tutte le altre)
 
Mergiato in master e pushato.
PS: L'evidenziare l'app attiva lo guarderò quando ci sarà la sidebar (ticket #82, su cui torno adesso)
      
      Updated by Christopher R. Gabriel almost 9 years ago
      
    
    - Status changed from Commenti to Chiuso
 
Ok, chiudo.
Add font-awesome 4.7.0. refs: #67