Initial commit

This commit is contained in:
Senad Uka
2018-06-11 11:09:35 +02:00
commit ed7df7b11f
1954 changed files with 483354 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
(function () {
global.dashModule
.controller('contactPageCtrl', ['$scope', '$http', 'utilsService', contactPageCtrl])
.directive('contactPage', [contactPageDirective]);
function contactPageDirective() {
return {
restrict: 'E',
templateUrl: 'contact/html/contactTemplate'
};
}
function contactPageCtrl($scope, $http, utilsService) {
$scope.contactInfo = [];
$scope.getContactInfo = getContactInfo;
function getContactInfo() {
$http({
method: 'GET',
url: 'contact/api/getContactInfo'
}).then(setContactInfo, utilsService.onHttpError);
}
function setContactInfo(response) {
if(response.data){
$scope.contactInfo = response.data;
}
}
}
})();

View File

@@ -0,0 +1,50 @@
#contact-module{
padding-bottom:3%;
.contact-info-layer{
position: relative;
background: rgba(255, 255, 255, 0.8);
padding: 3%;
margin-top: 1%;
min-height: 460px;
}
.contact-info-box{
font-size: 120%;
margin-top: 1%;
}
.contact-info-title{
margin-bottom: 5%;
border-bottom: 2px solid #000;
}
.info-icon{
display: inline-block;
}
.info-big-text{
display: inline-block;
}
.info-text{
display: inline-block;
margin-left: 5%;
}
.contact-info-addresses-layer{
margin-top: 5%;
}
.contact-info-address{
margin-top: 5%;
}
.contact-info-country{
display: inline-block;
}
.flag-icon{
border-radius: 3px;
}
}