Posts by Vinicius • 243 points
4 posts
-
0
votes1
answer47
viewsA: How to allow the choice of a theme on the site, through a css file and cache memory?
You can save which theme was chosen through localStorage. localStorage.setItem('tema', 'branco'); To recover the saved value use the method localStorage.getItem var tema =…
-
1
votes2
answers309
viewsA: NG-SHOW in Angularjs after Filter application
Use the same filter that returns the link list as the ng-show parameter: <h5 class="sidebar-title" ng-show="menu_side_bar | filter:{grupo_menu: menu_categoria.grupo_menu,…
-
1
votes1
answer732
viewsA: Recover Input File with Angular Js
There is yes, see this directive: https://github.com/ghostbar/angular-file-model There’s a preview here: http://plnkr.co/edit/0ZHCsR?p=preview…
-
12
votes3
answers611
viewsQ: How to ensure that a service is always running on Centos?
I created a startup script for my application in Centos, so I can use the commands below to initialize/stop the application: service django_app start service django_app stop How do I ensure this…