Skip to content

Commit

Permalink
New Dev branch, starting private site
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelt25 committed Jun 1, 2017
1 parent 8726f43 commit f779b45
Show file tree
Hide file tree
Showing 32 changed files with 21,057 additions and 113 deletions.
Binary file added css/images/ui-icons_444444_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/ui-icons_555555_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/ui-icons_777620_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/ui-icons_777777_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/ui-icons_cc0000_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/ui-icons_ffffff_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,312 changes: 1,312 additions & 0 deletions css/jquery-ui.css

Large diffs are not rendered by default.

69 changes: 66 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,25 @@ img.logo{
.btn-red:focus{
outline: none !important;
}

.btn-green{
font-family: 'Roboto-Bold';
font-size: 16px;
background-color: #fff;
color: #2ecc71;
border-color: #2ecc71;
border-radius: 15px;
}
.btn-green:hover{
background-color: #2ecc71 !important;
color: #fff !important;
}

.btn-green:focus{
outline: none !important;
}


a.thumbnail.active, a.thumbnail:focus, a.thumbnail:hover{
border: none !important;
outline: none !important;
Expand Down Expand Up @@ -300,6 +319,10 @@ font-family: 'Roboto-Bold';
.form-control{
font-size: 17px;
}

.alert {
padding: 5px
}
/*========== Non-Mobile First Method ==========*/


Expand All @@ -317,7 +340,7 @@ h1.title{

/* Small Devices, Tablets */

@media only screen and (max-width: 768px) {
@media only screen and (max-width: 1115px) {
.navbar-text {
float: left;
/*margin-left: 15px;
Expand All @@ -341,7 +364,7 @@ h1.title{

@media only screen and (max-width: 320px) {}

@media only screen and (max-width:767px) {
@media only screen and (max-width:1115px) {
/*-----End Navar-----*/
#slide-nav .container {
margin: 0!important;
Expand Down Expand Up @@ -376,6 +399,7 @@ h1.title{
width: 100%;
margin: 0;
}

#slide-nav #slidemenu .navbar-nav .dropdown-menu li a {
min-width: 0;
width: 80%;
Expand All @@ -400,6 +424,9 @@ h1.title{
#slide-nav .navbar-form .btn {
width: 100%
}
.navbar-toggle {
display: block;
}
.navbar-nav>li>a:before {
position: absolute;
content: '';
Expand All @@ -414,8 +441,44 @@ h1.title{
#page-content {
margin-top: 70px;
}
.navbar-header {
float: none;
}
.navbar-nav>li {
float: none;
}
}

@media only screen and (min-width:768px) {







@media (min-width: 1116px){


.navbar-header {
float: left;
}
.navbar-toggle {
display: none;
}


}



.expSolar,.expSolar_click{
background-color: #ffa500;
}

.expNocturno, .expNocturno_click{
background-color: #758ddc
}

.padding0{
padding: 0px;
}
Binary file added img/i1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/i2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/i3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/i4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/i5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/montura.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/moon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/sun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 22 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<link rel="stylesheet" href="css/style.css">
<!-- fontsawesome -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- DatePicker -->
<link href="css/jquery-ui.css" rel="stylesheet" type="text/css">
<!-- Google Analytics -->
<script>
window.ga = window.ga || function() {
Expand Down Expand Up @@ -43,7 +45,7 @@
<span class="icon-bar"> </span>
<span class="icon-bar"></span>
</button>
<a href="./" class="navbar-text"><strong>Observatorio Astronómico <br> Francisco Manuel Sánchez</strong></a>
<a href="./inicio" id="logo" class="navbar-text"><strong>Observatorio Astronómico <br> Francisco Manuel Sánchez</strong></a>
</div>

<!-- home -->
Expand All @@ -60,9 +62,19 @@
<li id="equip"><a href="./equipamiento">Equipamiento</a></li>
<li id="about"><a href="./acerca">Acerca de</a></li>
<li id="contact"><a href="./contacto">Contacto</a></li>
<!-- <li><a href="#/reservas">Reservas</a></li>
<li><a href="#/galeria">Galeria</a></li>
<li><a href="#/perfil">Perfil</a></li> -->


<li ng-show='isLogged'><a href="./experimento">Experimentos</a></li>
<!-- <li ng-hide="user.login"><a href="./galeria">Galeria</a></li> -->
<li id="profile" ng-show='isLogged'><a href="./perfil">Perfil</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<!-- <li id="login"><button class="btn btn-warning navbar-btn" type="button" name="button" style="padding: 10px 10px;margin:8px 10px">Inicar sesión</button></li>
<li id="register"><button class="btn btn-danger navbar-btn" type="button" name="button" style="padding: 10px 10px;margin:8px 10px">Registrar</button></li> -->
<li ng-hide='isLogged' id="login"><button ng-click="goLogin()" class="btn btn-success navbar-btn" type="button" name="button" style="padding: 10px 10px;margin:8px 10px">Iniciar sesión</button></li>
<li ng-hide='isLogged' id="register"><button ng-click="goRegister()" class="btn btn-danger navbar-btn" type="button" name="button" style="padding: 10px 10px;margin:8px 10px">Registrar</button></li>
<li ng-show='isLogged'><p class="black navbar-text" style="margin-left: 15px"><strong>Bienvenido</strong></p></li>
<li ng-show='isLogged' id="logout"><button ng-click="toLogout()" class="btn btn-danger navbar-btn" type="button" name="button" style="padding: 10px 10px;margin:8px 10px">Cerrar sesión</button></li>
</ul>
<!-- <ul class="nav navbar-nav navbar-right" ng-show="user.login">
<li>
Expand Down Expand Up @@ -101,16 +113,22 @@
<script src="js/angular.min.js"></script>
<!-- AngularJS route -->
<script src="js/angular-route.min.js"></script>
<!-- AngularJS cookies -->
<script src="js/angular-cookies.min.js"></script>
<!-- AngularJS Sanitize -->
<script src="js/angular-sanitize.min.js"></script>
<!-- routes.js -->
<script src="js/app.js"></script>
<!-- Controllers -->
<script src="js/controllers.js"></script>
<!-- Services -->
<script src="services/service.js"></script>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.min.js"></script>
<!-- Bootstrap js-->
<script src="js/bootstrap.min.js"></script>
<!-- jquery-ui -->
<script src="js/jquery-ui.js"></script>
<!-- Script js -->
<script src="js/script.js"></script>
</body>
Expand Down
9 changes: 9 additions & 0 deletions js/angular-cookies.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 21 additions & 8 deletions js/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var app = angular.module('observatorioapp', ['ngRoute', 'ngSanitize']);
var app = angular.module('observatorioapp', ['ngRoute', 'ngSanitize','ngCookies']);

// URL prefix
app.config(['$locationProvider', function($locationProvider) {
Expand Down Expand Up @@ -36,10 +36,26 @@ app.config(function($routeProvider) {
templateUrl: 'views/contact.html',
controller: 'contactoController'
})
// .when('/inicio', {
// templateUrl: 'views/inicio.html',
// controller: 'inicioController'
// })
.when('/registrar', {
templateUrl: 'views/register.html',
controller: 'registrarController'
})
.when('/iniciarsesion', {
templateUrl: 'views/register.html',
controller: 'loginController'
})
.when('/experimento', {
templateUrl: 'views/experiment.html',
controller: 'experimentoController'
})
.when('/perfil', {
templateUrl: 'views/profile.html',
controller: 'perfilController'
})
.when('/observacion', {
templateUrl: 'views/observation.html',
controller: 'observacionController'
})
.otherwise({
redirectTo: function(){
return '/inicio'
Expand All @@ -65,7 +81,4 @@ app.config(function($routeProvider) {
// templateUrl: 'views/profile.html',
// controller: ''
// })


// $locationProvider.html5Mode(true);
})
Loading

0 comments on commit f779b45

Please sign in to comment.