Initial commit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
})();
|
||||
50
api-wiaas/client/js/components/contact/contact.less
Normal file
50
api-wiaas/client/js/components/contact/contact.less
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user