diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5213380..0000000 --- a/.gitignore +++ /dev/null @@ -1,54 +0,0 @@ -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion - -*.iml - -## Directory-based project format: -.idea/ -# if you remove the above rule, at least ignore the following: - -# User-specific stuff: -# .idea/workspace.xml -# .idea/tasks.xml -# .idea/dictionaries - -# Sensitive or high-churn files: -# .idea/dataSources.ids -# .idea/dataSources.xml -# .idea/sqlDataSources.xml -# .idea/dynamic.xml -# .idea/uiDesigner.xml - -# Gradle: -# .idea/gradle.xml -# .idea/libraries - -# Mongo Explorer plugin: -# .idea/mongoSettings.xml - -## File-based project format: -*.ipr -*.iws - -## Plugin-specific files: - -# IntelliJ -/out/ - -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml - -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties - -node_modules -gulp.1 -build - -/src/release -/release -/bower_components diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index aad431b..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,4 +0,0 @@ -v1.1.1 - 11 Apr 2016 --------------------- -- Improved scrolling performance, fixes #2 -- Set 0.9.5 version for the Chartist library by default, fixes #5 diff --git a/LICENSE.txt b/LICENSE.txt deleted file mode 100644 index 6e8bd7c..0000000 --- a/LICENSE.txt +++ /dev/null @@ -1,10 +0,0 @@ -The MIT License (MIT) -Copyright (c) 2016 Akvemus GSC - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -Status API Training Shop Blog About -© 2016 GitHub, Inc. Terms Privacy Security Contact Help diff --git a/README.md b/README.md deleted file mode 100644 index 3ed5262..0000000 --- a/README.md +++ /dev/null @@ -1,51 +0,0 @@ -# Blur Admin HTML template - -Admin template made with ♥ by [Akveo team](http://akveo.com/). Follow us on [Twitter](https://twitter.com/akveo_inc) to get latest news about this template first! - -We put a lot of efforts to bring together latest and the most trending web design approaches, while creating this template. -Every color, character or image was carefully selected by our team to provide the best experience possible. -We're very proud of it and like it very much. We also hope that you will enjoy it as well. - -It's just a first version, but we will continue development of this template to create not just another bootstrap customization, but the whole HTML framework that can be applied in a lot of places. - -## Theme Demo -![alt tag](http://i.imgur.com/yOZPlps.jpg) -**[Template Demo](http://akveo.com/blur-admin/#/dashboard)** - -## Getting Started - -### Installation -* Install [git](https://git-scm.com/) and clone the repository `git clone https://github.com/akveo/blur-admin.git` -* Download and install nodejs [https://nodejs.org](https://nodejs.org) -* Open the console inside of the cloned folder and run `npm install` to fetch all dependencies - -### Development -To run the template in the development mode use `gulp serve`. This will start a local build-in server on your machine bind to [http://localhost:3000](http://localhost:3000) address. - -### Production -In case if you just need the template ready for production usage run `gulp` command. This will create a `release\` folder with freshly built files. - -Enjoy the beauty! - -## Features -* Responsive layout -* High resolution -* Bootstrap CSS Framework -* Sass -* Gulp build -* AngularJS -* Jquery -* Jquery ui -* Charts (amChart, Chartist, Chart.js, Morris) -* Maps (Google, Leaflet, amMap) -* etc - -License -------------- -MIT license. - -### From akveo - -Enjoy! - -Made with ♥ by [Akveo team](http://akveo.com/). diff --git a/articles/another-test/index.html b/articles/another-test/index.html new file mode 100644 index 0000000..5c36319 --- /dev/null +++ b/articles/another-test/index.html @@ -0,0 +1,146 @@ + + + + + + + + BlurAdmin documentation - Code and stuff! + + + + + +
+ +
+ +
+

Code and stuff!

+

Syntax highlighting with highlight.js. +The theme used is tomorrow, you can find more themes here.

+

+

JavaScript

+
function getRandomNumber() {
+    return 4; // chosen by fair dice roll.
+              // guaranteed to be random.
+}
+
+

CoffeeScript

+
class Animal
+  ### Intellegent design ###
+  getDNA: ->
+    print 'sequencing...'
+    while true
+      sleep 1
+
+class Monkey extends Animal
+  speak: ->
+    print 'ah ah ah'
+
+class Human extends Monkey
+  speak: ->
+    print ['yolo' unless i % 3] + ['swag' unless i % 5] or i for i in [1..100]
+
+

C

+
#include <stdio.h>
+
+int main(void)
+{
+  printf("Hello world\n");
+  return 0;
+}
+
+

C++

+
#include <iostream>
+
+int main()
+{
+  std::cout << "Hello World!" << std::endl;
+  return 0;
+}
+
+

C-sharp

+
class ExampleClass
+{
+    static void Main()
+    {
+        System.Console.WriteLine("Hello, world!");
+    }
+}
+
+

Erlang

+
io:format("~s~n", ["hello, world"])
+
+

Go

+
package main
+
+import "fmt"
+
+func main() {
+   fmt.Println("Hello World!")
+}
+
+

Java

+
public class HelloWorld {
+   public static void main(String[] args) {
+       System.out.println("Hello world!");
+   }
+}
+
+

ObjectiveC

+
#import <stdio.h>
+
+int main(void)
+{
+    printf("Hello, World!\n");
+    return 0;
+}
+
+

PHP

+
<?php echo 'Hello, world'; ?>
+
+

Python

+
print("Hello World")
+
+

Ruby

+
puts "Hello world!"
+
+ +
+
+ +
+ + \ No newline at end of file diff --git a/articles/bamboo-cutter/index.html b/articles/bamboo-cutter/index.html new file mode 100644 index 0000000..92fb075 --- /dev/null +++ b/articles/bamboo-cutter/index.html @@ -0,0 +1,146 @@ + + + + + + + + BlurAdmin documentation - Taketori Monogatari + + + + + +
+ +
+ +
+

Taketori Monogatari

+

Long, long ago, there lived an old bamboo wood-cutter.

+

He was very poor and sad also, for no child had Heaven sent to cheer his old age, and in his heart there was no hope of rest from work till he died and was laid in the quiet grave. Every morning he went forth into the woods and hills wherever the bamboo reared its lithe green plumes against the sky. When he had made his choice, he would cut down these feathers of the forest, and splitting them lengthwise, or cutting them into joints, would carry the bamboo wood home and make it into various articles for the household, and he and his old wife gained a small livelihood by selling them.

+

+

Taketori Monogatari

+

One morning as usual he had gone out to his work, and having found a nice clump of bamboos, had set to work to cut some of them down. Suddenly the green grove of bamboos was flooded with a bright soft light, as if the full moon had risen over the spot. Looking round in astonishment, he saw that the brilliance was streaming from one bamboo. The old man. full of wonder. dropped his ax and went towards the light. On nearer approach he saw that this soft splendor came from a hollow in the green bamboo stem, and still more wonderful to behold, in the midst of the brilliance stood a tiny human being, only three inches in height, and exquisitely beautiful in appearance.

+

“You must be sent to be my child, for I find you here among the bamboos where lies my daily work,” said the old man, and taking the little creature in his hand he took it home to his wife to bring up. The tiny girl was so exceedingly beautiful and so small, that the old woman put her into a basket to safeguard her from the least possibility of being hurt in any way.

+

The old couple were now very happy, for it had been a lifelong regret that they had no children of their own, and with joy they now expended all the love of their old age on the little child who had come to them in so marvelous a manner.

+

From this time on, the old man often found gold in the notches of the bamboos when he hewed them down and cut them up; not only gold, but precious stones also, so that by degrees he became rich. He built himself a fine house, and was no longer known as the poor bamboo woodcutter, but as a wealthy man.

+

Three months passed quickly away, and in that time the bamboo child had, wonderful to say, become a full-grown girl, so her foster- parents did up her hair and dressed her in beautiful kimonos. She was of such wondrous beauty that they placed her behind the screens like a princess, and allowed no one to see her, waiting upon her themselves. It seemed as if she were made of light, for the house was filled with a soft shining, so that even in the dark of night it was like daytime. Her presence seemed to have a benign influence on those there. Whenever the old man felt sad, he had only to look upon his foster-daughter and his sorrow vanished, and he became as happy as when he was a youth.

+

At last the day came for the naming of their new-found child, so the old couple called in a celebrated name-giver, and he gave her the name of Princess Moonlight, because her body gave forth so much soft bright light that she might have been a daughter of the Moon God.

+

For three days the festival was kept up with song and dance and music. All the friends and relations of the old couple were present, and great was their enjoyment of the festivities held to celebrate the naming of Princess Moonlight. Everyone who saw her declared that there never had been seen any one so lovely; all the beauties throughout the length and breadth of the land would grow pale beside her, so they said. The fame of the Princess’s loveliness spread far and wide, and many were the suitors who desired to win her hand, or even so much as to see her.

+

Suitors from far and near posted themselves outside the house, and made little holes in the fence, in the hope of catching a glimpse of the Princess as she went from one room to the other along the veranda. They stayed there day and night, sacrificing even their sleep for a chance of seeing her, but all in vain. Then they approached the house, and tried to speak to the old man and his wife or some of the servants, but not even this was granted them.

+

Still, in spite of all this disappointment they stayed on day after day, and night after night, and counted it as nothing, so great was their desire to see the Princess.

+

At last, however, most of the men, seeing how hopeless their quest was, lost heart and hope both, and returned to their homes. All except five Knights, whose ardor and determination, instead of waning, seemed to wax greater with obstacles. These five men even went without their meals, and took snatches of whatever they could get brought to them, so that they might always stand outside the dwelling. They stood there in all weathers, in sunshine and in rain.

+

Sometimes they wrote letters to the Princess, but no answer was vouchsafed to them. Then when letters failed to draw any reply, they wrote poems to her telling her of the hopeless love which kept them from sleep, from food, from rest, and even from their homes. Still Princes Moonlight gave no sign of having received their verses.

+

In this hopeless state the winter passed. The snow and frost and the cold winds gradually gave place to the gentle warmth of spring. Then the summer came, and the sun burned white and scorching in the heavens above and on the earth beneath, and still these faithful Knights kept watch and waited. At the end of these long months they called out to the old bamboo-cutter and entreated him to have some mercy upon them and to show them the Princess, but he answered only that as he was not her real father he could not insist on her obeying him against her wishes.

+

The five Knights on receiving this stern answer returned to their several homes, and pondered over the best means of touching the proud Princess’s heart, even so much as to grant them a hearing. They took their rosaries in hand and knelt before their household shrines, and burned precious incense, praying to Buddha to give them their heart’s desire. Thus several days passed, but even so they could not rest in their homes.

+

So again they set out for the bamboo-cutter’s house. This time the old man came out to see them, and they asked him to let them know if it was the Princess’s resolution never to see any man whatsoever, and they implored him to speak for them and to tell her the greatness of their love, and how long they had waited through the cold of winter and the heat of summer, sleepless and roofless through all weathers, without food and without rest, in the ardent hope of winning her, and they were willing to consider this long vigil as pleasure if she would but give them one chance of pleading their cause with her.

+

The old man lent a willing ear to their tale of love, for in his inmost heart he felt sorry for these faithful suitors and would have liked to see his lovely foster-daughter married to one of them. So he went in to Princess Moonlight and said reverently:

+

“Although you have always seemed to me to be a heavenly being, yet I have had the trouble of bringing you up as my own child and you have been glad of the protection of my roof. Will you refuse to do as I wish?”

+

Then Princess Moonlight replied that there was nothing she would not do for him, that she honored and loved him as her own father, and that as for herself she could not remember the time before she came to earth.

+

The old man listened with great joy as she spoke these dutiful words. Then he told her how anxious he was to see her safely and happily married before he died.

+

“I am an old man, over seventy years of age, and my end may come any time now. It is necessary and right that you should see these five suitors and choose one of them.”

+

“Oh, why,” said the Princess in distress, “must I do this? I have no wish to marry now.”

+

“I found you,” answered the old man, “many years ago, when you were a little creature three inches high, in the midst of a great white light. The light streamed from the bamboo in which you were hid and led me to you. So I have always thought that you were more than mortal woman. While I am alive it is right for you to remain as you are if you wish to do so, but some day I shall cease to be and who will take care of you then? Therefore I pray you to meet these five brave men one at a time and make up your mind to marry one of them!”

+

Then the Princess answered that she felt sure that she was not as beautiful as perhaps report made her out to be, and that even if she consented to marry any one of them, not really knowing her before, his heart might change afterwards. So as she did not feel sure of them, even though her father told her they were worthy Knights, she did not feel it wise to see them.

+

“All you say is very reasonable,” said the old man, “but what kind of men will you consent to see? I do not call these five men who have waited on you for months, light-hearted. They have stood outside this house through the winter and the summer, often denying themselves food and sleep so that they may win you. What more can you demand?”

+

Then Princess Moonlight said she must make further trial of their love before she would grant their request to interview her. The five warriors were to prove their love by each bringing her from distant countries something that she desired to possess.

+

That same evening the suitors arrived and began to play their flutes in turn, and to sing their self-composed songs telling of their great and tireless love. The bamboo-cutter went out to them and offered them his sympathy for all they had endured and all the patience they had shown in their desire to win his foster-daughter. Then he gave them her message, that she would consent to marry whosoever was successful in bringing her what she wanted. This was to test them.

+

The five all accepted the trial, and thought it an excellent plan, for it would prevent jealousy between them.

+

Princess Moonlight then sent word to the First Knight that she requested him to bring her the stone bowl which had belonged to Buddha in India.

+

The Second Knight was asked to go to the Mountain of Horai, said to be situated in the Eastern Sea, and to bring her a branch of the wonderful tree that grew on its summit. The roots of this tree were of silver, the trunk of gold, and the branches bore as fruit white jewels.

+

The Third Knight was told to go to China and search for the fire-rat and to bring her its skin.

+

The Fourth Knight was told to search for the dragon that carried on its head the stone radiating five colors and to bring the stone to her.

+

The Fifth Knight was to find the swallow which carried a shell in its stomach and to bring the shell to her.

+

The old man thought these very hard tasks and hesitated to carry the messages, but the Princess would make no other conditions. So her commands were issued word for word to the five men who, when they heard what was required of them, were all disheartened and disgusted at what seemed to them the impossibility of the tasks given them and returned to their own homes in despair.

+

But after a time, when they thought of the Princess, the love in their hearts revived for her, and they resolved to make an attempt to get what she desired of them.

+

The First Knight sent word to the Princess that he was starting out that day on the quest of Buddha’s bowl, and he hoped soon to bring it to her. But he had not the courage to go all the way to India, for in those days traveling was very difficult and full of danger, so he went to one of the temples in Kyoto and took a stone bowl from the altar there, paying the priest a large sum of money for it. He then wrapped it in a cloth of gold and, waiting quietly for three years, returned and carried it to the old man.

+

Princess Moonlight wondered that the Knight should have returned so soon. She took the bowl from its gold wrapping, expecting it to make the room full of light, but it did not shine at all, so she knew that it was a sham thing and not the true bowl of Buddha. She returned it at once and refused to see him. The Knight threw the bowl away and returned to his home in despair. He gave up now all hopes of ever winning the Princess.

+

The Second Knight told his parents that he needed change of air for his health, for he was ashamed to tell them that love for the Princess Moonlight was the real cause of his leaving them. He then left his home, at the same time sending word to the Princess that he was setting out for Mount Horai in the hope of getting her a branch of the gold and silver tree which she so much wished to have. He only allowed his servants to accompany him half-way, and then sent them back. He reached the seashore and embarked on a small ship, and after sailing away for three days he landed and employed several carpenters to build him a house contrived in such a way that no one could get access to it. He then shut himself up with six skilled jewelers, and endeavored to make such a gold and silver branch as he thought would satisfy the Princess as having come from the wonderful tree growing on Mount Horai. Every one whom he had asked declared that Mount Horai belonged to the land of fable and not to fact.

+

When the branch was finished, he took his journey home and tried to make himself look as if he were wearied and worn out with travel. He put the jeweled branch into a lacquer box and carried it to the bamboo-cutter, begging him to present it to the Princess.

+

The old man was quite deceived by the travel-stained appearance of the Knight, and thought that he had only just returned from his long journey with the branch. So he tried to persuade the Princess to consent to see the man. But she remained silent and looked very sad. The old man began to take out the branch and praised it as a wonderful treasure to be found nowhere in the whole land. Then he spoke of the Knight, how handsome and how brave he was to have undertaken a journey to so remote a place as the Mount of Horai.

+

Princess Moonlight took the branch in her hand and looked at it carefully. She then told her foster-parent that she knew it was impossible for the man to have obtained a branch from the gold and silver tree growing on Mount Horai so quickly or so easily, and she was sorry to say she believed it artificial.

+

The old man then went out to the expectant Knight, who had now approached the house, and asked where he had found the branch. Then the man did not scruple to make up a long story.

+

“Two years ago I took a ship and started in search of Mount Horai. After going before the wind for some time I reached the far Eastern Sea. Then a great storm arose and I was tossed about for many days, losing all count of the points of the compass, and finally we were blown ashore on an unknown island. Here I found the place inhabited by demons who at one time threatened to kill and eat me. However, I managed to make friends with these horrible creatures, and they helped me and my sailors to repair the boat, and I set sail again. Our food gave out, and we suffered much from sickness on board. At last, on the five-hundredth day from the day of starting, I saw far off on the horizon what looked like the peak of a mountain. On nearer approach, this proved to be an island, in the center of which rose a high mountain. I landed, and after wandering about for two or three days, I saw a shining being coming towards me on the beach, holding in his hands a golden bowl. I went up to him and asked him if I had, by good chance, found the island of Mount Horai, and he answered:”

+

“‘Yes, this is Mount Horai!’”

+

“With much difficulty I climbed to the summit, here stood the golden tree growing with silver roots in the ground. The wonders of that strange land are many, and if I began to tell you about them I could never stop. In spite of my wish to stay there long, on breaking off the branch I hurried back. With utmost speed it has taken me four hundred days to get back, and, as you see, my clothes are still damp from exposure on the long sea voyage. I have not even waited to change my raiment, so anxious was I to bring the branch to the Princess quickly.”

+

Just at this moment the six jewelers, who had been employed on the making of the branch, but not yet paid by the Knight, arrived at the house and sent in a petition to the Princess to be paid for their labor. They said that they had worked for over a thousand days making the branch of gold, with its silver twigs and its jeweled fruit, that was now presented to her by the Knight, but as yet they had received nothing in payment. So this Knight’s deception was thus found out, and the Princess, glad of an escape from one more importunate suitor, was only too pleased to send back the branch. She called in the workmen and had them paid liberally, and they went away happy. But on the way home they were overtaken by the disappointed man. who beat them till they were nearly dead, for letting out the secret, and they barely escaped with their lives. The Knight then returned home, raging in his heart; and in despair of ever winning the Princess gave up society and retired to a solitary life among the mountains.

+

Now the Third Knight had a friend in China, so he wrote to him to get the skin of the fire-rat. The virtue of any part of this animal was that no fire could harm it. He promised his friend any amount of money he liked to ask if only he could get him the desired article. As soon as the news came that the ship on which his friend had sailed home had come into port, he rode seven days on horseback to meet him. He handed his friend a large sum of money, and received the fire-rat’s skin. When he reached home he put it carefully in a box and sent it in to the Princess while he waited outside for her answer.

+

The bamboo-cutter took the box from the Knight and, as usual, carried it in to her and tried to coax her to see the Knight at once, but Princess Moonlight refused, saying that she must first put the skin to test by putting it into the fire. If it were the real thing it would not burn. So she took off the crape wrapper and opened the box, and then threw the skin into the fire. The skin crackled and burnt up at once, and the Princess knew that this man also had not fulfilled his word. So the Third Knight failed also.

+

Now the Fourth Knight was no more enterprising than the rest. Instead of starting out on the quest of the dragon bearing on its head the five-color-radiating jewel, he called all his servants together and gave them the order to seek for it far and wide in Japan and in China, and he strictly forbade any of them to return till they had found it.

+

His numerous retainers and servants started out in different directions, with no intention, however, of obeying what they considered an impossible order. They simply took a holiday, went to pleasant country places together, and grumbled at their master’s unreasonableness.

+

The Knight meanwhile, thinking that his retainers could not fail to find the jewel, repaired to his house, and fitted it up beautifully for the reception of the Princess, he felt so sure of winning her.

+

One year passed away in weary waiting, and still his men did not return with the dragon-jewel. The Knight became desperate. He could wait no longer, so taking with him only two men he hired a ship and commanded the captain to go in search of the dragon; the captain and the sailors refused to undertake what they said was an absurd search, but the Knight compelled them at last to put out to sea.

+

When they had been but a few days out they encountered a great storm which lasted so long that, by the time its fury abated, the Knight had determined to give up the hunt of the dragon. They were at last blown on shore, for navigation was primitive in those days. Worn out with his travels and anxiety, the fourth suitor gave himself up to rest. He had caught a very heavy cold, and had to go to bed with a swollen face.

+

The governor of the place, hearing of his plight, sent messengers with a letter inviting him to his house. While he was there thinking over all his troubles, his love for the Princess turned to anger, and he blamed her for all the hardships he had undergone. He thought that it was quite probable she had wished to kill him so that she might be rid of him, and in order to carry out her wish had sent him upon his impossible quest.

+

At this point all the servants he had sent out to find the jewel came to see him, and were surprised to find praise instead of displeasure awaiting them. Their master told them that he was heartily sick of adventure, and said that he never intended to go near the Princess’s house again in the future.

+

Like all the rest, the Fifth Knight failed in his quest–he could not find the swallow’s shell.

+

By this time the fame of Princess Moonlight’s beauty had reached the ears of the Emperor, and he sent one of the Court ladies to see if she were really as lovely as report said; if so he would summon her to the Palace and make her one of the ladies-in-waiting.

+

When the Court lady arrived, in spite of her father’s entreaties, Princess Moonlight refused to see her. The Imperial messenger insisted, saying it was the Emperor’s order. Then Princess Moonlight told the old man that if she was forced to go to the Palace in obedience to the Emperor’s order, she would vanish from the earth.

+

When the Emperor was told of her persistence in refusing to obey his summons, and that if pressed to obey she would disappear altogether from sight, he determined to go and see her. So he planned to go on a hunting excursion in the neighborhood of the bamboo-cutter’s house, and see the Princess himself. He sent word to the old man of his intention, and he received consent to the scheme. The next day the Emperor set out with his retinue, which he soon managed to outride. He found the bamboo-cutter’s house and dismounted. He then entered the house and went straight to where the Princess was sitting with her attendant maidens.

+

Never had he seen any one so wonderfully beautiful, and he could not but look at her, for she was more lovely than any human being as she shone in her own soft radiance. When Princess Moonlight became aware that a stranger was looking at her she tried to escape from the room, but the Emperor caught her and begged her to listen to what he had to say. Her only answer was to hide her face in her sleeves.

+

The Emperor fell deeply in love with her, and begged her to come to the Court, where he would give her a position of honor and everything she could wish for. He was about to send for one of the Imperial palanquins to take her back with him at once, saying that her grace and beauty should adorn a Court, and not be hidden in a bamboo-cutter’s cottage.

+

But the Princess stopped him. She said that if she were forced to go to the Palace she would turn at once into a shadow, and even as she spoke she began to lose her form. Her figure faded from his sight while he looked.

+

The Emperor then promised to leave her free if only she would resume her former shape, which she did.

+

It was now time for him to return, for his retinue would be wondering what had happened to their Royal master when they missed him for so long. So be bade her good-by, and left the house with a sad heart. Princess Moonlight was for him the most beautiful woman in the world; all others were dark beside her, and he thought of her night and day. His Majesty now spent much of his time in writing poems, telling her of his love and devotion, and sent them to her, and though she refused to see him again she answered with many verses of her own composing, which told him gently and kindly that she could never marry any one on this earth. These little songs always gave him pleasure.

+

At this time her foster-parents noticed that night after night the Princess would sit on her balcony and gaze for hours at the moon, in a spirit of the deepest dejection, ending always in a burst of tears. One night the old man found her thus weeping as if her heart were broken, and he besought her to tell him the reason of her sorrow.

+

With many tears she told him that he had guessed rightly when he supposed her not to belong to this world–that she had in truth come from the moon, and that her time on earth would soon be over. On the fifteenth day of that very month of August her friends from the moon would come to fetch her, and she would have to return. Her parents were both there, but having spent a lifetime on the earth she had forgotten them, and also the moon-world to which she belonged. It made her weep, she said, to think of leaving her kind foster- parents, and the home where she had been happy for so long.

+

When her attendants heard this they were very sad, and could not eat or drink for sadness at the thought that the Princess was so soon to leave them.

+

The Emperor, as soon as the news was carried to him, sent messengers to the house to find out if the report were true or not.

+

The old bamboo-cutter went out to meet the Imperial messengers. The last few days of sorrow had told upon the old man; he had aged greatly, and looked much more than his seventy years. Weeping bitterly, he told them that the report was only too true, but he intended, however, to make prisoners of the envoys from the moon, and to do all he could to prevent the Princess from being carried back.

+

The men returned and told His Majesty all that had passed. On the fifteenth day of that month the Emperor sent a guard of two thousand warriors to watch the house. One thousand stationed themselves on the roof, another thousand kept watch round all the entrances of the house. All were well trained archers, with bows and arrows. The bamboo-cutter and his wife hid Princess Moonlight in an inner room.

+

The old man gave orders that no one was to sleep that night, all in the house were to keep a strict watch, and be ready to protect the Princess. With these precautions, and the help of the Emperor’s men- at-arms, he hoped to withstand the moon-messengers, but the Princess told him that all these measures to keep her would be useless, and that when her people came for her nothing whatever could prevent them from carrying out their purpose. Even the Emperors men would be powerless. Then she added with tears that she was very, very sorry to leave him and his wife, whom she had learned to love as her parents, that if she could do as she liked she would stay with them in their old age, and try to make some return for all the love and kindness they had showered upon her during all her earthly life.

+

The night wore on! The yellow harvest moon rose high in the heavens, flooding the world asleep with her golden light. Silence reigned over the pine and the bamboo forests, and on the roof where the thousand men-at-arms waited.

+

Then the night grew gray towards the dawn and all hoped that the danger was over–that Princess Moonlight would not have to leave them after all. Then suddenly the watchers saw a cloud form round the moon–and while they looked this cloud began to roll earthwards. Nearer and nearer it came, and every one saw with dismay that its course lay towards the house.

+

In a short time the sky was entirely obscured, till at last the cloud lay over the dwelling only ten feet off the ground. In the midst of the cloud there stood a flying chariot, and in the chariot a band of luminous beings. One amongst them who looked like a king and appeared to be the chief stepped out of the chariot, and, poised in air, called to the old man to come out.

+

“The time has come,” he said, “for Princess Moonlight to return to the moon from whence she came. She committed a grave fault, and as a punishment was sent to live down here for a time. We know what good care you have taken of the Princess, and we have rewarded you for this and have sent you wealth and prosperity. We put the gold in the bamboos for you to find.”

+

“I have brought up this Princess for twenty years and never once has she done a wrong thing, therefore the lady you are seeking cannot be this one,” said the old man. “I pray you to look elsewhere.”

+

Then the messenger called aloud, saying:

+

“Princess Moonlight, come out from this lowly dwelling. Rest not here another moment,”

+

At these words the screens of the Princess’s room slid open of their own accord, revealing the Princess shining in her own radiance, bright and wonderful and full of beauty.

+

The messenger led her forth and placed her in the chariot. She looked back, and saw with pity the deep sorrow of the old man. She spoke to him many comforting words, and told him that it was not her will to leave him and that he must always think of her when looking at the moon.

+

The bamboo-cutter implored to be allowed to accompany her, but this was not allowed. The Princess took off her embroidered outer garment and gave it to him as a keepsake.

+

One of the moon beings in the chariot held a wonderful coat of wings, another had a phial full of the Elixir of Life which was given the Princess to drink. She swallowed a little and was about to give the rest to the old man, but she was prevented from doing so.

+

The robe of wings was about to be put upon her shoulders, but she said:

+

“Wait a little. I must not forget my good friend the Emperor. I must write him once more to say good-by while still in this human form.”

+

In spite of the impatience of the messengers and charioteers she kept them waiting while she wrote. She placed the phial of the Elixir of Life with the letter, and, giving them to the old man, she asked him to deliver them to the Emperor.

+

Then the chariot began to roll heavenwards towards the moon, and as they all gazed with tearful eyes at the receding Princess, the dawn broke, and in the rosy light of day the moon-chariot and all in it were lost amongst the fleecy clouds that were now wafted across the sky on the wings of the morning wind.

+

Princess Moonlight’s letter was carried to the Palace. His Majesty was afraid to touch the Elixir of Life, so he sent it with the letter to the top of the most sacred mountain in the land. Mount Fuji, and there the Royal emissaries burnt it on the summit at sunrise. So to this day people say there is smoke to be seen rising from the top of Mount Fuji to the clouds.

+ +
+
+ +
+ + \ No newline at end of file diff --git a/articles/bamboo-cutter/taketori_monogatari.jpg b/articles/bamboo-cutter/taketori_monogatari.jpg new file mode 100644 index 0000000..f63e7d9 Binary files /dev/null and b/articles/bamboo-cutter/taketori_monogatari.jpg differ diff --git a/articles/hello-world/index.html b/articles/hello-world/index.html new file mode 100644 index 0000000..9abbeed --- /dev/null +++ b/articles/hello-world/index.html @@ -0,0 +1,117 @@ + + + + + + + + BlurAdmin documentation - README + + + + + +
+ +
+ +
+

README

+

Welcome to your new blog! This is the default blog template with RSS, pagination and an archive. There are other templates available – run wintersmith new --help to list them.

+

Repeat after me: This is my blog. There are many like it, but this one is mine. My blog is my best friend. It is my life. I must master it as I must master my life. My blog, without me, is useless. Without my blog, I am useless.

+

Good, now, the directory structure of your blog is as follows:

+
├── config.json               <- site configuration
+├── contents
+│   ├── about.md
+│   ├── archive.json
+│   ├── articles              <– each article has its own directory
+│   │   ├── another-test
+│   │   │   └── index.md
+│   │   ├── bamboo-cutter
+│   │   │   ├── index.md
+│   │   │   └── taketori_monogatari.jpg
+│   │   ├── hello-world
+│   │   │   └── index.md
+│   │   ├── markdown-syntax
+│   │   │   └── index.md
+│   │   └── red-herring
+│   │       ├── banana.png
+│   │       └── index.md
+│   ├── authors               <- author metadata, check author.jade
+│   │   ├── baker.json
+│   │   └── the-wintersmith.json
+│   ├── css
+│   │   └── main.css
+│   └── feed.json
+├── plugins
+│   └── paginator.coffee      <- paginator plugin
+├── templates
+│   ├── archive.jade
+│   ├── article.jade
+│   ├── author.jade
+│   ├── feed.jade
+│   ├── index.jade
+│   └── layout.jade
+└── views
+    └── articles.coffee       <- view that lists articles
+

Articles are sorted by date and 3 are shown per page, you can configure this and more in config.json. Check paginator.coffee for all options related to pagination, most plugins also have their own options.

+

A typical article

+
---
+title: Hear me blog
+author: johndoe
+date: 2012-12-12 12:12
+---
+
+This will be shown as the article excerpt.
+
+## A h2, hr or <span class="more"> marks where the intro cuts off
+
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
+cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
+ +

For example a link to ../bamboo-cutter/index.md resolves to /articles/bamboo-cutter/.

+
+

This is where I leave you to your own devices. Join #wintersmith on freenode if you have any questions.

+ +
+
+ +
+ + \ No newline at end of file diff --git a/articles/markdown-syntax/index.html b/articles/markdown-syntax/index.html new file mode 100644 index 0000000..3afa755 --- /dev/null +++ b/articles/markdown-syntax/index.html @@ -0,0 +1,704 @@ + + + + + + + + BlurAdmin documentation - Markdown syntax + + + + + +
+ +
+ +
+

Markdown syntax

+

Full markdown syntax taken from John Gruber’s Daring Fireball. +Did you know that 9 out of 10 bloggers prefer to write in markdown?

+
+

Markdown: Syntax

+ +

Note: This document is itself written using Markdown; you +can see the source for it by adding ‘.text’ to the URL.

+
+

Overview

+ +

Philosophy

+ +

Markdown is intended to be as easy-to-read and easy-to-write as is feasible.

+

Readability, however, is emphasized above all else. A Markdown-formatted +document should be publishable as-is, as plain text, without looking +like it’s been marked up with tags or formatting instructions. While +Markdown’s syntax has been influenced by several existing text-to-HTML +filters – including Setext, atx, Textile, reStructuredText, +Grutatext, and EtText – the single biggest source of +inspiration for Markdown’s syntax is the format of plain text email.

+

To this end, Markdown’s syntax is comprised entirely of punctuation +characters, which punctuation characters have been carefully chosen so +as to look like what they mean. E.g., asterisks around a word actually +look like *emphasis*. Markdown lists look like, well, lists. Even +blockquotes look like quoted passages of text, assuming you’ve ever +used email.

+

Inline HTML

+ +

Markdown’s syntax is intended for one purpose: to be used as a +format for writing for the web.

+

Markdown is not a replacement for HTML, or even close to it. Its +syntax is very small, corresponding only to a very small subset of +HTML tags. The idea is not to create a syntax that makes it easier +to insert HTML tags. In my opinion, HTML tags are already easy to +insert. The idea for Markdown is to make it easy to read, write, and +edit prose. HTML is a publishing format; Markdown is a writing +format. Thus, Markdown’s formatting syntax only addresses issues that +can be conveyed in plain text.

+

For any markup that is not covered by Markdown’s syntax, you simply +use HTML itself. There’s no need to preface it or delimit it to +indicate that you’re switching from Markdown to HTML; you just use +the tags.

+

The only restrictions are that block-level HTML elements – e.g. <div>, +<table>, <pre>, <p>, etc. – must be separated from surrounding +content by blank lines, and the start and end tags of the block should +not be indented with tabs or spaces. Markdown is smart enough not +to add extra (unwanted) <p> tags around HTML block-level tags.

+

For example, to add an HTML table to a Markdown article:

+
This is a regular paragraph.
+
+<table>
+    <tr>
+        <td>Foo</td>
+    </tr>
+</table>
+
+This is another regular paragraph.
+

Note that Markdown formatting syntax is not processed within block-level +HTML tags. E.g., you can’t use Markdown-style *emphasis* inside an +HTML block.

+

Span-level HTML tags – e.g. <span>, <cite>, or <del> – can be +used anywhere in a Markdown paragraph, list item, or header. If you +want, you can even use HTML tags instead of Markdown formatting; e.g. if +you’d prefer to use HTML <a> or <img> tags instead of Markdown’s +link or image syntax, go right ahead.

+

Unlike block-level HTML tags, Markdown syntax is processed within +span-level tags.

+

Automatic Escaping for Special Characters

+ +

In HTML, there are two characters that demand special treatment: < +and &. Left angle brackets are used to start tags; ampersands are +used to denote HTML entities. If you want to use them as literal +characters, you must escape them as entities, e.g. &lt;, and +&amp;.

+

Ampersands in particular are bedeviling for web writers. If you want to +write about ‘AT&T’, you need to write ‘AT&amp;T‘. You even need to +escape ampersands within URLs. Thus, if you want to link to:

+
http://images.google.com/images?num=30&q=larry+bird
+

you need to encode the URL as:

+
http://images.google.com/images?num=30&amp;q=larry+bird
+

in your anchor tag href attribute. Needless to say, this is easy to +forget, and is probably the single most common source of HTML validation +errors in otherwise well-marked-up web sites.

+

Markdown allows you to use these characters naturally, taking care of +all the necessary escaping for you. If you use an ampersand as part of +an HTML entity, it remains unchanged; otherwise it will be translated +into &amp;.

+

So, if you want to include a copyright symbol in your article, you can write:

+
&copy;
+

and Markdown will leave it alone. But if you write:

+
AT&T
+

Markdown will translate it to:

+
AT&amp;T
+

Similarly, because Markdown supports inline HTML, if you use +angle brackets as delimiters for HTML tags, Markdown will treat them as +such. But if you write:

+
4 < 5
+

Markdown will translate it to:

+
4 &lt; 5
+

However, inside Markdown code spans and blocks, angle brackets and +ampersands are always encoded automatically. This makes it easy to use +Markdown to write about HTML code. (As opposed to raw HTML, which is a +terrible format for writing about HTML syntax, because every single < +and & in your example code needs to be escaped.)

+
+

Block Elements

+ + +

Paragraphs and Line Breaks

+ +

A paragraph is simply one or more consecutive lines of text, separated +by one or more blank lines. (A blank line is any line that looks like a +blank line – a line containing nothing but spaces or tabs is considered +blank.) Normal paragraphs should not be indented with spaces or tabs.

+

The implication of the “one or more consecutive lines of text” rule is +that Markdown supports “hard-wrapped” text paragraphs. This differs +significantly from most other text-to-HTML formatters (including Movable +Type’s “Convert Line Breaks” option) which translate every line break +character in a paragraph into a <br /> tag.

+

When you do want to insert a <br /> break tag using Markdown, you +end a line with two or more spaces, then type return.

+

Yes, this takes a tad more effort to create a <br />, but a simplistic +“every line break is a <br />“ rule wouldn’t work for Markdown. +Markdown’s email-style blockquoting and multi-paragraph list items +work best – and look better – when you format them with hard breaks.

+ + +

Markdown supports two styles of headers, Setext and atx.

+

Setext-style headers are “underlined” using equal signs (for first-level +headers) and dashes (for second-level headers). For example:

+
This is an H1
+=============
+
+This is an H2
+-------------
+

Any number of underlining =‘s or -‘s will work.

+

Atx-style headers use 1-6 hash characters at the start of the line, +corresponding to header levels 1-6. For example:

+
# This is an H1
+
+## This is an H2
+
+###### This is an H6
+

Optionally, you may “close” atx-style headers. This is purely +cosmetic – you can use this if you think it looks better. The +closing hashes don’t even need to match the number of hashes +used to open the header. (The number of opening hashes +determines the header level.) :

+
# This is an H1 #
+
+## This is an H2 ##
+
+### This is an H3 ######
+

Blockquotes

+ +

Markdown uses email-style > characters for blockquoting. If you’re +familiar with quoting passages of text in an email message, then you +know how to create a blockquote in Markdown. It looks best if you hard +wrap the text and put a > before every line:

+
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
+> consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
+> Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
+>
+> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
+> id sem consectetuer libero luctus adipiscing.
+

Markdown allows you to be lazy and only put the > before the first +line of a hard-wrapped paragraph:

+
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
+consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
+Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
+
+> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
+id sem consectetuer libero luctus adipiscing.
+

Blockquotes can be nested (i.e. a blockquote-in-a-blockquote) by +adding additional levels of >:

+
> This is the first level of quoting.
+>
+> > This is nested blockquote.
+>
+> Back to the first level.
+

Blockquotes can contain other Markdown elements, including headers, lists, +and code blocks:

+
+

This is a header.

+
    +
  1. This is the first list item.
  2. +
  3. This is the second list item.
  4. +
+

Here’s some example code:

+
return shell_exec("echo $input | $markdown_script");
+
+

Any decent text editor should make email-style quoting easy. For +example, with BBEdit, you can make a selection and choose Increase +Quote Level from the Text menu.

+

Lists

+ +

Markdown supports ordered (numbered) and unordered (bulleted) lists.

+

Unordered lists use asterisks, pluses, and hyphens – interchangably +– as list markers:

+
*   Red
+*   Green
+*   Blue
+

is equivalent to:

+
+   Red
++   Green
++   Blue
+

and:

+
-   Red
+-   Green
+-   Blue
+

Ordered lists use numbers followed by periods:

+
1.  Bird
+2.  McHale
+3.  Parish
+

It’s important to note that the actual numbers you use to mark the +list have no effect on the HTML output Markdown produces. The HTML +Markdown produces from the above list is:

+
<ol>
+<li>Bird</li>
+<li>McHale</li>
+<li>Parish</li>
+</ol>
+

If you instead wrote the list in Markdown like this:

+
1.  Bird
+1.  McHale
+1.  Parish
+

or even:

+
3. Bird
+1. McHale
+8. Parish
+

you’d get the exact same HTML output. The point is, if you want to, +you can use ordinal numbers in your ordered Markdown lists, so that +the numbers in your source match the numbers in your published HTML. +But if you want to be lazy, you don’t have to.

+

If you do use lazy list numbering, however, you should still start the +list with the number 1. At some point in the future, Markdown may support +starting ordered lists at an arbitrary number.

+

List markers typically start at the left margin, but may be indented by +up to three spaces. List markers must be followed by one or more spaces +or a tab.

+

To make lists look nice, you can wrap items with hanging indents:

+
*   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+    Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
+    viverra nec, fringilla in, laoreet vitae, risus.
+*   Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
+    Suspendisse id sem consectetuer libero luctus adipiscing.
+

But if you want to be lazy, you don’t have to:

+
*   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
+viverra nec, fringilla in, laoreet vitae, risus.
+*   Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
+Suspendisse id sem consectetuer libero luctus adipiscing.
+

If list items are separated by blank lines, Markdown will wrap the +items in <p> tags in the HTML output. For example, this input:

+
*   Bird
+*   Magic
+

will turn into:

+
<ul>
+<li>Bird</li>
+<li>Magic</li>
+</ul>
+

But this:

+
*   Bird
+
+*   Magic
+

will turn into:

+
<ul>
+<li><p>Bird</p></li>
+<li><p>Magic</p></li>
+</ul>
+

List items may consist of multiple paragraphs. Each subsequent +paragraph in a list item must be indented by either 4 spaces +or one tab:

+
1.  This is a list item with two paragraphs. Lorem ipsum dolor
+    sit amet, consectetuer adipiscing elit. Aliquam hendrerit
+    mi posuere lectus.
+
+    Vestibulum enim wisi, viverra nec, fringilla in, laoreet
+    vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
+    sit amet velit.
+
+2.  Suspendisse id sem consectetuer libero luctus adipiscing.
+

It looks nice if you indent every line of the subsequent +paragraphs, but here again, Markdown will allow you to be lazy:

+
*   This is a list item with two paragraphs.
+
+    This is the second paragraph in the list item. You're
+only required to indent the first line. Lorem ipsum dolor
+sit amet, consectetuer adipiscing elit.
+
+*   Another item in the same list.
+

To put a blockquote within a list item, the blockquote’s > +delimiters need to be indented:

+
*   A list item with a blockquote:
+
+    > This is a blockquote
+    > inside a list item.
+

To put a code block within a list item, the code block needs +to be indented twice – 8 spaces or two tabs:

+
*   A list item with a code block:
+
+        <code goes here>
+

It’s worth noting that it’s possible to trigger an ordered list by +accident, by writing something like this:

+
1986. What a great season.
+

In other words, a number-period-space sequence at the beginning of a +line. To avoid this, you can backslash-escape the period:

+
1986\. What a great season.
+

Code Blocks

+ +

Pre-formatted code blocks are used for writing about programming or +markup source code. Rather than forming normal paragraphs, the lines +of a code block are interpreted literally. Markdown wraps a code block +in both <pre> and <code> tags.

+

To produce a code block in Markdown, simply indent every line of the +block by at least 4 spaces or 1 tab. For example, given this input:

+
This is a normal paragraph:
+
+    This is a code block.
+

Markdown will generate:

+
<p>This is a normal paragraph:</p>
+
+<pre><code>This is a code block.
+</code></pre>
+

One level of indentation – 4 spaces or 1 tab – is removed from each +line of the code block. For example, this:

+
Here is an example of AppleScript:
+
+    tell application "Foo"
+        beep
+    end tell
+

will turn into:

+
<p>Here is an example of AppleScript:</p>
+
+<pre><code>tell application "Foo"
+    beep
+end tell
+</code></pre>
+

A code block continues until it reaches a line that is not indented +(or the end of the article).

+

Within a code block, ampersands (&) and angle brackets (< and >) +are automatically converted into HTML entities. This makes it very +easy to include example HTML source code using Markdown – just paste +it and indent it, and Markdown will handle the hassle of encoding the +ampersands and angle brackets. For example, this:

+
    <div class="footer">
+        &copy; 2004 Foo Corporation
+    </div>
+

will turn into:

+
<pre><code>&lt;div class="footer"&gt;
+    &amp;copy; 2004 Foo Corporation
+&lt;/div&gt;
+</code></pre>
+

Regular Markdown syntax is not processed within code blocks. E.g., +asterisks are just literal asterisks within a code block. This means +it’s also easy to use Markdown to write about Markdown’s own syntax.

+

Horizontal Rules

+ +

You can produce a horizontal rule tag (<hr />) by placing three or +more hyphens, asterisks, or underscores on a line by themselves. If you +wish, you may use spaces between the hyphens or asterisks. Each of the +following lines will produce a horizontal rule:

+
* * *
+
+***
+
+*****
+
+- - -
+
+---------------------------------------
+

+

Span Elements

+ + + +

Markdown supports two style of links: inline and reference.

+

In both styles, the link text is delimited by [square brackets].

+

To create an inline link, use a set of regular parentheses immediately +after the link text’s closing square bracket. Inside the parentheses, +put the URL where you want the link to point, along with an optional +title for the link, surrounded in quotes. For example:

+
This is [an example](http://example.com/ "Title") inline link.
+
+[This link](http://example.net/) has no title attribute.
+

Will produce:

+
<p>This is <a href="http://example.com/" title="Title">
+an example</a> inline link.</p>
+
+<p><a href="http://example.net/">This link</a> has no
+title attribute.</p>
+

If you’re referring to a local resource on the same server, you can +use relative paths:

+
See my [About](/about/) page for details.
+

Reference-style links use a second set of square brackets, inside +which you place a label of your choosing to identify the link:

+
This is [an example][id] reference-style link.
+

You can optionally use a space to separate the sets of brackets:

+
This is [an example] [id] reference-style link.
+

Then, anywhere in the document, you define your link label like this, +on a line by itself:

+
[id]: http://example.com/  "Optional Title Here"
+

That is:

+
    +
  • Square brackets containing the link identifier (optionally +indented from the left margin using up to three spaces);
  • +
  • followed by a colon;
  • +
  • followed by one or more spaces (or tabs);
  • +
  • followed by the URL for the link;
  • +
  • optionally followed by a title attribute for the link, enclosed +in double or single quotes, or enclosed in parentheses.
  • +
+

The following three link definitions are equivalent:

+

foo: http://example.com/ ‘Optional Title Here’

+

Note: There is a known bug in Markdown.pl 1.0.1 which prevents +single quotes from being used to delimit link titles.

+

The link URL may, optionally, be surrounded by angle brackets:

+
[id]: <http://example.com/>  "Optional Title Here"
+

You can put the title attribute on the next line and use extra spaces +or tabs for padding, which tends to look better with longer URLs:

+
[id]: http://example.com/longish/path/to/resource/here
+    "Optional Title Here"
+

Link definitions are only used for creating links during Markdown +processing, and are stripped from your document in the HTML output.

+

Link definition names may consist of letters, numbers, spaces, and +punctuation – but they are not case sensitive. E.g. these two links:

+

[link text][a] + [link text][A]

+

are equivalent.

+

The implicit link name shortcut allows you to omit the name of the +link, in which case the link text itself is used as the name. +Just use an empty set of square brackets – e.g., to link the word +“Google” to the google.com web site, you could simply write:

+

Google

+

And then define the link:

+

Because link names may contain spaces, this shortcut even works for +multiple words in the link text:

+

Visit Daring Fireball for more information.

+

And then define the link:

+

Link definitions can be placed anywhere in your Markdown document. I +tend to put them immediately after each paragraph in which they’re +used, but if you want, you can put them all at the end of your +document, sort of like footnotes.

+

Here’s an example of reference links in action:

+
I get 10 times more traffic from [Google] [1] than from
+[Yahoo] [2] or [MSN] [3].
+
+  [1]: http://google.com/        "Google"
+  [2]: http://search.yahoo.com/  "Yahoo Search"
+  [3]: http://search.msn.com/    "MSN Search"
+

Using the implicit link name shortcut, you could instead write:

+
I get 10 times more traffic from [Google][] than from
+[Yahoo][] or [MSN][].
+
+  [google]: http://google.com/        "Google"
+  [yahoo]:  http://search.yahoo.com/  "Yahoo Search"
+  [msn]:    http://search.msn.com/    "MSN Search"
+

Both of the above examples will produce the following HTML output:

+
<p>I get 10 times more traffic from <a href="http://google.com/"
+title="Google">Google</a> than from
+<a href="http://search.yahoo.com/" title="Yahoo Search">Yahoo</a>
+or <a href="http://search.msn.com/" title="MSN Search">MSN</a>.</p>
+

For comparison, here is the same paragraph written using +Markdown’s inline link style:

+
I get 10 times more traffic from [Google](http://google.com/ "Google")
+than from [Yahoo](http://search.yahoo.com/ "Yahoo Search") or
+[MSN](http://search.msn.com/ "MSN Search").
+

The point of reference-style links is not that they’re easier to +write. The point is that with reference-style links, your document +source is vastly more readable. Compare the above examples: using +reference-style links, the paragraph itself is only 81 characters +long; with inline-style links, it’s 176 characters; and as raw HTML, +it’s 234 characters. In the raw HTML, there’s more markup than there +is text.

+

With Markdown’s reference-style links, a source document much more +closely resembles the final output, as rendered in a browser. By +allowing you to move the markup-related metadata out of the paragraph, +you can add links without interrupting the narrative flow of your prose.

+

Emphasis

+ +

Markdown treats asterisks (*) and underscores (_) as indicators of +emphasis. Text wrapped with one * or _ will be wrapped with an +HTML <em> tag; double *‘s or _‘s will be wrapped with an HTML +<strong> tag. E.g., this input:

+
*single asterisks*
+
+_single underscores_
+
+**double asterisks**
+
+__double underscores__
+

will produce:

+
<em>single asterisks</em>
+
+<em>single underscores</em>
+
+<strong>double asterisks</strong>
+
+<strong>double underscores</strong>
+

You can use whichever style you prefer; the lone restriction is that +the same character must be used to open and close an emphasis span.

+

Emphasis can be used in the middle of a word:

+
un*frigging*believable
+

But if you surround an * or _ with spaces, it’ll be treated as a +literal asterisk or underscore.

+

To produce a literal asterisk or underscore at a position where it +would otherwise be used as an emphasis delimiter, you can backslash +escape it:

+
\*this text is surrounded by literal asterisks\*
+

Code

+ +

To indicate a span of code, wrap it with backtick quotes (` ). +Unlike a pre-formatted code block, a code span indicates code within a +normal paragraph. For example:

+
Use the `printf()` function.
+

will produce:

+
<p>Use the <code>printf()</code> function.</p>
+

To include a literal backtick character within a code span, you can use +multiple backticks as the opening and closing delimiters:

+
``There is a literal backtick (`) here.``
+

which will produce this:

+
<p><code>There is a literal backtick (`) here.</code></p>
+

The backtick delimiters surrounding a code span may include spaces – +one after the opening, one before the closing. This allows you to place +literal backtick characters at the beginning or end of a code span:

+

A single backtick in a code span: `

+

A backtick-delimited string in a code span: `foo`

+

will produce:

+

A single backtick in a code span: `

+ +

A backtick-delimited string in a code span: foo

+ +

With a code span, ampersands and angle brackets are encoded as HTML +entities automatically, which makes it easy to include example HTML +tags. Markdown will turn this:

+
Please don't use any `<blink>` tags.
+

into:

+
<p>Please don't use any <code>&lt;blink&gt;</code> tags.</p>
+

You can write this:

+
`&#8212;` is the decimal-encoded equivalent of `&mdash;`.
+

to produce:

+
<p><code>&amp;#8212;</code> is the decimal-encoded
+equivalent of <code>&amp;mdash;</code>.</p>
+

Images

+ +

Admittedly, it’s fairly difficult to devise a “natural” syntax for +placing images into a plain text document format.

+

Markdown uses an image syntax that is intended to resemble the syntax +for links, allowing for two styles: inline and reference.

+

Inline image syntax looks like this:

+
![Alt text](/path/to/img.jpg)
+
+![Alt text](/path/to/img.jpg "Optional title")
+

That is:

+
    +
  • An exclamation mark: !;
  • +
  • followed by a set of square brackets, containing the alt +attribute text for the image;
  • +
  • followed by a set of parentheses, containing the URL or path to +the image, and an optional title attribute enclosed in double +or single quotes.
  • +
+

Reference-style image syntax looks like this:

+
![Alt text][id]
+

Where “id” is the name of a defined image reference. Image references +are defined using syntax identical to link references:

+
[id]: url/to/image  "Optional title attribute"
+

As of this writing, Markdown has no syntax for specifying the +dimensions of an image; if this is important to you, you can simply +use regular HTML <img> tags.

+
+

Miscellaneous

+ + + +

Markdown supports a shortcut style for creating “automatic” links for URLs and email addresses: simply surround the URL or email address with angle brackets. What this means is that if you want to show the actual text of a URL or email address, and also have it be a clickable link, you can do this:

+
<http://example.com/>
+

Markdown will turn this into:

+
<a href="http://example.com/">http://example.com/</a>
+

Automatic links for email addresses work similarly, except that +Markdown will also perform a bit of randomized decimal and hex +entity-encoding to help obscure your address from address-harvesting +spambots. For example, Markdown will turn this:

+
<address@example.com>
+

into something like this:

+
<a href="&#x6D;&#x61;i&#x6C;&#x74;&#x6F;:&#x61;&#x64;&#x64;&#x72;&#x65;
+&#115;&#115;&#64;&#101;&#120;&#x61;&#109;&#x70;&#x6C;e&#x2E;&#99;&#111;
+&#109;">&#x61;&#x64;&#x64;&#x72;&#x65;&#115;&#115;&#64;&#101;&#120;&#x61;
+&#109;&#x70;&#x6C;e&#x2E;&#99;&#111;&#109;</a>
+

which will render in a browser as a clickable link to “address@example.com”.

+

(This sort of entity-encoding trick will indeed fool many, if not +most, address-harvesting bots, but it definitely won’t fool all of +them. It’s better than nothing, but an address published in this way +will probably eventually start receiving spam.)

+

Backslash Escapes

+ +

Markdown allows you to use backslash escapes to generate literal +characters which would otherwise have special meaning in Markdown’s +formatting syntax. For example, if you wanted to surround a word +with literal asterisks (instead of an HTML <em> tag), you can use +backslashes before the asterisks, like this:

+
\*literal asterisks\*
+

Markdown provides backslash escapes for the following characters:

+
\   backslash
+`   backtick
+*   asterisk
+_   underscore
+{}  curly braces
+[]  square brackets
+()  parentheses
+#   hash mark
+
    +
  • plus sign
  • +
+
    +
  • minus sign (hyphen) +. dot +! exclamation mark
  • +
+ +
+
+ +
+ + \ No newline at end of file diff --git a/articles/red-herring/banana.png b/articles/red-herring/banana.png new file mode 100644 index 0000000..19d054a Binary files /dev/null and b/articles/red-herring/banana.png differ diff --git a/articles/red-herring/index.html b/articles/red-herring/index.html new file mode 100644 index 0000000..422c219 --- /dev/null +++ b/articles/red-herring/index.html @@ -0,0 +1,77 @@ + + + + + + + + BlurAdmin documentation - A red herring + + + + + +
+ +
+ +
+

A red herring

+

A long time ago, when the world was young – someone put some food on their tongue. +They tasted the food, and thought it was nice. Most fruit liked it – but banana’s thought twice.

+

+

They held a meeting at quarter past eight. +Whilst the human’s were getting home late. +They decided they didn’t want to be eaten they said: +“No way, we’re not going to be beaten”.

+

So time went by, and human’s got old. +Banana’s got ready, for their prophets had told. +That soon shall come the dawn of war. +Where humans will rule the earth no more.

+

The humans knew not of the evil banana’s plans. +They made their cars, guitars and aluminum cans. +And the banana’s began to take over the east. +While humans knew not, and kept having their feast.

+

But time has run out, no more hiding there can be. +Or else the banana’s will kill you and me. +We must take up arms, and fight to the end. +Because, believe it or not, a banana is not a friend.

+

a banana

+ +
+
+ +
+ + \ No newline at end of file diff --git a/bower.json b/bower.json deleted file mode 100644 index fdd579d..0000000 --- a/bower.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "name": "blur-admin", - "version": "1.1.1", - "homepage": "https://github.com/1itvinka/blur-admin", - "authors": [ - "akveo" - ], - "description": "Blur Admin HTML template", - "license": "MIT", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ], - "dependencies": { - "Chart.js": "~1.0.2", - "Ionicons": "ionicons#~2.0.1", - "amcharts": "~3.15.2", - "amcharts-stock": "*", - "ammap": "~3.14.5", - "angular": "~1.4.8", - "angular-route": "~1.4.6", - "angular-slimscroll": "~1.1.5", - "angular-smart-table": "~2.1.3", - "angular-toastr": "~1.7.0", - "angular-touch": "~1.4.6", - "angular-ui-sortable": "~0.13.4", - "animate.css": "~3.4.0", - "bootstrap": "~3.3.5", - "bootstrap-select": "~1.9.3", - "bootstrap-switch": "~3.3.2", - "bootstrap-tagsinput": "~0.5.0", - "font-awesome": "fontawesome#~4.4.0", - "fullcalendar": "~2.4.0", - "highlight": "~8.8.0", - "jquery": "~2.1.4", - "jquery-ui": "~1.11.4", - "jquery.easing": "~1.3.1", - "jquery.easy-pie-chart": "~2.1.6", - "leaflet": "~0.7.5", - "moment": "~2.10.6", - "slimScroll": "jquery-slimscroll#~1.3.6", - "angular-progress-button-styles": "~0.1.0", - "angular-ui-router": "~0.2.16", - "angular-chart.js": "~0.8.8", - "angular-chartist.js": "~3.3.12", - "chartist": "0.9.5", - "angular-morris-chart": "~1.1.0", - "ionrangeslider": "~2.1.2", - "angular-bootstrap": "~0.14.3", - "angular-animate": "~1.4.8", - "textAngular": "~1.4.6", - "angular-xeditable": "~0.1.9", - "ng-js-tree": "~0.0.7" - }, - "overrides": { - "amcharts": { - "main": [ - "./dist/amcharts/amcharts.js", - "./dist/amcharts/plugins/responsive/responsive.min.js", - "./dist/amcharts/serial.js", - "./dist/amcharts/funnel.js", - "./dist/amcharts/pie.js", - "./dist/amcharts/gantt.js" - ] - }, - "amcharts-stock": { - "main": "./dist/amcharts/amstock.js" - }, - "ammap": { - "main": [ - "./dist/ammap/ammap.js", - "./dist/ammap/maps/js/worldLow.js" - ] - }, - "bootstrap": { - "main": [ - "dist/css/bootstrap.css", - "js/dropdown.js" - ] - }, - "slimScroll": { - "main": "./jquery.slimscroll.js" - }, - "font-awesome": { - "main": [ - "css/font-awesome.css", - "fonts/FontAwesome.otf", - "fonts/fontawesome-webfont.eot", - "fonts/fontawesome-webfont.svg", - "fonts/fontawesome-webfont.ttf", - "fonts/fontawesome-webfont.woff", - "fonts/fontawesome-webfont.woff2" - ] - } - } -} diff --git a/css/main.css b/css/main.css new file mode 100644 index 0000000..075c03a --- /dev/null +++ b/css/main.css @@ -0,0 +1,932 @@ +html { + font-family: 'Source Sans Pro', sans-serif; + color: #484848; + line-height: 1.28 +} + +p { + margin: 0 0 10px +} + +.subHeader { + font-size: 21px; + font-weight: 200; + line-height: 30px; + margin-bottom: 10px +} + +em { + font-style: italic +} + +h1, h2, h3, h4, h5, h6 { + margin: 10px 0; + font-family: inherit; + font-weight: bold; + line-height: 20px; + color: inherit; + text-rendering: optimizelegibility +} + +h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { + font-weight: normal; + color: #7b7b7b +} + +h1, h2, h3 { + line-height: 40px +} + +h1 { + font-size: 39px +} + +h2 { + font-size: 31px +} + +h3 { + font-size: 23px +} + +h4 { + font-size: 16px +} + +h5 { + font-size: 14px +} + +h6 { + font-size: 11px +} + +h1 small { + font-size: 24px +} + +h2 small { + font-size: 18px +} + +h3 small { + font-size: 16px +} + +h4 small { + font-size: 14px +} + +ul, ol { + margin: 0 0 10px 25px; + padding: 0 +} + +ul ul, ul ol, ol ol, ol ul { + margin-bottom: 0 +} + +li { + line-height: 20px +} + +a { + color: #c05b4d; + text-decoration: none +} + +a:hover, a:focus { + color: #a5473a; + text-decoration: underline +} + +a:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px +} + +.center { + text-align: center +} + +html * { + color-profile: sRGB; + rendering-intent: auto +} + +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + border: none; + margin: 0; + padding: 0 +} + +html { + background: #f9f9f9 +} + +.left { + float: left +} + +.right { + float: right +} + +.container { + padding-top: 50px; + min-width: 960px +} + +.wrap { + width: 960px; + margin-left: auto; + margin-right: auto; + padding-left: 20px; + padding-right: 20px +} + +.skinnyWrap { + width: 690px; + margin-left: auto; + margin-right: auto; + padding-left: 20px; + padding-right: 20px +} + +hr { + height: 0; + border-top: 1px solid #ccc; + border-bottom: 1px solid #eee +} + +ul, li { + margin-left: 20px +} + +li + li { + margin-top: 10px +} + +h1 .anchor, h2 .anchor, h3 .anchor, h4 .anchor, h5 .anchor, h6 .anchor { + margin-top: -50px; + position: absolute +} + +h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-link, h5:hover .hash-link, h6:hover .hash-link { + display: inline +} + +.hash-link { + color: #aaa; + display: none +} + +.nav-main { + background: #222; + color: #fafafa; + position: fixed; + top: 0; + height: 50px; + box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); + width: 100%; + z-index: 100 +} + +.nav-main:after { + content: ""; + display: table; + clear: both +} + +.nav-main a { + color: #e9e9e9; + text-decoration: none +} + +.nav-main .nav-site-internal { + margin: 0 0 0 20px +} + +.nav-main .nav-site-external { + float: right; + margin: 0 +} + +.nav-main .nav-site li { + margin: 0 +} + +.nav-main .nav-site li > a { + box-sizing: content-box; + padding: 0 10px; + line-height: 50px; + display: inline-block; + height: 50px; + color: #ddd +} + +.nav-main .nav-site li > a:hover { + color: #fff +} + +.nav-main .nav-site li > a.active { + color: #fafafa; + border-bottom: 3px solid #cc7a6f; + background: #333 +} + +.nav-main .nav-home { + color: #ffffff; + font-size: 24px; + line-height: 50px; + height: 50px; + display: inline-block +} + +.nav-main .nav-home .blur-label { + color: #209e91; +} + +.nav-main .nav-logo { + vertical-align: middle; + display: inline-block +} + +.nav-main ul { + display: inline-block; + vertical-align: top +} + +.nav-main li { + display: inline +} + +.hero { + padding-bottom: 75px; +} + +.hero .hero-content { + color: #e9e9e9; + font-weight: 300; + background: #313131; + padding-top: 50px; +} + +.hero .text { + font-size: 64px; + text-align: center +} + +.hero .minitext { + font-size: 16px; + text-align: center; + text-transform: uppercase +} + +.hero strong { + color: #209e91; + font-weight: 400 +} + +.white-text { + color: rgb(249, 249, 249); +} + +.hero .admin-screenshots { + margin-top: 40px; + display: flex; + flex-direction: row; +} + +.hero .admin-screenshot { + width: 50%; + padding: 0 15px; + text-align: center; + height: 250px; +} + +.admin-screenshot img { + width: 100%; +} + +.demo-link { + display: block; + position: relative; + line-height: 0; +} + +.demo-link:before { + content: ''; + position: absolute; + width: 100%; + bottom: 0; + left: 0; + height: 52px; + background-image: linear-gradient(to bottom, transparent, rgb(249,259,249)); +} + +.demo-link .demo-link-label { + display: flex; + align-items: center; + justify-content: center; + content: 'Demo'; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0,0,0,0.5); + color: rgb(249, 249, 249); + font-size: 32px; + opacity: 0; + transition: opacity 0.3s ease-out; +} + +.demo-link:hover .demo-link-label { + opacity: 1; +} + +.buttons-unit { + margin-top: 60px; + text-align: center +} + +.buttons-unit a { + color: #61dafb +} + +.buttons-unit .button { + font-size: 24px; + background: #cc7a6f; + color: #fafafa +} + +.buttons-unit .button:active { + background: #c5695c +} + +.buttons-unit.downloads { + margin: 30px 0 +} + +.index-block { + padding:40px 0; +} + +.index-block h1 { + text-align: center; +} + +.index-block.black { + background: #313131; + color: #e9e9e9; +} + +.why-items { + display: flex; + flex-direction: row; + align-items: baseline; + margin-top: 15px; + padding-top: 15px; +} + +.why-item { + flex: 33%; + text-align: center; + padding: 0 15px; +} + +.why-item img { + width: 110px; +} + +.nav-docs { + color: #2d2d2d; + font-size: 14px; + float: left; + width: 210px +} + +.nav-docs ul { + list-style: none; + margin: 0 +} + +.nav-docs ul ul { + margin: 6px 0 0 20px +} + +.nav-docs li { + line-height: 16px; + margin: 0 0 6px +} + +.nav-docs h3 { + text-transform: uppercase; + font-size: 14px +} + +.nav-docs a { + color: #666; + display: block +} + +.nav-docs a:hover { + text-decoration: none; + color: #cc7a6f +} + +.nav-docs a.active { + color: #cc7a6f +} + +.nav-docs a.external:after { + content: ""; + display: inline-block; + width: 10px; + height: 10px; + padding-left: 5px; + background-image: url("../img/external.png"); + background-position: 100% 0; + background-repeat: no-repeat; + font-size: 10px; + line-height: 1em; + opacity: 0.5 +} + +@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) { + .nav-docs a.external:after { + background-image: url("../img/external_2x.png"); + background-size: 10px 10px + } +} + +.nav-docs .nav-docs-section { + border-bottom: 1px solid #ccc; + border-top: 1px solid #eee; + padding: 12px 0 +} + +.nav-docs .nav-docs-section:first-child { + padding-top: 0; + border-top: 0 +} + +.nav-docs .nav-docs-section:last-child { + padding-bottom: 0; + border-bottom: 0 +} + +.nav-blog li { + margin-bottom: 5px +} + +.home-section { + margin: 50px 0 +} + +.home-divider { + border-top-color: #bbb; + margin: 0 auto; + width: 400px +} + +.skinny-row:after { + content: ""; + display: table; + clear: both +} + +.skinny-col { + float: left; + margin-left: 40px; + width: 305px +} + +.skinny-col:first-child { + margin-left: 0 +} + +.marketing-row { + margin: 50px 0 +} + +.marketing-row:after { + content: ""; + display: table; + clear: both +} + +.marketing-col { + float: left; + margin-left: 40px; + width: 280px +} + +.marketing-col h3 { + color: #2d2d2d; + font-size: 24px; + font-weight: normal; + text-transform: uppercase +} + +.marketing-col p { + font-size: 16px +} + +.marketing-col:first-child { + margin-left: 0 +} + +#examples h3, .home-presentation h3 { + color: #2d2d2d; + font-size: 24px; + font-weight: normal; + margin-bottom: 5px +} + +#examples p { + margin: 0 0 25px 0; + max-width: 600px +} + +#examples .example { + margin-top: 60px +} + +#examples #todoExample { + font-size: 14px +} + +#examples #todoExample ul { + list-style-type: square; + margin: 0 0 10px 0 +} + +#examples #todoExample input { + border: 1px solid #ccc; + font: 14px proxima-nova, "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; + padding: 3px; + width: 150px +} + +#examples #todoExample button { + font: 14px proxima-nova, "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; + margin-left: 5px; + padding: 4px 10px +} + +#examples #markdownExample textarea { + border: 1px solid #ccc; + font: 14px proxima-nova, "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; + margin-bottom: 10px; + padding: 5px +} + +.home-bottom-section { + margin-bottom: 100px +} + +.docs-nextprev:after { + content: ""; + display: table; + clear: both +} + +.jsxCompiler { + margin: 0 auto; + padding-top: 20px; + width: 1220px +} + +.jsxCompiler label.compiler-option { + display: block; + margin-top: 5px +} + +.jsxCompiler #jsxCompiler { + margin-top: 20px +} + +.jsxCompiler .playgroundPreview { + padding: 0; + width: 600px; + word-wrap: break-word +} + +.jsxCompiler .playgroundPreview pre { + font-family: 'source-code-pro', Menlo, Consolas, 'Courier New', monospace; + font-size: 13px; + line-height: 1.5 +} + +.jsxCompiler .playgroundError { + padding: 15px 20px +} + +.docs-prev { + float: left +} + +.docs-next { + float: right +} + +footer { + font-size: 13px; + font-weight: 600; + margin-top: 36px; + margin-bottom: 18px; + overflow: auto +} + +section.black content { + padding-bottom: 18px +} + +.blogContent { + padding-top: 20px +} + +.blogContent:after { + content: ""; + display: table; + clear: both +} + +.blogContent blockquote { + padding: 5px 15px; + margin: 20px 0; + background-color: #f8f5ec; + border-left: 5px solid #f7ebc6 +} + +.blogContent h2 > code { + font-size: inherit; + line-height: inherit; + color: #555; + background-color: rgba(0, 0, 0, 0.04) +} + +.documentationContent { + padding-top: 20px +} + +.documentationContent:after { + content: ""; + display: table; + clear: both +} + +.documentationContent .subHeader { + font-size: 24px +} + +.documentationContent h2 { + margin-top: 30px +} + +.documentationContent blockquote { + padding: 15px 30px 15px 15px; + margin: 20px 0; + background-color: rgba(204, 122, 111, 0.1); + border-left: 5px solid rgba(191, 87, 73, 0.2) +} + +.documentationContent blockquote h4 { + margin-top: 0 +} + +.documentationContent blockquote p { + margin-bottom: 0 +} + +.documentationContent blockquote p:first-child { + font-weight: bold; + font-size: 17.5px; + line-height: 20px; + margin-top: 0; + text-rendering: optimizelegibility +} + +.docs-prevnext { + padding-top: 40px; + padding-bottom: 40px +} + +.button { + background: -webkit-linear-gradient(#9a9a9a, #646464); + background: linear-gradient(#9a9a9a, #646464); + border-radius: 4px; + padding: 8px 16px; + font-size: 18px; + font-weight: 400; + margin: 0 12px; + display: inline-block; + color: #fafafa; + text-decoration: none; + text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); + text-decoration: none +} + +.button:hover { + text-decoration: none +} + +.button:active { + box-shadow: none +} + +.hero .button { + box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3) +} + +.button.blue { + background: -webkit-linear-gradient(#77a3d2, #4783c2); + background: linear-gradient(#77a3d2, #4783c2) +} + +.row { + padding-bottom: 4px +} + +.row .span4 { + width: 33.33%; + display: table-cell +} + +.row .span8 { + width: 66.66%; + display: table-cell +} + +.row .span6 { + width: 50%; + display: table-cell +} + +p { + margin: 10px 0 +} + +.highlight { + padding: 10px; + margin-bottom: 20px +} + +figure { + text-align: center +} + +.inner-content { + float: right; + width: 650px +} + +.nosidebar .inner-content { + float: none; + margin: 0 auto +} + +.inner-content img { + max-width: 100%; +} + +h1:after { + content: ""; + display: table; + clear: both +} + +.edit-page-link { + float: right; + font-size: 16px; + font-weight: normal; + line-height: 20px; + margin-top: 17px +} + +.post-list-item + .post-list-item { + margin-top: 60px +} + +/* code styling */ + +code { + font-family: 'Anonymous Pro', monospace; + font-size: 0.85em; + color: #000; +} + +pre code { + display: block; + line-height: 1.1; + color: #333333; + background: #f8f5ec; + padding: 30px 14px 14px; + position: relative; +} + +pre code:before { + position: absolute; + top: 0; + right: 0; + left: 0; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + color: #c2c0bc; + background-color: #f1ede4; + content: "Code"; +} + +p code { + padding: 0.1em 0.3em 0.2em; + border-radius: 0.3em; + position: relative; + background: #fffff3; + + white-space: nowrap; +} + +/* syntax hl stuff */ + +code.lang-markdown { + color: #424242; +} + +code.lang-markdown .header, +code.lang-markdown .strong { + font-weight: bold; +} + +code.lang-markdown .emphasis { + font-style: italic; +} + +code.lang-markdown .horizontal_rule, +code.lang-markdown .link_label, +code.lang-markdown .code, +code.lang-markdown .header, +code.lang-markdown .link_url { + color: #555; +} + +code.lang-markdown .blockquote, +code.lang-markdown .bullet { + color: #bbb; +} + +/* Tomorrow Theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ +.tomorrow-comment, pre .comment, pre .title { + color: #8e908c; +} + +.tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo { + color: #c82829; +} + +.tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant { + color: #f5871f; +} + +.tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute { + color: #eab700; +} + +.tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata { + color: #718c00; +} + +.tomorrow-aqua, pre .css .hexcolor { + color: #3e999f; +} + +.tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title { + color: #4271ae; +} + +.tomorrow-purple, pre .keyword, pre .javascript .function { + color: #8959a8; +} + +/* media queries */ + + +@media screen and (max-width: 960px) { + .nav-main { + position: static + } + + .container { + padding-top: 0 + } +} \ No newline at end of file diff --git a/gulp/build.js b/gulp/build.js deleted file mode 100644 index 79bcf23..0000000 --- a/gulp/build.js +++ /dev/null @@ -1,99 +0,0 @@ -'use strict'; - -var path = require('path'); -var gulp = require('gulp'); -var conf = require('./conf'); - -var $ = require('gulp-load-plugins')({ - pattern: ['gulp-*', 'main-bower-files', 'uglify-save-license', 'del'] -}); - -gulp.task('partials', function () { - return gulp.src([ - path.join(conf.paths.src, '/app/**/*.html'), - path.join(conf.paths.tmp, '/serve/app/**/*.html') - ]) - .pipe($.minifyHtml({ - empty: true, - spare: true, - quotes: true - })) - .pipe($.angularTemplatecache('templateCacheHtml.js', { - module: 'BlurAdmin', - root: 'app' - })) - .pipe(gulp.dest(conf.paths.tmp + '/partials/')); -}); - -gulp.task('html', ['inject', 'partials'], function () { - var partialsInjectFile = gulp.src(path.join(conf.paths.tmp, '/partials/templateCacheHtml.js'), { read: false }); - var partialsInjectOptions = { - starttag: '', - ignorePath: path.join(conf.paths.tmp, '/partials'), - addRootSlash: false - }; - - var htmlFilter = $.filter('*.html', { restore: true }); - var jsFilter = $.filter('**/*.js', { restore: true }); - var cssFilter = $.filter('**/*.css', { restore: true }); - var assets; - - return gulp.src(path.join(conf.paths.tmp, '/serve/*.html')) - .pipe($.inject(partialsInjectFile, partialsInjectOptions)) - .pipe(assets = $.useref.assets()) - .pipe($.rev()) - .pipe(jsFilter) - .pipe($.sourcemaps.init()) - .pipe($.ngAnnotate()) - .pipe($.uglify({ preserveComments: $.uglifySaveLicense })).on('error', conf.errorHandler('Uglify')) - .pipe($.sourcemaps.write('maps')) - .pipe(jsFilter.restore) - .pipe(cssFilter) - .pipe($.sourcemaps.init()) - .pipe($.replace('../../bower_components/bootstrap-sass/assets/fonts/bootstrap/', '../fonts/')) - .pipe($.minifyCss({ processImport: false })) - .pipe($.sourcemaps.write('maps')) - .pipe(cssFilter.restore) - .pipe(assets.restore()) - .pipe($.useref()) - .pipe($.revReplace()) - .pipe(htmlFilter) - .pipe($.minifyHtml({ - empty: true, - spare: true, - quotes: true, - conditionals: true - })) - .pipe(htmlFilter.restore) - .pipe(gulp.dest(path.join(conf.paths.dist, '/'))) - .pipe($.size({ title: path.join(conf.paths.dist, '/'), showFiles: true })); - }); - -// Only applies for fonts from bower dependencies -// Custom fonts are handled by the "other" task -gulp.task('fonts', function () { - return gulp.src($.mainBowerFiles()) - .pipe($.filter('**/*.{eot,svg,ttf,woff,woff2}')) - .pipe($.flatten()) - .pipe(gulp.dest(path.join(conf.paths.dist, '/fonts/'))); -}); - -gulp.task('other', ['copyVendorImages'], function () { - var fileFilter = $.filter(function (file) { - return file.stat.isFile(); - }); - - return gulp.src([ - path.join(conf.paths.src, '/**/*'), - path.join('!' + conf.paths.src, '/**/*.{html,css,js,scss,md}'), - path.join(conf.paths.tmp, '/serve/**/assets/img/theme/vendor/**/*') - ]) - .pipe(fileFilter) - .pipe(gulp.dest(path.join(conf.paths.dist, '/'))); -}); - -gulp.task('clean', function () { - return $.del([path.join(conf.paths.dist, '/'), path.join(conf.paths.tmp, '/')]); -}); - -gulp.task('build', ['html', 'fonts', 'other']); diff --git a/gulp/conf.js b/gulp/conf.js deleted file mode 100644 index 1f0be2d..0000000 --- a/gulp/conf.js +++ /dev/null @@ -1,41 +0,0 @@ -/** - * This file contains the variables used in other gulp files - * which defines tasks - * By design, we only put there very generic config values - * which are used in several places to keep good readability - * of the tasks - */ - -var gutil = require('gulp-util'); - -/** - * The main paths of your project handle these with care - */ -exports.paths = { - src: 'src', - dist: 'release', - tmp: '.tmp', - e2e: 'e2e' -}; - -/** - * Wiredep is the lib which inject bower dependencies in your project - * Mainly used to inject script tags in the index.html but also used - * to inject css preprocessor deps and js files in karma - */ -exports.wiredep = { - exclude: [/\/bootstrap\.js$/, /\/bootstrap-sass\/.*\.js/, /\/require\.js/], - directory: 'bower_components' -}; - -/** - * Common implementation for an error handler of a Gulp plugin - */ -exports.errorHandler = function(title) { - 'use strict'; - - return function(err) { - gutil.log(gutil.colors.red('[' + title + ']'), err.toString()); - this.emit('end'); - }; -}; diff --git a/gulp/images.js b/gulp/images.js deleted file mode 100644 index 3b7ba97..0000000 --- a/gulp/images.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var path = require('path'); -var gulp = require('gulp'); -var conf = require('./conf'); - -gulp.task('copyVendorImages', function () { - return gulp - .src([ - path.join(conf.wiredep.directory, '**/ammap/dist/ammap/images/**/*'), - path.join(conf.wiredep.directory, '**/amcharts/dist/amcharts/images/**/*'), - path.join(conf.wiredep.directory, '**/ionrangeslider/img/**/*'), - path.join(conf.wiredep.directory, '**/jstree/dist/themes/**/*'), - path.join(conf.wiredep.directory, '**/leaflet/dist/images/**/*') - ]) - .pipe(gulp.dest(path.join(conf.paths.tmp, 'serve', '/assets/img/theme/vendor'))); -}); - diff --git a/gulp/inject.js b/gulp/inject.js deleted file mode 100644 index 05bf008..0000000 --- a/gulp/inject.js +++ /dev/null @@ -1,73 +0,0 @@ -'use strict'; - -var path = require('path'); -var gulp = require('gulp'); -var conf = require('./conf'); - -var $ = require('gulp-load-plugins')(); - -var wiredep = require('wiredep').stream; -var _ = require('lodash'); - -var browserSync = require('browser-sync'); - -gulp.task('inject-reload', ['inject'], function () { - browserSync.reload(); -}); - -gulp.task('inject', ['scripts', 'styles', 'injectAuth', 'inject404', 'copyVendorImages'], function () { - var injectStyles = gulp.src([ - path.join(conf.paths.tmp, '/serve/app/main.css'), - path.join('!' + conf.paths.tmp, '/serve/app/vendor.css') - ], {read: false}); - - var injectScripts = gulp.src([ - path.join(conf.paths.src, '/assets/js/**/*.js'), - path.join(conf.paths.src, '/app/**/*.module.js'), - path.join(conf.paths.src, '/app/**/*.js'), - path.join('!' + conf.paths.src, '/app/**/*.spec.js'), - path.join('!' + conf.paths.src, '/app/**/*.mock.js'), - ]) - /*.pipe($.angularFilesort())*/.on('error', conf.errorHandler('AngularFilesort')); - - var injectOptions = { - ignorePath: [conf.paths.src, path.join(conf.paths.tmp, '/serve')], - addRootSlash: false - }; - - return gulp.src(path.join(conf.paths.src, '/index.html')) - .pipe($.inject(injectStyles, injectOptions)) - .pipe($.inject(injectScripts, injectOptions)) - .pipe(wiredep(_.extend({}, conf.wiredep))) - .pipe(gulp.dest(path.join(conf.paths.tmp, '/serve'))); -}); - -gulp.task('injectAuth', ['stylesAuth'], function () { - return injectAlone({ - css: [path.join('!' + conf.paths.tmp, '/serve/app/vendor.css'), path.join(conf.paths.tmp, '/serve/app/auth.css')], - paths: [path.join(conf.paths.src, '/auth.html'), path.join(conf.paths.src, '/reg.html')] - }) -}); - -gulp.task('inject404', ['styles404'], function () { - return injectAlone({ - css: [path.join('!' + conf.paths.tmp, '/serve/app/vendor.css'), path.join(conf.paths.tmp, '/serve/app/404.css')], - paths: path.join(conf.paths.src, '/404.html') - }) -}); - -var injectAlone = function (options) { - var injectStyles = gulp.src( - options.css - , {read: false}); - - var injectOptions = { - ignorePath: [conf.paths.src, path.join(conf.paths.tmp, '/serve')], - addRootSlash: false - }; - - return gulp.src(options.paths) - .pipe($.inject(injectStyles, injectOptions)) - .pipe(wiredep(_.extend({}, conf.wiredep))) - .pipe(gulp.dest(path.join(conf.paths.tmp, '/serve'))); -}; \ No newline at end of file diff --git a/gulp/marketplace.js b/gulp/marketplace.js deleted file mode 100644 index 5977c48..0000000 --- a/gulp/marketplace.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -var path = require('path'); -var gulp = require('gulp'); -var zip = require('gulp-zip'); -var prompt = require('gulp-prompt'); -var rename = require('gulp-rename'); - -gulp.task('marketplace-release', ['build'], function () { - return gulp.src('') - .pipe(prompt.prompt({ - type: 'input', - name: 'version', - message: 'Please enter release version (x.x.x)' - }, function (res) { - var nameAndVersion = 'blur-admin-' + res.version; - return gulp - .src(['src/**', 'release/**', 'gulp/**', 'bower.json', 'gulpfile.js', 'package.json', 'README.md', '.gitignore'], {base: "."}) - .pipe(rename(function (path) { - path.dirname = nameAndVersion + '/' + path.dirname; - })) - .pipe(zip(nameAndVersion + '.zip')) - .pipe(gulp.dest('.')); - })); - -}); \ No newline at end of file diff --git a/gulp/scripts.js b/gulp/scripts.js deleted file mode 100644 index 585e4fc..0000000 --- a/gulp/scripts.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -var path = require('path'); -var gulp = require('gulp'); -var conf = require('./conf'); - -var browserSync = require('browser-sync'); - -var $ = require('gulp-load-plugins')(); - - -gulp.task('scripts-reload', function() { - return buildScripts() - .pipe(browserSync.stream()); -}); - -gulp.task('scripts', function() { - return buildScripts(); -}); - -function buildScripts() { - return gulp.src(path.join(conf.paths.src, '/app/**/*.js')) - .pipe($.eslint()) - .pipe($.eslint.format()) - .pipe($.size()) -}; diff --git a/gulp/server.js b/gulp/server.js deleted file mode 100644 index 9800867..0000000 --- a/gulp/server.js +++ /dev/null @@ -1,64 +0,0 @@ -'use strict'; - -var path = require('path'); -var gulp = require('gulp'); -var conf = require('./conf'); - -var browserSync = require('browser-sync'); -var browserSyncSpa = require('browser-sync-spa'); - -var util = require('util'); - -var proxyMiddleware = require('http-proxy-middleware'); - -function browserSyncInit(baseDir, browser) { - browser = browser === undefined ? 'default' : browser; - - var routes = null; - if(baseDir === conf.paths.src || (util.isArray(baseDir) && baseDir.indexOf(conf.paths.src) !== -1)) { - routes = { - '/bower_components': 'bower_components' - }; - } - - var server = { - baseDir: baseDir, - routes: routes - }; - - /* - * You can add a proxy to your backend by uncommenting the line below. - * You just have to configure a context which will we redirected and the target url. - * Example: $http.get('/users') requests will be automatically proxified. - * - * For more details and option, https://github.com/chimurai/http-proxy-middleware/blob/v0.9.0/README.md - */ - // server.middleware = proxyMiddleware('/users', {target: 'http://jsonplaceholder.typicode.com', changeOrigin: true}); - - browserSync.instance = browserSync.init({ - startPath: '/', - server: server, - browser: browser, - ghostMode: false - }); -} - -browserSync.use(browserSyncSpa({ - selector: '[ng-app]'// Only needed for angular apps -})); - -gulp.task('serve', ['watch'], function () { - browserSyncInit([path.join(conf.paths.tmp, '/serve'), conf.paths.src]); -}); - -gulp.task('serve:dist', ['build'], function () { - browserSyncInit(conf.paths.dist); -}); - -gulp.task('serve:e2e', ['inject'], function () { - browserSyncInit([conf.paths.tmp + '/serve', conf.paths.src], []); -}); - -gulp.task('serve:e2e-dist', ['build'], function () { - browserSyncInit(conf.paths.dist, []); -}); diff --git a/gulp/styles.js b/gulp/styles.js deleted file mode 100644 index a744fab..0000000 --- a/gulp/styles.js +++ /dev/null @@ -1,73 +0,0 @@ -'use strict'; - -var path = require('path'); -var gulp = require('gulp'); -var conf = require('./conf'); - -var browserSync = require('browser-sync'); - -var $ = require('gulp-load-plugins')(); - -var wiredep = require('wiredep').stream; -var _ = require('lodash'); - -gulp.task('styles-reload', ['styles'], function () { - return buildStyles() - .pipe(browserSync.stream()); -}); - -gulp.task('styles', function () { - return buildStyles(); -}); - -gulp.task('stylesAuth', function () { - return buildSingleScss(path.join(conf.paths.src, '/sass/auth.scss')); -}); -gulp.task('styles404', function () { - return buildSingleScss(path.join(conf.paths.src, '/sass/404.scss')); -}); - -var buildStyles = function () { - var sassOptions = { - style: 'expanded' - }; - - var injectFiles = gulp.src([ - path.join(conf.paths.src, '/sass/**/_*.scss'), - '!' + path.join(conf.paths.src, '/sass/theme/conf/**/*.scss'), - '!' + path.join(conf.paths.src, '/sass/404.scss'), - '!' + path.join(conf.paths.src, '/sass/auth.scss') - ], {read: false}); - - var injectOptions = { - transform: function (filePath) { - filePath = filePath.replace(conf.paths.src + '/sass/', ''); - return '@import "' + filePath + '";'; - }, - starttag: '// injector', - endtag: '// endinjector', - addRootSlash: false - }; - - return gulp.src([ - path.join(conf.paths.src, '/sass/main.scss') - ]) - .pipe($.inject(injectFiles, injectOptions)) - .pipe(wiredep(_.extend({}, conf.wiredep))) - .pipe($.sourcemaps.init()) - .pipe($.sass(sassOptions)).on('error', conf.errorHandler('Sass')) - .pipe($.autoprefixer()).on('error', conf.errorHandler('Autoprefixer')) - .pipe($.sourcemaps.write()) - .pipe(gulp.dest(path.join(conf.paths.tmp, '/serve/app/'))); -}; - -var buildSingleScss = function (paths) { - var sassOptions = { - style: 'expanded' - }; - - return gulp.src([paths]) - .pipe($.sass(sassOptions)).on('error', conf.errorHandler('Sass')) - .pipe($.autoprefixer()).on('error', conf.errorHandler('Autoprefixer')) - .pipe(gulp.dest(path.join(conf.paths.tmp, '/serve/app/'))); -}; diff --git a/gulp/watch.js b/gulp/watch.js deleted file mode 100644 index d140558..0000000 --- a/gulp/watch.js +++ /dev/null @@ -1,39 +0,0 @@ -'use strict'; - -var path = require('path'); -var gulp = require('gulp'); -var conf = require('./conf'); - -var browserSync = require('browser-sync'); - -function isOnlyChange(event) { - return event.type === 'changed'; -} - -gulp.task('watch', ['inject'], function () { - - gulp.watch([path.join(conf.paths.src, '/*.html'), 'bower.json'], ['inject-reload']); - - gulp.watch([ - path.join(conf.paths.src, '/sass/**/*.css'), - path.join(conf.paths.src, '/sass/**/*.scss') - ], function(event) { - if(isOnlyChange(event)) { - gulp.start('styles-reload'); - } else { - gulp.start('inject-reload'); - } - }); - - gulp.watch(path.join(conf.paths.src, '/app/**/*.js'), function(event) { - if(isOnlyChange(event)) { - gulp.start('scripts-reload'); - } else { - gulp.start('inject-reload'); - } - }); - - gulp.watch(path.join(conf.paths.src, '/app/**/*.html'), function(event) { - browserSync.reload(event.path); - }); -}); diff --git a/gulpfile.js b/gulpfile.js deleted file mode 100644 index 6b58f6b..0000000 --- a/gulpfile.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var gulp = require('gulp'); -var wrench = require('wrench'); - -/** - * This will load all js or coffee files in the gulp directory - * in order to load all gulp tasks - */ -wrench.readdirSyncRecursive('./gulp').filter(function(file) { - return (/\.(js|coffee)$/i).test(file); -}).map(function(file) { - require('./gulp/' + file); -}); - - -/** - * Default task clean temporaries directories and launch the - * main optimization build task - */ -gulp.task('default', ['clean'], function () { - gulp.start('build'); -}); diff --git a/images/blur-admin-logo.png b/images/blur-admin-logo.png new file mode 100644 index 0000000..963504f Binary files /dev/null and b/images/blur-admin-logo.png differ diff --git a/images/blur-preview-mint.jpg b/images/blur-preview-mint.jpg new file mode 100644 index 0000000..9967997 Binary files /dev/null and b/images/blur-preview-mint.jpg differ diff --git a/images/blur-preview.jpg b/images/blur-preview.jpg new file mode 100644 index 0000000..bdd78ae Binary files /dev/null and b/images/blur-preview.jpg differ diff --git a/images/why-design.svg b/images/why-design.svg new file mode 100644 index 0000000..0f48642 --- /dev/null +++ b/images/why-design.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/images/why-practices.svg b/images/why-practices.svg new file mode 100644 index 0000000..3e4d1f3 --- /dev/null +++ b/images/why-practices.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/images/why-structure.svg b/images/why-structure.svg new file mode 100644 index 0000000..5b8f572 --- /dev/null +++ b/images/why-structure.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..f914fa0 --- /dev/null +++ b/index.html @@ -0,0 +1,93 @@ + + + + + + + + BlurAdmin angular admin dashboard template + + + + + +
+ +
+
+
+
BlurAdmin
+
Angular admin dashboard front-end framework
+ +
+
+

Mint version

Demo +
+
+

Blur version (experimental)

Demo +
+
+
+
+
+
+
+

Why BlurAdmin?

+
+
+

Awesome structure

+

Feature-based structure has proven itself as a good choice for large angular applications.

+
+
+

Neat design

+

We have carefully selected each color and character for this template. Enjoy it!

+
+
+

Ease of customization

+

Check out our article, where we describe how can you create completely different look in 2 minutes!

+
+
+
+
+
+
+

Is it free?

+

Blur admin is completely free and MIT licensed. That means you can do whatever you want with it.

+

Initially we planned to sell it on template markets.But they rejected us several times.That's why we decided to make it open-source. And honestly, we have completely no regrets about it! + And we suggest you to not waste your money and use our template instead of paid ones! + Trust us, it's better than large number of them. +

+
+
+
+
+

How can I support you guys?

+

Here's what you can do:

+ +
+
+
+
+

Can I hire you?

+

Yes! We are available for hire. Visit our homepageor simply leave us a note to contact@akveo.com.We will be happy to work with you!

+
+
+ +
+ + \ No newline at end of file diff --git a/package.json b/package.json deleted file mode 100644 index e61119b..0000000 --- a/package.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "blur_admin", - "version": "1.1.1", - "devDependencies": { - "estraverse": "~4.1.0", - "gulp": "~3.9.0", - "gulp-autoprefixer": "~3.0.2", - "gulp-angular-templatecache": "~1.8.0", - "del": "~2.0.2", - "lodash": "~3.10.1", - "gulp-minify-css": "~1.2.1", - "gulp-filter": "~3.0.1", - "gulp-flatten": "~0.2.0", - "gulp-eslint": "~1.0.0", - "eslint-plugin-angular": "~0.12.0", - "gulp-load-plugins": "~0.10.0", - "gulp-size": "~2.0.0", - "gulp-uglify": "~1.4.1", - "gulp-useref": "~1.3.0", - "gulp-util": "~3.0.6", - "gulp-ng-annotate": "~1.1.0", - "gulp-replace": "~0.5.4", - "gulp-rename": "~1.2.2", - "gulp-rev": "~6.0.1", - "gulp-rev-replace": "~0.4.2", - "gulp-minify-html": "~1.0.4", - "gulp-inject": "~3.0.0", - "gulp-protractor": "~1.0.0", - "gulp-sourcemaps": "~1.6.0", - "gulp-sass": "~2.0.4", - "gulp-angular-filesort": "~1.1.1", - "main-bower-files": "~2.9.0", - "wiredep": "~2.2.2", - "karma": "~0.13.10", - "karma-jasmine": "~0.3.6", - "karma-phantomjs-launcher": "~0.2.1", - "phantomjs": "~1.9.18", - "karma-angular-filesort": "~1.0.0", - "karma-coverage": "~0.5.2", - "karma-ng-html2js-preprocessor": "~0.2.0", - "browser-sync": "~2.9.11", - "browser-sync-spa": "~1.0.3", - "http-proxy-middleware": "~0.9.0", - "chalk": "~1.1.1", - "uglify-save-license": "~0.4.1", - "wrench": "~1.5.8", - "gulp-prompt": "^0.1.2", - "gulp-rename": "^1.2.2", - "gulp-zip": "^3.0.2" - }, - "scripts": { - "postinstall": "bower install" - } -} diff --git a/preview.html b/preview.html deleted file mode 100644 index 4f88760..0000000 --- a/preview.html +++ /dev/null @@ -1,33 +0,0 @@ -

- - - -

- -

-

Description

- Latest and the most trending web design approaches were brought together in Blur admin to deliver you the best experience ever. Each color, character and image was carefully selected to make you love what you see.
-
- Extremely beautiful. Elegant. Charming. Enjoy it.
-
- Love,
- Akveo team -

- -

-

Features

- -

- - diff --git a/src/404.html b/src/404.html deleted file mode 100644 index d8b5db8..0000000 --- a/src/404.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - Blur Admin - - - - - - - - - - - - - - -
-

404 Error

- -

Sorry, that page doesn't exist. Go to Home Page.

-
- - \ No newline at end of file diff --git a/src/app/app.js b/src/app/app.js deleted file mode 100644 index 1646f8d..0000000 --- a/src/app/app.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -angular.module('BlurAdmin', [ - 'ngAnimate', - 'ui.bootstrap', - 'ui.sortable', - 'ui.router', - 'ngTouch', - 'toastr', - 'smart-table', - "xeditable", - 'ui.slimscroll', - 'ngJsTree', - 'angular-progress-button-styles', - - 'BlurAdmin.theme', - 'BlurAdmin.pages', - 'BlurAdmin.tplSkin' -]); \ No newline at end of file diff --git a/src/app/pages/charts/amCharts/amCharts.module.js b/src/app/pages/charts/amCharts/amCharts.module.js deleted file mode 100644 index 13600b5..0000000 --- a/src/app/pages/charts/amCharts/amCharts.module.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.amCharts', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('charts.amCharts', { - url: '/amCharts', - templateUrl: 'app/pages/charts/amCharts/charts.html', - title: 'amCharts', - sidebarMeta: { - order: 0, - }, - }); - } - -})(); diff --git a/src/app/pages/charts/amCharts/areaChart/AreaChartCtrl.js b/src/app/pages/charts/amCharts/areaChart/AreaChartCtrl.js deleted file mode 100644 index 6254dbe..0000000 --- a/src/app/pages/charts/amCharts/areaChart/AreaChartCtrl.js +++ /dev/null @@ -1,146 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.amCharts') - .controller('AreaChartCtrl', AreaChartCtrl); - - /** @ngInject */ - function AreaChartCtrl($scope, layoutColors, $element, tplSkinChartWatcherHelper, layoutPaths) { - var id = $element[0].getAttribute('id'); - var areaChart = AmCharts.makeChart(id, { - type: 'serial', - theme: 'blur', - dataProvider: [ - { - lineColor: layoutColors.info, - date: '2012-01-01', - duration: 408 - }, - { - date: '2012-01-02', - duration: 482 - }, - { - date: '2012-01-03', - duration: 562 - }, - { - date: '2012-01-04', - duration: 379 - }, - { - lineColor: layoutColors.warning, - date: '2012-01-05', - duration: 501 - }, - { - date: '2012-01-06', - duration: 443 - }, - { - date: '2012-01-07', - duration: 405 - }, - { - date: '2012-01-08', - duration: 309, - lineColor: layoutColors.danger - }, - { - date: '2012-01-09', - duration: 287 - }, - { - date: '2012-01-10', - duration: 485 - }, - { - date: '2012-01-11', - duration: 890 - }, - { - date: '2012-01-12', - duration: 810 - } - ], - balloon: { - cornerRadius: 6, - horizontalPadding: 15, - verticalPadding: 10 - }, - valueAxes: [ - { - duration: 'mm', - durationUnits: { - hh: 'h ', - mm: 'min' - }, - axisAlpha: 0 - } - ], - graphs: [ - { - bullet: 'square', - bulletBorderAlpha: 1, - bulletBorderThickness: 1, - fillAlphas: 0.5, - fillColorsField: 'lineColor', - legendValueText: '[[value]]', - lineColorField: 'lineColor', - title: 'duration', - valueField: 'duration' - } - ], - - chartCursor: { - categoryBalloonDateFormat: 'YYYY MMM DD', - cursorAlpha: 0, - fullWidth: true - }, - dataDateFormat: 'YYYY-MM-DD', - categoryField: 'date', - categoryAxis: { - dateFormats: [ - { - period: 'DD', - format: 'DD' - }, - { - period: 'WW', - format: 'MMM DD' - }, - { - period: 'MM', - format: 'MMM' - }, - { - period: 'YYYY', - format: 'YYYY' - } - ], - parseDates: true, - autoGridCount: false, - axisColor: '#555555', - gridAlpha: 0, - gridCount: 50 - }, - export: { - enabled: true - }, - pathToImages: layoutPaths.images.amChart - }); - - tplSkinChartWatcherHelper.watchAxisChartStyleChanges($scope, areaChart); - - areaChart.addListener('dataUpdated', zoomAreaChart); - - function zoomAreaChart() { - areaChart.zoomToDates(new Date(2012, 0, 3), new Date(2012, 0, 11)); - } - } - -})(); diff --git a/src/app/pages/charts/amCharts/areaChart/areaChart.html b/src/app/pages/charts/amCharts/areaChart/areaChart.html deleted file mode 100644 index bd53f4b..0000000 --- a/src/app/pages/charts/amCharts/areaChart/areaChart.html +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/src/app/pages/charts/amCharts/barChart/BarChartCtrl.js b/src/app/pages/charts/amCharts/barChart/BarChartCtrl.js deleted file mode 100644 index e8f03a7..0000000 --- a/src/app/pages/charts/amCharts/barChart/BarChartCtrl.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.amCharts') - .controller('BarChartCtrl', BarChartCtrl); - - /** @ngInject */ - function BarChartCtrl($scope, layoutColors, $element, tplSkinChartWatcherHelper, layoutPaths) { - var id = $element[0].getAttribute('id'); - var barChart = AmCharts.makeChart(id, { - type: 'serial', - theme: 'blur', - dataProvider: [ - { - country: 'USA', - visits: 3025, - color: layoutColors.primary - }, - { - country: 'China', - visits: 1882, - color: layoutColors.danger - - }, - { - country: 'Japan', - visits: 1809, - color: layoutColors.info - }, - { - country: 'Germany', - visits: 1322, - color: layoutColors.success - }, - { - country: 'UK', - visits: 1122, - color: layoutColors.warning - }, - { - country: 'France', - visits: 1114, - color: layoutColors.default - } - ], - valueAxes: [ - { - axisAlpha: 0, - position: 'left', - title: 'Visitors from country' - } - ], - startDuration: 1, - graphs: [ - { - balloonText: '[[category]]: [[value]]', - fillColorsField: 'color', - fillAlphas: 0.7, - lineAlpha: 0.2, - type: 'column', - valueField: 'visits' - } - ], - chartCursor: { - categoryBalloonEnabled: false, - cursorAlpha: 0, - zoomable: false - }, - categoryField: 'country', - categoryAxis: { - gridPosition: 'start', - labelRotation: 45 - }, - export: { - enabled: true - }, - creditsPosition: 'top-right', - pathToImages: layoutPaths.images.amChart - }); - - tplSkinChartWatcherHelper.watchAxisChartStyleChanges($scope, barChart); - } - -})(); diff --git a/src/app/pages/charts/amCharts/barChart/barChart.html b/src/app/pages/charts/amCharts/barChart/barChart.html deleted file mode 100644 index fd2617c..0000000 --- a/src/app/pages/charts/amCharts/barChart/barChart.html +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/src/app/pages/charts/amCharts/charts.html b/src/app/pages/charts/amCharts/charts.html deleted file mode 100644 index f0aceed..0000000 --- a/src/app/pages/charts/amCharts/charts.html +++ /dev/null @@ -1,53 +0,0 @@ -
- -
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
- -
-
-
-
- - - - - -
- -
\ No newline at end of file diff --git a/src/app/pages/charts/amCharts/combinedChart/combinedChart.html b/src/app/pages/charts/amCharts/combinedChart/combinedChart.html deleted file mode 100644 index 8683149..0000000 --- a/src/app/pages/charts/amCharts/combinedChart/combinedChart.html +++ /dev/null @@ -1 +0,0 @@ -
diff --git a/src/app/pages/charts/amCharts/combinedChart/combinedChartCtrl.js b/src/app/pages/charts/amCharts/combinedChart/combinedChartCtrl.js deleted file mode 100644 index 673f269..0000000 --- a/src/app/pages/charts/amCharts/combinedChart/combinedChartCtrl.js +++ /dev/null @@ -1,245 +0,0 @@ -/** - * @author a.demeshko - * created on 22.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.amCharts') - .controller('combinedChartCtrl', combinedChartCtrl); - - /** @ngInject */ - function combinedChartCtrl($element, layoutColors, layoutPaths) { - var id = $element[0].getAttribute('id'); - var chart = AmCharts.makeChart(id, { - "type": "serial", - "theme": "none", - "color": layoutColors.default, - "dataDateFormat": "YYYY-MM-DD", - "precision": 2, - "valueAxes": [{ - color: layoutColors.default, - axisColor: layoutColors.default, - gridColor: layoutColors.default, - "id": "v1", - "title": "Sales", - "position": "left", - "autoGridCount": false, - "labelFunction": function(value) { - return "$" + Math.round(value) + "M"; - } - }, { - color: layoutColors.default, - axisColor: layoutColors.default, - gridColor: layoutColors.default, - "id": "v2", - "title": "Market Days", - "gridAlpha": 0, - "position": "right", - "autoGridCount": false - }], - "graphs": [{ - "id": "g3", - color: layoutColors.default, - "valueAxis": "v1", - "lineColor": layoutColors.primaryLight, - "fillColors": layoutColors.primaryLight, - "fillAlphas": 0.8, - "lineAlpha": 0.8, - "type": "column", - "title": "Actual Sales", - "valueField": "sales2", - "clustered": false, - "columnWidth": 0.5, - "lineColorField" : "#ffffff", - "legendValueText": "$[[value]]M", - "balloonText": "[[title]]
$[[value]]M" - }, { - "id": "g4", - "valueAxis": "v1", - color: layoutColors.default, - "lineColor": layoutColors.primary, - "fillColors": layoutColors.primary, - "fillAlphas": 0.9, - "lineAlpha": 0.9, - "type": "column", - "title": "Target Sales", - "valueField": "sales1", - "clustered": false, - "columnWidth": 0.3, - "legendValueText": "$[[value]]M", - "balloonText": "[[title]]
$[[value]]M" - }, { - "id": "g1", - "valueAxis": "v2", - "bullet": "round", - "bulletBorderAlpha": 1, - "bulletColor": "#FFFFFF", - color: layoutColors.default, - "bulletSize": 5, - "hideBulletsCount": 50, - "lineThickness": 2, - "lineColor": layoutColors.danger, - "type": "smoothedLine", - "title": "Market Days", - "useLineColorForBulletBorder": true, - "valueField": "market1", - "balloonText": "[[title]]
[[value]]" - }, { - "id": "g2", - "valueAxis": "v2", - color: layoutColors.default, - "bullet": "round", - "bulletBorderAlpha": 1, - "bulletColor": "#FFFFFF", - "bulletSize": 5, - "hideBulletsCount": 50, - "lineThickness": 2, - "lineColor": layoutColors.warning, - "type": "smoothedLine", - "dashLength": 5, - "title": "Market Days ALL", - "useLineColorForBulletBorder": true, - "valueField": "market2", - "balloonText": "[[title]]
[[value]]" - }], - "chartScrollbar": { - "graph": "g1", - "oppositeAxis": false, - "offset": 30, - "scrollbarHeight": 50, - "backgroundAlpha": 0, - "selectedBackgroundAlpha": 0.1, - "selectedBackgroundColor": "#888888", - "graphFillAlpha": 0, - "graphLineAlpha": 0.5, - "selectedGraphFillAlpha": 0, - "selectedGraphLineAlpha": 1, - "autoGridCount": true, - "color": "#AAAAAA" - }, - "chartCursor": { - "pan": true, - "cursorColor" : layoutColors.danger, - "valueLineEnabled": true, - "valueLineBalloonEnabled": true, - "cursorAlpha": 0, - "valueLineAlpha": 0.2 - }, - "categoryField": "date", - "categoryAxis": { - "axisColor": "#fff", - "color": "#fff", - "gridColor": "#fff", - "parseDates": true, - "dashLength": 1, - "minorGridEnabled": true - }, - "legend": { - "useGraphSettings": true, - "position": "top", - "color": "#fff" - }, - "balloon": { - "borderThickness": 1, - "shadowAlpha": 0 - }, - "export": { - "enabled": true - }, - "dataProvider": [{ - "date": "2013-01-16", - "market1": 71, - "market2": 75, - "sales1": 5, - "sales2": 8 - }, { - "date": "2013-01-17", - "market1": 74, - "market2": 78, - "sales1": 4, - "sales2": 6 - }, { - "date": "2013-01-18", - "market1": 78, - "market2": 88, - "sales1": 5, - "sales2": 2 - }, { - "date": "2013-01-19", - "market1": 85, - "market2": 89, - "sales1": 8, - "sales2": 9 - }, { - "date": "2013-01-20", - "market1": 82, - "market2": 89, - "sales1": 9, - "sales2": 6 - }, { - "date": "2013-01-21", - "market1": 83, - "market2": 85, - "sales1": 3, - "sales2": 5 - }, { - "date": "2013-01-22", - "market1": 88, - "market2": 92, - "sales1": 5, - "sales2": 7 - }, { - "date": "2013-01-23", - "market1": 85, - "market2": 90, - "sales1": 7, - "sales2": 6 - }, { - "date": "2013-01-24", - "market1": 85, - "market2": 91, - "sales1": 9, - "sales2": 5 - }, { - "date": "2013-01-25", - "market1": 80, - "market2": 84, - "sales1": 5, - "sales2": 8 - }, { - "date": "2013-01-26", - "market1": 87, - "market2": 92, - "sales1": 4, - "sales2": 8 - }, { - "date": "2013-01-27", - "market1": 84, - "market2": 87, - "sales1": 3, - "sales2": 4 - }, { - "date": "2013-01-28", - "market1": 83, - "market2": 88, - "sales1": 5, - "sales2": 7 - }, { - "date": "2013-01-29", - "market1": 84, - "market2": 87, - "sales1": 5, - "sales2": 8 - }, { - "date": "2013-01-30", - "market1": 81, - "market2": 85, - "sales1": 4, - "sales2": 7 - }], - pathToImages: layoutPaths.images.amChart - }); - } - -})(); diff --git a/src/app/pages/charts/amCharts/funnelChart/FunnelChartCtrl.js b/src/app/pages/charts/amCharts/funnelChart/FunnelChartCtrl.js deleted file mode 100644 index 992ff9c..0000000 --- a/src/app/pages/charts/amCharts/funnelChart/FunnelChartCtrl.js +++ /dev/null @@ -1,70 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.amCharts') - .controller('FunnelChartCtrl', FunnelChartCtrl); - - /** @ngInject */ - function FunnelChartCtrl($scope, $element, tplSkinChartWatcherHelper, layoutPaths) { - var id = $element[0].getAttribute('id'); - var funnelChart = AmCharts.makeChart(id, { - type: 'funnel', - theme: 'blur', - dataProvider: [ - { - title: 'Website visits', - value: 300 - }, - { - title: 'Downloads', - value: 123 - }, - { - title: 'Requested prices', - value: 98 - }, - { - title: 'Contaced', - value: 72 - }, - { - title: 'Purchased', - value: 35 - }, - { - title: 'Asked for support', - value: 25 - }, - { - title: 'Purchased more', - value: 18 - } - ], - titleField: 'title', - marginRight: 160, - marginLeft: 15, - labelPosition: 'right', - funnelAlpha: 0.9, - valueField: 'value', - startX: 0, - alpha: 0.8, - neckWidth: '0%', - startAlpha: 0, - outlineThickness: 1, - neckHeight: '0%', - balloonText: '[[title]]:[[value]]', - export: { - enabled: true - }, - creditsPosition: 'bottom-left', - pathToImages: layoutPaths - }); - - tplSkinChartWatcherHelper.watchFunnelChanges($scope, funnelChart); - } - -})(); diff --git a/src/app/pages/charts/amCharts/funnelChart/funnelChart.html b/src/app/pages/charts/amCharts/funnelChart/funnelChart.html deleted file mode 100644 index 2b2295e..0000000 --- a/src/app/pages/charts/amCharts/funnelChart/funnelChart.html +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/src/app/pages/charts/amCharts/ganttChart/ganttChart.html b/src/app/pages/charts/amCharts/ganttChart/ganttChart.html deleted file mode 100644 index 83068a1..0000000 --- a/src/app/pages/charts/amCharts/ganttChart/ganttChart.html +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/src/app/pages/charts/amCharts/ganttChart/ganttChartCtrl.js b/src/app/pages/charts/amCharts/ganttChart/ganttChartCtrl.js deleted file mode 100644 index 1508b05..0000000 --- a/src/app/pages/charts/amCharts/ganttChart/ganttChartCtrl.js +++ /dev/null @@ -1,297 +0,0 @@ -/** - * @author a.demeshko - * created on 22.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.amCharts') - .controller('ganttChartCtrl', ganttChartCtrl); - - /** @ngInject */ - function ganttChartCtrl(layoutColors, $element) { - var id = $element[0].getAttribute('id'); - var chart = AmCharts.makeChart( id, { - "type": "gantt", - "theme": "light", - "marginRight": 70, - "period": "hh", - "dataDateFormat":"YYYY-MM-DD", - "balloonDateFormat": "JJ:NN", - "columnWidth": 0.5, - "valueAxis": { - "type": "date", - "minimum": 7, - "maximum": 31 - }, - "brightnessStep": 10, - "graph": { - "fillAlphas": 1, - "balloonText": "[[task]]: [[open]] [[value]]" - }, - "rotate": true, - "categoryField": "category", - "segmentsField": "segments", - "colorField": "color", - "startDate": "2015-01-01", - "startField": "start", - "endField": "end", - "durationField": "duration", - "dataProvider": [ - { - "category": "John", - "segments": [ { - "start": 7, - "duration": 2, - "color": "#46615e", - "task": "Task #1" - }, { - "duration": 2, - "color": "#727d6f", - "task": "Task #2" - }, { - "duration": 2, - "color": "#8dc49f", - "task": "Task #3" - } ] - }, { - "category": "Smith", - "segments": [ { - "start": 10, - "duration": 2, - "color": "#727d6f", - "task": "Task #2" - }, { - "duration": 1, - "color": "#8dc49f", - "task": "Task #3" - }, { - "duration": 4, - "color": "#46615e", - "task": "Task #1" - } ] - }, { - "category": "Ben", - "segments": [ { - "start": 12, - "duration": 2, - "color": "#727d6f", - "task": "Task #2" - }, { - "start": 16, - "duration": 2, - "color": "#FFE4C4", - "task": "Task #4" - } ] - }, { - "category": "Mike", - "segments": [ { - "start": 9, - "duration": 6, - "color": "#46615e", - "task": "Task #1" - }, { - "duration": 4, - "color": "#727d6f", - "task": "Task #2" - } ] - }, { - "category": "Lenny", - "segments": [ { - "start": 8, - "duration": 1, - "color": "#8dc49f", - "task": "Task #3" - }, { - "duration": 4, - "color": "#46615e", - "task": "Task #1" - } ] - }, { - "category": "Scott", - "segments": [ { - "start": 15, - "duration": 3, - "color": "#727d6f", - "task": "Task #2" - } ] - }, { - "category": "Julia", - "segments": [ { - "start": 9, - "duration": 2, - "color": "#46615e", - "task": "Task #1" - }, { - "duration": 1, - "color": "#727d6f", - "task": "Task #2" - }, { - "duration": 8, - "color": "#8dc49f", - "task": "Task #3" - } ] - }, { - "category": "Bob", - "segments": [ { - "start": 9, - "duration": 8, - "color": "#727d6f", - "task": "Task #2" - }, { - "duration": 7, - "color": "#8dc49f", - "task": "Task #3" - } ] - }, { - "category": "Kendra", - "segments": [ { - "start": 11, - "duration": 8, - "color": "#727d6f", - "task": "Task #2" - }, { - "start": 16, - "duration": 2, - "color": "#FFE4C4", - "task": "Task #4" - } ] - }, { - "category": "Tom", - "segments": [ { - "start": 9, - "duration": 4, - "color": "#46615e", - "task": "Task #1" - }, { - "duration": 3, - "color": "#727d6f", - "task": "Task #2" - }, { - "duration": 5, - "color": "#8dc49f", - "task": "Task #3" - } ] - }, { - "category": "Kyle", - "segments": [ { - "start": 6, - "duration": 3, - "color": "#727d6f", - "task": "Task #2" - } ] - }, { - "category": "Anita", - "segments": [ { - "start": 12, - "duration": 2, - "color": "#727d6f", - "task": "Task #2" - }, { - "start": 16, - "duration": 2, - "color": "#FFE4C4", - "task": "Task #4" - } ] - }, { - "category": "Jack", - "segments": [ { - "start": 8, - "duration": 10, - "color": "#46615e", - "task": "Task #1" - }, { - "duration": 2, - "color": "#727d6f", - "task": "Task #2" - } ] - }, { - "category": "Kim", - "segments": [ { - "start": 12, - "duration": 2, - "color": "#727d6f", - "task": "Task #2" - }, { - "duration": 3, - "color": "#8dc49f", - "task": "Task #3" - } ] - }, { - "category": "Aaron", - "segments": [ { - "start": 18, - "duration": 2, - "color": "#727d6f", - "task": "Task #2" - }, { - "duration": 2, - "color": "#FFE4C4", - "task": "Task #4" - } ] - }, { - "category": "Alan", - "segments": [ { - "start": 17, - "duration": 2, - "color": "#46615e", - "task": "Task #1" - }, { - "duration": 2, - "color": "#727d6f", - "task": "Task #2" - }, { - "duration": 2, - "color": "#8dc49f", - "task": "Task #3" - } ] - }, { - "category": "Ruth", - "segments": [ { - "start": 13, - "duration": 2, - "color": "#727d6f", - "task": "Task #2" - }, { - "duration": 1, - "color": "#8dc49f", - "task": "Task #3" - }, { - "duration": 4, - "color": "#46615e", - "task": "Task #1" - } ] - }, { - "category": "Simon", - "segments": [ { - "start": 10, - "duration": 3, - "color": "#727d6f", - "task": "Task #2" - }, { - "start": 17, - "duration": 4, - "color": "#FFE4C4", - "task": "Task #4" - } ] - } ], - "valueScrollbar": { - "autoGridCount":true - }, - "chartCursor": { - "cursorColor":"#55bb76", - "valueBalloonsEnabled": false, - "cursorAlpha": 0, - "valueLineAlpha":0.5, - "valueLineBalloonEnabled": true, - "valueLineEnabled": true, - "zoomable":false, - "valueZoomable":true - }, - "export": { - "enabled": true - } - }); - } - -})(); diff --git a/src/app/pages/charts/amCharts/lineChart/LineChartCtrl.js b/src/app/pages/charts/amCharts/lineChart/LineChartCtrl.js deleted file mode 100644 index c6f1ee1..0000000 --- a/src/app/pages/charts/amCharts/lineChart/LineChartCtrl.js +++ /dev/null @@ -1,155 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.amCharts') - .controller('LineChartCtrl', LineChartCtrl); - - /** @ngInject */ - function LineChartCtrl($scope, layoutColors, $element, tplSkinChartWatcherHelper, layoutPaths) { - var id = $element[0].getAttribute('id'); - var lineChart = AmCharts.makeChart(id, { - type: 'serial', - theme: 'blur', - marginTop: 0, - marginRight: 15, - dataProvider: [ - { - year: '1990', - value: -0.17 - }, - { - year: '1991', - value: -0.254 - }, - { - year: '1992', - value: 0.019 - }, - { - year: '1993', - value: -0.063 - }, - { - year: '1994', - value: 0.005 - }, - { - year: '1995', - value: 0.077 - }, - { - year: '1996', - value: 0.12 - }, - { - year: '1997', - value: 0.011 - }, - { - year: '1998', - value: 0.177 - }, - { - year: '1999', - value: -0.021 - }, - { - year: '2000', - value: -0.037 - }, - { - year: '2001', - value: 0.03 - }, - { - year: '2002', - value: 0.179 - }, - { - year: '2003', - value: 0.2 - }, - { - year: '2004', - value: 0.180 - }, - { - year: '2005', - value: 0.21 - } - ], - valueAxes: [ - { - axisAlpha: 0, - position: 'left' - } - ], - graphs: [ - { - id: 'g1', - balloonText: '[[value]]', - bullet: 'round', - bulletSize: 8, - lineColor: layoutColors.danger, - lineThickness: 1, - negativeLineColor: layoutColors.warning, - type: 'smoothedLine', - valueField: 'value' - } - ], - chartScrollbar: { - graph: 'g1', - gridAlpha: 0, - color: '#888888', - scrollbarHeight: 55, - backgroundAlpha: 0, - selectedBackgroundAlpha: 0.1, - selectedBackgroundColor: '#888888', - graphFillAlpha: 0, - autoGridCount: true, - selectedGraphFillAlpha: 0, - graphLineAlpha: 0.2, - graphLineColor: '#c2c2c2', - selectedGraphLineColor: '#888888', - selectedGraphLineAlpha: 1 - }, - chartCursor: { - categoryBalloonDateFormat: 'YYYY', - cursorAlpha: 0, - valueLineEnabled: true, - valueLineBalloonEnabled: true, - valueLineAlpha: 0.5, - fullWidth: true - }, - dataDateFormat: 'YYYY', - categoryField: 'year', - categoryAxis: { - minPeriod: 'YYYY', - parseDates: true, - minorGridAlpha: 0.1, - minorGridEnabled: true - }, - export: { - enabled: true - }, - creditsPosition: 'bottom-right', - pathToImages: layoutPaths.images.amChart - }); - - tplSkinChartWatcherHelper.watchAxisChartStyleChanges($scope, lineChart); - - lineChart.addListener('rendered', zoomChart); - if (lineChart.zoomChart) { - lineChart.zoomChart(); - } - - function zoomChart() { - lineChart.zoomToIndexes(Math.round(lineChart.dataProvider.length * 0.4), Math.round(lineChart.dataProvider.length * 0.55)); - } - } - -})(); diff --git a/src/app/pages/charts/amCharts/lineChart/lineChart.html b/src/app/pages/charts/amCharts/lineChart/lineChart.html deleted file mode 100644 index 844d8c1..0000000 --- a/src/app/pages/charts/amCharts/lineChart/lineChart.html +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/src/app/pages/charts/amCharts/pieChart/PieChartCtrl.js b/src/app/pages/charts/amCharts/pieChart/PieChartCtrl.js deleted file mode 100644 index db50593..0000000 --- a/src/app/pages/charts/amCharts/pieChart/PieChartCtrl.js +++ /dev/null @@ -1,147 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.amCharts') - .controller('PieChartCtrl', PieChartCtrl); - - /** @ngInject */ - function PieChartCtrl($scope, $element, tplSkinChartWatcherHelper, layoutPaths) { - var id = $element[0].getAttribute('id'); - var pieChart = AmCharts.makeChart(id, { - type: 'pie', - startDuration: 0, - theme: 'blur', - addClassNames: true, - legend: { - position: 'right', - marginRight: 100, - autoMargins: false - }, - innerRadius: '40%', - defs: { - filter: [ - { - id: 'shadow', - width: '200%', - height: '200%', - feOffset: { - result: 'offOut', - in: 'SourceAlpha', - dx: 0, - dy: 0 - }, - feGaussianBlur: { - result: 'blurOut', - in: 'offOut', - stdDeviation: 5 - }, - feBlend: { - in: 'SourceGraphic', - in2: 'blurOut', - mode: 'normal' - } - } - ] - }, - dataProvider: [ - { - country: 'Lithuania', - litres: 501.9 - }, - { - country: 'Czech Republic', - litres: 301.9 - }, - { - country: 'Ireland', - litres: 201.1 - }, - { - country: 'Germany', - litres: 165.8 - }, - { - country: 'Australia', - litres: 139.9 - }, - { - country: 'Austria', - litres: 128.3 - }, - { - country: 'UK', - litres: 99 - }, - { - country: 'Belgium', - litres: 60 - } - ], - valueField: 'litres', - titleField: 'country', - export: { - enabled: true - }, - creditsPosition: 'bottom-left', - - autoMargins: false, - marginTop: 10, - alpha: 0.8, - marginBottom: 0, - marginLeft: 0, - marginRight: 0, - pullOutRadius: 0, - pathToImages: layoutPaths.images.amChart, - responsive: { - enabled: true, - rules: [ - // at 900px wide, we hide legend - { - maxWidth: 900, - overrides: { - legend: { - enabled: false - } - } - }, - - // at 200 px we hide value axis labels altogether - { - maxWidth: 200, - overrides: { - valueAxes: { - labelsEnabled: false - }, - marginTop: 30, - marginBottom: 30, - marginLeft: 30, - marginRight: 30 - } - } - ] - } - }); - - tplSkinChartWatcherHelper.watchDonutChanges($scope, pieChart); - - pieChart.addListener('init', handleInit); - - pieChart.addListener('rollOverSlice', function (e) { - handleRollOver(e); - }); - - function handleInit() { - pieChart.legend.addListener('rollOverItem', handleRollOver); - } - - function handleRollOver(e) { - var wedge = e.dataItem.wedge.node; - wedge.parentNode.appendChild(wedge); - } - } - -})(); diff --git a/src/app/pages/charts/amCharts/pieChart/pieChart.html b/src/app/pages/charts/amCharts/pieChart/pieChart.html deleted file mode 100644 index 68cf138..0000000 --- a/src/app/pages/charts/amCharts/pieChart/pieChart.html +++ /dev/null @@ -1 +0,0 @@ -
diff --git a/src/app/pages/charts/chartJs/chartJs.html b/src/app/pages/charts/chartJs/chartJs.html deleted file mode 100644 index be11947..0000000 --- a/src/app/pages/charts/chartJs/chartJs.html +++ /dev/null @@ -1,66 +0,0 @@ -
-
-
- - -
-
-
-
- - -
-
-
-
- - -
-
-
- -
-
-
- -
-
-
-
- -
-
-
- - -
-
-
- - -
-
-
-
- -
-
-
-
- - -
-
-
- - - diff --git a/src/app/pages/charts/chartJs/chartJs.module.js b/src/app/pages/charts/chartJs/chartJs.module.js deleted file mode 100644 index 32c5d34..0000000 --- a/src/app/pages/charts/chartJs/chartJs.module.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author a.demeshko - * created on 12/16/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.chartJs', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('charts.chartJs', { - url: '/chartJs', - templateUrl: 'app/pages/charts/chartJs/chartJs.html', - title: 'Chart.js', - sidebarMeta: { - order: 200, - }, - }); - } - -})(); \ No newline at end of file diff --git a/src/app/pages/charts/chartJs/chartJs1DCtrl.js b/src/app/pages/charts/chartJs/chartJs1DCtrl.js deleted file mode 100644 index 1bb20b6..0000000 --- a/src/app/pages/charts/chartJs/chartJs1DCtrl.js +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @author a.demeshko - * created on 12/16/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.chartJs') - .controller('chartJs1DCtrl', chartJs1DCtrl); - - /** @ngInject */ - function chartJs1DCtrl($scope) { - - $scope.labels =["Sleeping", "Designing", "Coding", "Cycling"]; - $scope.data = [20, 40, 5, 35]; - $scope.options = { - segmentShowStroke : false - }; - - $scope.polarOptions = { - scaleShowLabelBackdrop : false, - segmentShowStroke : false - }; - - $scope.changeData = function () { - $scope.data = shuffle($scope.data); - }; - - function shuffle(o){ - for(var j, x, i = o.length; i; j = Math.floor(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x){} - return o; - } - } - -})(); \ No newline at end of file diff --git a/src/app/pages/charts/chartJs/chartJs2DCtrl.js b/src/app/pages/charts/chartJs/chartJs2DCtrl.js deleted file mode 100644 index e727926..0000000 --- a/src/app/pages/charts/chartJs/chartJs2DCtrl.js +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @author a.demeshko - * created on 12/16/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.chartJs') - .controller('chartJs2DCtrl', chartJs2DCtrl); - - /** @ngInject */ - function chartJs2DCtrl($scope) { - $scope.labels =["May", "June", "Jule", "August", "September", "October", "November"]; - $scope.data = [ - [65, 59, 90, 81, 56, 55, 40], - [28, 48, 40, 19, 88, 27, 45] - ]; - $scope.series = ['Product A', 'Product B']; - - - $scope.changeData = function () { - $scope.data[0] = shuffle($scope.data[0]); - $scope.data[1] = shuffle($scope.data[1]); - }; - - function shuffle(o){ - for(var j, x, i = o.length; i; j = Math.floor(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x){} - return o; - } - } - -})(); \ No newline at end of file diff --git a/src/app/pages/charts/chartJs/chartJsWaveCtrl.js b/src/app/pages/charts/chartJs/chartJsWaveCtrl.js deleted file mode 100644 index f440e3b..0000000 --- a/src/app/pages/charts/chartJs/chartJsWaveCtrl.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * @author a.demeshko - * created on 12/16/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.chartJs') - .controller('chartJsWaveCtrl', chartJsWaveCtrl); - - /** @ngInject */ - function chartJsWaveCtrl($scope, $interval, stopableInterval) { - $scope.labels =["April", "May", "June", "Jule", "August", "September", "October", "November", "December"]; - $scope.data = [[1, 9, 3, 4, 5, 6, 7, 8, 2].map(function(e){ - return Math.sin(e) * 25 +25; - })]; - - stopableInterval.start($interval, function(){ - $scope.data[0].unshift($scope.data[0].pop()); - }, 300) - } - -})(); \ No newline at end of file diff --git a/src/app/pages/charts/chartist/chartist.html b/src/app/pages/charts/chartist/chartist.html deleted file mode 100644 index 76a23c6..0000000 --- a/src/app/pages/charts/chartist/chartist.html +++ /dev/null @@ -1,43 +0,0 @@ -
-
-
-
-
Simple line chart
-
-
Line chart with area
-
-
Bi-polar line chart with area only
-
-
-
- -
-
-
Simple bar chart
-
-
Multi-line labels bar chart
-
-
Stacked bar chart
-
-
-
-
- -
-
-
-
-
Simple Pie
-
-
-
Pie with labels
-
-
-
Donut
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/src/app/pages/charts/chartist/chartist.module.js b/src/app/pages/charts/chartist/chartist.module.js deleted file mode 100644 index 19eba7f..0000000 --- a/src/app/pages/charts/chartist/chartist.module.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author a.demeshko - * created on 12/17/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.chartist', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('charts.chartist', { - url: '/chartist', - templateUrl: 'app/pages/charts/chartist/chartist.html', - title: 'Chartist', - sidebarMeta: { - order: 100, - }, - }); - } - -})(); \ No newline at end of file diff --git a/src/app/pages/charts/chartist/chartistCtrl.js b/src/app/pages/charts/chartist/chartistCtrl.js deleted file mode 100644 index 21a2adb..0000000 --- a/src/app/pages/charts/chartist/chartistCtrl.js +++ /dev/null @@ -1,239 +0,0 @@ -/** - * @author a.demeshko - * created on 12/16/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.chartist') - .controller('chartistCtrl', chartistCtrl); - - /** @ngInject */ - function chartistCtrl($scope, $timeout) { - - $scope.simpleLineOptions = { - fullWidth: true, - height: "300px", - chartPadding: { - right: 40 - } - }; - - $scope.simpleLineData = { - labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'], - series: [ - [20, 20, 12, 45, 50], - [10, 45, 30, 14, 12], - [34, 12, 12, 40, 50], - [10, 43, 25, 22, 16], - [3, 6, 30, 33, 43] - ] - }; - - $scope.areaLineData = { - labels: [1, 2, 3, 4, 5, 6, 7, 8], - series: [ - [5, 9, 7, 8, 5, 3, 5, 4] - ] - }; - - $scope.areaLineOptions = { - fullWidth: true, - height: "300px", - low: 0, - showArea: true - }; - - $scope.biLineData = { - labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], - series: [ - [1, 2, 3, 1, -2, 0, 1], - [-2, -1, -2, -1, -2.5, -1, -2], - [0, 0, 0, 1, 2, 2.5, 2], - [2.5, 2, 1, 0.5, 1, 0.5, -1] - ] - }; - - $scope.biLineOptions = { - height: "300px", - high: 3, - low: -3, - showArea: true, - showLine: false, - showPoint: false, - fullWidth: true, - axisX: { - showGrid: false - } - }; - - $scope.simpleBarData = { - labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - series: [ - [15, 24, 43, 27, 5, 10, 23, 44, 68, 50, 26, 8], - [13, 22, 49, 22, 4, 6, 24, 46, 57, 48, 22, 4] - ] - }; - - $scope.simpleBarOptions = { - fullWidth: true, - height: "300px" - }; - - $scope.multiBarData = { - labels: ['Quarter 1', 'Quarter 2', 'Quarter 3', 'Quarter 4'], - series: [ - [5, 4, 3, 7], - [3, 2, 9, 5], - [1, 5, 8, 4], - [2, 3, 4, 6], - [4, 1, 2, 1] - ] - }; - - $scope.multiBarOptions = { - fullWidth: true, - height: "300px", - stackBars: true, - axisX: { - labelInterpolationFnc: function (value) { - return value.split(/\s+/).map(function (word) { - return word[0]; - }).join(''); - } - }, - axisY: { - offset: 20 - } - }; - - $scope.multiBarResponsive = [ - ['screen and (min-width: 400px)', { - reverseData: true, - horizontalBars: true, - axisX: { - labelInterpolationFnc: Chartist.noop - }, - axisY: { - offset: 60 - } - }], - ['screen and (min-width: 700px)', { - stackBars: false, - reverseData: false, - horizontalBars: false, - seriesBarDistance: 15 - }] - ]; - - $scope.stackedBarData = { - labels: ['Quarter 1', 'Quarter 2', 'Quarter 3', 'Quarter 4'], - series: [ - [800000, 1200000, 1400000, 1300000], - [200000, 400000, 500000, 300000], - [100000, 200000, 400000, 600000] - ] - }; - - $scope.stackedBarOptions = { - fullWidth: true, - height: "300px", - stackBars: true, - axisY: { - labelInterpolationFnc: function (value) { - return (value / 1000) + 'k'; - } - } - }; - - $scope.simplePieData = { - series: [5, 3, 4] - }; - - $scope.simplePieOptions = { - fullWidth: true, - height: "300px", - weight: "300px", - labelInterpolationFnc: function (value) { - return Math.round(value / 12 * 100) + '%'; - } - }; - - $scope.labelsPieData = { - labels: ['Bananas', 'Apples', 'Grapes'], - series: [20, 15, 40] - }; - - $scope.labelsPieOptions = { - fullWidth: true, - height: "300px", - weight: "300px", - labelDirection: 'explode', - labelInterpolationFnc: function (value) { - return value[0]; - } - }; - - $scope.simpleDonutData = { - labels: ['Bananas', 'Apples', 'Grapes'], - series: [20, 15, 40] - }; - - $scope.simpleDonutOptions = { - fullWidth: true, - donut: true, - height: "300px", - weight: "300px", - labelDirection: 'explode', - labelInterpolationFnc: function (value) { - return value[0]; - } - }; - - $scope.donutResponsive = getResponsive(5, 40); - - $scope.pieResponsive = getResponsive(20, 80); - - function getResponsive(padding, offset){ - return [ - ['screen and (min-width: 1550px)', { - chartPadding: padding, - labelOffset: offset, - labelDirection: 'explode', - labelInterpolationFnc: function (value) { - return value; - } - }], - ['screen and (max-width: 1200px)', { - chartPadding: padding, - labelOffset: offset, - labelDirection: 'explode', - labelInterpolationFnc: function (value) { - return value; - } - }], - ['screen and (max-width: 600px)', { - chartPadding: 0, - labelOffset: 0, - labelInterpolationFnc: function (value) { - return value[0]; - } - }] - ]; - } - - $timeout(function(){ - new Chartist.Line('#line-chart', $scope.simpleLineData, $scope.simpleLineOptions); - new Chartist.Line('#area-chart', $scope.areaLineData, $scope.areaLineOptions); - new Chartist.Line('#bi-chart', $scope.biLineData, $scope.biLineOptions); - - new Chartist.Bar('#simple-bar', $scope.simpleBarData, $scope.simpleBarOptions); - new Chartist.Bar('#multi-bar', $scope.multiBarData, $scope.multiBarOptions, $scope.multiBarResponsive); - new Chartist.Bar('#stacked-bar', $scope.stackedBarData, $scope.stackedBarOptions); - - new Chartist.Pie('#simple-pie', $scope.simplePieData, $scope.simplePieOptions, $scope.pieResponsive); - new Chartist.Pie('#label-pie', $scope.labelsPieData, $scope.labelsPieOptions); - new Chartist.Pie('#donut', $scope.simpleDonutData, $scope.simpleDonutOptions, $scope.donutResponsive); - }); - } -})(); \ No newline at end of file diff --git a/src/app/pages/charts/charts.module.js b/src/app/pages/charts/charts.module.js deleted file mode 100644 index e17c726..0000000 --- a/src/app/pages/charts/charts.module.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts', [ - 'BlurAdmin.pages.charts.amCharts', - 'BlurAdmin.pages.charts.chartJs', - 'BlurAdmin.pages.charts.chartist', - 'BlurAdmin.pages.charts.morris' - ]) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('charts', { - url: '/charts', - abstract: true, - template: '
', - title: 'Charts', - sidebarMeta: { - icon: 'ion-stats-bars', - order: 150, - }, - }); - } - -})(); diff --git a/src/app/pages/charts/morris/morris.html b/src/app/pages/charts/morris/morris.html deleted file mode 100644 index 6b1ae1b..0000000 --- a/src/app/pages/charts/morris/morris.html +++ /dev/null @@ -1,55 +0,0 @@ -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/src/app/pages/charts/morris/morris.module.js b/src/app/pages/charts/morris/morris.module.js deleted file mode 100644 index 4d7ee27..0000000 --- a/src/app/pages/charts/morris/morris.module.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * @author a.demeshko - * created on 12/18/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.morris', []) - .config(routeConfig).config(function(){ - Morris.Donut.prototype.defaults.backgroundColor = 'transparent'; - Morris.Donut.prototype.defaults.labelColor = 'rgba(255,255,255,0.8)'; - Morris.Grid.prototype.gridDefaults.gridLineColor = 'rgba(255,255,255,0.8)'; - Morris.Grid.prototype.gridDefaults.gridTextColor = 'rgba(255,255,255,0.8)'; - }); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('charts.morris', { - url: '/morris', - templateUrl: 'app/pages/charts/morris/morris.html', - title: 'Morris', - sidebarMeta: { - order: 300, - } - }); - } - -})(); \ No newline at end of file diff --git a/src/app/pages/charts/morris/morrisCtrl.js b/src/app/pages/charts/morris/morrisCtrl.js deleted file mode 100644 index de3c697..0000000 --- a/src/app/pages/charts/morris/morrisCtrl.js +++ /dev/null @@ -1,52 +0,0 @@ -/** - * @author a.demeshko - * created on 12/16/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.charts.morris') - .controller('morrisCtrl', morrisCtrl); - - /** @ngInject */ - function morrisCtrl($scope, $window, layoutColors) { - $scope.colors = [layoutColors.primary, layoutColors.warning, layoutColors.danger, layoutColors.info, layoutColors.success, layoutColors.default, layoutColors.primaryDark]; - $scope.lineData = [ - {y: "2006", a: 100, b: 90}, - {y: "2007", a: 75, b: 65}, - {y: "2008", a: 50, b: 40}, - {y: "2009", a: 75, b: 65}, - {y: "2010", a: 50, b: 40}, - {y: "2011", a: 75, b: 65}, - {y: "2012", a: 100, b: 90} - ]; - $scope.areaData = [ - {y: "2006", a: 100, b: 90}, - {y: "2007", a: 75, b: 65}, - {y: "2008", a: 50, b: 40}, - {y: "2009", a: 75, b: 65}, - {y: "2010", a: 50, b: 40}, - {y: "2011", a: 75, b: 65}, - {y: "2012", a: 100, b: 90} - ]; - $scope.barData = [ - {y: "2006", a: 100, b: 90}, - {y: "2007", a: 75, b: 65}, - {y: "2008", a: 50, b: 40}, - {y: "2009", a: 75, b: 65}, - {y: "2010", a: 50, b: 40}, - {y: "2011", a: 75, b: 65}, - {y: "2012", a: 100, b: 90} - ]; - $scope.donutData = [ - {label: "Download Sales", value: 12}, - {label: "In-Store Sales", value: 30}, - {label: "Mail-Order Sales", value: 20} - ]; - - angular.element($window).bind('resize', function () { - //$window.Morris.Grid.prototype.redraw(); - }); - } - -})(); \ No newline at end of file diff --git a/src/app/pages/components/components.module.js b/src/app/pages/components/components.module.js deleted file mode 100644 index ccd91ff..0000000 --- a/src/app/pages/components/components.module.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @author k.danovsky - * created on 15.01.2016 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.components', [ - 'BlurAdmin.pages.components.mail', - 'BlurAdmin.pages.components.timeline', - 'BlurAdmin.pages.components.tree', - ]) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('components', { - url: '/components', - template : '', - abstract: true, - title: 'Components', - sidebarMeta: { - icon: 'ion-gear-a', - order: 100, - }, - }); - } - -})(); diff --git a/src/app/pages/components/mail/MailTabCtrl.js b/src/app/pages/components/mail/MailTabCtrl.js deleted file mode 100644 index c86c4a1..0000000 --- a/src/app/pages/components/mail/MailTabCtrl.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.components.mail') - .controller('MailTabCtrl', MailTabCtrl); - - /** @ngInject */ - function MailTabCtrl(composeModal, mailMessages) { - - var vm = this; - vm.navigationCollapsed = true; - vm.showCompose = function(subject, to , text){ - composeModal.open({ - subject : subject, - to: to, - text: text - }) - }; - - vm.tabs = mailMessages.getTabs(); - } - -})(); diff --git a/src/app/pages/components/mail/composeBox/compose.html b/src/app/pages/components/mail/composeBox/compose.html deleted file mode 100644 index 4337188..0000000 --- a/src/app/pages/components/mail/composeBox/compose.html +++ /dev/null @@ -1,26 +0,0 @@ -
- - New message - - - - - - -
-
- - -
- - -
-
- \ No newline at end of file diff --git a/src/app/pages/components/mail/composeBox/composeBoxCtrl.js b/src/app/pages/components/mail/composeBox/composeBoxCtrl.js deleted file mode 100644 index 9c46092..0000000 --- a/src/app/pages/components/mail/composeBox/composeBoxCtrl.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @author a.demeshko - * created on 24/12/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.components.mail') - .controller('composeBoxCtrl', composeBoxCtrl); - - /** @ngInject */ - function composeBoxCtrl(subject, to, text) { - var vm = this; - vm.subject = subject; - vm.to = to; - vm.text = text; - } -})(); \ No newline at end of file diff --git a/src/app/pages/components/mail/composeBox/composeModal.js b/src/app/pages/components/mail/composeBox/composeModal.js deleted file mode 100644 index 3921c0f..0000000 --- a/src/app/pages/components/mail/composeBox/composeModal.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @author a.demeshko - * created on 12/24/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.components.mail') - .service('composeModal', composeModal); - - /** @ngInject */ - function composeModal($uibModal) { - this.open = function(options){ - return $uibModal.open({ - animation: false, - templateUrl: 'app/pages/components/mail/composeBox/compose.html', - controller: 'composeBoxCtrl', - controllerAs: 'boxCtrl', - size: 'compose', - resolve: { - subject: function () { - return options.subject; - }, - to: function () { - return options.to; - }, - text: function () { - return options.text; - } - } - }); - } - - } - -})(); \ No newline at end of file diff --git a/src/app/pages/components/mail/detail/MailDetailCtrl.js b/src/app/pages/components/mail/detail/MailDetailCtrl.js deleted file mode 100644 index 42d3cbf..0000000 --- a/src/app/pages/components/mail/detail/MailDetailCtrl.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @author a.demeshko - * created on 28.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.components.mail') - .controller('MailDetailCtrl', MailDetailCtrl); - - /** @ngInject */ - function MailDetailCtrl($stateParams, mailMessages) { - var vm = this; - vm.mail = mailMessages.getMessageById($stateParams.id); - vm.label = $stateParams.label; - } - -})(); diff --git a/src/app/pages/components/mail/detail/mailDetail.html b/src/app/pages/components/mail/detail/mailDetail.html deleted file mode 100644 index a4cf541..0000000 --- a/src/app/pages/components/mail/detail/mailDetail.html +++ /dev/null @@ -1,82 +0,0 @@ -
-
-
-
- -
- -
-
-
- - -
-

{{detailCtrl.mail.name.split(' ')[0]}}

- -

{{detailCtrl.mail.name.split(' ')[1]}}

- -
- {{detailCtrl.mail.tag}} -
-
-
-
-
-
- - 777-777-7777 -
-
- - -
-
-
- -
-
-
- {{detailCtrl.mail.position}} -
-
- 12 Nezavisimosti st. Vilnius, Lithuania -
-
-
-
-
-
-
-
- {{detailCtrl.mail.subject}} - • {{detailCtrl.mail.date | date : 'h:mm a MMMM d '}} -
-
-
- -
-
-
- 1 Attachment - View | Download -
- - {{detailCtrl.mail.attachment}} -
-
-
-
- - - - - -
- -
-
-
Nothing to show
-
-
\ No newline at end of file diff --git a/src/app/pages/components/mail/list/MailListCtrl.js b/src/app/pages/components/mail/list/MailListCtrl.js deleted file mode 100644 index 9330ffc..0000000 --- a/src/app/pages/components/mail/list/MailListCtrl.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @author a.demeshko - * created on 28.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.components.mail') - .controller('MailListCtrl', MailListCtrl); - - /** @ngInject */ - function MailListCtrl($stateParams, mailMessages) { - var vm = this; - vm.messages = mailMessages.getMessagesByLabel($stateParams.label); - vm.label = $stateParams.label; - } - -})(); diff --git a/src/app/pages/components/mail/list/mailList.html b/src/app/pages/components/mail/list/mailList.html deleted file mode 100644 index a5d5767..0000000 --- a/src/app/pages/components/mail/list/mailList.html +++ /dev/null @@ -1,58 +0,0 @@ -
-
-
- -
- - - -
-
- - - - - - - - - -
-
- -
-
-
-
{{m.name}}
-
{{m.tag}}
-
-
-
- {{m.subject}} -
-
-
{{m.body | plainText}}
-
- {{m.date | date : 'MMM d HH:mm'}} -
-
-
\ No newline at end of file diff --git a/src/app/pages/components/mail/mail.html b/src/app/pages/components/mail/mail.html deleted file mode 100644 index 7c53d0e..0000000 --- a/src/app/pages/components/mail/mail.html +++ /dev/null @@ -1,44 +0,0 @@ -
-
-
-
-
-
-
- -
-
- {{t.name}}{{t.newMails}} -
-
-
- -
-
-
- Work -
-
- Family -
-
- Friend -
-
- Study -
-
-
-
- Add new label -
-
- -
-
-
-
-
\ No newline at end of file diff --git a/src/app/pages/components/mail/mail.module.js b/src/app/pages/components/mail/mail.module.js deleted file mode 100644 index 335ee64..0000000 --- a/src/app/pages/components/mail/mail.module.js +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.components.mail', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider,$urlRouterProvider) { - $stateProvider - .state('components.mail', { - url: '/mail', - abstract: true, - templateUrl: 'app/pages/components/mail/mail.html', - controller: "MailTabCtrl", - controllerAs: "tabCtrl", - title: 'Mail', - sidebarMeta: { - order: 0, - }, - }).state('components.mail.label', { - url: '/:label', - templateUrl: 'app/pages/components/mail/list/mailList.html', - title: 'Mail', - controller: "MailListCtrl", - controllerAs: "listCtrl" - }).state('components.mail.detail', { - url: '/:label/:id', - templateUrl: 'app/pages/components/mail/detail/mailDetail.html', - title: 'Mail', - controller: "MailDetailCtrl", - controllerAs: "detailCtrl" - }); - $urlRouterProvider.when('/components/mail','/components/mail/inbox'); - } - -})(); diff --git a/src/app/pages/components/mail/mailMessages.js b/src/app/pages/components/mail/mailMessages.js deleted file mode 100644 index c6af52c..0000000 --- a/src/app/pages/components/mail/mailMessages.js +++ /dev/null @@ -1,249 +0,0 @@ -/** - * @author a.demeshko - * created on 12/29/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.components.mail') - .service('mailMessages', mailMessages); - - /** @ngInject */ - function mailMessages($sce) { - var messages = [ - { - "id": "4563faass", - "name": "Nasta Linnie", - "subject": "Great text", - "date": "2015-08-28T07:57:09", - "body": $sce.trustAsHtml("

Hey John,

Check out this cool text.

"), - "pic": "img/Nasta.png", - "email": "petraramsey@mail.com", - "attachment": "poem.txt", - "position": "Great Employee", - "tag": "friend", - "labels": ['inbox'] - }, - { - "id": "4563fdfvd", - "name": "Nasta Linnie", - "subject": "Lores ipsum", - "date": "2015-11-19T03:30:45", - "important": false, - "body": $sce.trustAsHtml("

Hey John,


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ex mauris, ultrices vel lectus quis, scelerisque hendrerit ipsum. Suspendisse ullamcorper turpis neque, eget dapibus magna placerat ac. Suspendisse rhoncus ligula ac mi tempus varius ut sed lacus. Sed et commodo nulla, et placerat leo. Nam rhoncus vulputate sem non pharetra. Praesent fringilla massa in laoreet convallis. Aliquam lobortis dui a congue facilisis. Aenean dapibus semper semper. Quisque aliquam, nibh dapibus interdum condimentum, ex velit tempor tortor, at vestibulum magna leo quis leo. Morbi pulvinar varius erat ac rutrum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In hac habitasse platea dictumst.

" + - "

Cras rhoncus quam ipsum, vel dignissim nisl egestas sed. Aliquam erat volutpat. Integer eu nisl elit. Donec malesuada diam vitae tellus luctus tincidunt. Donec tempus blandit neque, rutrum egestas ipsum sagittis tempor. Curabitur volutpat ligula enim, nec vehicula purus molestie at. Sed a facilisis enim, nec molestie magna. Donec in augue non est viverra dapibus vel tempus risus. Nam porttitor purus sit amet hendrerit ullamcorper. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

"), - "pic": "img/Nasta.png", - "email": "petraramsey@mail.com", - "position": "Great Employee", - "tag": "study", - "labels": ['inbox'] - }, - { - "id": "4563zxcss", - "name": "Nasta Linnie", - "subject": "Lores ipsum", - "date": "2015-10-19T03:30:45", - "important": false, - "body": $sce.trustAsHtml("

Hey Nasta,

Lorem ipsum dolor sit amet, consectetur adipiscing elit

"), - "pic": "img/Nasta.png", - "email": "petraramsey@mail.com", - "position": "Great Employee", - "tag": "work", - "labels": ['sent', 'important'] - }, - { - "id": "8955sddf", - "name": "Nick Cat", - "subject": "New Design", - "date": "2015-05-05T12:59:45", - "body": $sce.trustAsHtml("

Hey John, Consectetur adipiscing elit


" + - "

Cras rhoncus quam ipsum, vel dignissim nisl egestas sed. Aliquam erat volutpat. Integer eu nisl elit. Donec malesuada diam vitae tellus luctus tincidunt. Donec tempus blandit neque, rutrum egestas ipsum sagittis tempor. Curabitur volutpat ligula enim, nec vehicula purus molestie at. Sed a facilisis enim, nec molestie magna. Donec in augue non est viverra dapibus vel tempus risus. Nam porttitor purus sit amet hendrerit ullamcorper. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

"), - "pic": "img/Nick.png", - "email": "barlowshort@mail.com", - "position": "Graphical designer", - "attachment": "design.psd", - "tag": "work", - "labels": ['inbox'] - }, - { - "id": "8955sdfcc", - "name": "Nick Cat", - "subject": "Gift card", - "date": "2015-07-18T10:19:01", - "body": $sce.trustAsHtml("

Hey John,


Consectetur adipiscing elit, Lorem ipsum dolor sit amet

"), - "pic": "img/Nick.png", - "email": "barlowshort@mail.com", - "position": "Graphical designer", - "tag": "study", - "labels": ['inbox'] - }, - { - "id": "8955asewf", - "name": "Nick Cat", - "subject": "Some news", - "date": "2015-09-23T03:04:10", - "body": $sce.trustAsHtml("

Hey John,


Integer eu nisl elit. Donec malesuada diam vitae tellus luctus tincidunt. Donec tempus blandit neque, rutrum egestas ipsum sagittis tempor. Curabitur volutpat ligula enim, nec vehicula purus molestie at. Sed a facilisis enim, nec molestie magna. Donec in augue non est viverra dapibus vel tempus risus. Nam porttitor purus sit amet hendrerit ullamcorper. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

"), - "pic": "img/Nick.png", - "email": "barlowshort@mail.com", - "position": "Graphical designer", - "tag": "work", - "labels": ['inbox', 'important'] - }, - { - "id": "2334uudsa", - "name": "Kostya Danovsky", - "subject": "Street Art", - "date": "2015-11-22T10:05:09", - "body": $sce.trustAsHtml("

Hey John,

Aliquam eu facilisis eros, quis varius est.

" + - "

Consectetur adipiscing elit. Aliquam sodales sem in nibh pellentesque, ac dignissim mi dapibus.

" + - "

Lorem ipsum dolor sit amet! Nullam imperdiet justo a ipsum laoreet euismod.

" + - "

Cras tincidunt fermentum lectus, quis scelerisque lorem volutpat sed." + - "Sed quis orci sed nisl sagittis viverra id at mauris. Nam venenatis mi nibh. Sed fringilla mattis vehic

"), - "pic": "img/Kostya.png", - "email": "schwart@mail.com", - "position": "Technical Chef", - "attachment": "file.doc", - "tag": "family", - "labels": ['inbox', 'important'] - }, - { - "id": "2334aefvv", - "name": "Kostya Danovsky", - "subject": "New product", - "date": "2015-06-22T06:26:10", - "body": $sce.trustAsHtml("

Hello John,

Lorem ipsum dolor sit amet!

" + - "

Consectetur adipiscing elit. Aliquam sodales sem in nibh pellentesque, ac dignissim mi dapibus.

" + - "

Aliquam eu facilisis eros, quis varius est. Nullam imperdiet justo a ipsum laoreet euismod.

" + - "

Nulla facilisi. Nulla congue, arcu eget blandit lacinia, leo ante ullamcorper lectus, vel pulvinar justo ipsum vitae justo." + - "Cras tincidunt fermentum lectus, quis scelerisque lorem volutpat sed. Sed quis orci sed nisl sagittis viverra id at mauris. Nam venenatis mi nibh. Sed fringilla mattis vehic

"), - "pic": "img/Kostya.png", - "email": "schwart@mail.com", - "position": "Technical Chef", - "tag": "family", - "labels": ['inbox', 'important'] - }, - { - "id": "2334cvdss", - "name": "Kostya Danovsky", - "subject": "Old product", - "date": "2015-06-22T06:26:10", - "body": $sce.trustAsHtml("

Hello John,

" + - "

Consectetur adipiscing elit. Aliquam sodales sem in nibh pellentesque, ac dignissim mi dapibus.

" + - "
"+ - "

Cras tincidunt fermentum lectus, quis scelerisque lorem volutpat sed. Sed quis orci sed nisl sagittis viverra id at mauris. Nam venenatis mi nibh. Sed fringilla mattis vehic

"), - "pic": "img/Kostya.png", - "email": "schwart@mail.com", - "position": "Technical Chef", - "tag": "study", - "labels": ['trash'] - }, - { - "id": "8223xzxfn", - "name": "Andrey Hrabouski", - "subject": "Skype moji", - "date": "2015-07-16T06:47:53", - "body": $sce.trustAsHtml("

Hello John,

Aliquam sodales sem in nibh pellentesque

" + - "

Lorem ipsum dolor I find moji in skype sit amet!.

"), - "pic": "img/Andrey.png", - "email": "lakeishaphillips@mail.com", - "position": "Mobile Developer", - "tag": 'family', - "labels": ['trash'] - }, - { - "id": "8223sdffn", - "name": "Andrey Hrabouski", - "subject": "My App", - "date": "2015-06-20T07:05:02", - "body": $sce.trustAsHtml("

Hey Vlad.

Lorem ipsum dolor sit amet!

" + - "

Consectetur My Falasson App elit. Aliquam sodales sem in nibh pellentesque, ac dignissim mi dapibus.

"), - "pic": "img/Andrey.png", - "email": "lakeishaphillips@mail.com", - "position": "Mobile Developer", - "tag": 'family', - "labels": ['spam'] - }, - { - "id": "9391xdsff", - "name": "Vlad Lugovsky", - "subject": "Cool", - "date": "2015-03-31T11:52:58", - "body": $sce.trustAsHtml("

Hey Vlad.

Aliquam sodales sem in nibh pellentesque

" + - "

Cras tincidunt fermentum lectus, quis scelerisque lorem volutpat sed.

"), - "pic": "img/Vlad.png", - "email": "carlsongoodman@mail.com", - "position": "Fullstack man", - "tag": "study", - "labels": ['draft'] - }, - { - "id": "8223xsdaa", - "name": "Andrey Hrabouski", - "subject": "Car rent", - "date": "2015-02-25T10:58:58", - "body": $sce.trustAsHtml("

Hey Andrey.

" + - "

Cras tincidunt fermentum lectus, quis scelerisque lorem volutpat sed. Sed quis orci sed nisl sagittis viverra id at mauris. Nam venenatis mi nibh. Sed fringilla mattis vehic

"), - "pic": "img/Andrey.png", - "email": "lakeishaphillips@mail.com", - "position": "Mobile Developer", - "tag": "family", - "labels": ['draft'] - }, - { - "id": "9391xdsff", - "name": "Vlad Lugovsky", - "subject": "What next", - "date": "2015-03-31T11:52:58", - "body": $sce.trustAsHtml("

Hey Vlad.

Lorem ipsum dolor sit amet!

" + - "

Esse esse labore tempor ullamco ullamco. Id veniam laborum c.

"), - "pic": "img/Vlad.png", - "email": "carlsongoodman@mail.com", - "position": "Fullstack man", - "tag": "study", - "labels": ['sent'] - } - ].sort(function (a, b) { - if (a.date > b.date) return 1; - if (a.date < b.date) return -1; - }).reverse(); - var tabs = [{ - label: 'inbox', - name: 'Inbox', - newMails: 7 - }, { - label: 'sent', - name: 'Sent Mail' - }, { - label: 'important', - name: 'Important' - }, { - label: 'draft', - name: 'Draft', - newMails: 2 - }, { - label: 'spam', - name: 'Spam' - }, { - label: 'trash', - name: 'Trash' - }]; - - return{ - getTabs : function(){ - return tabs - }, - getMessagesByLabel : function(label){ - return messages.filter(function(m){ - return m.labels.indexOf(label) != -1; - }); - }, - getMessageById : function(id){ - return messages.filter(function(m){ - return m.id == id; - })[0]; - } - } - - } - -})(); \ No newline at end of file diff --git a/src/app/pages/components/timeline/TimelineCtrl.js b/src/app/pages/components/timeline/TimelineCtrl.js deleted file mode 100644 index 5c9311f..0000000 --- a/src/app/pages/components/timeline/TimelineCtrl.js +++ /dev/null @@ -1,44 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.components.timeline') - .controller('TimelineCtrl', TimelineCtrl); - - /** @ngInject */ - function TimelineCtrl() { - var timelineBlocks = $('.cd-timeline-block'), - offset = 0.8; - - //hide timeline blocks which are outside the viewport - hideBlocks(timelineBlocks, offset); - - //on scolling, show/animate timeline blocks when enter the viewport - $(window).on('scroll', function () { - if (!window.requestAnimationFrame) { - setTimeout(function () { - showBlocks(timelineBlocks, offset); - }, 100); - } else { - window.requestAnimationFrame(function () { - showBlocks(timelineBlocks, offset); - }); - } - }); - - function hideBlocks(blocks, offset) { - blocks.each(function () { - ( $(this).offset().top > $(window).scrollTop() + $(window).height() * offset ) && $(this).find('.cd-timeline-img, .cd-timeline-content').addClass('is-hidden'); - }); - } - - function showBlocks(blocks, offset) { - blocks.each(function () { - ( $(this).offset().top <= $(window).scrollTop() + $(window).height() * offset && $(this).find('.cd-timeline-img').hasClass('is-hidden') ) && $(this).find('.cd-timeline-img, .cd-timeline-content').removeClass('is-hidden').addClass('bounce-in'); - }); - } - } -})(); \ No newline at end of file diff --git a/src/app/pages/components/timeline/timeline.html b/src/app/pages/components/timeline/timeline.html deleted file mode 100644 index 16319b3..0000000 --- a/src/app/pages/components/timeline/timeline.html +++ /dev/null @@ -1,101 +0,0 @@ - -
-
-
-
-
-
- -
-
Title of section 1
- -

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iusto, optio, dolorum provident rerum aut hic quasi - placeat iure tempora laudantium ipsa ad debitis unde? Iste voluptatibus minus veritatis qui ut.

- Jan 14 -
-
- -
-
-
-
- -
-
Title of section 2
- -

Donec dapibus at leo eget volutpat. Praesent dolor tellus, ultricies venenatis molestie eu, luctus eget nibh. - Curabitur ullamcorper eleifend nisl.

- Jan 18 -
-
- -
-
-
-
- -
-
Title of section 3
- -

Phasellus auctor tellus eget lacinia condimentum. Cum sociis natoque penatibus et magnis dis parturient - montes.

- Feb 18 -
-
- -
-
-
-
- -
-
Title of section 4
- -

Morbi fringilla in massa ac posuere. Fusce non sagittis massa, id accumsan odio. Nullam eget tempor est. - Etiam eu felis eu purus aliquam tristique id quis nisl. Nam eros nibh, consequat sed pulvinar eu, ultrices - ornare ligula. Aenean interdum sed nunc sed hendrerit.

- Feb 20 -
-
-
-
-
-
- -
-
Title of section 5
- -

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Curabitur eget mattis - metus. Nullam egestas eros metus, quis fringilla urna accumsan sed. Aliquam ultrices at arcu vitae - tincidunt.

- Feb 21 -
-
-
-
-
-
- -
-
Title of section 6
- -

Praesent bibendum ante mattis augue consectetur, ut commodo turpis consequat. Donec ligula eros, porta in - iaculis vel, semper ac sem. Integer at mauris lorem.

- Feb 23 -
-
-
-
-
-
- -
-
Title of section 7
- -

Vivamus ut laoreet erat, vitae eleifend eros. Sed varius id tellus non lobortis. Sed dolor ante, cursus non - scelerisque sed, euismod id eros.

- Feb 24 -
-
-
-
\ No newline at end of file diff --git a/src/app/pages/components/timeline/timeline.module.js b/src/app/pages/components/timeline/timeline.module.js deleted file mode 100644 index e111797..0000000 --- a/src/app/pages/components/timeline/timeline.module.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author a.demeshko - * created on 1/12/16 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.components.timeline', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('components.timeline', { - url: '/timeline', - templateUrl: 'app/pages/components/timeline/timeline.html', - title: 'Timeline', - sidebarMeta: { - icon: 'ion-ios-pulse', - order: 100, - }, - }); - } -})(); \ No newline at end of file diff --git a/src/app/pages/components/tree/tree.html b/src/app/pages/components/tree/tree.html deleted file mode 100644 index 3f1cde1..0000000 --- a/src/app/pages/components/tree/tree.html +++ /dev/null @@ -1,33 +0,0 @@ -
-
-
-
-
-
-
- -
-
- -
-
- -
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- diff --git a/src/app/pages/components/tree/tree.module.js b/src/app/pages/components/tree/tree.module.js deleted file mode 100644 index da26197..0000000 --- a/src/app/pages/components/tree/tree.module.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * @author a.demeshko - * created on 12.21.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.components.tree', []) - .config(routeConfig) - .config(function(){ - $.jstree.defaults.core.themes.url = true; - $.jstree.defaults.core.themes.dir = "assets/img/theme/vendor/jstree/dist/themes"; - }); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('components.tree', { - url: '/tree', - templateUrl: 'app/pages/components/tree/tree.html', - title: 'Tree View', - sidebarMeta: { - order: 200, - }, - }); - } - -})(); diff --git a/src/app/pages/components/tree/treeCtrl.js b/src/app/pages/components/tree/treeCtrl.js deleted file mode 100644 index b5a7bb3..0000000 --- a/src/app/pages/components/tree/treeCtrl.js +++ /dev/null @@ -1,387 +0,0 @@ -/** - * @author a.demeshko - * created on 12/21/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.components.tree') - .controller('treeCtrl', treeCtrl); - - /** @ngInject */ - function treeCtrl($scope, $timeout) { - - $scope.ignoreChanges = false; - var newId = 0; - $scope.ignoreChanges = false; - $scope.newNode = {}; - - $scope.basicConfig = { - core: { - multiple: false, - check_callback: true, - worker: true - }, - 'types': { - 'folder': { - 'icon': 'ion-ios-folder' - }, - 'default': { - 'icon': 'ion-document-text' - } - }, - 'plugins': ['types'], - 'version': 1 - }; - - $scope.dragConfig = { - 'core': { - 'check_callback': true, - 'themes': { - 'responsive': false - } - }, - 'types': { - 'folder': { - 'icon': 'ion-ios-folder' - }, - 'default': { - 'icon': 'ion-document-text' - } - }, - "plugins": ["dnd", 'types'] - }; - - $scope.addNewNode = function () { - $scope.ignoreChanges = true; - var selected = this.basicTree.jstree(true).get_selected()[0]; - if (selected) - $scope.treeData.push({ - id: (newId++).toString(), - parent: selected, - text: "New node " + newId, - state: {opened: true} - }); - $scope.basicConfig.version++; - }; - - - $scope.refresh = function () { - $scope.ignoreChanges = true; - newId = 0; - $scope.treeData = getDefaultData(); - $scope.basicConfig.version++; - }; - - $scope.expand = function () { - $scope.ignoreChanges = true; - $scope.treeData.forEach(function (n) { - n.state.opened = true; - }); - $scope.basicConfig.version++; - }; - - $scope.collapse = function () { - $scope.ignoreChanges = true; - $scope.treeData.forEach(function (n) { - n.state.opened = false; - }); - $scope.basicConfig.version++; - }; - - $scope.readyCB = function() { - $timeout(function() { - $scope.ignoreChanges = false; - }); - }; - - - $scope.applyModelChanges = function() { - return !$scope.ignoreChanges; - }; - - $scope.treeData = getDefaultData(); - $scope.dragData = [ - { - "id": "nd1", - "parent": "#", - "type": "folder", - "text": "Node 1", - "state": { - "opened": true - } - }, - { - "id": "nd2", - "parent": "#", - "type": "folder", - "text": "Node 2", - "state": { - "opened": true - } - }, - { - "id": "nd3", - "parent": "#", - "type": "folder", - "text": "Node 3", - "state": { - "opened": true - } - }, - { - "id": "nd4", - "parent": "#", - "type": "folder", - "text": "Node 4", - "state": { - "opened": true - } - }, - { - "id": "nd5", - "parent": "nd1", - "text": "Node 1.1", - "state": { - "opened": true - } - }, - { - "id": "nd6", - "parent": "nd1", - "text": "Node 1.2", - "state": { - "opened": true - } - }, - { - "id": "nd7", - "parent": "nd1", - "text": "Node 1.3", - "state": { - "opened": true - } - }, - { - "id": "nd8", - "parent": "nd2", - "text": "Node 2.1", - "state": { - "opened": true - } - }, - { - "id": "nd9", - "parent": "nd2", - "text": "Node 2.2", - "state": { - "opened": true - } - }, - { - "id": "nd10", - "parent": "nd2", - "text": "Node 2.3", - "state": { - "opened": true - } - }, - { - "id": "nd11", - "parent": "nd3", - "text": "Node 3.1", - "state": { - "opened": true - } - }, - { - "id": "nd12", - "parent": "nd3", - "text": "Node 3.2", - "state": { - "opened": true - } - }, - { - "id": "nd13", - "parent": "nd3", - "text": "Node 3.3", - "state": { - "opened": true - } - }, - { - "id": "nd14", - "parent": "nd4", - "text": "Node 4.1", - "state": { - "opened": true - } - }, - { - "id": "nd15", - "parent": "nd4", - "text": "Node 4.2", - "state": { - "opened": true - } - }, - { - "id": "nd16", - "parent": "nd4", - "text": "Node 4.3", - "state": { - "opened": true - } - } - ]; - - function getDefaultData() { - return [ - { - "id": "n1", - "parent": "#", - "type": "folder", - "text": "Node 1", - "state": { - "opened": true - } - }, - { - "id": "n2", - "parent": "#", - "type": "folder", - "text": "Node 2", - "state": { - "opened": true - } - }, - { - "id": "n3", - "parent": "#", - "type": "folder", - "text": "Node 3", - "state": { - "opened": true - } - }, - { - "id": "n5", - "parent": "n1", - "text": "Node 1.1", - "state": { - "opened": true - } - }, - { - "id": "n6", - "parent": "n1", - "text": "Node 1.2", - "state": { - "opened": true - } - }, - { - "id": "n7", - "parent": "n1", - "text": "Node 1.3", - "state": { - "opened": true - } - }, - { - "id": "n8", - "parent": "n1", - "text": "Node 1.4", - "state": { - "opened": true - } - }, - { - "id": "n9", - "parent": "n2", - "text": "Node 2.1", - "state": { - "opened": true - } - }, - { - "id": "n10", - "parent": "n2", - "text": "Node 2.2 (Custom icon)", - "icon": "ion-help-buoy", - "state": { - "opened": true - } - }, - { - "id": "n12", - "parent": "n3", - "text": "Node 3.1", - "state": { - "opened": true - } - }, - { - "id": "n13", - "parent": "n3", - "type": "folder", - "text": "Node 3.2", - "state": { - "opened": true - } - }, - { - "id": "n14", - "parent": "n13", - "text": "Node 3.2.1", - "state": { - "opened": true - } - }, - { - "id": "n15", - "parent": "n13", - "text": "Node 3.2.2", - "state": { - "opened": true - } - }, - { - "id": "n16", - "parent": "n3", - "text": "Node 3.3", - "state": { - "opened": true - } - }, - { - "id": "n17", - "parent": "n3", - "text": "Node 3.4", - "state": { - "opened": true - } - }, - { - "id": "n18", - "parent": "n3", - "text": "Node 3.5", - "state": { - "opened": true - } - }, - { - "id": "n19", - "parent": "n3", - "text": "Node 3.6", - "state": { - "opened": true - } - } - ] - } - - - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/blurFeed/BlurFeedCtrl.js b/src/app/pages/dashboard/blurFeed/BlurFeedCtrl.js deleted file mode 100644 index 680cef5..0000000 --- a/src/app/pages/dashboard/blurFeed/BlurFeedCtrl.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .controller('BlurFeedCtrl', BlurFeedCtrl); - - /** @ngInject */ - function BlurFeedCtrl($scope) { - $scope.feed = [ - { - type: 'text-message', - author: 'Kostya', - surname: 'Danovsky', - header: 'Posted new message', - text: 'Guys, check this out: \nA police officer found a perfect hiding place for watching for speeding motorists. One day, the officer was amazed when everyone was under the speed limit, so he investigated and found the problem. A 10 years old boy was standing on the side of the road with a huge hand painted sign which said "Radar Trap Ahead." A little more investigative work led the officer to the boy\'s accomplice: another boy about 100 yards beyond the radar trap with a sign reading "TIPS" and a bucket at his feet full of change.', - time: 'Today 11:55 pm', - ago: '25 minutes ago', - expanded: false, - }, { - type: 'video-message', - author: 'Andrey', - surname: 'Hrabouski', - header: 'Added new video', - text: '"Vader and Me"', - preview: 'app/feed/vader-and-me-preview.png', - link: 'https://www.youtube.com/watch?v=IfcpzBbbamk', - time: 'Today 9:30 pm', - ago: '3 hrs ago', - expanded: false, - }, { - type: 'image-message', - author: 'Vlad', - surname: 'Lugovsky', - header: 'Added new image', - text: '"My little kitten"', - preview: 'app/feed/my-little-kitten.png', - link: 'http://api.ning.com/files/DtcI2O2Ry7A7VhVxeiWfGU9WkHcMy4WSTWZ79oxJq*h0iXvVGndfD7CIYy-Ax-UAFCBCdqXI4GCBw3FOLKTTjQc*2cmpdOXJ/1082127884.jpeg', - time: 'Today 2:20 pm', - ago: '10 hrs ago', - expanded: false, - }, { - type: 'text-message', - author: 'Nasta', - surname: 'Linnie', - header: 'Posted new message', - text: 'Haha lol', - time: '11.11.2015', - ago: '2 days ago', - expanded: false, - }, { - type: 'geo-message', - author: 'Nick', - surname: 'Cat', - header: 'Posted location', - text: '"New York, USA"', - preview: 'app/feed/new-york-location.png', - link: 'https://www.google.by/maps/place/New+York,+NY,+USA/@40.7201111,-73.9893872,14z', - time: '11.11.2015', - ago: '2 days ago', - expanded: false, - }, { - type: 'text-message', - author: 'Vlad', - surname: 'Lugovsky', - header: 'Posted new message', - text: "First snake: I hope I'm not poisonous. Second snake: Why? First snake: Because I bit my lip!", - time: '12.11.2015', - ago: '3 days ago', - expanded: false, - }, { - type: 'text-message', - author: 'Andrey', - surname: 'Hrabouski', - header: 'Posted new message', - text: 'How do you smuggle an elephant across the border? Put a slice of bread on each side, and call him "lunch".', - time: '14.11.2015', - ago: '5 days ago', - expanded: false, - }, { - type: 'text-message', - author: 'Nasta', - surname: 'Linnie', - header: 'Posted new message', - text: 'When your hammer is C++, everything begins to look like a thumb.', - time: '14.11.2015', - ago: '5 days ago', - expanded: false, - }, { - type: 'text-message', - author: 'Alexander', - surname: 'Demeshko', - header: 'Posted new message', - text: '“I mean, they say you die twice. One time when you stop breathing and a second time, a bit later on, when somebody says your name for the last time." ©', - time: '15.11.2015', - ago: '6 days ago', - expanded: false, - }, { - type: 'image-message', - author: 'Nick', - surname: 'Cat', - header: 'Posted photo', - text: '"Protein Heroes"', - preview: 'app/feed/genom.png', - link: 'https://dribbble.com/shots/2504810-Protein-Heroes', - time: '16.11.2015', - ago: '7 days ago', - expanded: false, - }, - { - type: 'text-message', - author: 'Kostya', - surname: 'Danovsky', - header: 'Posted new message', - text: 'Why did the CoffeeScript developer keep getting lost? Because he couldn\'t find his source without a map', - time: '18.11.2015', - ago: '9 days ago', - expanded: false, - } - ]; - - $scope.expandMessage = function(message){ - message.expanded = !message.expanded; - } - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/blurFeed/blurFeed.directive.js b/src/app/pages/dashboard/blurFeed/blurFeed.directive.js deleted file mode 100644 index 954cdc8..0000000 --- a/src/app/pages/dashboard/blurFeed/blurFeed.directive.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .directive('blurFeed', blurFeed); - - /** @ngInject */ - function blurFeed() { - return { - restrict: 'E', - controller: 'BlurFeedCtrl', - templateUrl: 'app/pages/dashboard/blurFeed/blurFeed.html' - }; - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/blurFeed/blurFeed.html b/src/app/pages/dashboard/blurFeed/blurFeed.html deleted file mode 100644 index 958181d..0000000 --- a/src/app/pages/dashboard/blurFeed/blurFeed.html +++ /dev/null @@ -1,33 +0,0 @@ - -
-
-
- -
-
- - -
-
-
- {{ ::message.author }} {{ ::message.surname}} -
-
- {{message.header}} {{::message.text}} -
-
- - - -
-
-
- {{::message.time}} -
-
- {{::message.ago}} -
-
-
-
-
diff --git a/src/app/pages/dashboard/calendar/dashboardCalendar.js b/src/app/pages/dashboard/calendar/dashboardCalendar.js deleted file mode 100644 index 991a4d0..0000000 --- a/src/app/pages/dashboard/calendar/dashboardCalendar.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .service('dashboardCalendar', dashboardCalendar); - - /** @ngInject */ - function dashboardCalendar() { - - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/dashboard.html b/src/app/pages/dashboard/dashboard.html deleted file mode 100644 index 8119ac6..0000000 --- a/src/app/pages/dashboard/dashboard.html +++ /dev/null @@ -1,63 +0,0 @@ - - -
-
- -
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
- -
-
- -
-
- -
-
- -
-
- - diff --git a/src/app/pages/dashboard/dashboard.module.js b/src/app/pages/dashboard/dashboard.module.js deleted file mode 100644 index 51eedb2..0000000 --- a/src/app/pages/dashboard/dashboard.module.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('dashboard', { - url: '/dashboard', - templateUrl: 'app/pages/dashboard/dashboard.html', - title: 'Dashboard', - sidebarMeta: { - icon: 'ion-android-home', - order: 0, - }, - }); - } - -})(); diff --git a/src/app/pages/dashboard/dashboardCalendar/DashboardCalendarCtrl.js b/src/app/pages/dashboard/dashboardCalendar/DashboardCalendarCtrl.js deleted file mode 100644 index 91e6089..0000000 --- a/src/app/pages/dashboard/dashboardCalendar/DashboardCalendarCtrl.js +++ /dev/null @@ -1,64 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .controller('DashboardCalendarCtrl', DashboardCalendarCtrl); - - /** @ngInject */ - function DashboardCalendarCtrl(layoutColors) { - var palette = layoutColors.bgColorPalette; - var $element = $('#calendar').fullCalendar({ - //height: 335, - header: { - left: 'prev,next today', - center: 'title', - right: 'month,agendaWeek,agendaDay' - }, - defaultDate: '2016-03-08', - selectable: true, - selectHelper: true, - select: function (start, end) { - var title = prompt('Event Title:'); - var eventData; - if (title) { - eventData = { - title: title, - start: start, - end: end - }; - $element.fullCalendar('renderEvent', eventData, true); // stick? = true - } - $element.fullCalendar('unselect'); - }, - editable: true, - eventLimit: true, // allow "more" link when too many events - events: [ - { - title: 'All Day Event', - start: '2016-03-01', - color: palette.silverTree - }, - { - title: 'Long Event', - start: '2016-03-07', - end: '2016-03-10', - color: palette.blueStone - }, - { - title: 'Dinner', - start: '2016-03-14T20:00:00', - color: palette.surfieGreen - }, - { - title: 'Birthday Party', - start: '2016-04-01T07:00:00', - color: palette.gossipDark - } - ] - }); - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardCalendar/dashboardCalendar.directive.js b/src/app/pages/dashboard/dashboardCalendar/dashboardCalendar.directive.js deleted file mode 100644 index bce9df5..0000000 --- a/src/app/pages/dashboard/dashboardCalendar/dashboardCalendar.directive.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .directive('dashboardCalendar', dashboardCalendar); - - /** @ngInject */ - function dashboardCalendar() { - return { - restrict: 'E', - controller: 'DashboardCalendarCtrl', - templateUrl: 'app/pages/dashboard/dashboardCalendar/dashboardCalendar.html' - }; - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardCalendar/dashboardCalendar.html b/src/app/pages/dashboard/dashboardCalendar/dashboardCalendar.html deleted file mode 100644 index bea1b22..0000000 --- a/src/app/pages/dashboard/dashboardCalendar/dashboardCalendar.html +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardLineChart/DashboardLineChartCtrl.js b/src/app/pages/dashboard/dashboardLineChart/DashboardLineChartCtrl.js deleted file mode 100644 index 8fc4960..0000000 --- a/src/app/pages/dashboard/dashboardLineChart/DashboardLineChartCtrl.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .controller('DashboardLineChartCtrl', DashboardLineChartCtrl); - - /** @ngInject */ - function DashboardLineChartCtrl($scope, tplSkinManager, tplSkinChartWatcherHelper, layoutColors, layoutPaths) { - var chartData = [ - { date: new Date(2012, 11), value: 0, value0: 0 }, - { date: new Date(2013, 0), value: 15000, value0: 19000}, - { date: new Date(2013, 1), value: 30000, value0: 20000}, - - - { date: new Date(2013, 2), value: 25000, value0: 22000}, - { date: new Date(2013, 3), value: 21000, value0: 25000}, - { date: new Date(2013, 4), value: 24000, value0: 29000}, - { date: new Date(2013, 5), value: 31000, value0: 26000}, - { date: new Date(2013, 6), value: 40000, value0: 25000}, - { date: new Date(2013, 7), value: 37000, value0: 20000}, - { date: new Date(2013, 8), value: 18000, value0: 22000}, - { date: new Date(2013, 9), value: 5000, value0: 26000}, - { date: new Date(2013, 10), value: 40000, value0: 30000}, - { date: new Date(2013, 11), value: 20000, value0: 25000}, - { date: new Date(2014, 0), value: 5000, value0: 13000}, - - { date: new Date(2014, 1), value: 3000, value0: 13000}, - { date: new Date(2014, 2), value: 1800, value0: 13000}, - { date: new Date(2014, 3), value: 10400, value0: 13000}, - { date: new Date(2014, 4), value: 25500, value0: 13000}, - { date: new Date(2014, 5), value: 2100, value0: 13000}, - { date: new Date(2014, 6), value: 6500, value0: 13000}, - { date: new Date(2014, 7), value: 1100, value0: 13000}, - { date: new Date(2014, 8), value: 17200, value0: 13000}, - { date: new Date(2014, 9), value: 26900, value0: 13000}, - { date: new Date(2014, 10), value: 14100, value0: 13000}, - { date: new Date(2014, 11), value: 35300, value0: 13000}, - { date: new Date(2015, 0), value: 54800, value0: 13000}, - { date: new Date(2015, 1), value: 49800, value0: 13000} - ]; - - var chartColorProfile = tplSkinManager.getChartColorProfile(); - - var chart = AmCharts.makeChart('amchart', { - type: 'serial', - theme: 'blur', - marginTop: 15, - marginRight: 15, - dataProvider: chartData, - categoryField: 'date', - categoryAxis: { - parseDates: true, - gridAlpha: 0, - color: chartColorProfile.fontColors, - axisColor: chartColorProfile.axisColors - }, - valueAxes: [ - { - minVerticalGap: 50, - gridAlpha: 0, - color: chartColorProfile.fontColors, - axisColor: chartColorProfile.axisColors - } - ], - graphs: [ - { - id: 'g0', - bullet: 'none', - useLineColorForBulletBorder: true, - lineColor: 'rgba(0,0,0,0.3)', - lineThickness: 1, - negativeLineColor: layoutColors.danger, - type: 'smoothedLine', - valueField: 'value0', - fillAlphas: 1, - fillColorsField: 'lineColor' - }, - { - id: 'g1', - bullet: 'none', - useLineColorForBulletBorder: true, - lineColor: 'rgba(0,0,0,0.4)', - lineThickness: 1, - negativeLineColor: layoutColors.danger, - type: 'smoothedLine', - valueField: 'value', - fillAlphas: 1, - fillColorsField: 'lineColor' - } - ], - chartCursor: { - categoryBalloonDateFormat: 'MM YYYY', - categoryBalloonColor: '#4285F4', - categoryBalloonAlpha: 0.7, - cursorAlpha: 0, - valueLineEnabled: true, - valueLineBalloonEnabled: true, - valueLineAlpha: 0.5 - }, - dataDateFormat: 'MM YYYY', - export: { - enabled: true - }, - creditsPosition: 'bottom-right', - zoomOutButton: { - backgroundColor: '#fff', - backgroundAlpha: 0 - }, - zoomOutText: '', - pathToImages: layoutPaths.images.amChart - }); - - tplSkinChartWatcherHelper.watchAxisChartStyleChanges($scope, chart); - - function zoomChart() { - chart.zoomToDates(new Date(2013, 3), new Date(2014, 0)); - } - - chart.addListener('rendered', zoomChart); - zoomChart(); - if (chart.zoomChart) { - chart.zoomChart(); - } - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardLineChart/dashboardLineChart.directive.js b/src/app/pages/dashboard/dashboardLineChart/dashboardLineChart.directive.js deleted file mode 100644 index be7b4f2..0000000 --- a/src/app/pages/dashboard/dashboardLineChart/dashboardLineChart.directive.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .directive('dashboardLineChart', dashboardLineChart); - - /** @ngInject */ - function dashboardLineChart() { - return { - restrict: 'E', - controller: 'DashboardLineChartCtrl', - templateUrl: 'app/pages/dashboard/dashboardLineChart/dashboardLineChart.html' - }; - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardLineChart/dashboardLineChart.html b/src/app/pages/dashboard/dashboardLineChart/dashboardLineChart.html deleted file mode 100644 index 51a9cbe..0000000 --- a/src/app/pages/dashboard/dashboardLineChart/dashboardLineChart.html +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardMap/DashboardMapCtrl.js b/src/app/pages/dashboard/dashboardMap/DashboardMapCtrl.js deleted file mode 100644 index 014d7d0..0000000 --- a/src/app/pages/dashboard/dashboardMap/DashboardMapCtrl.js +++ /dev/null @@ -1,102 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .controller('DashboardMapCtrl', DashboardMapCtrl); - - /** @ngInject */ - function DashboardMapCtrl(layoutColors, layoutPaths) { - var map = AmCharts.makeChart('amChartMap', { - type: 'map', - theme: 'blur', - zoomControl: { zoomControlEnabled: false, panControlEnabled: false }, - - dataProvider: { - map: 'worldLow', - zoomLevel: 3.5, - zoomLongitude: 10, - zoomLatitude: 52, - areas: [ - { title: 'Austria', id: 'AT', color: layoutColors.primary, customData: '1 244', groupId: '1'}, - { title: 'Ireland', id: 'IE', color: layoutColors.primary, customData: '1 342', groupId: '1'}, - { title: 'Denmark', id: 'DK', color: layoutColors.primary, customData: '1 973', groupId: '1'}, - { title: 'Finland', id: 'FI', color: layoutColors.primary, customData: '1 573', groupId: '1'}, - { title: 'Sweden', id: 'SE', color: layoutColors.primary, customData: '1 084', groupId: '1'}, - { title: 'Great Britain', id: 'GB', color: layoutColors.primary, customData: '1 452', groupId: '1'}, - { title: 'Italy', id: 'IT', color: layoutColors.primary, customData: '1 321', groupId: '1'}, - { title: 'France', id: 'FR', color: layoutColors.primary, customData: '1 112', groupId: '1'}, - { title: 'Spain', id: 'ES', color: layoutColors.primary, customData: '1 865', groupId: '1'}, - { title: 'Greece', id: 'GR', color: layoutColors.primary, customData: '1 453', groupId: '1'}, - { title: 'Germany', id: 'DE', color: layoutColors.primary, customData: '1 957', groupId: '1'}, - { title: 'Belgium', id: 'BE', color: layoutColors.primary, customData: '1 011', groupId: '1'}, - { title: 'Luxembourg', id: 'LU', color: layoutColors.primary, customData: '1 011', groupId: '1'}, - { title: 'Netherlands', id: 'NL', color: layoutColors.primary, customData: '1 213', groupId: '1'}, - { title: 'Portugal', id: 'PT', color: layoutColors.primary, customData: '1 291', groupId: '1'}, - { title: 'Lithuania', id: 'LT', color: layoutColors.successLight, customData: '567', groupId: '2'}, - { title: 'Latvia', id: 'LV', color: layoutColors.successLight, customData: '589', groupId: '2'}, - { title: 'Czech Republic ', id: 'CZ', color: layoutColors.successLight, customData: '785', groupId: '2'}, - { title: 'Slovakia', id: 'SK', color: layoutColors.successLight, customData: '965', groupId: '2'}, - { title: 'Estonia', id: 'EE', color: layoutColors.successLight, customData: '685', groupId: '2'}, - { title: 'Hungary', id: 'HU', color: layoutColors.successLight, customData: '854', groupId: '2'}, - { title: 'Cyprus', id: 'CY', color: layoutColors.successLight, customData: '754', groupId: '2'}, - { title: 'Malta', id: 'MT', color: layoutColors.successLight, customData: '867', groupId: '2'}, - { title: 'Poland', id: 'PL', color: layoutColors.successLight, customData: '759', groupId: '2'}, - { title: 'Romania', id: 'RO', color: layoutColors.success, customData: '302', groupId: '3'}, - { title: 'Bulgaria', id: 'BG', color: layoutColors.success, customData: '102', groupId: '3'}, - { title: 'Slovenia', id: 'SI', color: layoutColors.danger, customData: '23', groupId: '4'}, - { title: 'Croatia', id: 'HR', color: layoutColors.danger, customData: '96', groupId: '4'} - ] - }, - - areasSettings: { - rollOverOutlineColor: '#FFFFFF', - rollOverColor: layoutColors.primaryDark, - alpha: 0.8, - unlistedAreasAlpha: 0.1, - balloonText: '[[title]]: [[customData]] users' - }, - - - legend: { - width: '100%', - marginRight: 27, - marginLeft: 27, - equalWidths: false, - backgroundAlpha: 0.5, - backgroundColor: '#FFFFFF', - borderColor: '#ffffff', - borderAlpha: 1, - top: 362, - left: 0, - horizontalGap: 10, - data: [ - { - title: 'over 1 000 users', - color: layoutColors.primary - }, - { - title: '500 - 1 000 users', - color: layoutColors.successLight - }, - { - title: '100 - 500 users', - color: layoutColors.success - }, - { - title: '0 - 100 users', - color: layoutColors.danger - } - ] - }, - export: { - enabled: true - }, - creditsPosition: 'bottom-right', - pathToImages: layoutPaths.images.amChart - }); - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardMap/dashboardMap.directive.js b/src/app/pages/dashboard/dashboardMap/dashboardMap.directive.js deleted file mode 100644 index d6403bf..0000000 --- a/src/app/pages/dashboard/dashboardMap/dashboardMap.directive.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .directive('dashboardMap', dashboardMap); - - /** @ngInject */ - function dashboardMap() { - return { - restrict: 'E', - controller: 'DashboardMapCtrl', - templateUrl: 'app/pages/dashboard/dashboardMap/dashboardMap.html' - }; - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardMap/dashboardMap.html b/src/app/pages/dashboard/dashboardMap/dashboardMap.html deleted file mode 100644 index 40247eb..0000000 --- a/src/app/pages/dashboard/dashboardMap/dashboardMap.html +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardPieChart/DashboardPieChartCtrl.js b/src/app/pages/dashboard/dashboardPieChart/DashboardPieChartCtrl.js deleted file mode 100644 index 4b6af89..0000000 --- a/src/app/pages/dashboard/dashboardPieChart/DashboardPieChartCtrl.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .controller('DashboardPieChartCtrl', DashboardPieChartCtrl); - - /** @ngInject */ - function DashboardPieChartCtrl($scope, $element, $window, $timeout) { - $scope.charts = [{ - color: 'rgba(255,255,255,0.4)', - description: 'New Visits', - stats: '57,820', - icon: 'person', - }, { - color: 'rgba(255,255,255,0.4)', - description: 'Purchases', - stats: '$ 89,745', - icon: 'money', - }, { - color: 'rgba(255,255,255,0.4)', - description: 'Active Users', - stats: '178,391', - icon: 'face', - }, { - color: 'rgba(255,255,255,0.4)', - description: 'Returned', - stats: '32,592', - icon: 'refresh', - } - ]; - - function getRandomArbitrary(min, max) { - return Math.random() * (max - min) + min; - } - - function loadPieCharts() { - $('.chart').each(function () { - var chart = $(this); - chart.easyPieChart({ - easing: 'easeOutBounce', - onStep: function (from, to, percent) { - $(this.el).find('.percent').text(Math.round(percent)); - }, - barColor: chart.attr('rel'), - trackColor: 'rgba(0,0,0,0)', - size: 84, - scaleLength: 0, - animation: 2000, - lineWidth: 9, - lineCap: 'round', - }); - }); - - $('.refresh-data').on('click', function () { - updatePieCharts(); - }); - } - - function updatePieCharts() { - $('.pie-charts .chart').each(function(index, chart) { - $(chart).data('easyPieChart').update(getRandomArbitrary(55, 90)); - }); - } - - $timeout(function () { - loadPieCharts(); - updatePieCharts(); - }, 1000); - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardPieChart/dashboardPieChart.directive.js b/src/app/pages/dashboard/dashboardPieChart/dashboardPieChart.directive.js deleted file mode 100644 index 72e3f13..0000000 --- a/src/app/pages/dashboard/dashboardPieChart/dashboardPieChart.directive.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .directive('dashboardPieChart', dashboardPieChart); - - /** @ngInject */ - function dashboardPieChart() { - return { - restrict: 'E', - controller: 'DashboardPieChartCtrl', - templateUrl: 'app/pages/dashboard/dashboardPieChart/dashboardPieChart.html' - }; - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardPieChart/dashboardPieChart.html b/src/app/pages/dashboard/dashboardPieChart/dashboardPieChart.html deleted file mode 100644 index 9594317..0000000 --- a/src/app/pages/dashboard/dashboardPieChart/dashboardPieChart.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
-
-
-
-
{{ ::chart.description }}
-
{{ ::chart.stats }}
-
- -
-
-
-
\ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardTodo/DashboardTodoCtrl.js b/src/app/pages/dashboard/dashboardTodo/DashboardTodoCtrl.js deleted file mode 100644 index 8b10974..0000000 --- a/src/app/pages/dashboard/dashboardTodo/DashboardTodoCtrl.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .controller('DashboardTodoCtrl', DashboardTodoCtrl); - - /** @ngInject */ - function DashboardTodoCtrl($scope) { - $scope.marks = [ - { - id: 0, - color: 'default' - }, - { - id: 1, - color: 'primary' - }, - { - id: 2, - color: 'success' - }, - { - id: 3, - color: 'warning' - }, - { - id: 4, - color: 'danger' - } - ]; - - $scope.todoList = [ - { - text: 'Check me out', - edit: false, // todo: remove edit - markId: 4 - }, - { - text: 'Lorem ipsum dolor sit amet, possit denique oportere at his, etiam corpora deseruisse te pro', - edit: false, - markId: 3 - }, - { - text: 'Ex has semper alterum, expetenda dignissim', - edit: false, - markId: 2 - }, - { - text: 'Vim an eius ocurreret abhorreant, id nam aeque persius ornatus.', - edit: false, - markId: 1 - }, - { - text: 'Simul erroribus ad usu', - edit: false, - markId: 0 - }, - { - text: 'Ei cum solet appareat, ex est graeci mediocritatem', - edit: false, - markId: 4 - }, - { - text: 'Get in touch with akveo team', - edit: false, - markId: 1 - }, - { - text: 'Write email to business cat', - edit: false, - markId: 3 - }, - { - text: 'Have fun with blur admin', - edit: false, - markId: 2 - }, - ]; - - $scope.getMarkColor = function (id) { - return $scope.marks.filter(function (item) { - return item.id === id; - })[0].color || ''; - }; - - $scope.changeColor = function (todo) { - for (var i = 0; i < $scope.marks.length; ++i) { - if ($scope.marks[i].id === todo.markId) { - var next = (i + 1 !== $scope.marks.length) ? i + 1 : 0; - todo.markId = $scope.marks[next].id; - return false; - } - } - }; - - $scope.blurOnEnter = function (event, item) { - if (event.which === 13) { - item.edit = false; - } - }; - - $scope.newTodoText = ''; - - $scope.addToDoItem = function (event, clickPlus) { - if (clickPlus || event.which === 13) { - $scope.todoList.unshift({ - text: $scope.newTodoText, - edit: false, - markId: 0 - }); - $scope.newTodoText = ''; - } - }; - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardTodo/dashboardTodo.directive.js b/src/app/pages/dashboard/dashboardTodo/dashboardTodo.directive.js deleted file mode 100644 index 35a12e6..0000000 --- a/src/app/pages/dashboard/dashboardTodo/dashboardTodo.directive.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .directive('dashboardTodo', dashboardTodo); - - /** @ngInject */ - function dashboardTodo() { - return { - restrict: 'EA', - controller: 'DashboardTodoCtrl', - templateUrl: 'app/pages/dashboard/dashboardTodo/dashboardTodo.html' - }; - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/dashboardTodo/dashboardTodo.html b/src/app/pages/dashboard/dashboardTodo/dashboardTodo.html deleted file mode 100644 index a347c56..0000000 --- a/src/app/pages/dashboard/dashboardTodo/dashboardTodo.html +++ /dev/null @@ -1,16 +0,0 @@ - - -
- \ No newline at end of file diff --git a/src/app/pages/dashboard/pieCharts/dashboardPieChart.js b/src/app/pages/dashboard/pieCharts/dashboardPieChart.js deleted file mode 100644 index 0f21e63..0000000 --- a/src/app/pages/dashboard/pieCharts/dashboardPieChart.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .service('dashboardPieChart', dashboardPieChart); - - /** @ngInject */ - function dashboardPieChart() { - - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/popularApp/popularApp.directive.js b/src/app/pages/dashboard/popularApp/popularApp.directive.js deleted file mode 100644 index eadef39..0000000 --- a/src/app/pages/dashboard/popularApp/popularApp.directive.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .directive('popularApp', popularApp); - - /** @ngInject */ - function popularApp() { - return { - restrict: 'E', - templateUrl: 'app/pages/dashboard/popularApp/popularApp.html' - }; - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/popularApp/popularApp.html b/src/app/pages/dashboard/popularApp/popularApp.html deleted file mode 100644 index 724bafe..0000000 --- a/src/app/pages/dashboard/popularApp/popularApp.html +++ /dev/null @@ -1,25 +0,0 @@ - - - diff --git a/src/app/pages/dashboard/popularApp/popularApp1.js b/src/app/pages/dashboard/popularApp/popularApp1.js deleted file mode 100644 index 4ad146f..0000000 --- a/src/app/pages/dashboard/popularApp/popularApp1.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .service('popularApp1', popularApp1); - - /** @ngInject */ - function popularApp1() { - - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/todo/dashboardTodo.js b/src/app/pages/dashboard/todo/dashboardTodo.js deleted file mode 100644 index d960928..0000000 --- a/src/app/pages/dashboard/todo/dashboardTodo.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .service('dashboardTodo', dashboardTodo); - - /** @ngInject */ - function dashboardTodo() { - - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/trafficChart/TrafficChartCtrl.js b/src/app/pages/dashboard/trafficChart/TrafficChartCtrl.js deleted file mode 100644 index ebd0c3b..0000000 --- a/src/app/pages/dashboard/trafficChart/TrafficChartCtrl.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .controller('TrafficChartCtrl', TrafficChartCtrl); - - /** @ngInject */ - function TrafficChartCtrl(layoutColors, $scope) { - var palette = layoutColors.bgColorPalette; - $scope.doughnutData = [ - { - value: 2000, - color: palette.white, - highlight: palette.whiteDark, - label: 'Ad Campaigns', - percentage: 87, - order: 0, - }, { - value: 1500, - color: palette.blueStone, - highlight: palette.blueStoneDark, - label: 'Search engines', - percentage: 22, - order: 4, - }, { - value: 1000, - color: palette.surfieGreen, - highlight: palette.surfieGreenDark, - label: 'Referral Traffic', - percentage: 70, - order: 3, - }, { - value: 1200, - color: palette.silverTree, - highlight: palette.silverTreeDark, - label: 'Direct Traffic', - percentage: 38, - order: 2, - }, { - value: 400, - color: palette.gossip, - highlight: palette.gossipDark, - label: 'Other', - percentage: 17, - order: 1, - }, - ]; - - var ctx = document.getElementById('chart-area').getContext('2d'); - window.myDoughnut = new Chart(ctx).Doughnut($scope.doughnutData, { - segmentShowStroke: false, - percentageInnerCutout : 64, - responsive: true - }); - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/trafficChart/trafficChart.directive.js b/src/app/pages/dashboard/trafficChart/trafficChart.directive.js deleted file mode 100644 index a75bc39..0000000 --- a/src/app/pages/dashboard/trafficChart/trafficChart.directive.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .directive('trafficChart', trafficChart); - - /** @ngInject */ - function trafficChart() { - return { - restrict: 'E', - controller: 'TrafficChartCtrl', - templateUrl: 'app/pages/dashboard/trafficChart/trafficChart.html' - }; - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/trafficChart/trafficChart.html b/src/app/pages/dashboard/trafficChart/trafficChart.html deleted file mode 100644 index 9af85ae..0000000 --- a/src/app/pages/dashboard/trafficChart/trafficChart.html +++ /dev/null @@ -1,29 +0,0 @@ -
- -
-
-
- -
- 1,900,128 - Views Total -
-
-
-
- -
-
-
-
-

{{::item.label}}+{{item.percentage}}%

-
-
-
-
-
-
-
-
- diff --git a/src/app/pages/dashboard/weather/WeatherCtrl.js b/src/app/pages/dashboard/weather/WeatherCtrl.js deleted file mode 100644 index 42a6cb3..0000000 --- a/src/app/pages/dashboard/weather/WeatherCtrl.js +++ /dev/null @@ -1,144 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .controller('WeatherCtrl', WeatherCtrl); - - /** @ngInject */ - function WeatherCtrl($scope, $http, $timeout, $element) { - var url = 'http://api.openweathermap.org/data/2.5/forecast'; - var method = 'GET'; - var key = '2de143494c0b295cca9337e1e96b00e0'; - var middleOfTheDay = 15; - $scope.units = 'metric'; - $scope.weatherIcons = { - '01d': 'ion-ios-sunny-outline', - '02d': 'ion-ios-partlysunny-outline', - '03d': 'ion-ios-cloud-outline', - '04d': 'ion-ios-cloud', - '09d': 'ion-ios-rainy', - '10d': 'ion-ios-rainy-outline', - '11d': 'ion-ios-thunderstorm-outline', - '13d': 'ion-ios-snowy', - '50d': 'ion-ios-cloudy-outline', - '01n': 'ion-ios-cloudy-night-outline', - '02n': 'ion-ios-cloudy-night', - '03n': 'ion-ios-cloud-outline', - '04n': 'ion-ios-cloud', - '09n': 'ion-ios-rainy', - '10n': 'ion-ios-rainy-outline', - '11n': 'ion-ios-thunderstorm', - '13n': 'ion-ios-snowy', - '50n': 'ion-ios-cloudy-outline' - }; - $scope.weather = {}; - - $scope.switchUnits = function (name) { - $scope.units = name; - $scope.updateWeather(); - }; - - $scope.switchDay = function (day) { - $scope.weather.current = day; - makeChart($scope.weather.days[$scope.weather.current].timeTemp) - }; - - $scope.updateWeather = function () { - $http({ - method: method, url: url, params: { - appid: key, - lat: $scope.geoData.geoplugin_latitude, - lon: $scope.geoData.geoplugin_longitude, - units: $scope.units - } - }).then(function success(response) { - saveWeatherData(response.data); - makeChart($scope.weather.days[$scope.weather.current].timeTemp) - }, function error() { - console.log("WEATHER FAILED") - }); - }; - - function updateGeoData() { - $http.jsonp('http://www.geoplugin.net/json.gp?jsoncallback=JSON_CALLBACK').then(function success(response) { - $scope.geoData = response.data; - $scope.updateWeather(); - }, function error() { - console.log("GEO FAILED") - }); - } - - function makeChart(data) { - AmCharts.makeChart('tempChart', { - type: 'serial', - theme: 'blur', - handDrawn: true, - categoryField: 'time', - dataProvider: data, - valueAxes: [ - { - axisAlpha: 0.3, - gridAlpha: 0 - } - ], - graphs: [ - { - bullet: 'square', - fillAlphas: 0.3, - fillColorsField: 'lineColor', - legendValueText: '[[value]]', - lineColorField: 'lineColor', - title: 'Temp', - valueField: 'temp' - } - ], - categoryAxis: { - gridAlpha: 0, - axisAlpha: 0.3 - } - }).write('tempChart'); - } - - function saveWeatherData(data) { - var firstItem = data.list[0]; - var weather = { - days: [{ - date: new Date(), - timeTemp: [], - main: firstItem.weather[0].main, - description: firstItem.weather[0].description, - icon: firstItem.weather[0].icon, - temp: firstItem.main.temp - }], current: 0 - }; - data.list.forEach(function (item, i) { - var itemDate = new Date(item.dt_txt); - if (itemDate.getDate() !== weather.days[weather.days.length - 1].date.getDate()) { - weather.days.push({date: itemDate, timeTemp: []}); - } - var lastItem = weather.days[weather.days.length - 1]; - lastItem.timeTemp.push({ - time: itemDate.getHours(), - temp: item.main.temp - }); - if ((weather.days.length > 1 && itemDate.getHours() == middleOfTheDay) || i == data.list.length - 1) { - lastItem.main = item.weather[0].main; - lastItem.description = item.weather[0].description; - lastItem.icon = item.weather[0].icon; - lastItem.temp = item.main.temp; - lastItem.date.setHours(i == data.list.length - 1 ? 0 : middleOfTheDay); - lastItem.date.setMinutes(0); - } - }); - console.log(weather.days[weather.current].date); - weather.days = weather.days.slice(0, $element.attr('forecast') || 5); - $scope.weather = weather; - } - - updateGeoData(); - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/weather/weather.directive.js b/src/app/pages/dashboard/weather/weather.directive.js deleted file mode 100644 index 1b0668e..0000000 --- a/src/app/pages/dashboard/weather/weather.directive.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .directive('weather', weather); - - /** @ngInject */ - function weather() { - return { - restrict: 'EA', - controller: 'WeatherCtrl', - templateUrl: 'app/pages/dashboard/weather/weather.html' - }; - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/weather/weather.html b/src/app/pages/dashboard/weather/weather.html deleted file mode 100644 index ba78a4c..0000000 --- a/src/app/pages/dashboard/weather/weather.html +++ /dev/null @@ -1,45 +0,0 @@ -
-
-
-
- {{geoData.geoplugin_city}} - {{geoData.geoplugin_countryName | uppercase}} -
-
- {{ weather.days[weather.current].date | date : 'EEEE h:mm'}} -
-
-
- - -
{{weather.days[weather.current].main}} - - {{weather.days[weather.current].description}} -
-
-
- - -
- {{weather.days[weather.current].temp}} °C | °F - {{weather.days[weather.current].temp}} °F | °C -
-
-
-
-
-
-
- {{day.temp}} -
-
- - {{day.main}} -
-
- {{day.date | date : 'EEE'}} -
-
-
-
- diff --git a/src/app/pages/form/form.module.js b/src/app/pages/form/form.module.js deleted file mode 100644 index a2fa969..0000000 --- a/src/app/pages/form/form.module.js +++ /dev/null @@ -1,52 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.form', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('form', { - url: '/form', - template : '', - abstract: true, - title: 'Form Elements', - sidebarMeta: { - icon: 'ion-compose', - order: 250, - }, - }) - .state('form.inputs', { - url: '/inputs', - templateUrl: 'app/pages/form/inputs/inputs.html', - title: 'Form Inputs', - sidebarMeta: { - order: 0, - }, - }) - .state('form.layouts', { - url: '/layouts', - templateUrl: 'app/pages/form/layouts/layouts.html', - title: 'Form Layouts', - sidebarMeta: { - order: 100, - }, - }) - .state('form.wizard', - { - url: '/wizard', - templateUrl: 'app/pages/form/wizard/wizard.html', - controller: 'WizardCtrl', - controllerAs: 'vm', - title: 'Form Wizard', - sidebarMeta: { - order: 200, - }, - }); - } -})(); diff --git a/src/app/pages/form/inputs/inputs.html b/src/app/pages/form/inputs/inputs.html deleted file mode 100644 index 7d881ac..0000000 --- a/src/app/pages/form/inputs/inputs.html +++ /dev/null @@ -1,49 +0,0 @@ -
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
\ No newline at end of file diff --git a/src/app/pages/form/inputs/widgets/checkboxesRadios.html b/src/app/pages/form/inputs/widgets/checkboxesRadios.html deleted file mode 100644 index 17bc7f7..0000000 --- a/src/app/pages/form/inputs/widgets/checkboxesRadios.html +++ /dev/null @@ -1,56 +0,0 @@ -
-
-
- -
-
- -
-
- -
-
-
-
- -
-
- -
-
- -
-
-
-
-
- -
-
- -
-
\ No newline at end of file diff --git a/src/app/pages/form/inputs/widgets/inputGroups.html b/src/app/pages/form/inputs/widgets/inputGroups.html deleted file mode 100644 index 5fedce8..0000000 --- a/src/app/pages/form/inputs/widgets/inputGroups.html +++ /dev/null @@ -1,22 +0,0 @@ -
- @ - -
- -
- - @example.com -
- -
- $ - - .00 -
- -
- - - - -
\ No newline at end of file diff --git a/src/app/pages/form/inputs/widgets/select/SelectpickerPanelCtrl.js b/src/app/pages/form/inputs/widgets/select/SelectpickerPanelCtrl.js deleted file mode 100644 index 331a8d7..0000000 --- a/src/app/pages/form/inputs/widgets/select/SelectpickerPanelCtrl.js +++ /dev/null @@ -1,38 +0,0 @@ -/** - * @author v.lugovsky - * created on 22.04.2016 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.form') - .controller('SelectpickerPanelCtrl', SelectpickerPanelCtrl); - - /** @ngInject */ - function SelectpickerPanelCtrl() { - var vm = this; - - vm.standardSelectItems = [ - { label: 'Option 1', value: 1 }, - { label: 'Option 2', value: 2 }, - { label: 'Option 3', value: 3 }, - { label: 'Option 4', value: 4 }, - ]; - - vm.selectWithSearchItems = [ - { label: 'Hot Dog, Fries and a Soda', value: 1 }, - { label: 'Burger, Shake and a Smile', value: 2 }, - { label: 'Sugar, Spice and all things nice', value: 3 }, - { label: 'Baby Back Ribs', value: 4 }, - ]; - - vm.groupedSelectItems = [ - { label: 'Group 1 - Option 1', value: 1, group: 'Group 1' }, - { label: 'Group 2 - Option 2', value: 2, group: 'Group 2' }, - { label: 'Group 1 - Option 3', value: 3, group: 'Group 1' }, - { label: 'Group 2 - Option 4', value: 4, group: 'Group 2' }, - ]; - - } - -})(); diff --git a/src/app/pages/form/inputs/widgets/select/select.html b/src/app/pages/form/inputs/widgets/select/select.html deleted file mode 100644 index cafd710..0000000 --- a/src/app/pages/form/inputs/widgets/select/select.html +++ /dev/null @@ -1,127 +0,0 @@ -
-
- -
-
- -
-
- -
-
- -
- -
-
-
- -
-
-
-
- -
-
-
- -
- -
-
- -
- -
-
-
- -
-
- -
-
- -
-
-
-
- -
- -
- -
- -
- -
-
-
-
diff --git a/src/app/pages/form/inputs/widgets/select/selectpicker.directive.js b/src/app/pages/form/inputs/widgets/select/selectpicker.directive.js deleted file mode 100644 index 22e89b4..0000000 --- a/src/app/pages/form/inputs/widgets/select/selectpicker.directive.js +++ /dev/null @@ -1,41 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.form') - .directive('selectpicker', selectpicker); - - /** @ngInject */ - function selectpicker() { - return { - restrict: 'A', - require: '?ngOptions', - priority: 1500, // make priority bigger than ngOptions and ngRepeat - link: { - pre: function(scope, elem, attrs) { - elem.append('') - }, - post: function(scope, elem, attrs) { - function refresh() { - elem.selectpicker('refresh'); - } - - if (attrs.ngModel) { - scope.$watch(attrs.ngModel, refresh); - } - - if (attrs.ngDisabled) { - scope.$watch(attrs.ngDisabled, refresh); - } - - elem.selectpicker({ dropupAuto: false, hideDisabled: true }); - } - } - }; - } - - -})(); \ No newline at end of file diff --git a/src/app/pages/form/inputs/widgets/standardFields.html b/src/app/pages/form/inputs/widgets/standardFields.html deleted file mode 100644 index 967365f..0000000 --- a/src/app/pages/form/inputs/widgets/standardFields.html +++ /dev/null @@ -1,35 +0,0 @@ -
-
- - -
-
- - -
-
- - -
-
- - - A block of help text that breaks onto a new line and may extend beyond one line. -
-
- - -
- -
- - -
- -
- -
-
- -
-
\ No newline at end of file diff --git a/src/app/pages/form/inputs/widgets/switch/switch.directive.js b/src/app/pages/form/inputs/widgets/switch/switch.directive.js deleted file mode 100644 index 7817b59..0000000 --- a/src/app/pages/form/inputs/widgets/switch/switch.directive.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.form') - .directive('switch', switchDirective); - - /** @ngInject */ - function switchDirective($timeout) { - return { - restrict: 'EA', - replace: true, - scope: { - ngModel: '=' - }, - template: '
', - link: function (scope, elem, attr) { - $timeout(function(){ - scope.color = attr.color; - $(elem).find('input').bootstrapSwitch({ - size: 'small', - onColor: attr.color - }); - }); - } - }; - } -})(); \ No newline at end of file diff --git a/src/app/pages/form/inputs/widgets/switch/switch.html b/src/app/pages/form/inputs/widgets/switch/switch.html deleted file mode 100644 index fcd2d17..0000000 --- a/src/app/pages/form/inputs/widgets/switch/switch.html +++ /dev/null @@ -1,8 +0,0 @@ -
- - - - - - -
\ No newline at end of file diff --git a/src/app/pages/form/inputs/widgets/tagsInput/tagsInput.directive.js b/src/app/pages/form/inputs/widgets/tagsInput/tagsInput.directive.js deleted file mode 100644 index 8bd8417..0000000 --- a/src/app/pages/form/inputs/widgets/tagsInput/tagsInput.directive.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.form') - .directive('tagInput', tagInput); - - /** @ngInject */ - function tagInput() { - return { - restrict: 'A', - link: function( $scope, elem, attr) { - $(elem).tagsinput({ - tagClass: 'label label-' + attr.tagInput - }); - } - }; - } -})(); \ No newline at end of file diff --git a/src/app/pages/form/inputs/widgets/tagsInput/tagsInput.html b/src/app/pages/form/inputs/widgets/tagsInput/tagsInput.html deleted file mode 100644 index fb7259a..0000000 --- a/src/app/pages/form/inputs/widgets/tagsInput/tagsInput.html +++ /dev/null @@ -1,11 +0,0 @@ -
-
- -
-
- -
-
- -
-
\ No newline at end of file diff --git a/src/app/pages/form/inputs/widgets/validationStates.html b/src/app/pages/form/inputs/widgets/validationStates.html deleted file mode 100644 index 02744f3..0000000 --- a/src/app/pages/form/inputs/widgets/validationStates.html +++ /dev/null @@ -1,64 +0,0 @@ -
- - -
-
- - -
-
- - -
-
-
- -
-
-
-
- -
-
-
-
- -
-
- -
- - - - (success) -
-
- - - - (warning) -
-
- - - - (error) -
-
- -
- @ - -
- - (success) -
\ No newline at end of file diff --git a/src/app/pages/form/layouts/layouts.html b/src/app/pages/form/layouts/layouts.html deleted file mode 100644 index b7fd6f1..0000000 --- a/src/app/pages/form/layouts/layouts.html +++ /dev/null @@ -1,44 +0,0 @@ -
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
- -
\ No newline at end of file diff --git a/src/app/pages/form/layouts/widgets/basicForm.html b/src/app/pages/form/layouts/widgets/basicForm.html deleted file mode 100644 index c902f91..0000000 --- a/src/app/pages/form/layouts/widgets/basicForm.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
- - -
-
- - -
-
- -
- -
\ No newline at end of file diff --git a/src/app/pages/form/layouts/widgets/blockForm.html b/src/app/pages/form/layouts/widgets/blockForm.html deleted file mode 100644 index 3cb14ee..0000000 --- a/src/app/pages/form/layouts/widgets/blockForm.html +++ /dev/null @@ -1,29 +0,0 @@ -
-
-
- - -
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
- - -
-
-
- \ No newline at end of file diff --git a/src/app/pages/form/layouts/widgets/formWithoutLabels.html b/src/app/pages/form/layouts/widgets/formWithoutLabels.html deleted file mode 100644 index e7b9f6c..0000000 --- a/src/app/pages/form/layouts/widgets/formWithoutLabels.html +++ /dev/null @@ -1,12 +0,0 @@ -
-
- -
-
- -
-
- -
- -
\ No newline at end of file diff --git a/src/app/pages/form/layouts/widgets/horizontalForm.html b/src/app/pages/form/layouts/widgets/horizontalForm.html deleted file mode 100644 index 70ee314..0000000 --- a/src/app/pages/form/layouts/widgets/horizontalForm.html +++ /dev/null @@ -1,29 +0,0 @@ -
-
- -
- -
-
-
- -
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
\ No newline at end of file diff --git a/src/app/pages/form/layouts/widgets/inlineForm.html b/src/app/pages/form/layouts/widgets/inlineForm.html deleted file mode 100644 index 8365ec1..0000000 --- a/src/app/pages/form/layouts/widgets/inlineForm.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
- -
-
- -
-
- -
- -
\ No newline at end of file diff --git a/src/app/pages/form/wizard/wizard.html b/src/app/pages/form/wizard/wizard.html deleted file mode 100644 index 9c63a7f..0000000 --- a/src/app/pages/form/wizard/wizard.html +++ /dev/null @@ -1,106 +0,0 @@ -
- -
-
-
- - -
-
-
-
- - - Required -
-
- - - Proper email required -
-
-
-
- - - Required -
-
- - - Passwords should match -
-
-
-
-
- -
-
-
-
- - - Required -
-
- - - Required -
-
-
-
- - -
-
-
-
-
- -
-
-
-
- - - Required -
-
-
-
- - -
-
-
-
- -
-
-
- -
- Congratulations! You have successfully filled the form! -
-
-
-
-
-
- -
\ No newline at end of file diff --git a/src/app/pages/form/wizard/wizrdCtrl.js b/src/app/pages/form/wizard/wizrdCtrl.js deleted file mode 100644 index 5c607c6..0000000 --- a/src/app/pages/form/wizard/wizrdCtrl.js +++ /dev/null @@ -1,21 +0,0 @@ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.form') - .controller('WizardCtrl', WizardCtrl); - - /** @ngInject */ - function WizardCtrl($scope) { - var vm = this; - - vm.personalInfo = {}; - vm.productInfo = {}; - vm.shipment = {}; - - vm.arePersonalInfoPasswordsEqual = function () { - return vm.personalInfo.confirmPassword && vm.personalInfo.password == vm.personalInfo.confirmPassword; - }; - } - -})(); - diff --git a/src/app/pages/maps/google-maps/GmapPageCtrl.js b/src/app/pages/maps/google-maps/GmapPageCtrl.js deleted file mode 100644 index 5b7b4c6..0000000 --- a/src/app/pages/maps/google-maps/GmapPageCtrl.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.maps') - .controller('GmapPageCtrl', GmapPageCtrl); - - /** @ngInject */ - function GmapPageCtrl($timeout) { - function initialize() { - var mapCanvas = document.getElementById('google-maps'); - var mapOptions = { - center: new google.maps.LatLng(44.5403, -78.5463), - zoom: 8, - mapTypeId: google.maps.MapTypeId.ROADMAP - }; - var map = new google.maps.Map(mapCanvas, mapOptions); - } - - $timeout(function(){ - initialize(); - }, 100); - } - -})(); diff --git a/src/app/pages/maps/google-maps/google-maps.html b/src/app/pages/maps/google-maps/google-maps.html deleted file mode 100644 index c2507ef..0000000 --- a/src/app/pages/maps/google-maps/google-maps.html +++ /dev/null @@ -1,3 +0,0 @@ -
-
-
diff --git a/src/app/pages/maps/leaflet/LeafletPageCtrl.js b/src/app/pages/maps/leaflet/LeafletPageCtrl.js deleted file mode 100644 index 6ad189a..0000000 --- a/src/app/pages/maps/leaflet/LeafletPageCtrl.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.maps') - .controller('LeafletPageCtrl', LeafletPageCtrl); - - /** @ngInject */ - function LeafletPageCtrl($timeout) { - function initialize() { - L.Icon.Default.imagePath = 'assets/img/theme/vendor/leaflet/dist/images'; - var map = L.map(document.getElementById('leaflet-map')).setView([51.505, -0.09], 13); - L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { - attribution: '© OpenStreetMap contributors' - }).addTo(map); - - L.marker([51.5, -0.09]).addTo(map) - .bindPopup('A pretty CSS3 popup.
Easily customizable.') - .openPopup(); - } - - $timeout(function(){ - initialize(); - }, 100); - - } - -})(); diff --git a/src/app/pages/maps/leaflet/leaflet.html b/src/app/pages/maps/leaflet/leaflet.html deleted file mode 100644 index 4c41a92..0000000 --- a/src/app/pages/maps/leaflet/leaflet.html +++ /dev/null @@ -1,3 +0,0 @@ -
-
-
\ No newline at end of file diff --git a/src/app/pages/maps/map-bubbles/MapBubblePageCtrl.js b/src/app/pages/maps/map-bubbles/MapBubblePageCtrl.js deleted file mode 100644 index 707e3bc..0000000 --- a/src/app/pages/maps/map-bubbles/MapBubblePageCtrl.js +++ /dev/null @@ -1,500 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.maps') - .controller('MapBubblePageCtrl', MapBubblePageCtrl); - - /** @ngInject */ - function MapBubblePageCtrl(layoutColors, $timeout, layoutPaths) { - var latlong = {}; - latlong['AD'] = {'latitude': 42.5, 'longitude': 1.5}; - latlong['AE'] = {'latitude': 24, 'longitude': 54}; - latlong['AF'] = {'latitude': 33, 'longitude': 65}; - latlong['AG'] = {'latitude': 17.05, 'longitude': -61.8}; - latlong['AI'] = {'latitude': 18.25, 'longitude': -63.1667}; - latlong['AL'] = {'latitude': 41, 'longitude': 20}; - latlong['AM'] = {'latitude': 40, 'longitude': 45}; - latlong['AN'] = {'latitude': 12.25, 'longitude': -68.75}; - latlong['AO'] = {'latitude': -12.5, 'longitude': 18.5}; - latlong['AP'] = {'latitude': 35, 'longitude': 105}; - latlong['AQ'] = {'latitude': -90, 'longitude': 0}; - latlong['AR'] = {'latitude': -34, 'longitude': -64}; - latlong['AS'] = {'latitude': -14.3333, 'longitude': -170}; - latlong['AT'] = {'latitude': 47.3333, 'longitude': 13.3333}; - latlong['AU'] = {'latitude': -27, 'longitude': 133}; - latlong['AW'] = {'latitude': 12.5, 'longitude': -69.9667}; - latlong['AZ'] = {'latitude': 40.5, 'longitude': 47.5}; - latlong['BA'] = {'latitude': 44, 'longitude': 18}; - latlong['BB'] = {'latitude': 13.1667, 'longitude': -59.5333}; - latlong['BD'] = {'latitude': 24, 'longitude': 90}; - latlong['BE'] = {'latitude': 50.8333, 'longitude': 4}; - latlong['BF'] = {'latitude': 13, 'longitude': -2}; - latlong['BG'] = {'latitude': 43, 'longitude': 25}; - latlong['BH'] = {'latitude': 26, 'longitude': 50.55}; - latlong['BI'] = {'latitude': -3.5, 'longitude': 30}; - latlong['BJ'] = {'latitude': 9.5, 'longitude': 2.25}; - latlong['BM'] = {'latitude': 32.3333, 'longitude': -64.75}; - latlong['BN'] = {'latitude': 4.5, 'longitude': 114.6667}; - latlong['BO'] = {'latitude': -17, 'longitude': -65}; - latlong['BR'] = {'latitude': -10, 'longitude': -55}; - latlong['BS'] = {'latitude': 24.25, 'longitude': -76}; - latlong['BT'] = {'latitude': 27.5, 'longitude': 90.5}; - latlong['BV'] = {'latitude': -54.4333, 'longitude': 3.4}; - latlong['BW'] = {'latitude': -22, 'longitude': 24}; - latlong['BY'] = {'latitude': 53, 'longitude': 28}; - latlong['BZ'] = {'latitude': 17.25, 'longitude': -88.75}; - latlong['CA'] = {'latitude': 54, 'longitude': -100}; - latlong['CC'] = {'latitude': -12.5, 'longitude': 96.8333}; - latlong['CD'] = {'latitude': 0, 'longitude': 25}; - latlong['CF'] = {'latitude': 7, 'longitude': 21}; - latlong['CG'] = {'latitude': -1, 'longitude': 15}; - latlong['CH'] = {'latitude': 47, 'longitude': 8}; - latlong['CI'] = {'latitude': 8, 'longitude': -5}; - latlong['CK'] = {'latitude': -21.2333, 'longitude': -159.7667}; - latlong['CL'] = {'latitude': -30, 'longitude': -71}; - latlong['CM'] = {'latitude': 6, 'longitude': 12}; - latlong['CN'] = {'latitude': 35, 'longitude': 105}; - latlong['CO'] = {'latitude': 4, 'longitude': -72}; - latlong['CR'] = {'latitude': 10, 'longitude': -84}; - latlong['CU'] = {'latitude': 21.5, 'longitude': -80}; - latlong['CV'] = {'latitude': 16, 'longitude': -24}; - latlong['CX'] = {'latitude': -10.5, 'longitude': 105.6667}; - latlong['CY'] = {'latitude': 35, 'longitude': 33}; - latlong['CZ'] = {'latitude': 49.75, 'longitude': 15.5}; - latlong['DE'] = {'latitude': 51, 'longitude': 9}; - latlong['DJ'] = {'latitude': 11.5, 'longitude': 43}; - latlong['DK'] = {'latitude': 56, 'longitude': 10}; - latlong['DM'] = {'latitude': 15.4167, 'longitude': -61.3333}; - latlong['DO'] = {'latitude': 19, 'longitude': -70.6667}; - latlong['DZ'] = {'latitude': 28, 'longitude': 3}; - latlong['EC'] = {'latitude': -2, 'longitude': -77.5}; - latlong['EE'] = {'latitude': 59, 'longitude': 26}; - latlong['EG'] = {'latitude': 27, 'longitude': 30}; - latlong['EH'] = {'latitude': 24.5, 'longitude': -13}; - latlong['ER'] = {'latitude': 15, 'longitude': 39}; - latlong['ES'] = {'latitude': 40, 'longitude': -4}; - latlong['ET'] = {'latitude': 8, 'longitude': 38}; - latlong['EU'] = {'latitude': 47, 'longitude': 8}; - latlong['FI'] = {'latitude': 62, 'longitude': 26}; - latlong['FJ'] = {'latitude': -18, 'longitude': 175}; - latlong['FK'] = {'latitude': -51.75, 'longitude': -59}; - latlong['FM'] = {'latitude': 6.9167, 'longitude': 158.25}; - latlong['FO'] = {'latitude': 62, 'longitude': -7}; - latlong['FR'] = {'latitude': 46, 'longitude': 2}; - latlong['GA'] = {'latitude': -1, 'longitude': 11.75}; - latlong['GB'] = {'latitude': 54, 'longitude': -2}; - latlong['GD'] = {'latitude': 12.1167, 'longitude': -61.6667}; - latlong['GE'] = {'latitude': 42, 'longitude': 43.5}; - latlong['GF'] = {'latitude': 4, 'longitude': -53}; - latlong['GH'] = {'latitude': 8, 'longitude': -2}; - latlong['GI'] = {'latitude': 36.1833, 'longitude': -5.3667}; - latlong['GL'] = {'latitude': 72, 'longitude': -40}; - latlong['GM'] = {'latitude': 13.4667, 'longitude': -16.5667}; - latlong['GN'] = {'latitude': 11, 'longitude': -10}; - latlong['GP'] = {'latitude': 16.25, 'longitude': -61.5833}; - latlong['GQ'] = {'latitude': 2, 'longitude': 10}; - latlong['GR'] = {'latitude': 39, 'longitude': 22}; - latlong['GS'] = {'latitude': -54.5, 'longitude': -37}; - latlong['GT'] = {'latitude': 15.5, 'longitude': -90.25}; - latlong['GU'] = {'latitude': 13.4667, 'longitude': 144.7833}; - latlong['GW'] = {'latitude': 12, 'longitude': -15}; - latlong['GY'] = {'latitude': 5, 'longitude': -59}; - latlong['HK'] = {'latitude': 22.25, 'longitude': 114.1667}; - latlong['HM'] = {'latitude': -53.1, 'longitude': 72.5167}; - latlong['HN'] = {'latitude': 15, 'longitude': -86.5}; - latlong['HR'] = {'latitude': 45.1667, 'longitude': 15.5}; - latlong['HT'] = {'latitude': 19, 'longitude': -72.4167}; - latlong['HU'] = {'latitude': 47, 'longitude': 20}; - latlong['ID'] = {'latitude': -5, 'longitude': 120}; - latlong['IE'] = {'latitude': 53, 'longitude': -8}; - latlong['IL'] = {'latitude': 31.5, 'longitude': 34.75}; - latlong['IN'] = {'latitude': 20, 'longitude': 77}; - latlong['IO'] = {'latitude': -6, 'longitude': 71.5}; - latlong['IQ'] = {'latitude': 33, 'longitude': 44}; - latlong['IR'] = {'latitude': 32, 'longitude': 53}; - latlong['IS'] = {'latitude': 65, 'longitude': -18}; - latlong['IT'] = {'latitude': 42.8333, 'longitude': 12.8333}; - latlong['JM'] = {'latitude': 18.25, 'longitude': -77.5}; - latlong['JO'] = {'latitude': 31, 'longitude': 36}; - latlong['JP'] = {'latitude': 36, 'longitude': 138}; - latlong['KE'] = {'latitude': 1, 'longitude': 38}; - latlong['KG'] = {'latitude': 41, 'longitude': 75}; - latlong['KH'] = {'latitude': 13, 'longitude': 105}; - latlong['KI'] = {'latitude': 1.4167, 'longitude': 173}; - latlong['KM'] = {'latitude': -12.1667, 'longitude': 44.25}; - latlong['KN'] = {'latitude': 17.3333, 'longitude': -62.75}; - latlong['KP'] = {'latitude': 40, 'longitude': 127}; - latlong['KR'] = {'latitude': 37, 'longitude': 127.5}; - latlong['KW'] = {'latitude': 29.3375, 'longitude': 47.6581}; - latlong['KY'] = {'latitude': 19.5, 'longitude': -80.5}; - latlong['KZ'] = {'latitude': 48, 'longitude': 68}; - latlong['LA'] = {'latitude': 18, 'longitude': 105}; - latlong['LB'] = {'latitude': 33.8333, 'longitude': 35.8333}; - latlong['LC'] = {'latitude': 13.8833, 'longitude': -61.1333}; - latlong['LI'] = {'latitude': 47.1667, 'longitude': 9.5333}; - latlong['LK'] = {'latitude': 7, 'longitude': 81}; - latlong['LR'] = {'latitude': 6.5, 'longitude': -9.5}; - latlong['LS'] = {'latitude': -29.5, 'longitude': 28.5}; - latlong['LT'] = {'latitude': 55, 'longitude': 24}; - latlong['LU'] = {'latitude': 49.75, 'longitude': 6}; - latlong['LV'] = {'latitude': 57, 'longitude': 25}; - latlong['LY'] = {'latitude': 25, 'longitude': 17}; - latlong['MA'] = {'latitude': 32, 'longitude': -5}; - latlong['MC'] = {'latitude': 43.7333, 'longitude': 7.4}; - latlong['MD'] = {'latitude': 47, 'longitude': 29}; - latlong['ME'] = {'latitude': 42.5, 'longitude': 19.4}; - latlong['MG'] = {'latitude': -20, 'longitude': 47}; - latlong['MH'] = {'latitude': 9, 'longitude': 168}; - latlong['MK'] = {'latitude': 41.8333, 'longitude': 22}; - latlong['ML'] = {'latitude': 17, 'longitude': -4}; - latlong['MM'] = {'latitude': 22, 'longitude': 98}; - latlong['MN'] = {'latitude': 46, 'longitude': 105}; - latlong['MO'] = {'latitude': 22.1667, 'longitude': 113.55}; - latlong['MP'] = {'latitude': 15.2, 'longitude': 145.75}; - latlong['MQ'] = {'latitude': 14.6667, 'longitude': -61}; - latlong['MR'] = {'latitude': 20, 'longitude': -12}; - latlong['MS'] = {'latitude': 16.75, 'longitude': -62.2}; - latlong['MT'] = {'latitude': 35.8333, 'longitude': 14.5833}; - latlong['MU'] = {'latitude': -20.2833, 'longitude': 57.55}; - latlong['MV'] = {'latitude': 3.25, 'longitude': 73}; - latlong['MW'] = {'latitude': -13.5, 'longitude': 34}; - latlong['MX'] = {'latitude': 23, 'longitude': -102}; - latlong['MY'] = {'latitude': 2.5, 'longitude': 112.5}; - latlong['MZ'] = {'latitude': -18.25, 'longitude': 35}; - latlong['NA'] = {'latitude': -22, 'longitude': 17}; - latlong['NC'] = {'latitude': -21.5, 'longitude': 165.5}; - latlong['NE'] = {'latitude': 16, 'longitude': 8}; - latlong['NF'] = {'latitude': -29.0333, 'longitude': 167.95}; - latlong['NG'] = {'latitude': 10, 'longitude': 8}; - latlong['NI'] = {'latitude': 13, 'longitude': -85}; - latlong['NL'] = {'latitude': 52.5, 'longitude': 5.75}; - latlong['NO'] = {'latitude': 62, 'longitude': 10}; - latlong['NP'] = {'latitude': 28, 'longitude': 84}; - latlong['NR'] = {'latitude': -0.5333, 'longitude': 166.9167}; - latlong['NU'] = {'latitude': -19.0333, 'longitude': -169.8667}; - latlong['NZ'] = {'latitude': -41, 'longitude': 174}; - latlong['OM'] = {'latitude': 21, 'longitude': 57}; - latlong['PA'] = {'latitude': 9, 'longitude': -80}; - latlong['PE'] = {'latitude': -10, 'longitude': -76}; - latlong['PF'] = {'latitude': -15, 'longitude': -140}; - latlong['PG'] = {'latitude': -6, 'longitude': 147}; - latlong['PH'] = {'latitude': 13, 'longitude': 122}; - latlong['PK'] = {'latitude': 30, 'longitude': 70}; - latlong['PL'] = {'latitude': 52, 'longitude': 20}; - latlong['PM'] = {'latitude': 46.8333, 'longitude': -56.3333}; - latlong['PR'] = {'latitude': 18.25, 'longitude': -66.5}; - latlong['PS'] = {'latitude': 32, 'longitude': 35.25}; - latlong['PT'] = {'latitude': 39.5, 'longitude': -8}; - latlong['PW'] = {'latitude': 7.5, 'longitude': 134.5}; - latlong['PY'] = {'latitude': -23, 'longitude': -58}; - latlong['QA'] = {'latitude': 25.5, 'longitude': 51.25}; - latlong['RE'] = {'latitude': -21.1, 'longitude': 55.6}; - latlong['RO'] = {'latitude': 46, 'longitude': 25}; - latlong['RS'] = {'latitude': 44, 'longitude': 21}; - latlong['RU'] = {'latitude': 60, 'longitude': 100}; - latlong['RW'] = {'latitude': -2, 'longitude': 30}; - latlong['SA'] = {'latitude': 25, 'longitude': 45}; - latlong['SB'] = {'latitude': -8, 'longitude': 159}; - latlong['SC'] = {'latitude': -4.5833, 'longitude': 55.6667}; - latlong['SD'] = {'latitude': 15, 'longitude': 30}; - latlong['SE'] = {'latitude': 62, 'longitude': 15}; - latlong['SG'] = {'latitude': 1.3667, 'longitude': 103.8}; - latlong['SH'] = {'latitude': -15.9333, 'longitude': -5.7}; - latlong['SI'] = {'latitude': 46, 'longitude': 15}; - latlong['SJ'] = {'latitude': 78, 'longitude': 20}; - latlong['SK'] = {'latitude': 48.6667, 'longitude': 19.5}; - latlong['SL'] = {'latitude': 8.5, 'longitude': -11.5}; - latlong['SM'] = {'latitude': 43.7667, 'longitude': 12.4167}; - latlong['SN'] = {'latitude': 14, 'longitude': -14}; - latlong['SO'] = {'latitude': 10, 'longitude': 49}; - latlong['SR'] = {'latitude': 4, 'longitude': -56}; - latlong['ST'] = {'latitude': 1, 'longitude': 7}; - latlong['SV'] = {'latitude': 13.8333, 'longitude': -88.9167}; - latlong['SY'] = {'latitude': 35, 'longitude': 38}; - latlong['SZ'] = {'latitude': -26.5, 'longitude': 31.5}; - latlong['TC'] = {'latitude': 21.75, 'longitude': -71.5833}; - latlong['TD'] = {'latitude': 15, 'longitude': 19}; - latlong['TF'] = {'latitude': -43, 'longitude': 67}; - latlong['TG'] = {'latitude': 8, 'longitude': 1.1667}; - latlong['TH'] = {'latitude': 15, 'longitude': 100}; - latlong['TJ'] = {'latitude': 39, 'longitude': 71}; - latlong['TK'] = {'latitude': -9, 'longitude': -172}; - latlong['TM'] = {'latitude': 40, 'longitude': 60}; - latlong['TN'] = {'latitude': 34, 'longitude': 9}; - latlong['TO'] = {'latitude': -20, 'longitude': -175}; - latlong['TR'] = {'latitude': 39, 'longitude': 35}; - latlong['TT'] = {'latitude': 11, 'longitude': -61}; - latlong['TV'] = {'latitude': -8, 'longitude': 178}; - latlong['TW'] = {'latitude': 23.5, 'longitude': 121}; - latlong['TZ'] = {'latitude': -6, 'longitude': 35}; - latlong['UA'] = {'latitude': 49, 'longitude': 32}; - latlong['UG'] = {'latitude': 1, 'longitude': 32}; - latlong['UM'] = {'latitude': 19.2833, 'longitude': 166.6}; - latlong['US'] = {'latitude': 38, 'longitude': -97}; - latlong['UY'] = {'latitude': -33, 'longitude': -56}; - latlong['UZ'] = {'latitude': 41, 'longitude': 64}; - latlong['VA'] = {'latitude': 41.9, 'longitude': 12.45}; - latlong['VC'] = {'latitude': 13.25, 'longitude': -61.2}; - latlong['VE'] = {'latitude': 8, 'longitude': -66}; - latlong['VG'] = {'latitude': 18.5, 'longitude': -64.5}; - latlong['VI'] = {'latitude': 18.3333, 'longitude': -64.8333}; - latlong['VN'] = {'latitude': 16, 'longitude': 106}; - latlong['VU'] = {'latitude': -16, 'longitude': 167}; - latlong['WF'] = {'latitude': -13.3, 'longitude': -176.2}; - latlong['WS'] = {'latitude': -13.5833, 'longitude': -172.3333}; - latlong['YE'] = {'latitude': 15, 'longitude': 48}; - latlong['YT'] = {'latitude': -12.8333, 'longitude': 45.1667}; - latlong['ZA'] = {'latitude': -29, 'longitude': 24}; - latlong['ZM'] = {'latitude': -15, 'longitude': 30}; - latlong['ZW'] = {'latitude': -20, 'longitude': 30}; - - var mapData = [ - {'code': 'AF', 'name': 'Afghanistan', 'value': 32358260, 'color': layoutColors.primaryDark}, - {'code': 'AL', 'name': 'Albania', 'value': 3215988, 'color': layoutColors.warning}, - {'code': 'DZ', 'name': 'Algeria', 'value': 35980193, 'color': layoutColors.danger}, - {'code': 'AO', 'name': 'Angola', 'value': 19618432, 'color': layoutColors.danger}, - {'code': 'AR', 'name': 'Argentina', 'value': 40764561, 'color': layoutColors.success}, - {'code': 'AM', 'name': 'Armenia', 'value': 3100236, 'color': layoutColors.warning}, - {'code': 'AU', 'name': 'Australia', 'value': 22605732, 'color': layoutColors.warningDark}, - {'code': 'AT', 'name': 'Austria', 'value': 8413429, 'color': layoutColors.warning}, - {'code': 'AZ', 'name': 'Azerbaijan', 'value': 9306023, 'color': layoutColors.warning}, - {'code': 'BH', 'name': 'Bahrain', 'value': 1323535, 'color': layoutColors.primaryDark}, - {'code': 'BD', 'name': 'Bangladesh', 'value': 150493658, 'color': layoutColors.primaryDark}, - {'code': 'BY', 'name': 'Belarus', 'value': 9559441, 'color': layoutColors.warning}, - {'code': 'BE', 'name': 'Belgium', 'value': 10754056, 'color': layoutColors.warning}, - {'code': 'BJ', 'name': 'Benin', 'value': 9099922, 'color': layoutColors.danger}, - {'code': 'BT', 'name': 'Bhutan', 'value': 738267, 'color': layoutColors.primaryDark}, - {'code': 'BO', 'name': 'Bolivia', 'value': 10088108, 'color': layoutColors.success}, - {'code': 'BA', 'name': 'Bosnia and Herzegovina', 'value': 3752228, 'color': layoutColors.warning}, - {'code': 'BW', 'name': 'Botswana', 'value': 2030738, 'color': layoutColors.danger}, - {'code': 'BR', 'name': 'Brazil', 'value': 196655014, 'color': layoutColors.success}, - {'code': 'BN', 'name': 'Brunei', 'value': 405938, 'color': layoutColors.primaryDark}, - {'code': 'BG', 'name': 'Bulgaria', 'value': 7446135, 'color': layoutColors.warning}, - {'code': 'BF', 'name': 'Burkina Faso', 'value': 16967845, 'color': layoutColors.danger}, - {'code': 'BI', 'name': 'Burundi', 'value': 8575172, 'color': layoutColors.danger}, - {'code': 'KH', 'name': 'Cambodia', 'value': 14305183, 'color': layoutColors.primaryDark}, - {'code': 'CM', 'name': 'Cameroon', 'value': 20030362, 'color': layoutColors.danger}, - {'code': 'CA', 'name': 'Canada', 'value': 34349561, 'color': layoutColors.primary}, - {'code': 'CV', 'name': 'Cape Verde', 'value': 500585, 'color': layoutColors.danger}, - {'code': 'CF', 'name': 'Central African Rep.', 'value': 4486837, 'color': layoutColors.danger}, - {'code': 'TD', 'name': 'Chad', 'value': 11525496, 'color': layoutColors.danger}, - {'code': 'CL', 'name': 'Chile', 'value': 17269525, 'color': layoutColors.success}, - {'code': 'CN', 'name': 'China', 'value': 1347565324, 'color': layoutColors.primaryDark}, - {'code': 'CO', 'name': 'Colombia', 'value': 46927125, 'color': layoutColors.success}, - {'code': 'KM', 'name': 'Comoros', 'value': 753943, 'color': layoutColors.danger}, - {'code': 'CD', 'name': 'Congo, Dem. Rep.', 'value': 67757577, 'color': layoutColors.danger}, - {'code': 'CG', 'name': 'Congo, Rep.', 'value': 4139748, 'color': layoutColors.danger}, - {'code': 'CR', 'name': 'Costa Rica', 'value': 4726575, 'color': layoutColors.primary}, - {'code': 'CI', 'name': 'Cote d\'Ivoire', 'value': 20152894, 'color': layoutColors.danger}, - {'code': 'HR', 'name': 'Croatia', 'value': 4395560, 'color': layoutColors.warning}, - {'code': 'CU', 'name': 'Cuba', 'value': 11253665, 'color': layoutColors.primary}, - {'code': 'CY', 'name': 'Cyprus', 'value': 1116564, 'color': layoutColors.warning}, - {'code': 'CZ', 'name': 'Czech Rep.', 'value': 10534293, 'color': layoutColors.warning}, - {'code': 'DK', 'name': 'Denmark', 'value': 5572594, 'color': layoutColors.warning}, - {'code': 'DJ', 'name': 'Djibouti', 'value': 905564, 'color': layoutColors.danger}, - {'code': 'DO', 'name': 'Dominican Rep.', 'value': 10056181, 'color': layoutColors.primary}, - {'code': 'EC', 'name': 'Ecuador', 'value': 14666055, 'color': layoutColors.success}, - {'code': 'EG', 'name': 'Egypt', 'value': 82536770, 'color': layoutColors.danger}, - {'code': 'SV', 'name': 'El Salvador', 'value': 6227491, 'color': layoutColors.primary}, - {'code': 'GQ', 'name': 'Equatorial Guinea', 'value': 720213, 'color': layoutColors.danger}, - {'code': 'ER', 'name': 'Eritrea', 'value': 5415280, 'color': layoutColors.danger}, - {'code': 'EE', 'name': 'Estonia', 'value': 1340537, 'color': layoutColors.warning}, - {'code': 'ET', 'name': 'Ethiopia', 'value': 84734262, 'color': layoutColors.danger}, - {'code': 'FJ', 'name': 'Fiji', 'value': 868406, 'color': layoutColors.warningDark}, - {'code': 'FI', 'name': 'Finland', 'value': 5384770, 'color': layoutColors.warning}, - {'code': 'FR', 'name': 'France', 'value': 63125894, 'color': layoutColors.warning}, - {'code': 'GA', 'name': 'Gabon', 'value': 1534262, 'color': layoutColors.danger}, - {'code': 'GM', 'name': 'Gambia', 'value': 1776103, 'color': layoutColors.danger}, - {'code': 'GE', 'name': 'Georgia', 'value': 4329026, 'color': layoutColors.warning}, - {'code': 'DE', 'name': 'Germany', 'value': 82162512, 'color': layoutColors.warning}, - {'code': 'GH', 'name': 'Ghana', 'value': 24965816, 'color': layoutColors.danger}, - {'code': 'GR', 'name': 'Greece', 'value': 11390031, 'color': layoutColors.warning}, - {'code': 'GT', 'name': 'Guatemala', 'value': 14757316, 'color': layoutColors.primary}, - {'code': 'GN', 'name': 'Guinea', 'value': 10221808, 'color': layoutColors.danger}, - {'code': 'GW', 'name': 'Guinea-Bissau', 'value': 1547061, 'color': layoutColors.danger}, - {'code': 'GY', 'name': 'Guyana', 'value': 756040, 'color': layoutColors.success}, - {'code': 'HT', 'name': 'Haiti', 'value': 10123787, 'color': layoutColors.primary}, - {'code': 'HN', 'name': 'Honduras', 'value': 7754687, 'color': layoutColors.primary}, - {'code': 'HK', 'name': 'Hong Kong, China', 'value': 7122187, 'color': layoutColors.primaryDark}, - {'code': 'HU', 'name': 'Hungary', 'value': 9966116, 'color': layoutColors.warning}, - {'code': 'IS', 'name': 'Iceland', 'value': 324366, 'color': layoutColors.warning}, - {'code': 'IN', 'name': 'India', 'value': 1241491960, 'color': layoutColors.primaryDark}, - {'code': 'ID', 'name': 'Indonesia', 'value': 242325638, 'color': layoutColors.primaryDark}, - {'code': 'IR', 'name': 'Iran', 'value': 74798599, 'color': layoutColors.primaryDark}, - {'code': 'IQ', 'name': 'Iraq', 'value': 32664942, 'color': layoutColors.primaryDark}, - {'code': 'IE', 'name': 'Ireland', 'value': 4525802, 'color': layoutColors.warning}, - {'code': 'IL', 'name': 'Israel', 'value': 7562194, 'color': layoutColors.primaryDark}, - {'code': 'IT', 'name': 'Italy', 'value': 60788694, 'color': layoutColors.warning}, - {'code': 'JM', 'name': 'Jamaica', 'value': 2751273, 'color': layoutColors.primary}, - {'code': 'JP', 'name': 'Japan', 'value': 126497241, 'color': layoutColors.primaryDark}, - {'code': 'JO', 'name': 'Jordan', 'value': 6330169, 'color': layoutColors.primaryDark}, - {'code': 'KZ', 'name': 'Kazakhstan', 'value': 16206750, 'color': layoutColors.primaryDark}, - {'code': 'KE', 'name': 'Kenya', 'value': 41609728, 'color': layoutColors.danger}, - {'code': 'KP', 'name': 'Korea, Dem. Rep.', 'value': 24451285, 'color': layoutColors.primaryDark}, - {'code': 'KR', 'name': 'Korea, Rep.', 'value': 48391343, 'color': layoutColors.primaryDark}, - {'code': 'KW', 'name': 'Kuwait', 'value': 2818042, 'color': layoutColors.primaryDark}, - {'code': 'KG', 'name': 'Kyrgyzstan', 'value': 5392580, 'color': layoutColors.primaryDark}, - {'code': 'LA', 'name': 'Laos', 'value': 6288037, 'color': layoutColors.primaryDark}, - {'code': 'LV', 'name': 'Latvia', 'value': 2243142, 'color': layoutColors.warning}, - {'code': 'LB', 'name': 'Lebanon', 'value': 4259405, 'color': layoutColors.primaryDark}, - {'code': 'LS', 'name': 'Lesotho', 'value': 2193843, 'color': layoutColors.danger}, - {'code': 'LR', 'name': 'Liberia', 'value': 4128572, 'color': layoutColors.danger}, - {'code': 'LY', 'name': 'Libya', 'value': 6422772, 'color': layoutColors.danger}, - {'code': 'LT', 'name': 'Lithuania', 'value': 3307481, 'color': layoutColors.warning}, - {'code': 'LU', 'name': 'Luxembourg', 'value': 515941, 'color': layoutColors.warning}, - {'code': 'MK', 'name': 'Macedonia, FYR', 'value': 2063893, 'color': layoutColors.warning}, - {'code': 'MG', 'name': 'Madagascar', 'value': 21315135, 'color': layoutColors.danger}, - {'code': 'MW', 'name': 'Malawi', 'value': 15380888, 'color': layoutColors.danger}, - {'code': 'MY', 'name': 'Malaysia', 'value': 28859154, 'color': layoutColors.primaryDark}, - {'code': 'ML', 'name': 'Mali', 'value': 15839538, 'color': layoutColors.danger}, - {'code': 'MR', 'name': 'Mauritania', 'value': 3541540, 'color': layoutColors.danger}, - {'code': 'MU', 'name': 'Mauritius', 'value': 1306593, 'color': layoutColors.danger}, - {'code': 'MX', 'name': 'Mexico', 'value': 114793341, 'color': layoutColors.primary}, - {'code': 'MD', 'name': 'Moldova', 'value': 3544864, 'color': layoutColors.warning}, - {'code': 'MN', 'name': 'Mongolia', 'value': 2800114, 'color': layoutColors.primaryDark}, - {'code': 'ME', 'name': 'Montenegro', 'value': 632261, 'color': layoutColors.warning}, - {'code': 'MA', 'name': 'Morocco', 'value': 32272974, 'color': layoutColors.danger}, - {'code': 'MZ', 'name': 'Mozambique', 'value': 23929708, 'color': layoutColors.danger}, - {'code': 'MM', 'name': 'Myanmar', 'value': 48336763, 'color': layoutColors.primaryDark}, - {'code': 'NA', 'name': 'Namibia', 'value': 2324004, 'color': layoutColors.danger}, - {'code': 'NP', 'name': 'Nepal', 'value': 30485798, 'color': layoutColors.primaryDark}, - {'code': 'NL', 'name': 'Netherlands', 'value': 16664746, 'color': layoutColors.warning}, - {'code': 'NZ', 'name': 'New Zealand', 'value': 4414509, 'color': layoutColors.warningDark}, - {'code': 'NI', 'name': 'Nicaragua', 'value': 5869859, 'color': layoutColors.primary}, - {'code': 'NE', 'name': 'Niger', 'value': 16068994, 'color': layoutColors.danger}, - {'code': 'NG', 'name': 'Nigeria', 'value': 162470737, 'color': layoutColors.danger}, - {'code': 'NO', 'name': 'Norway', 'value': 4924848, 'color': layoutColors.warning}, - {'code': 'OM', 'name': 'Oman', 'value': 2846145, 'color': layoutColors.primaryDark}, - {'code': 'PK', 'name': 'Pakistan', 'value': 176745364, 'color': layoutColors.primaryDark}, - {'code': 'PA', 'name': 'Panama', 'value': 3571185, 'color': layoutColors.primary}, - {'code': 'PG', 'name': 'Papua New Guinea', 'value': 7013829, 'color': layoutColors.warningDark}, - {'code': 'PY', 'name': 'Paraguay', 'value': 6568290, 'color': layoutColors.success}, - {'code': 'PE', 'name': 'Peru', 'value': 29399817, 'color': layoutColors.success}, - {'code': 'PH', 'name': 'Philippines', 'value': 94852030, 'color': layoutColors.primaryDark}, - {'code': 'PL', 'name': 'Poland', 'value': 38298949, 'color': layoutColors.warning}, - {'code': 'PT', 'name': 'Portugal', 'value': 10689663, 'color': layoutColors.warning}, - {'code': 'PR', 'name': 'Puerto Rico', 'value': 3745526, 'color': layoutColors.primary}, - {'code': 'QA', 'name': 'Qatar', 'value': 1870041, 'color': layoutColors.primaryDark}, - {'code': 'RO', 'name': 'Romania', 'value': 21436495, 'color': layoutColors.warning}, - {'code': 'RU', 'name': 'Russia', 'value': 142835555, 'color': layoutColors.warning}, - {'code': 'RW', 'name': 'Rwanda', 'value': 10942950, 'color': layoutColors.danger}, - {'code': 'SA', 'name': 'Saudi Arabia', 'value': 28082541, 'color': layoutColors.primaryDark}, - {'code': 'SN', 'name': 'Senegal', 'value': 12767556, 'color': layoutColors.danger}, - {'code': 'RS', 'name': 'Serbia', 'value': 9853969, 'color': layoutColors.warning}, - {'code': 'SL', 'name': 'Sierra Leone', 'value': 5997486, 'color': layoutColors.danger}, - {'code': 'SG', 'name': 'Singapore', 'value': 5187933, 'color': layoutColors.primaryDark}, - {'code': 'SK', 'name': 'Slovak Republic', 'value': 5471502, 'color': layoutColors.warning}, - {'code': 'SI', 'name': 'Slovenia', 'value': 2035012, 'color': layoutColors.warning}, - {'code': 'SB', 'name': 'Solomon Islands', 'value': 552267, 'color': layoutColors.warningDark}, - {'code': 'SO', 'name': 'Somalia', 'value': 9556873, 'color': layoutColors.danger}, - {'code': 'ZA', 'name': 'South Africa', 'value': 50459978, 'color': layoutColors.danger}, - {'code': 'ES', 'name': 'Spain', 'value': 46454895, 'color': layoutColors.warning}, - {'code': 'LK', 'name': 'Sri Lanka', 'value': 21045394, 'color': layoutColors.primaryDark}, - {'code': 'SD', 'name': 'Sudan', 'value': 34735288, 'color': layoutColors.danger}, - {'code': 'SR', 'name': 'Suriname', 'value': 529419, 'color': layoutColors.success}, - {'code': 'SZ', 'name': 'Swaziland', 'value': 1203330, 'color': layoutColors.danger}, - {'code': 'SE', 'name': 'Sweden', 'value': 9440747, 'color': layoutColors.warning}, - {'code': 'CH', 'name': 'Switzerland', 'value': 7701690, 'color': layoutColors.warning}, - {'code': 'SY', 'name': 'Syria', 'value': 20766037, 'color': layoutColors.primaryDark}, - {'code': 'TW', 'name': 'Taiwan', 'value': 23072000, 'color': layoutColors.primaryDark}, - {'code': 'TJ', 'name': 'Tajikistan', 'value': 6976958, 'color': layoutColors.primaryDark}, - {'code': 'TZ', 'name': 'Tanzania', 'value': 46218486, 'color': layoutColors.danger}, - {'code': 'TH', 'name': 'Thailand', 'value': 69518555, 'color': layoutColors.primaryDark}, - {'code': 'TG', 'name': 'Togo', 'value': 6154813, 'color': layoutColors.danger}, - {'code': 'TT', 'name': 'Trinidad and Tobago', 'value': 1346350, 'color': layoutColors.primary}, - {'code': 'TN', 'name': 'Tunisia', 'value': 10594057, 'color': layoutColors.danger}, - {'code': 'TR', 'name': 'Turkey', 'value': 73639596, 'color': layoutColors.warning}, - {'code': 'TM', 'name': 'Turkmenistan', 'value': 5105301, 'color': layoutColors.primaryDark}, - {'code': 'UG', 'name': 'Uganda', 'value': 34509205, 'color': layoutColors.danger}, - {'code': 'UA', 'name': 'Ukraine', 'value': 45190180, 'color': layoutColors.warning}, - {'code': 'AE', 'name': 'United Arab Emirates', 'value': 7890924, 'color': layoutColors.primaryDark}, - {'code': 'GB', 'name': 'United Kingdom', 'value': 62417431, 'color': layoutColors.warning}, - {'code': 'US', 'name': 'United States', 'value': 313085380, 'color': layoutColors.primary}, - {'code': 'UY', 'name': 'Uruguay', 'value': 3380008, 'color': layoutColors.success}, - {'code': 'UZ', 'name': 'Uzbekistan', 'value': 27760267, 'color': layoutColors.primaryDark}, - {'code': 'VE', 'name': 'Venezuela', 'value': 29436891, 'color': layoutColors.success}, - {'code': 'PS', 'name': 'West Bank and Gaza', 'value': 4152369, 'color': layoutColors.primaryDark}, - {'code': 'VN', 'name': 'Vietnam', 'value': 88791996, 'color': layoutColors.primaryDark}, - {'code': 'YE', 'name': 'Yemen, Rep.', 'value': 24799880, 'color': layoutColors.primaryDark}, - {'code': 'ZM', 'name': 'Zambia', 'value': 13474959, 'color': layoutColors.danger}, - {'code': 'ZW', 'name': 'Zimbabwe', 'value': 12754378, 'color': layoutColors.danger} - ]; - - var map; - var minBulletSize = 3; - var maxBulletSize = 70; - var min = Infinity; - var max = -Infinity; - - // get min and max values - for (var i = 0; i < mapData.length; i++) { - var value = mapData[i].value; - if (value < min) { - min = value; - } - if (value > max) { - max = value; - } - } - - // build map - AmCharts.theme = AmCharts.themes.blur; - map = new AmCharts.AmMap(); - - map.addTitle('Population of the World in 2011', 14); - map.addTitle('source: Gapminder', 11); - map.areasSettings = { - unlistedAreasColor: '#000000', - unlistedAreasAlpha: 0.1 - }; - map.imagesSettings.balloonText = '[[title]]: [[value]]'; - map.pathToImages = layoutPaths.images.amMap; - - var dataProvider = { - mapVar: AmCharts.maps.worldLow, - images: [] - }; - - // it's better to use circle square to show difference between values, not a radius - var maxSquare = maxBulletSize * maxBulletSize * 2 * Math.PI; - var minSquare = minBulletSize * minBulletSize * 2 * Math.PI; - - // create circle for each country - for (var i = 0; i < mapData.length; i++) { - var dataItem = mapData[i]; - var value = dataItem.value; - // calculate size of a bubble - var square = (value - min) / (max - min) * (maxSquare - minSquare) + minSquare; - if (square < minSquare) { - square = minSquare; - } - var size = Math.sqrt(square / (Math.PI * 2)); - var id = dataItem.code; - - dataProvider.images.push({ - type: 'circle', - width: size, - height: size, - color: dataItem.color, - longitude: latlong[id].longitude, - latitude: latlong[id].latitude, - title: dataItem.name, - value: value - }); - } - - map.dataProvider = dataProvider; - map.export = { - enabled: true - }; - - $timeout(function() { - map.write('map-bubbles'); - }, 100); - } - -})(); diff --git a/src/app/pages/maps/map-bubbles/map-bubbles.html b/src/app/pages/maps/map-bubbles/map-bubbles.html deleted file mode 100644 index 87e1cc2..0000000 --- a/src/app/pages/maps/map-bubbles/map-bubbles.html +++ /dev/null @@ -1,3 +0,0 @@ -
-
-
diff --git a/src/app/pages/maps/map-lines/MapLinesPageCtrl.js b/src/app/pages/maps/map-lines/MapLinesPageCtrl.js deleted file mode 100644 index 5beb8ce..0000000 --- a/src/app/pages/maps/map-lines/MapLinesPageCtrl.js +++ /dev/null @@ -1,277 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.maps') - .controller('MapLinesPageCtrl', MapLinesPageCtrl); - - /** @ngInject */ - function MapLinesPageCtrl(layoutColors, $timeout, layoutPaths) { - // svg path for target icon - var targetSVG = 'M9,0C4.029,0,0,4.029,0,9s4.029,9,9,9s9-4.029,9-9S13.971,0,9,0z M9,15.93 c-3.83,0-6.93-3.1-6.93-6.93S5.17,2.07,9,2.07s6.93,3.1,6.93,6.93S12.83,15.93,9,15.93 M12.5,9c0,1.933-1.567,3.5-3.5,3.5S5.5,10.933,5.5,9S7.067,5.5,9,5.5 S12.5,7.067,12.5,9z'; -// svg path for plane icon - var planeSVG = 'M19.671,8.11l-2.777,2.777l-3.837-0.861c0.362-0.505,0.916-1.683,0.464-2.135c-0.518-0.517-1.979,0.278-2.305,0.604l-0.913,0.913L7.614,8.804l-2.021,2.021l2.232,1.061l-0.082,0.082l1.701,1.701l0.688-0.687l3.164,1.504L9.571,18.21H6.413l-1.137,1.138l3.6,0.948l1.83,1.83l0.947,3.598l1.137-1.137V21.43l3.725-3.725l1.504,3.164l-0.687,0.687l1.702,1.701l0.081-0.081l1.062,2.231l2.02-2.02l-0.604-2.689l0.912-0.912c0.326-0.326,1.121-1.789,0.604-2.306c-0.452-0.452-1.63,0.101-2.135,0.464l-0.861-3.838l2.777-2.777c0.947-0.947,3.599-4.862,2.62-5.839C24.533,4.512,20.618,7.163,19.671,8.11z'; - $timeout(function() { - var map = AmCharts.makeChart( 'map-lines', { - type: 'map', - theme: 'blur', - dataProvider: { - map: 'worldLow', - linkToObject: 'london', - images: [ { - id: 'london', - svgPath: targetSVG, - title: 'London', - latitude: 51.5002, - longitude: -0.1262, - scale: 1.5, - zoomLevel: 2.74, - zoomLongitude: -20.1341, - zoomLatitude: 49.1712, - - lines: [ { - latitudes: [ 51.5002, 50.4422 ], - longitudes: [ -0.1262, 30.5367 ] - }, { - latitudes: [ 51.5002, 46.9480 ], - longitudes: [ -0.1262, 7.4481 ] - }, { - latitudes: [ 51.5002, 59.3328 ], - longitudes: [ -0.1262, 18.0645 ] - }, { - latitudes: [ 51.5002, 40.4167 ], - longitudes: [ -0.1262, -3.7033 ] - }, { - latitudes: [ 51.5002, 46.0514 ], - longitudes: [ -0.1262, 14.5060 ] - }, { - latitudes: [ 51.5002, 48.2116 ], - longitudes: [ -0.1262, 17.1547 ] - }, { - latitudes: [ 51.5002, 44.8048 ], - longitudes: [ -0.1262, 20.4781 ] - }, { - latitudes: [ 51.5002, 55.7558 ], - longitudes: [ -0.1262, 37.6176 ] - }, { - latitudes: [ 51.5002, 38.7072 ], - longitudes: [ -0.1262, -9.1355 ] - }, { - latitudes: [ 51.5002, 54.6896 ], - longitudes: [ -0.1262, 25.2799 ] - }, { - latitudes: [ 51.5002, 64.1353 ], - longitudes: [ -0.1262, -21.8952 ] - }, { - latitudes: [ 51.5002, 40.4300 ], - longitudes: [ -0.1262, -74.0000 ] - } ], - - images: [ { - label: 'Flights from London', - svgPath: planeSVG, - left: 100, - top: 45, - labelShiftY: 5, - labelShiftX: 5, - color: layoutColors.default, - labelColor: layoutColors.default, - labelRollOverColor: layoutColors.default, - labelFontSize: 20 - }, { - label: 'show flights from Vilnius', - left: 106, - top: 70, - labelColor: layoutColors.default, - labelRollOverColor: layoutColors.default, - labelFontSize: 11, - linkToObject: 'vilnius' - } ] - }, - - { - id: 'vilnius', - svgPath: targetSVG, - title: 'Vilnius', - latitude: 54.6896, - longitude: 25.2799, - scale: 1.5, - zoomLevel: 4.92, - zoomLongitude: 15.4492, - zoomLatitude: 50.2631, - - lines: [ { - latitudes: [ 54.6896, 50.8371 ], - longitudes: [ 25.2799, 4.3676 ] - }, { - latitudes: [ 54.6896, 59.9138 ], - longitudes: [ 25.2799, 10.7387 ] - }, { - latitudes: [ 54.6896, 40.4167 ], - longitudes: [ 25.2799, -3.7033 ] - }, { - latitudes: [ 54.6896, 50.0878 ], - longitudes: [ 25.2799, 14.4205 ] - }, { - latitudes: [ 54.6896, 48.2116 ], - longitudes: [ 25.2799, 17.1547 ] - }, { - latitudes: [ 54.6896, 44.8048 ], - longitudes: [ 25.2799, 20.4781 ] - }, { - latitudes: [ 54.6896, 55.7558 ], - longitudes: [ 25.2799, 37.6176 ] - }, { - latitudes: [ 54.6896, 37.9792 ], - longitudes: [ 25.2799, 23.7166 ] - }, { - latitudes: [ 54.6896, 54.6896 ], - longitudes: [ 25.2799, 25.2799 ] - }, { - latitudes: [ 54.6896, 51.5002 ], - longitudes: [ 25.2799, -0.1262 ] - }, { - latitudes: [ 54.6896, 53.3441 ], - longitudes: [ 25.2799, -6.2675 ] - } ], - - images: [ { - label: 'Flights from Vilnius', - svgPath: planeSVG, - left: 100, - top: 45, - labelShiftY: 5, - labelShiftX: 5, - color: layoutColors.default, - labelColor: layoutColors.default, - labelRollOverColor: layoutColors.default, - labelFontSize: 20 - }, { - label: 'show flights from London', - left: 106, - top: 70, - labelColor: layoutColors.default, - labelRollOverColor: layoutColors.default, - labelFontSize: 11, - linkToObject: 'london' - } ] - }, { - svgPath: targetSVG, - title: 'Brussels', - latitude: 50.8371, - longitude: 4.3676 - }, { - svgPath: targetSVG, - title: 'Prague', - latitude: 50.0878, - longitude: 14.4205 - }, { - svgPath: targetSVG, - title: 'Athens', - latitude: 37.9792, - longitude: 23.7166 - }, { - svgPath: targetSVG, - title: 'Reykjavik', - latitude: 64.1353, - longitude: -21.8952 - }, { - svgPath: targetSVG, - title: 'Dublin', - latitude: 53.3441, - longitude: -6.2675 - }, { - svgPath: targetSVG, - title: 'Oslo', - latitude: 59.9138, - longitude: 10.7387 - }, { - svgPath: targetSVG, - title: 'Lisbon', - latitude: 38.7072, - longitude: -9.1355 - }, { - svgPath: targetSVG, - title: 'Moscow', - latitude: 55.7558, - longitude: 37.6176 - }, { - svgPath: targetSVG, - title: 'Belgrade', - latitude: 44.8048, - longitude: 20.4781 - }, { - svgPath: targetSVG, - title: 'Bratislava', - latitude: 48.2116, - longitude: 17.1547 - }, { - svgPath: targetSVG, - title: 'Ljubljana', - latitude: 46.0514, - longitude: 14.5060 - }, { - svgPath: targetSVG, - title: 'Madrid', - latitude: 40.4167, - longitude: -3.7033 - }, { - svgPath: targetSVG, - title: 'Stockholm', - latitude: 59.3328, - longitude: 18.0645 - }, { - svgPath: targetSVG, - title: 'Bern', - latitude: 46.9480, - longitude: 7.4481 - }, { - svgPath: targetSVG, - title: 'Kiev', - latitude: 50.4422, - longitude: 30.5367 - }, { - svgPath: targetSVG, - title: 'Paris', - latitude: 48.8567, - longitude: 2.3510 - }, { - svgPath: targetSVG, - title: 'New York', - latitude: 40.43, - longitude: -74 - } - ] - }, - - areasSettings: { - unlistedAreasColor: layoutColors.info - }, - - imagesSettings: { - color: layoutColors.warningBg, - selectedColor: layoutColors.warning - }, - - linesSettings: { - color: layoutColors.warningBg, - alpha: 0.8 - }, - - - backgroundZoomsToTop: true, - linesAboveImages: true, - - export: { - 'enabled': true - }, - pathToImages: layoutPaths.images.amMap - } ); - }, 100); - - } - -})(); diff --git a/src/app/pages/maps/map-lines/map-lines.html b/src/app/pages/maps/map-lines/map-lines.html deleted file mode 100644 index 7bce7e7..0000000 --- a/src/app/pages/maps/map-lines/map-lines.html +++ /dev/null @@ -1,5 +0,0 @@ -
-
-
- - diff --git a/src/app/pages/maps/maps.html b/src/app/pages/maps/maps.html deleted file mode 100644 index b576f00..0000000 --- a/src/app/pages/maps/maps.html +++ /dev/null @@ -1,7 +0,0 @@ -
- -
-
-
- -
\ No newline at end of file diff --git a/src/app/pages/maps/maps.module.js b/src/app/pages/maps/maps.module.js deleted file mode 100644 index 47c3984..0000000 --- a/src/app/pages/maps/maps.module.js +++ /dev/null @@ -1,62 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.maps', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('maps', { - url: '/maps', - templateUrl: 'app/pages/maps/maps.html', - abstract: true, - title: 'Maps', - sidebarMeta: { - icon: 'ion-ios-location-outline', - order: 500, - }, - }) - .state('maps.gmap', { - url: '/gmap', - templateUrl: 'app/pages/maps/google-maps/google-maps.html', - controller: 'GmapPageCtrl', - title: 'Google Maps', - sidebarMeta: { - order: 0, - }, - }) - .state('maps.leaflet', { - url: '/leaflet', - templateUrl: 'app/pages/maps/leaflet/leaflet.html', - controller: 'LeafletPageCtrl', - title: 'Leaflet Maps', - sidebarMeta: { - order: 100, - }, - }) - .state('maps.bubble', { - url: '/bubble', - templateUrl: 'app/pages/maps/map-bubbles/map-bubbles.html', - controller: 'MapBubblePageCtrl', - title: 'Bubble Maps', - sidebarMeta: { - order: 200, - }, - }) - .state('maps.line', { - url: '/line', - templateUrl: 'app/pages/maps/map-lines/map-lines.html', - controller: 'MapLinesPageCtrl', - title: 'Line Maps', - sidebarMeta: { - order: 300, - }, - }); - } - -})(); diff --git a/src/app/pages/pages.module.js b/src/app/pages/pages.module.js deleted file mode 100644 index ea11f40..0000000 --- a/src/app/pages/pages.module.js +++ /dev/null @@ -1,62 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages', [ - 'ui.router', - - 'BlurAdmin.pages.dashboard', - 'BlurAdmin.pages.ui', - 'BlurAdmin.pages.components', - 'BlurAdmin.pages.form', - 'BlurAdmin.pages.tables', - 'BlurAdmin.pages.charts', - 'BlurAdmin.pages.maps', - 'BlurAdmin.pages.profile', - ]) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($urlRouterProvider, baSidebarServiceProvider) { - $urlRouterProvider.otherwise('/dashboard'); - - baSidebarServiceProvider.addStaticItem({ - title: 'Pages', - icon: 'ion-document', - subMenu: [{ - title: 'Sign In', - fixedHref: 'auth.html', - blank: true - }, { - title: 'Sign Up', - fixedHref: 'reg.html', - blank: true - }, { - title: 'User Profile', - stateRef: 'profile' - }, { - title: '404 Page', - fixedHref: '404.html', - blank: true - }] - }); - baSidebarServiceProvider.addStaticItem({ - title: 'Menu Level 1', - icon: 'ion-ios-more', - subMenu: [{ - title: 'Menu Level 1.1', - disabled: true - }, { - title: 'Menu Level 1.2', - subMenu: [{ - title: 'Menu Level 1.2.1', - disabled: true - }] - }] - }); - } - -})(); diff --git a/src/app/pages/profile/ProfileModalCtrl.js b/src/app/pages/profile/ProfileModalCtrl.js deleted file mode 100644 index 0391cc1..0000000 --- a/src/app/pages/profile/ProfileModalCtrl.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @author a.demeshko - * created on 21.01.2016 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.profile') - .controller('ProfileModalCtrl', ProfileModalCtrl); - - /** @ngInject */ - function ProfileModalCtrl($scope, $uibModalInstance) { - $scope.link = ''; - $scope.ok = function () { - $uibModalInstance.close($scope.link); - }; - } - -})(); \ No newline at end of file diff --git a/src/app/pages/profile/ProfilePageCtrl.js b/src/app/pages/profile/ProfilePageCtrl.js deleted file mode 100644 index c271490..0000000 --- a/src/app/pages/profile/ProfilePageCtrl.js +++ /dev/null @@ -1,89 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.profile') - .controller('ProfilePageCtrl', ProfilePageCtrl); - - /** @ngInject */ - function ProfilePageCtrl($scope, fileReader, $filter, $uibModal) { - $scope.picture = $filter('profilePicture')('Nasta'); - - $scope.removePicture = function () { - $scope.picture = $filter('appImage')('theme/no-photo.png'); - $scope.noPicture = true; - }; - - $scope.uploadPicture = function () { - var fileInput = document.getElementById('uploadFile'); - fileInput.click(); - - }; - - $scope.socialProfiles = [ - { - name: 'Facebook', - href: 'https://www.facebook.com/akveo/', - icon: 'socicon-facebook' - }, - { - name: 'Twitter', - href: 'https://twitter.com/akveo_inc', - icon: 'socicon-twitter' - }, - { - name: 'Google', - icon: 'socicon-google' - }, - { - name: 'LinkedIn', - href: 'https://www.linkedin.com/company/akveo', - icon: 'socicon-linkedin' - }, - { - name: 'GitHub', - href: 'https://github.com/akveo', - icon: 'socicon-github' - }, - { - name: 'StackOverflow', - icon: 'socicon-stackoverflow' - }, - { - name: 'Dribbble', - icon: 'socicon-dribble' - }, - { - name: 'Behance', - icon: 'socicon-behace' - } - ]; - - $scope.unconnect = function (item) { - item.href = undefined; - }; - - $scope.showModal = function (item) { - $uibModal.open({ - animation: false, - controller: 'ProfileModalCtrl', - templateUrl: 'app/pages/profile/profileModal.html' - }).result.then(function (link) { - item.href = link; - }); - }; - - $scope.getFile = function () { - fileReader.readAsDataUrl($scope.file, $scope) - .then(function (result) { - $scope.picture = result; - }); - }; - - $scope.switches = [true, true, false, true, true, false]; - } - -})(); diff --git a/src/app/pages/profile/profile.html b/src/app/pages/profile/profile.html deleted file mode 100644 index c9b5d5a..0000000 --- a/src/app/pages/profile/profile.html +++ /dev/null @@ -1,211 +0,0 @@ -
-
-
Your profile is 70% Complete
-
-
-
-
- -

General Information

- -
-
-
- - -
-
-
- -
- - Change Profile Picture - -
-
-
-
-
-
- -
-
-
- - -
- -
-
-
- - -
- -
-
-
-
-
- - -
- -
-
- -
- - -
- -
-
-
-
- -

Change Password

- -
-
-
- - -
- -
-
-
-
-
- - -
- -
-
-
-
- -

Contact Information

- -
-
-
- - -
- -
-
-
- - -
- -
-
-
-
-
- - -
- -
-
-
- - -
- -
-
-
-
- -

Social Profiles

- - - -

Send Email Notifications

- -
-
-
- - -
- -
-
-
- - -
- -
-
-
- - -
- -
-
-
-
-
- - -
- -
-
-
- - -
- -
-
- -
- - -
- -
-
-
-
- -
-
diff --git a/src/app/pages/profile/profile.module.js b/src/app/pages/profile/profile.module.js deleted file mode 100644 index a7446fe..0000000 --- a/src/app/pages/profile/profile.module.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.profile', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('profile', { - url: '/profile', - title: 'Profile', - templateUrl: 'app/pages/profile/profile.html', - controller: 'ProfilePageCtrl', - }); - } - -})(); diff --git a/src/app/pages/profile/profileModal.html b/src/app/pages/profile/profileModal.html deleted file mode 100644 index 306d189..0000000 --- a/src/app/pages/profile/profileModal.html +++ /dev/null @@ -1,20 +0,0 @@ - diff --git a/src/app/pages/tables/TablesPageCtrl.js b/src/app/pages/tables/TablesPageCtrl.js deleted file mode 100644 index 8ad15bb..0000000 --- a/src/app/pages/tables/TablesPageCtrl.js +++ /dev/null @@ -1,714 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.tables') - .controller('TablesPageCtrl', TablesPageCtrl); - - /** @ngInject */ - function TablesPageCtrl($scope, $filter, editableOptions, editableThemes) { - - $scope.smartTablePageSize = 10; - - $scope.smartTableData = [ - { - id: 1, - firstName: 'Mark', - lastName: 'Otto', - username: '@mdo', - email: 'mdo@gmail.com', - age: '28' - }, - { - id: 2, - firstName: 'Jacob', - lastName: 'Thornton', - username: '@fat', - email: 'fat@yandex.ru', - age: '45' - }, - { - id: 3, - firstName: 'Larry', - lastName: 'Bird', - username: '@twitter', - email: 'twitter@outlook.com', - age: '18' - }, - { - id: 4, - firstName: 'John', - lastName: 'Snow', - username: '@snow', - email: 'snow@gmail.com', - age: '20' - }, - { - id: 5, - firstName: 'Jack', - lastName: 'Sparrow', - username: '@jack', - email: 'jack@yandex.ru', - age: '30' - }, - { - id: 6, - firstName: 'Ann', - lastName: 'Smith', - username: '@ann', - email: 'ann@gmail.com', - age: '21' - }, - { - id: 7, - firstName: 'Barbara', - lastName: 'Black', - username: '@barbara', - email: 'barbara@yandex.ru', - age: '43' - }, - { - id: 8, - firstName: 'Sevan', - lastName: 'Bagrat', - username: '@sevan', - email: 'sevan@outlook.com', - age: '13' - }, - { - id: 9, - firstName: 'Ruben', - lastName: 'Vardan', - username: '@ruben', - email: 'ruben@gmail.com', - age: '22' - }, - { - id: 10, - firstName: 'Karen', - lastName: 'Sevan', - username: '@karen', - email: 'karen@yandex.ru', - age: '33' - }, - { - id: 11, - firstName: 'Mark', - lastName: 'Otto', - username: '@mark', - email: 'mark@gmail.com', - age: '38' - }, - { - id: 12, - firstName: 'Jacob', - lastName: 'Thornton', - username: '@jacob', - email: 'jacob@yandex.ru', - age: '48' - }, - { - id: 13, - firstName: 'Haik', - lastName: 'Hakob', - username: '@haik', - email: 'haik@outlook.com', - age: '48' - }, - { - id: 14, - firstName: 'Garegin', - lastName: 'Jirair', - username: '@garegin', - email: 'garegin@gmail.com', - age: '40' - }, - { - id: 15, - firstName: 'Krikor', - lastName: 'Bedros', - username: '@krikor', - email: 'krikor@yandex.ru', - age: '32' - }, - { - "id": 16, - "firstName": "Francisca", - "lastName": "Brady", - "username": "@Gibson", - "email": "franciscagibson@comtours.com", - "age": 11 - }, - { - "id": 17, - "firstName": "Tillman", - "lastName": "Figueroa", - "username": "@Snow", - "email": "tillmansnow@comtours.com", - "age": 34 - }, - { - "id": 18, - "firstName": "Jimenez", - "lastName": "Morris", - "username": "@Bryant", - "email": "jimenezbryant@comtours.com", - "age": 45 - }, - { - "id": 19, - "firstName": "Sandoval", - "lastName": "Jacobson", - "username": "@Mcbride", - "email": "sandovalmcbride@comtours.com", - "age": 32 - }, - { - "id": 20, - "firstName": "Griffin", - "lastName": "Torres", - "username": "@Charles", - "email": "griffincharles@comtours.com", - "age": 19 - }, - { - "id": 21, - "firstName": "Cora", - "lastName": "Parker", - "username": "@Caldwell", - "email": "coracaldwell@comtours.com", - "age": 27 - }, - { - "id": 22, - "firstName": "Cindy", - "lastName": "Bond", - "username": "@Velez", - "email": "cindyvelez@comtours.com", - "age": 24 - }, - { - "id": 23, - "firstName": "Frieda", - "lastName": "Tyson", - "username": "@Craig", - "email": "friedacraig@comtours.com", - "age": 45 - }, - { - "id": 24, - "firstName": "Cote", - "lastName": "Holcomb", - "username": "@Rowe", - "email": "coterowe@comtours.com", - "age": 20 - }, - { - "id": 25, - "firstName": "Trujillo", - "lastName": "Mejia", - "username": "@Valenzuela", - "email": "trujillovalenzuela@comtours.com", - "age": 16 - }, - { - "id": 26, - "firstName": "Pruitt", - "lastName": "Shepard", - "username": "@Sloan", - "email": "pruittsloan@comtours.com", - "age": 44 - }, - { - "id": 27, - "firstName": "Sutton", - "lastName": "Ortega", - "username": "@Black", - "email": "suttonblack@comtours.com", - "age": 42 - }, - { - "id": 28, - "firstName": "Marion", - "lastName": "Heath", - "username": "@Espinoza", - "email": "marionespinoza@comtours.com", - "age": 47 - }, - { - "id": 29, - "firstName": "Newman", - "lastName": "Hicks", - "username": "@Keith", - "email": "newmankeith@comtours.com", - "age": 15 - }, - { - "id": 30, - "firstName": "Boyle", - "lastName": "Larson", - "username": "@Summers", - "email": "boylesummers@comtours.com", - "age": 32 - }, - { - "id": 31, - "firstName": "Haynes", - "lastName": "Vinson", - "username": "@Mckenzie", - "email": "haynesmckenzie@comtours.com", - "age": 15 - }, - { - "id": 32, - "firstName": "Miller", - "lastName": "Acosta", - "username": "@Young", - "email": "milleryoung@comtours.com", - "age": 55 - }, - { - "id": 33, - "firstName": "Johnston", - "lastName": "Brown", - "username": "@Knight", - "email": "johnstonknight@comtours.com", - "age": 29 - }, - { - "id": 34, - "firstName": "Lena", - "lastName": "Pitts", - "username": "@Forbes", - "email": "lenaforbes@comtours.com", - "age": 25 - }, - { - "id": 35, - "firstName": "Terrie", - "lastName": "Kennedy", - "username": "@Branch", - "email": "terriebranch@comtours.com", - "age": 37 - }, - { - "id": 36, - "firstName": "Louise", - "lastName": "Aguirre", - "username": "@Kirby", - "email": "louisekirby@comtours.com", - "age": 44 - }, - { - "id": 37, - "firstName": "David", - "lastName": "Patton", - "username": "@Sanders", - "email": "davidsanders@comtours.com", - "age": 26 - }, - { - "id": 38, - "firstName": "Holden", - "lastName": "Barlow", - "username": "@Mckinney", - "email": "holdenmckinney@comtours.com", - "age": 11 - }, - { - "id": 39, - "firstName": "Baker", - "lastName": "Rivera", - "username": "@Montoya", - "email": "bakermontoya@comtours.com", - "age": 47 - }, - { - "id": 40, - "firstName": "Belinda", - "lastName": "Lloyd", - "username": "@Calderon", - "email": "belindacalderon@comtours.com", - "age": 21 - }, - { - "id": 41, - "firstName": "Pearson", - "lastName": "Patrick", - "username": "@Clements", - "email": "pearsonclements@comtours.com", - "age": 42 - }, - { - "id": 42, - "firstName": "Alyce", - "lastName": "Mckee", - "username": "@Daugherty", - "email": "alycedaugherty@comtours.com", - "age": 55 - }, - { - "id": 43, - "firstName": "Valencia", - "lastName": "Spence", - "username": "@Olsen", - "email": "valenciaolsen@comtours.com", - "age": 20 - }, - { - "id": 44, - "firstName": "Leach", - "lastName": "Holcomb", - "username": "@Humphrey", - "email": "leachhumphrey@comtours.com", - "age": 28 - }, - { - "id": 45, - "firstName": "Moss", - "lastName": "Baxter", - "username": "@Fitzpatrick", - "email": "mossfitzpatrick@comtours.com", - "age": 51 - }, - { - "id": 46, - "firstName": "Jeanne", - "lastName": "Cooke", - "username": "@Ward", - "email": "jeanneward@comtours.com", - "age": 59 - }, - { - "id": 47, - "firstName": "Wilma", - "lastName": "Briggs", - "username": "@Kidd", - "email": "wilmakidd@comtours.com", - "age": 53 - }, - { - "id": 48, - "firstName": "Beatrice", - "lastName": "Perry", - "username": "@Gilbert", - "email": "beatricegilbert@comtours.com", - "age": 39 - }, - { - "id": 49, - "firstName": "Whitaker", - "lastName": "Hyde", - "username": "@Mcdonald", - "email": "whitakermcdonald@comtours.com", - "age": 35 - }, - { - "id": 50, - "firstName": "Rebekah", - "lastName": "Duran", - "username": "@Gross", - "email": "rebekahgross@comtours.com", - "age": 40 - }, - { - "id": 51, - "firstName": "Earline", - "lastName": "Mayer", - "username": "@Woodward", - "email": "earlinewoodward@comtours.com", - "age": 52 - }, - { - "id": 52, - "firstName": "Moran", - "lastName": "Baxter", - "username": "@Johns", - "email": "moranjohns@comtours.com", - "age": 20 - }, - { - "id": 53, - "firstName": "Nanette", - "lastName": "Hubbard", - "username": "@Cooke", - "email": "nanettecooke@comtours.com", - "age": 55 - }, - { - "id": 54, - "firstName": "Dalton", - "lastName": "Walker", - "username": "@Hendricks", - "email": "daltonhendricks@comtours.com", - "age": 25 - }, - { - "id": 55, - "firstName": "Bennett", - "lastName": "Blake", - "username": "@Pena", - "email": "bennettpena@comtours.com", - "age": 13 - }, - { - "id": 56, - "firstName": "Kellie", - "lastName": "Horton", - "username": "@Weiss", - "email": "kellieweiss@comtours.com", - "age": 48 - }, - { - "id": 57, - "firstName": "Hobbs", - "lastName": "Talley", - "username": "@Sanford", - "email": "hobbssanford@comtours.com", - "age": 28 - }, - { - "id": 58, - "firstName": "Mcguire", - "lastName": "Donaldson", - "username": "@Roman", - "email": "mcguireroman@comtours.com", - "age": 38 - }, - { - "id": 59, - "firstName": "Rodriquez", - "lastName": "Saunders", - "username": "@Harper", - "email": "rodriquezharper@comtours.com", - "age": 20 - }, - { - "id": 60, - "firstName": "Lou", - "lastName": "Conner", - "username": "@Sanchez", - "email": "lousanchez@comtours.com", - "age": 16 - } - ]; - - $scope.editableTableData = $scope.smartTableData.slice(0, 36); - - $scope.peopleTableData = [ - { - id: 1, - firstName: 'Mark', - lastName: 'Otto', - username: '@mdo', - email: 'mdo@gmail.com', - age: '28', - status: 'info' - }, - { - id: 2, - firstName: 'Jacob', - lastName: 'Thornton', - username: '@fat', - email: 'fat@yandex.ru', - age: '45', - status: 'primary' - }, - { - id: 3, - firstName: 'Larry', - lastName: 'Bird', - username: '@twitter', - email: 'twitter@outlook.com', - age: '18', - status: 'success' - }, - { - id: 4, - firstName: 'John', - lastName: 'Snow', - username: '@snow', - email: 'snow@gmail.com', - age: '20', - status: 'danger' - }, - { - id: 5, - firstName: 'Jack', - lastName: 'Sparrow', - username: '@jack', - email: 'jack@yandex.ru', - age: '30', - status: 'warning' - } - ]; - - $scope.metricsTableData = [ - { - image: 'app/browsers/chrome.svg', - browser: 'Google Chrome', - visits: '10,392', - isVisitsUp: true, - purchases: '4,214', - isPurchasesUp: true, - percent: '45%', - isPercentUp: true - }, - { - image: 'app/browsers/firefox.svg', - browser: 'Mozilla Firefox', - visits: '7,873', - isVisitsUp: true, - purchases: '3,031', - isPurchasesUp: false, - percent: '28%', - isPercentUp: true - }, - { - image: 'app/browsers/ie.svg', - browser: 'Internet Explorer', - visits: '5,890', - isVisitsUp: false, - purchases: '2,102', - isPurchasesUp: false, - percent: '17%', - isPercentUp: false - }, - { - image: 'app/browsers/safari.svg', - browser: 'Safari', - visits: '4,001', - isVisitsUp: false, - purchases: '1,001', - isPurchasesUp: false, - percent: '14%', - isPercentUp: true - }, - { - image: 'app/browsers/opera.svg', - browser: 'Opera', - visits: '1,833', - isVisitsUp: true, - purchases: '83', - isPurchasesUp: true, - percent: '5%', - isPercentUp: false - } - ]; - - $scope.users = [ - { - "id": 1, - "name": "Esther Vang", - "status": 4, - "group": 3 - }, - { - "id": 2, - "name": "Leah Freeman", - "status": 3, - "group": 1 - }, - { - "id": 3, - "name": "Mathews Simpson", - "status": 3, - "group": 2 - }, - { - "id": 4, - "name": "Buckley Hopkins", - "group": 4 - }, - { - "id": 5, - "name": "Buckley Schwartz", - "status": 1, - "group": 1 - }, - { - "id": 6, - "name": "Mathews Hopkins", - "status": 4, - "group": 2 - }, - { - "id": 7, - "name": "Leah Vang", - "status": 4, - "group": 1 - }, - { - "id": 8, - "name": "Vang Schwartz", - "status": 4, - "group": 2 - }, - { - "id": 9, - "name": "Hopkin Esther", - "status": 1, - "group": 2 - }, - { - "id": 10, - "name": "Mathews Schwartz", - "status": 1, - "group": 3 - } - ]; - - $scope.statuses = [ - {value: 1, text: 'Good'}, - {value: 2, text: 'Awesome'}, - {value: 3, text: 'Excellent'}, - ]; - - $scope.groups = [ - {id: 1, text: 'user'}, - {id: 2, text: 'customer'}, - {id: 3, text: 'vip'}, - {id: 4, text: 'admin'} - ]; - - $scope.showGroup = function(user) { - if(user.group && $scope.groups.length) { - var selected = $filter('filter')($scope.groups, {id: user.group}); - return selected.length ? selected[0].text : 'Not set'; - } else return 'Not set' - }; - - $scope.showStatus = function(user) { - var selected = []; - if(user.status) { - selected = $filter('filter')($scope.statuses, {value: user.status}); - } - return selected.length ? selected[0].text : 'Not set'; - }; - - - $scope.removeUser = function(index) { - $scope.users.splice(index, 1); - }; - - $scope.addUser = function() { - $scope.inserted = { - id: $scope.users.length+1, - name: '', - status: null, - group: null - }; - $scope.users.push($scope.inserted); - }; - - editableOptions.theme = 'bs3'; - editableThemes['bs3'].submitTpl = ''; - editableThemes['bs3'].cancelTpl = ''; - - - } - -})(); diff --git a/src/app/pages/tables/basic/tables.html b/src/app/pages/tables/basic/tables.html deleted file mode 100644 index bf6e44e..0000000 --- a/src/app/pages/tables/basic/tables.html +++ /dev/null @@ -1,40 +0,0 @@ -
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
\ No newline at end of file diff --git a/src/app/pages/tables/smart/tables.html b/src/app/pages/tables/smart/tables.html deleted file mode 100644 index 01fd4f5..0000000 --- a/src/app/pages/tables/smart/tables.html +++ /dev/null @@ -1,27 +0,0 @@ -
- -
-
-
-
-
-
-
- -
-
-
-
-
-
-
- -
-
-
-
-
-
-
- -
\ No newline at end of file diff --git a/src/app/pages/tables/tables.module.js b/src/app/pages/tables/tables.module.js deleted file mode 100644 index 542fe06..0000000 --- a/src/app/pages/tables/tables.module.js +++ /dev/null @@ -1,42 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.tables', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider, $urlRouterProvider) { - $stateProvider - .state('tables', { - url: '/tables', - template : '', - abstract: true, - controller: 'TablesPageCtrl', - title: 'Tables', - sidebarMeta: { - icon: 'ion-grid', - order: 300, - }, - }).state('tables.basic', { - url: '/basic', - templateUrl: 'app/pages/tables/basic/tables.html', - title: 'Basic Tables', - sidebarMeta: { - order: 0, - }, - }).state('tables.smart', { - url: '/smart', - templateUrl: 'app/pages/tables/smart/tables.html', - title: 'Smart Tables', - sidebarMeta: { - order: 100, - }, - }); - $urlRouterProvider.when('/tables','/tables/basic'); - } - -})(); diff --git a/src/app/pages/tables/widgets/basicTable.html b/src/app/pages/tables/widgets/basicTable.html deleted file mode 100644 index 73a6180..0000000 --- a/src/app/pages/tables/widgets/basicTable.html +++ /dev/null @@ -1,116 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BrowserVisitsDownloadsPurchasesDAUMAULTVUsers %
Google Chrome10,3923,8224,2148997,09817845%
Mozilla Firefox7,8736,0033,0318978,99710228%
Internet Explorer5,8903,4922,102274,0399917%
Safari4,0012,0391,0011043,98320914%
Opera1,83398383191,0991035%
-
\ No newline at end of file diff --git a/src/app/pages/tables/widgets/borderedTable.html b/src/app/pages/tables/widgets/borderedTable.html deleted file mode 100644 index 1a4906a..0000000 --- a/src/app/pages/tables/widgets/borderedTable.html +++ /dev/null @@ -1,22 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - -
BrowserVisitsPurchases%
{{item.browser}}{{item.visits}}{{item.purchases}}{{item.percent}}
-
\ No newline at end of file diff --git a/src/app/pages/tables/widgets/condensedTable.html b/src/app/pages/tables/widgets/condensedTable.html deleted file mode 100644 index e95052a..0000000 --- a/src/app/pages/tables/widgets/condensedTable.html +++ /dev/null @@ -1,24 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - -
#First NameLast NameUsernameEmailStatus
{{item.id}}{{item.firstName}}{{item.lastName}}{{item.username}}
-
\ No newline at end of file diff --git a/src/app/pages/tables/widgets/contextualTable.html b/src/app/pages/tables/widgets/contextualTable.html deleted file mode 100644 index 3cf9fd2..0000000 --- a/src/app/pages/tables/widgets/contextualTable.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#First NameLast NameUsernameEmailAge
1MarkOtto@mdo28
2JacobThornton@fat45
3LarryBird@twitter - 18
4JohnSnow@snow20
5JackSparrow@jack30
\ No newline at end of file diff --git a/src/app/pages/tables/widgets/editableRowTable.html b/src/app/pages/tables/widgets/editableRowTable.html deleted file mode 100644 index 2fa4b55..0000000 --- a/src/app/pages/tables/widgets/editableRowTable.html +++ /dev/null @@ -1,49 +0,0 @@ -
- -
- - - - - - - - - - - - - - - -
NameStatusGroupActions
- {{$index}} - - - {{ user.name || 'empty' }} - - - - {{ showStatus(user) }} - - - - {{ showGroup(user) }} - - -
- - -
-
- - -
-
diff --git a/src/app/pages/tables/widgets/editableTable.html b/src/app/pages/tables/widgets/editableTable.html deleted file mode 100644 index 767fcdd..0000000 --- a/src/app/pages/tables/widgets/editableTable.html +++ /dev/null @@ -1,27 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - -
#First NameLast NameUsernameEmailAge
{{item.id}}{{item.firstName}}{{item.lastName}}{{item.username}}{{item.age}}
-
-
-
\ No newline at end of file diff --git a/src/app/pages/tables/widgets/hoverRows.html b/src/app/pages/tables/widgets/hoverRows.html deleted file mode 100644 index b5b9e12..0000000 --- a/src/app/pages/tables/widgets/hoverRows.html +++ /dev/null @@ -1,28 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - -
BrowserVisitsPurchases%
{{item.browser}}{{item.visits}}{{item.purchases}}{{item.percent}}
-
\ No newline at end of file diff --git a/src/app/pages/tables/widgets/responsiveTable.html b/src/app/pages/tables/widgets/responsiveTable.html deleted file mode 100644 index 729074e..0000000 --- a/src/app/pages/tables/widgets/responsiveTable.html +++ /dev/null @@ -1,53 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#First NameLast NameUsernameEmailAge
1MarkOtto@mdo28
2JacobThornton@fat45
3LarryBird@twitter - 18
4JohnSnow@snow20
5JackSparrow@jack30
-
\ No newline at end of file diff --git a/src/app/pages/tables/widgets/smartTable.html b/src/app/pages/tables/widgets/smartTable.html deleted file mode 100644 index 58884d0..0000000 --- a/src/app/pages/tables/widgets/smartTable.html +++ /dev/null @@ -1,51 +0,0 @@ -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#First NameLast NameUsernameEmailAge
- -
{{item.id}}{{item.firstName}}{{item.lastName}}{{item.username}}{{item.age}}
-
-
-
\ No newline at end of file diff --git a/src/app/pages/tables/widgets/stripedRows.html b/src/app/pages/tables/widgets/stripedRows.html deleted file mode 100644 index 5d53ded..0000000 --- a/src/app/pages/tables/widgets/stripedRows.html +++ /dev/null @@ -1,24 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - -
#First NameLast NameUsernameEmailAge
{{item.id}}{{item.firstName}}{{item.lastName}}{{item.username}}{{item.age}}
-
\ No newline at end of file diff --git a/src/app/pages/ui/alerts/alerts.html b/src/app/pages/ui/alerts/alerts.html deleted file mode 100644 index ed7ca6f..0000000 --- a/src/app/pages/ui/alerts/alerts.html +++ /dev/null @@ -1,86 +0,0 @@ -
-
- -
-
-
- Well done! You successfully read this important alert message. -
-
- Heads up! This alert needs your attention, but it's not super important. -
-
- Warning! Better check yourself, you're not looking too good. -
-
- Oh snap! Change a few things up and try submitting again. -
-
-
- -
-
- - - - -
-
- -
- -
- -
-
-
- Well done! You successfully read this important alert message. -
-
- Heads up! This alert needs your attention, but it's not super important. -
-
- Warning! Better check yourself, you're not looking too good. -
-
- Oh snap! Change a few things up and try submitting again. -
-
-
- -
-
-
-

Warning!

- Pay attention. Change a few things up and try submitting again. -
- - -
-
-
-
- -
- -
diff --git a/src/app/pages/ui/alerts/alerts.module.js b/src/app/pages/ui/alerts/alerts.module.js deleted file mode 100644 index 5d2aa2b..0000000 --- a/src/app/pages/ui/alerts/alerts.module.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.alerts', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('ui.alerts', { - url: '/alerts', - templateUrl: 'app/pages/ui/alerts/alerts.html', - title: 'Alerts', - sidebarMeta: { - order: 500, - }, - }); - } - -})(); diff --git a/src/app/pages/ui/buttons/ButtonPageCtrl.js b/src/app/pages/ui/buttons/ButtonPageCtrl.js deleted file mode 100644 index 26cd262..0000000 --- a/src/app/pages/ui/buttons/ButtonPageCtrl.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.buttons') - .controller('ButtonPageCtrl', ButtonPageCtrl); - - /** @ngInject */ - function ButtonPageCtrl($scope, $timeout) { - $scope.progressFunction = function() { - return $timeout(function() {}, 3000); - }; - } - -})(); diff --git a/src/app/pages/ui/buttons/buttons.html b/src/app/pages/ui/buttons/buttons.html deleted file mode 100644 index 5d6d4e0..0000000 --- a/src/app/pages/ui/buttons/buttons.html +++ /dev/null @@ -1,89 +0,0 @@ -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
\ No newline at end of file diff --git a/src/app/pages/ui/buttons/buttons.module.js b/src/app/pages/ui/buttons/buttons.module.js deleted file mode 100644 index b02d827..0000000 --- a/src/app/pages/ui/buttons/buttons.module.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.buttons', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('ui.buttons', { - url: '/buttons', - templateUrl: 'app/pages/ui/buttons/buttons.html', - controller: 'ButtonPageCtrl', - title: 'Buttons', - sidebarMeta: { - order: 100, - }, - }); - } - -})(); diff --git a/src/app/pages/ui/buttons/widgets/buttonGroups.html b/src/app/pages/ui/buttons/widgets/buttonGroups.html deleted file mode 100644 index f900e1d..0000000 --- a/src/app/pages/ui/buttons/widgets/buttonGroups.html +++ /dev/null @@ -1,26 +0,0 @@ -
-
- - - -
-
- -
- -
\ No newline at end of file diff --git a/src/app/pages/ui/buttons/widgets/buttons.html b/src/app/pages/ui/buttons/widgets/buttons.html deleted file mode 100644 index 1df1acd..0000000 --- a/src/app/pages/ui/buttons/widgets/buttons.html +++ /dev/null @@ -1,57 +0,0 @@ -
-
-
Default button
-
-
-
-
-
-
-
-
-
-
-
- -
-
Small button
-
-
-
-
-
-
-
-
-
-
-
- -
-
Extra small button
-
-
-
-
-
-
-
-
-
-
-
- -
-
Disabled button
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/src/app/pages/ui/buttons/widgets/dropdowns.html b/src/app/pages/ui/buttons/widgets/dropdowns.html deleted file mode 100644 index 31f3a4c..0000000 --- a/src/app/pages/ui/buttons/widgets/dropdowns.html +++ /dev/null @@ -1,187 +0,0 @@ -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
Split button dropdowns
- -
-
-
- - - -
-
-
-
- - - -
-
-
-
- - - -
-
-
-
- - - -
-
-
-
- - - -
-
-
-
- - - -
-
-
\ No newline at end of file diff --git a/src/app/pages/ui/buttons/widgets/iconButtons.html b/src/app/pages/ui/buttons/widgets/iconButtons.html deleted file mode 100644 index e7fd235..0000000 --- a/src/app/pages/ui/buttons/widgets/iconButtons.html +++ /dev/null @@ -1,19 +0,0 @@ - - -
Buttons with icons
- - \ No newline at end of file diff --git a/src/app/pages/ui/buttons/widgets/largeButtons.html b/src/app/pages/ui/buttons/widgets/largeButtons.html deleted file mode 100644 index dc1701a..0000000 --- a/src/app/pages/ui/buttons/widgets/largeButtons.html +++ /dev/null @@ -1,8 +0,0 @@ -
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/src/app/pages/ui/buttons/widgets/progressButtons.html b/src/app/pages/ui/buttons/widgets/progressButtons.html deleted file mode 100644 index 0a04a86..0000000 --- a/src/app/pages/ui/buttons/widgets/progressButtons.html +++ /dev/null @@ -1,84 +0,0 @@ -
-
-
- fill horizontal - -
-
- fill vertical - -
-
- shrink horizontal - -
-
- shrink vertical - -
-
-
-
- rotate-angle-bottom
perspective
- -
-
- rotate-angle-top
perspective
- -
-
- rotate-angle-left
perspective
- -
-
- rotate-angle-right
perspective
- -
-
-
-
- rotate-side-down
perspective
- -
-
- rotate-side-up
perspective
- -
-
- rotate-side-left
perspective
- -
-
- rotate-side-right
perspective
- -
-
-
-
- rotate-back
perspective
- -
-
- flip-open
perspective
- -
-
- slide-down
horizontal
- -
-
- move-up
horizontal
- -
-
-
-
- top-line
horizontal
- -
-
- lateral-lines
vertical
- -
-
-
diff --git a/src/app/pages/ui/grid/baseGrid.html b/src/app/pages/ui/grid/baseGrid.html deleted file mode 100644 index 3e552f5..0000000 --- a/src/app/pages/ui/grid/baseGrid.html +++ /dev/null @@ -1,243 +0,0 @@ -

Stacked to horizontal

-
-
-
.col-md-1
-
-
-
.col-md-1
-
-
-
.col-md-1
-
-
-
.col-md-1
-
-
-
.col-md-1
-
-
-
.col-md-1
-
-
-
.col-md-1
-
-
-
.col-md-1
-
-
-
.col-md-1
-
-
-
.col-md-1
-
-
-
.col-md-1
-
-
-
.col-md-1
-
-
-
-
-
.col-md-8
-
-
-
.col-md-4
-
-
-
-
-
.col-md-4
-
-
-
.col-md-4
-
-
-
.col-md-4
-
-
-
-
-
.col-md-6
-
-
-
.col-md-6
-
-
- -

Mobile and desktop

-
-
-
xs-12 .col-md-8
-
-
-
xs-6 .col-md-4
-
-
-
-
-
xs-6 .col-md-4
-
-
-
xs-6 .col-md-4
-
-
-
xs-6 .col-md-4
-
-
-
-
-
.col-xs-6
-
-
-
.col-xs-6
-
-
- -

Mobile, tablet, desktop

-
-
-
.col-xs-12 .col-sm-6 .col-md-8
-
-
-
.col-xs-6 .col-md-4
-
-
-
-
-
.col-xs-6 .col-sm-4
-
-
-
.col-xs-6 .col-sm-4
-
-
-
-
.col-xs-6 .col-sm-4
-
-
- -

Column wrapping

-
-
-
.col-xs-9
-
-
-
.col-xs-4
Since 9 + 4 = 13 > 12, this 4-column-wide div gets wrapped onto a new line as one contiguous - unit. -
-
-
-
.col-xs-6
Subsequent columns continue along the new line.
-
-
- -

Responsive column resets

-
-
-
.col-xs-6 .col-sm-3

Resize your viewport or check it out on your phone for an example.

-
-
-
.col-xs-6 .col-sm-3
-
-
-
-
.col-xs-6 .col-sm-3
-
-
-
.col-xs-6 .col-sm-3
-
-
- -

Offsetting columns

-
-
-
.col-md-4
-
-
-
.col-md-4 .col-md-offset-4
-
-
-
-
-
.col-md-3 .col-md-offset-3
-
-
-
.col-md-3 .col-md-offset-3
-
-
-
-
-
.col-md-6 .col-md-offset-3
-
-
- -

Grid options

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Extra small devices - Phones (<768px) - Small devices - Tablets (≥768px) - Medium devices - Desktops (≥992px) - Large devices - Desktops (≥1200px) -
Grid behaviorHorizontal at all timesCollapsed to start, horizontal above breakpoints
Container widthNone (auto)750px970px1170px
Class prefix.col-xs-.col-sm-.col-md-.col-lg-
# of columns12
Column widthAuto~62px~81px~97px
Gutter width30px (15px on each side of a column)
NestableYes
OffsetsYes
Column orderingYes
-
\ No newline at end of file diff --git a/src/app/pages/ui/grid/grid.html b/src/app/pages/ui/grid/grid.html deleted file mode 100644 index 1f4e74c..0000000 --- a/src/app/pages/ui/grid/grid.html +++ /dev/null @@ -1,12 +0,0 @@ -
- -
-
-
-
-
- -
\ No newline at end of file diff --git a/src/app/pages/ui/grid/grid.module.js b/src/app/pages/ui/grid/grid.module.js deleted file mode 100644 index 280153a..0000000 --- a/src/app/pages/ui/grid/grid.module.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.grid', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('ui.grid', { - url: '/grid', - templateUrl: 'app/pages/ui/grid/grid.html', - title: 'Grid', - sidebarMeta: { - order: 400, - }, - }); - } - -})(); diff --git a/src/app/pages/ui/icons/IconsPageCtrl.js b/src/app/pages/ui/icons/IconsPageCtrl.js deleted file mode 100644 index 2a69623..0000000 --- a/src/app/pages/ui/icons/IconsPageCtrl.js +++ /dev/null @@ -1,219 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.icons') - .controller('IconsPageCtrl', IconsPageCtrl); - - /** @ngInject */ - function IconsPageCtrl($scope) { - $scope.icons = { - kameleonIcons: [ - { - name: 'Beach', - img: 'Beach' - }, - { - name: 'Bus', - img: 'Bus' - }, - { - name: 'Cheese', - img: 'Cheese' - }, - { - name: 'Desert', - img: 'Desert' - }, - { - name: 'Images', - img: 'Images' - }, - { - name: 'Magician', - img: 'Magician' - }, - { - name: 'Makeup', - img: 'Makeup' - }, - { - name: 'Programming', - img: 'Programming' - }, - { - name: 'Shop', - img: 'Shop' - }, - { - name: 'Surfer', - img: 'Surfer' - }, - { - name: 'Phone Booth', - img: 'Phone-Booth' - }, - { - name: 'Ninja', - img: 'Ninja' - }, - { - name: 'Apartment', - img: 'Apartment' - }, - { - name: 'Batman', - img: 'Batman' - }, - { - name: 'Medal', - img: 'Medal-2' - }, - { - name: 'Money', - img: 'Money-Increase' - }, - { - name: 'Street View', - img: 'Street-View' - }, - { - name: 'Student', - img: 'Student-3' - }, - { - name: 'Bell', - img: 'Bell' - }, - { - name: 'Woman', - img: 'Boss-5' - }, - { - name: 'Euro', - img: 'Euro-Coin' - }, - { - name: 'Chessboard', - img: 'Chessboard' - }, - { - name: 'Burglar', - img: 'Burglar' - }, - { - name: 'Dna', - img: 'Dna' - }, - { - name: 'Clipboard Plan', - img: 'Clipboard-Plan' - }, - { - name: 'Boss', - img: 'Boss-3' - }, - { - name: 'Key', - img: 'Key' - }, - { - name: 'Surgeon', - img: 'Surgeon' - }, - { - name: 'Hacker', - img: 'Hacker' - }, - { - name: 'Santa', - img: 'Santa' - } - ], - kameleonRoundedIcons: [ - { - color: 'success', - img: 'Apartment', - name: 'Apartment' - }, - { - color: 'warning', - img: 'Bus', - name: 'Bus' - }, - { - color: 'primary', - img: 'Checklist', - name: 'Checklist' - }, - { - color: 'warning', - img: 'Desert', - name: 'Desert' - }, - { - color: 'danger', - img: 'Laptop-Signal', - name: 'Laptop Signal' - }, - { - color: 'info', - img: 'Love-Letter', - name: 'Love Letter' - }, - { - color: 'success', - img: 'Makeup', - name: 'Makeup' - }, - { - color: 'primary', - img: 'Santa', - name: 'Santa' - }, - { - color: 'success', - img: 'Surfer', - name: 'Surfer' - }, - { - color: 'info', - img: 'Vector', - name: 'Vector' - }, - { - color: 'warning', - img: 'Money-Increase', - name: 'Money Increase' - }, - { - color: 'info', - img: 'Alien', - name: 'Alien' - }, - { - color: 'danger', - img: 'Online-Shopping', - name: 'Online Shopping' - }, - { - color: 'warning', - img: 'Euro-Coin', - name: 'Euro' - }, - { - color: 'info', - img: 'Boss-3', - name: 'Boss' - } - ], - ionicons: ['ion-ionic', 'ion-arrow-right-b', 'ion-arrow-down-b', 'ion-arrow-left-b', 'ion-arrow-up-c', 'ion-arrow-right-c', 'ion-arrow-down-c', 'ion-arrow-left-c', 'ion-arrow-return-right', 'ion-arrow-return-left', 'ion-arrow-swap', 'ion-arrow-shrink', 'ion-arrow-expand', 'ion-arrow-move', 'ion-arrow-resize', 'ion-chevron-up', 'ion-chevron-right', 'ion-chevron-down', 'ion-chevron-left', 'ion-navicon-round', 'ion-navicon', 'ion-drag', 'ion-log-in', 'ion-log-out', 'ion-checkmark-round', 'ion-checkmark', 'ion-checkmark-circled', 'ion-close-round', 'ion-plus-round', 'ion-minus-round', 'ion-information', 'ion-help', 'ion-backspace-outline', 'ion-help-buoy', 'ion-asterisk', 'ion-alert', 'ion-alert-circled', 'ion-refresh', 'ion-loop', 'ion-shuffle', 'ion-home', 'ion-search', 'ion-flag', 'ion-star', 'ion-heart', 'ion-heart-broken', 'ion-gear-a', 'ion-gear-b', 'ion-toggle-filled', 'ion-toggle', 'ion-settings', 'ion-wrench', 'ion-hammer', 'ion-edit', 'ion-trash-a', 'ion-trash-b', 'ion-document', 'ion-document-text', 'ion-clipboard', 'ion-scissors', 'ion-funnel', 'ion-bookmark', 'ion-email', 'ion-email-unread', 'ion-folder', 'ion-filing', 'ion-archive', 'ion-reply', 'ion-reply-all', 'ion-forward'], - fontAwesomeIcons: ['fa fa-adjust', 'fa fa-anchor', 'fa fa-archive', 'fa fa-area-chart', 'fa fa-arrows', 'fa fa-arrows-h', 'fa fa-arrows-v', 'fa fa-asterisk', 'fa fa-at', 'fa fa-automobile', 'fa fa-ban', 'fa fa-bank', 'fa fa-bar-chart', 'fa fa-bar-chart-o', 'fa fa-barcode', 'fa fa-bars', 'fa fa-bed', 'fa fa-beer', 'fa fa-bell', 'fa fa-bell-o', 'fa fa-bell-slash', 'fa fa-bell-slash-o', 'fa fa-bicycle', 'fa fa-binoculars', 'fa fa-birthday-cake', 'fa fa-bolt', 'fa fa-bomb', 'fa fa-book', 'fa fa-bookmark', 'fa fa-bookmark-o', 'fa fa-briefcase', 'fa fa-bug', 'fa fa-building', 'fa fa-building-o', 'fa fa-bullhorn'], - socicon: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', ',', ';', ':', '+', '@', '=', '-', '^', '?', '$', '*', '&', '(', '#', '.', '_', ']', ')', '\'', '"', '}', '{'] - } - } - -})(); diff --git a/src/app/pages/ui/icons/icons.html b/src/app/pages/ui/icons/icons.html deleted file mode 100644 index 96190c1..0000000 --- a/src/app/pages/ui/icons/icons.html +++ /dev/null @@ -1,40 +0,0 @@ -
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
\ No newline at end of file diff --git a/src/app/pages/ui/icons/icons.module.js b/src/app/pages/ui/icons/icons.module.js deleted file mode 100644 index 0a5f291..0000000 --- a/src/app/pages/ui/icons/icons.module.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.icons', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('ui.icons', { - url: '/icons', - templateUrl: 'app/pages/ui/icons/icons.html', - controller: 'IconsPageCtrl', - title: 'Icons', - sidebarMeta: { - order: 200, - }, - }); - } - -})(); diff --git a/src/app/pages/ui/icons/widgets/fontAwesomeIcons.html b/src/app/pages/ui/icons/widgets/fontAwesomeIcons.html deleted file mode 100644 index 99a7c67..0000000 --- a/src/app/pages/ui/icons/widgets/fontAwesomeIcons.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-See all Font Awesome icons \ No newline at end of file diff --git a/src/app/pages/ui/icons/widgets/ionicons.html b/src/app/pages/ui/icons/widgets/ionicons.html deleted file mode 100644 index 3932655..0000000 --- a/src/app/pages/ui/icons/widgets/ionicons.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
-
-See all ionicons icons \ No newline at end of file diff --git a/src/app/pages/ui/icons/widgets/kameleon.html b/src/app/pages/ui/icons/widgets/kameleon.html deleted file mode 100644 index 1211b7f..0000000 --- a/src/app/pages/ui/icons/widgets/kameleon.html +++ /dev/null @@ -1,8 +0,0 @@ -
-
-
{{icon.name}}
-
-
- -See all Kamaleon icons - diff --git a/src/app/pages/ui/icons/widgets/kameleonRounded.html b/src/app/pages/ui/icons/widgets/kameleonRounded.html deleted file mode 100644 index 2d9eabf..0000000 --- a/src/app/pages/ui/icons/widgets/kameleonRounded.html +++ /dev/null @@ -1,7 +0,0 @@ -
-
-
{{ icon.name }}
-
-
- -See all Kamaleon icons \ No newline at end of file diff --git a/src/app/pages/ui/icons/widgets/socicon.html b/src/app/pages/ui/icons/widgets/socicon.html deleted file mode 100644 index c6c6728..0000000 --- a/src/app/pages/ui/icons/widgets/socicon.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
{{ icon }}
-
-See all Socicon icons \ No newline at end of file diff --git a/src/app/pages/ui/modals/ModalsPageCtrl.js b/src/app/pages/ui/modals/ModalsPageCtrl.js deleted file mode 100644 index 159a252..0000000 --- a/src/app/pages/ui/modals/ModalsPageCtrl.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * @author a.demeshko - * created on 18.01.2016 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.notifications') - .controller('ModalsPageCtrl', ModalsPageCtrl); - - /** @ngInject */ - function ModalsPageCtrl($scope, $uibModal) { - $scope.open = function (page, size) { - $uibModal.open({ - animation: true, - templateUrl: page, - size: size, - resolve: { - items: function () { - return $scope.items; - } - } - }); - }; - } - - -})(); diff --git a/src/app/pages/ui/modals/modalTemplates/basicModal.html b/src/app/pages/ui/modals/modalTemplates/basicModal.html deleted file mode 100644 index b5ce996..0000000 --- a/src/app/pages/ui/modals/modalTemplates/basicModal.html +++ /dev/null @@ -1,16 +0,0 @@ - diff --git a/src/app/pages/ui/modals/modalTemplates/dangerModal.html b/src/app/pages/ui/modals/modalTemplates/dangerModal.html deleted file mode 100644 index 0764e8d..0000000 --- a/src/app/pages/ui/modals/modalTemplates/dangerModal.html +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/src/app/pages/ui/modals/modalTemplates/infoModal.html b/src/app/pages/ui/modals/modalTemplates/infoModal.html deleted file mode 100644 index f8c9631..0000000 --- a/src/app/pages/ui/modals/modalTemplates/infoModal.html +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/src/app/pages/ui/modals/modalTemplates/largeModal.html b/src/app/pages/ui/modals/modalTemplates/largeModal.html deleted file mode 100644 index ba3b6e7..0000000 --- a/src/app/pages/ui/modals/modalTemplates/largeModal.html +++ /dev/null @@ -1,16 +0,0 @@ - diff --git a/src/app/pages/ui/modals/modalTemplates/smallModal.html b/src/app/pages/ui/modals/modalTemplates/smallModal.html deleted file mode 100644 index 17d7b64..0000000 --- a/src/app/pages/ui/modals/modalTemplates/smallModal.html +++ /dev/null @@ -1,17 +0,0 @@ - - diff --git a/src/app/pages/ui/modals/modalTemplates/successModal.html b/src/app/pages/ui/modals/modalTemplates/successModal.html deleted file mode 100644 index aeef8f7..0000000 --- a/src/app/pages/ui/modals/modalTemplates/successModal.html +++ /dev/null @@ -1,10 +0,0 @@ - - diff --git a/src/app/pages/ui/modals/modalTemplates/warningModal.html b/src/app/pages/ui/modals/modalTemplates/warningModal.html deleted file mode 100644 index eded166..0000000 --- a/src/app/pages/ui/modals/modalTemplates/warningModal.html +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/src/app/pages/ui/modals/modals.html b/src/app/pages/ui/modals/modals.html deleted file mode 100644 index 4efb3a8..0000000 --- a/src/app/pages/ui/modals/modals.html +++ /dev/null @@ -1,46 +0,0 @@ -
- -
-
- -
-
- -
-
- -
-
-
-
-
- -
diff --git a/src/app/pages/ui/modals/modals.module.js b/src/app/pages/ui/modals/modals.module.js deleted file mode 100644 index bf92754..0000000 --- a/src/app/pages/ui/modals/modals.module.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.modals', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('ui.modals', { - url: '/modals', - templateUrl: 'app/pages/ui/modals/modals.html', - controller: 'ModalsPageCtrl', - title: 'Modals', - sidebarMeta: { - order: 300, - }, - }); - } - -})(); diff --git a/src/app/pages/ui/modals/notifications/NotificationsCtrl.js b/src/app/pages/ui/modals/notifications/NotificationsCtrl.js deleted file mode 100644 index f5a354e..0000000 --- a/src/app/pages/ui/modals/notifications/NotificationsCtrl.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.modals') - .controller('NotificationsCtrl', NotificationsCtrl); - - /** @ngInject */ - function NotificationsCtrl($scope, toastr) { - $scope.showSuccessMsg = function() { - toastr.success('Your information has been saved successfully!'); - }; - - $scope.showInfoMsg = function() { - toastr.info("You've got a new email!", 'Information'); - }; - - $scope.showErrorMsg = function() { - toastr.error("Your information hasn't been saved!", 'Error'); - }; - - $scope.showWarningMsg = function() { - toastr.warning('Your computer is about to explode!', 'Warning'); - }; - } - -})(); diff --git a/src/app/pages/ui/modals/notifications/notifications.html b/src/app/pages/ui/modals/notifications/notifications.html deleted file mode 100644 index 900c9ba..0000000 --- a/src/app/pages/ui/modals/notifications/notifications.html +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/src/app/pages/ui/notifications/NotificationsPageCtrl.js b/src/app/pages/ui/notifications/NotificationsPageCtrl.js deleted file mode 100644 index 5f3b134..0000000 --- a/src/app/pages/ui/notifications/NotificationsPageCtrl.js +++ /dev/null @@ -1,111 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.notifications') - .controller('NotificationsPageCtrl', NotificationsPageCtrl); - - /** @ngInject */ - function NotificationsPageCtrl($scope, toastr, toastrConfig) { - var defaultConfig = angular.copy(toastrConfig); - $scope.types = ['success', 'error', 'info', 'warning']; - - $scope.quotes = [ - { - title: 'Come to Freenode', - message: 'We rock at #angularjs', - options: { - allowHtml: true - } - }, - { - title: 'Looking for bootstrap?', - message: 'Try ui-bootstrap out!' - }, - { - title: 'Wants a better router?', - message: 'We have you covered with ui-router' - }, - { - title: 'Angular 2', - message: 'Is gonna rock the world' - }, - { - title: null, - message: 'Titles are not always needed' - }, - { - title: null, - message: 'Toastr rock!' - }, - { - title: 'What about nice html?', - message: 'Sure you can!', - options: { - allowHtml: true - } - }, - { - title: 'Ionic is cool', - message: 'Best mobile framework ever', - options: { - allowHtml: true - } - } - ]; - - var openedToasts = []; - $scope.options = { - autoDismiss: false, - positionClass: 'toast-top-right', - type: 'info', - timeOut: '5000', - extendedTimeOut: '2000', - allowHtml: false, - closeButton: false, - tapToDismiss: true, - progressBar: false, - newestOnTop: true, - maxOpened: 0, - preventDuplicates: false, - preventOpenDuplicates: false, - title: "Some title here", - msg: "Type your message here" - }; - - - $scope.clearLastToast = function () { - var toast = openedToasts.pop(); - toastr.clear(toast); - }; - - $scope.clearToasts = function () { - toastr.clear(); - }; - - $scope.openRandomToast = function () { - var type = Math.floor(Math.random() * $scope.types.length); - var quote = Math.floor(Math.random() * $scope.quotes.length); - var toastType = $scope.types[type]; - var toastQuote = $scope.quotes[quote]; - openedToasts.push(toastr[toastType](toastQuote.message, toastQuote.title, toastQuote.options)); - $scope.optionsStr = "toastr." + toastType + "(\'" + toastQuote.message + "\', \'" + toastQuote.title + "', " + JSON.stringify(toastQuote.options || {}, null, 2) + ")"; - }; - - $scope.openToast = function () { - angular.extend(toastrConfig, $scope.options); - openedToasts.push(toastr[$scope.options.type]($scope.options.msg, $scope.options.title)); - var strOptions = {}; - for (var o in $scope.options) if (o != 'msg' && o != 'title')strOptions[o] = $scope.options[o]; - $scope.optionsStr = "toastr." + $scope.options.type + "(\'" + $scope.options.msg + "\', \'" + $scope.options.title + "\', " + JSON.stringify(strOptions, null, 2) + ")"; - }; - - $scope.$on('$destroy', function iVeBeenDismissed() { - angular.extend(toastrConfig, defaultConfig); - }) - } - -})(); diff --git a/src/app/pages/ui/notifications/notifications.html b/src/app/pages/ui/notifications/notifications.html deleted file mode 100644 index 0693b31..0000000 --- a/src/app/pages/ui/notifications/notifications.html +++ /dev/null @@ -1,152 +0,0 @@ -
-
-
-
- - -
-
- - -
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-
-
-
- - - - - -
-
-
-
- - - - - - - - - -
-
-
-
-
- - - -
-
- - -
-
- - - -
-
- -
-
-
- -
{{optionsStr}}
-
-
- -
-
- - - - -
-
- -
diff --git a/src/app/pages/ui/notifications/notifications.module.js b/src/app/pages/ui/notifications/notifications.module.js deleted file mode 100644 index 2085290..0000000 --- a/src/app/pages/ui/notifications/notifications.module.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.notifications', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('ui.notifications', { - url: '/notifications', - templateUrl: 'app/pages/ui/notifications/notifications.html', - controller: 'NotificationsPageCtrl', - title: 'Notifications', - sidebarMeta: { - order: 700, - }, - }); - } - -})(); diff --git a/src/app/pages/ui/panels/panels.html b/src/app/pages/ui/panels/panels.html deleted file mode 100644 index b5b2073..0000000 --- a/src/app/pages/ui/panels/panels.html +++ /dev/null @@ -1,170 +0,0 @@ -

Default panels

-
- -
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ac mi erat. Phasellus placerat, elit a laoreet - semper, enim ipsum ultricies orci, ac tincidunt tellus massa eu est. Nam non porta purus, sed facilisis justo. Nam - pulvinar sagittis quam. -
-
-
-
- Phasellus maximus venenatis augue, et vestibulum neque aliquam ut. Morbi mattis libero vitae vulputate dignissim. - Praesent placerat, sem non dapibus cursus, lacus nisi blandit quam, vitae porttitor lectus lacus non turpis. Donec - suscipit consequat tellus. -
-
-
-
-

- Suspendisse nec tellus urna. Sed id est metus. Nullam sit amet dolor nec ipsum dictum suscipit. Mauris sed nisi - mauris. Nulla iaculis nisl ut velit ornare imperdiet. Suspendisse potenti. In tempor leo sed sem malesuada - pellentesque. Maecenas faucibus metus lacus, ac egestas diam vulputate vitae. -

- - -

- Sed dapibus, purus vel hendrerit consectetur, lectus orci gravida massa, sed bibendum dui mauris et eros. Nulla - dolor massa, posuere et dictum sit amet, dignissim quis odio. Fusce mollis finibus dignissim. Integer sodales - augue erat. Pellentesque laoreet vestibulum urna at iaculis. Nulla libero augue, euismod at diam eget, aliquam - condimentum ligula. Donec a leo eu est molestie lacinia hendrerit sed lorem. Duis id diam eu metus sodales - consequat vel eu elit. Praesent dolor nibh, convallis eleifend feugiat a, finibus porttitor nibh. Ut non libero - vel velit pulvinar scelerisque non vel lorem. Integer porta tempor nulla. Sed nibh erat, ultrices vel lorem eu, - rutrum vehicula sem. -

- -

- Donec nec tellus urna. Sed id est metus. Nullam sit amet dolor nec ipsum dictum suscipit. Mauris sed nisi - mauris. Nulla iaculis nisl ut velit ornare imperdiet. Suspendisse potenti. In tempor leo sed sem malesuada - pellentesque. Maecenas faucibus metus lacus, ac egestas diam vulputate vitae. -

- -

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fermentum nec ligula egestas rhoncus. Sed - dignissim, augue vel scelerisque vulputate, nisi ante posuere lorem, quis iaculis eros dolor eu nisl. Etiam - sagittis, ipsum ac tempor iaculis, justo neque mattis ante, ac maximus sapien risus eu sapien. Morbi erat urna, - varius et lectus vel, porta dictum orci. Duis bibendum euismod elit, et lobortis purus venenatis in. Mauris eget - lacus enim. Cras quis sem et magna fringilla convallis. Proin hendrerit nulla vel gravida mollis. Interdum et - malesuada fames ac ante ipsum primis in faucibus. Vestibulum consectetur quis purus vel aliquam. -

- -
-
-
- - -

Bootstrap panels

-
- -
-
-
-

A panel in bootstrap is a bordered box with some padding around its content.

- -

Panels are created with the .panel class, and content inside the panel has a - .panel-body class. The .panel-default .panel-primary .panel-danger and other classes - are used to style the color of the - panel. See the next example on this page for more contextual classes.

-
-
-
- -
-
-
Panel Heading
-
-

The .panel-heading class adds a heading to the panel.Easily add a heading - container to your - panel with .panel-heading. You may also include any - h1-h6 with a .panel-title class to add a pre-styled heading. -

-
-
-
- -
-
- - -
-
-
- -

Panels with Contextual Classes

-
-
-
-
Panel with panel-default class
-
To color the panel, use contextual classes. This is sample .panel-default - panel -
-
-
- -
-
-
Panel with panel-primary class
-
Sample .panel-primary panel
-
-
- -
-
-
Panel with panel-success class
-
Sample .panel-success panel
-
-
- -
-
-
Panel with panel-info class
-
Sample .panel-info panel
-
-
- -
-
-
Panel with panel-warning class
-
Sample .panel-warning panel
-
-
- -
-
-
Panel with panel-danger class
-
Sample .panel-danger panel
-
-
- -
- -
-
-

Panel Group

- -
-
-
Panel group 1
-
-

To group many panels together, wrap a <div> with class - .panel-group around them.

-
-
-
-
Panel group 2
-
-

The .panel-group class clears the bottom-margin of each panel.

-
-
-
-
-
- diff --git a/src/app/pages/ui/panels/panels.module.js b/src/app/pages/ui/panels/panels.module.js deleted file mode 100644 index 62c244c..0000000 --- a/src/app/pages/ui/panels/panels.module.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @author v.lugovsky - * created on 23.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.panels', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('ui.panels', { - url: '/panels', - templateUrl: 'app/pages/ui/panels/panels.html', - controller: 'NotificationsPageCtrl', - title: 'Panels', - sidebarMeta: { - order: 1100, - }, - }); - } - -})(); diff --git a/src/app/pages/ui/progressBars/progressBars.html b/src/app/pages/ui/progressBars/progressBars.html deleted file mode 100644 index ff6ab9f..0000000 --- a/src/app/pages/ui/progressBars/progressBars.html +++ /dev/null @@ -1,43 +0,0 @@ -
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
- -
\ No newline at end of file diff --git a/src/app/pages/ui/progressBars/progressBars.module.js b/src/app/pages/ui/progressBars/progressBars.module.js deleted file mode 100644 index 27e52e4..0000000 --- a/src/app/pages/ui/progressBars/progressBars.module.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.progressBars', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('ui.progressBars', { - url: '/progressBars', - templateUrl: 'app/pages/ui/progressBars/progressBars.html', - title: 'Progress Bars', - sidebarMeta: { - order: 600, - }, - }); - } - -})(); diff --git a/src/app/pages/ui/progressBars/widgets/animated.html b/src/app/pages/ui/progressBars/widgets/animated.html deleted file mode 100644 index e25b0a7..0000000 --- a/src/app/pages/ui/progressBars/widgets/animated.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
- 40% Complete (success) -
-
-
-
- 20% Complete -
-
-
-
- 60% Complete (warning) -
-
-
-
- 80% Complete (danger) -
-
\ No newline at end of file diff --git a/src/app/pages/ui/progressBars/widgets/basic.html b/src/app/pages/ui/progressBars/widgets/basic.html deleted file mode 100644 index 0fb3b2f..0000000 --- a/src/app/pages/ui/progressBars/widgets/basic.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
- 40% Complete (success) -
-
-
-
- 20% Complete -
-
-
-
- 60% Complete (warning) -
-
-
-
- 80% Complete (danger) -
-
\ No newline at end of file diff --git a/src/app/pages/ui/progressBars/widgets/label.html b/src/app/pages/ui/progressBars/widgets/label.html deleted file mode 100644 index 8258fe7..0000000 --- a/src/app/pages/ui/progressBars/widgets/label.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
- 40% Complete (success) -
-
-
-
- 20% Complete -
-
-
-
- 60% Complete (warning) -
-
-
-
- 80% Complete (danger) -
-
\ No newline at end of file diff --git a/src/app/pages/ui/progressBars/widgets/stacked.html b/src/app/pages/ui/progressBars/widgets/stacked.html deleted file mode 100644 index 4d3f223..0000000 --- a/src/app/pages/ui/progressBars/widgets/stacked.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
- 35% Complete (success) -
-
- 20% Complete (warning) -
-
- 10% Complete (danger) -
-
- 20% Complete (warning) -
-
\ No newline at end of file diff --git a/src/app/pages/ui/progressBars/widgets/striped.html b/src/app/pages/ui/progressBars/widgets/striped.html deleted file mode 100644 index 7e6ae5d..0000000 --- a/src/app/pages/ui/progressBars/widgets/striped.html +++ /dev/null @@ -1,20 +0,0 @@ -
-
- 40% Complete (success) -
-
-
-
- 20% Complete -
-
-
-
- 60% Complete (warning) -
-
-
-
- 80% Complete (danger) -
-
\ No newline at end of file diff --git a/src/app/pages/ui/slider/slider.html b/src/app/pages/ui/slider/slider.html deleted file mode 100644 index b377692..0000000 --- a/src/app/pages/ui/slider/slider.html +++ /dev/null @@ -1,96 +0,0 @@ -
-
-
-
-
Basic
- - -
-
-
With prefix
- - -
-
-
With postfix
- - -
-
-
Two way range
- - -
-
-
With Steps
- - -
-
-
Decorating numbers
- - -
-
-
Using custom values array
- - -
-
-
Disabled
- - -
-
-
-
\ No newline at end of file diff --git a/src/app/pages/ui/slider/slider.module.js b/src/app/pages/ui/slider/slider.module.js deleted file mode 100644 index 0581a41..0000000 --- a/src/app/pages/ui/slider/slider.module.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author a.demeshko - * created on 12/22/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.slider', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('ui.slider', { - url: '/slider', - templateUrl: 'app/pages/ui/slider/slider.html', - title: 'Sliders', - sidebarMeta: { - order: 1000, - }, - }); - } - -})(); diff --git a/src/app/pages/ui/tabs/contextualAccordion.html b/src/app/pages/ui/tabs/contextualAccordion.html deleted file mode 100644 index e0dbed8..0000000 --- a/src/app/pages/ui/tabs/contextualAccordion.html +++ /dev/null @@ -1,17 +0,0 @@ - - - Primary - - - Success - - - Info - - - Warning - - - Danger - - \ No newline at end of file diff --git a/src/app/pages/ui/tabs/mainTabs.html b/src/app/pages/ui/tabs/mainTabs.html deleted file mode 100644 index 6f7a3d6..0000000 --- a/src/app/pages/ui/tabs/mainTabs.html +++ /dev/null @@ -1,65 +0,0 @@ - - -

- Take up one idea. Make that one idea your life--think of it, dream of it, live on that idea. Let the brain, - muscles, nerves, every part of your body, be full of that idea, and just leave every other idea alone. This is the - way to success. -

- -

- People who succeed have momentum. The more they succeed, the more they want to succeed, and the more they find a - way to succeed. Similarly, when someone is failing, the tendency is to get on a downward spiral that can even - become a self-fulfilling prophecy. -

- -
-
-
-
-
- -

- The reason most people never reach their goals is that they don't define them, or ever seriously consider them as - believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who - will be sharing the adventure with them. -

- -
- -

- You can't connect the dots looking forward; you can only connect them looking backwards. So you have to trust that - the dots will somehow connect in your future. You have to trust in something--your gut, destiny, life, karma, - whatever. This approach has never let me down, and it has made all the difference in my life. -

- -

- The reason most people never reach their goals is that they don't define them, or ever seriously consider them as - believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who - will be sharing the adventure with them. -

-
- - - - Dropdown tab - - - -
-

- Success is ... knowing your purpose in life, growing to reach your maximum potential, and sowing seeds that - benefit others. -

- -

Failure is the condiment that gives success its flavor.

-
-
-

- -

-
-
-
\ No newline at end of file diff --git a/src/app/pages/ui/tabs/sampleAccordion.html b/src/app/pages/ui/tabs/sampleAccordion.html deleted file mode 100644 index dedd264..0000000 --- a/src/app/pages/ui/tabs/sampleAccordion.html +++ /dev/null @@ -1,18 +0,0 @@ - - - This content is straight in the template. - - -

The body of the uib-accordion group grows to fit the contents

- -
- - Hello - - - - I can have markup, too! - - This is just some content to illustrate fancy headings. - -
\ No newline at end of file diff --git a/src/app/pages/ui/tabs/sideTabs.html b/src/app/pages/ui/tabs/sideTabs.html deleted file mode 100644 index c0ca6ae..0000000 --- a/src/app/pages/ui/tabs/sideTabs.html +++ /dev/null @@ -1,77 +0,0 @@ -
- - -

- Take up one idea. -

- -
-

- People who succeed have momentum. The more they succeed, the more they want to succeed, and the more they find a - way to succeed.

-
- -

- You can't connect the dots looking forward; you can only connect them looking backwards. So you have to trust - that - the dots will somehow connect in your future. You have to trust in something--your gut, destiny, life, karma, - whatever. This approach has never let me down, and it has made all the difference in my life. -

- -

- The reason most people never reach their goals is that they don't define them, or ever seriously consider them - as - believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who - will be sharing the adventure with them. -

-
- -

- Success is ... knowing your purpose in life, growing to reach your maximum potential, and sowing seeds that - benefit others. -

- -

Failure is the condiment that gives success its flavor.

-
-
-
- -
- - -

- Take up one idea. -

- -
-

- People who succeed have momentum. The more they succeed, the more they want to succeed, and the more they find a - way to succeed.

-
- -

- You can't connect the dots looking forward; you can only connect them looking backwards. So you have to trust - that - the dots will somehow connect in your future. You have to trust in something--your gut, destiny, life, karma, - whatever. This approach has never let me down, and it has made all the difference in my life. -

- -

- The reason most people never reach their goals is that they don't define them, or ever seriously consider them - as - believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who - will be sharing the adventure with them. -

-
- -

- Success is ... knowing your purpose in life, growing to reach your maximum potential, and sowing seeds that - benefit others. -

- -

Failure is the condiment that gives success its flavor.

-
-
-
\ No newline at end of file diff --git a/src/app/pages/ui/tabs/tabs.html b/src/app/pages/ui/tabs/tabs.html deleted file mode 100644 index 26f584f..0000000 --- a/src/app/pages/ui/tabs/tabs.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/src/app/pages/ui/tabs/tabs.module.js b/src/app/pages/ui/tabs/tabs.module.js deleted file mode 100644 index a434702..0000000 --- a/src/app/pages/ui/tabs/tabs.module.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author v.lugovsky - * created on 21.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.tabs', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('ui.tabs', { - url: '/tabs', - templateUrl: 'app/pages/ui/tabs/tabs.html', - title: 'Tabs & Accordions', - sidebarMeta: { - order: 800, - }, - }); - } - -})(); diff --git a/src/app/pages/ui/typography/typography.html b/src/app/pages/ui/typography/typography.html deleted file mode 100644 index 0097db6..0000000 --- a/src/app/pages/ui/typography/typography.html +++ /dev/null @@ -1,227 +0,0 @@ -
-
-
-
-

H1. Heading 1

- -

Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar, lacinia scelerisque pharetra, placerat - vestibulum eleifend pellentesque.

-
-
-

H2. Heading 2

- -

Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar, lacinia scelerisque pharetra, placerat - vestibulum eleifend pellentesque.

-
-
-

H3. Heading 3

- -

Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar, lacinia scelerisque pharetra, placerat - vestibulum eleifend pellentesque.

-
-
-

H4. Heading 4

- -

Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar, lacinia scelerisque pharetra,.

-
-
-
H5. Heading 5
- -

Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar, lacinia scelerisque pharetra.

-
-
-
- -
-
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis - ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed - ornare - nulla. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis. -

-
-
-

Curabitur bibendum ornare dolor, quis ullamcorper ligula dfgz`zzsodales at. Nullam quis risus eget urna - mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur - ridiculus - mus. Nullam id dolor id. -

-
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, - quis - ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed - ornare - nulla.

-
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, - quis - ullam-corper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed - ornare - nulla. -

-
-
-

Secondary text. Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar,

- -

lacinia scelerisque pharetra, placerat vestibulum eleifend

- -

pellentesque, mi nam.

-
-
-
- -
-
-
-
Unordered list:
-
    -
  • Lorem ipsum dolor sit amet
  • -
  • Сlacinia scelerisque pharetra -
      -
    • Dui rhoncus quisque integer lorem -
        -
      • Libero iaculis vestibulum eu vitae
      • -
      -
    • -
    -
  • -
  • Nisl lectus nibh habitasse suspendisse ut
  • -
  • Posuere cursus hac, vestibulum wisi nulla bibendum
  • -
-
Ordered Lists:
-
    -
  1. Eu non nec cursus quis mollis, amet quam nec
  2. -
  3. Et suspendisse, adipiscing fringilla ornare sit ligula sed -
      -
    1. Interdum et justo nulla -
        -
      1. Magna amet, suscipit suscipit non amet
      2. -
      -
    2. -
    -
  4. -
  5. Metus duis eu non eu ridiculus turpis
  6. -
  7. - Neque egestas id fringilla consectetuer justo curabitur, wisi magna neque commodo volutpat -
  8. -
-
Important text fragment. Lorem ipsum dolor sit amet, id mollis iaculis mi nisl - pulvinar, - lacinia scelerisque pharetra. -
-
-
-
- -
-
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis - ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed - ornare - nulla. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis - dis - parturient montes, nascetur ridiculus mus. -

-
-
-

Curabitur bibendum ornare dolor, quis ullamcorper ligula dfgz`zzsodales at. Nullam quis risus eget - urna - mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur - ridiculus - mus. Nullam id dolor id nibh ultricies vehicula ut id elit. In sed ornare nulla. -

-
- - -
-
-
- -
-
-
- -
-

Columns

- -
-
-
-
-

Vel elit, eros elementum, id lacinia, duis non ut ut tortor blandit. Mauris dapibus magna rutrum. Ornare neque suspendisse phasellus wisi, quam cras pede rutrum suspendisse, felis amet eu. Congue magna elit quisque quia, nullam justo sagittis, - ante erat libero placerat, proin condimentum consectetuer lacus. Velit condimentum velit, sed - penatibus - arcu nulla.

-
-
-
-
-

Et suspendisse, adipiscing fringilla ornare sit ligula sed, vel nam. Interdum et justo nulla, - fermentum - lobortis purus ut eu, duis nibh dolor massa tristique elementum, nibh iste potenti risus fusce - aliquet - fusce, ullamcorper debitis primis arcu tellus vestibulum ac.

-
-
- -
- -
-
-

Column heading example

-
-

Eget augue, lacus erat ante egestas scelerisque aliquam, metus molestie leo in habitasse magna - maecenas

- Lean more -
-
-

Yet another column heading example

-
-

Augue massa et parturient, suspendisse orci nec scelerisque sit, integer nam mauris pede consequat - in - velit

- Lean more -
-
-

Third column heading example

-
-

Eget turpis, tortor lobortis porttitor, vestibulum nullam vehicula aliquam

- Lean more -
-
-
-
-
-
-
diff --git a/src/app/pages/ui/typography/typography.module.js b/src/app/pages/ui/typography/typography.module.js deleted file mode 100644 index d178581..0000000 --- a/src/app/pages/ui/typography/typography.module.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui.typography', []) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('ui.typography', { - url: '/typography', - templateUrl: 'app/pages/ui/typography/typography.html', - title: 'Typography', - sidebarMeta: { - order: 0, - }, - }); - } - -})(); diff --git a/src/app/pages/ui/ui.module.js b/src/app/pages/ui/ui.module.js deleted file mode 100644 index ac73f47..0000000 --- a/src/app/pages/ui/ui.module.js +++ /dev/null @@ -1,38 +0,0 @@ -/** - * @author k.danovsky - * created on 12.01.2016 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.ui', [ - 'BlurAdmin.pages.ui.typography', - 'BlurAdmin.pages.ui.buttons', - 'BlurAdmin.pages.ui.icons', - 'BlurAdmin.pages.ui.modals', - 'BlurAdmin.pages.ui.grid', - 'BlurAdmin.pages.ui.alerts', - 'BlurAdmin.pages.ui.progressBars', - 'BlurAdmin.pages.ui.notifications', - 'BlurAdmin.pages.ui.tabs', - 'BlurAdmin.pages.ui.slider', - 'BlurAdmin.pages.ui.panels', - ]) - .config(routeConfig); - - /** @ngInject */ - function routeConfig($stateProvider) { - $stateProvider - .state('ui', { - url: '/ui', - template : '', - abstract: true, - title: 'UI Features', - sidebarMeta: { - icon: 'ion-android-laptop', - order: 200, - }, - }); - } - -})(); diff --git a/src/app/theme/amChartConfig.js b/src/app/theme/amChartConfig.js deleted file mode 100644 index 028cc5d..0000000 --- a/src/app/theme/amChartConfig.js +++ /dev/null @@ -1,212 +0,0 @@ -/** - * @author v.lugovsky - * created on 15.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .config(amChartConfig); - - /** @ngInject */ - function amChartConfig(layoutColors) { - AmCharts.themes.blur = { - - themeName: "blur", - - AmChart: { - color: layoutColors.defaultText, - backgroundColor: "#FFFFFF" - }, - - AmCoordinateChart: { - colors: [layoutColors.primary, layoutColors.danger, layoutColors.warning, layoutColors.success, layoutColors.info, layoutColors.default, layoutColors.primaryDark, layoutColors.warningLight, layoutColors.successDark, layoutColors.successLight, layoutColors.successBg] - }, - - AmStockChart: { - colors: [layoutColors.primary, layoutColors.danger, layoutColors.warning, layoutColors.success, layoutColors.info, layoutColors.default, layoutColors.primaryDark, layoutColors.warningLight, layoutColors.successDark, layoutColors.successLight, layoutColors.successBg] - }, - - AmSlicedChart: { - colors: [layoutColors.primary, layoutColors.danger, layoutColors.warning, layoutColors.success, layoutColors.info, layoutColors.default, layoutColors.primaryDark, layoutColors.warningLight, layoutColors.successDark, layoutColors.successLight, layoutColors.successBg], - labelTickColor: "#FFFFFF", - labelTickAlpha: 0.3 - }, - - AmRectangularChart: { - zoomOutButtonColor: '#FFFFFF', - zoomOutButtonRollOverAlpha: 0.15, - zoomOutButtonImage: "lens.png" - }, - - AxisBase: { - axisColor: "#FFFFFF", - axisAlpha: 0.3, - gridAlpha: 0.1, - gridColor: "#FFFFFF" - }, - - ChartScrollbar: { - backgroundColor: "#FFFFFF", - backgroundAlpha: 0.12, - graphFillAlpha: 0.5, - graphLineAlpha: 0, - selectedBackgroundColor: "#FFFFFF", - selectedBackgroundAlpha: 0.4, - gridAlpha: 0.15 - }, - - ChartCursor: { - cursorColor: layoutColors.primary, - color: "#FFFFFF", - cursorAlpha: 0.5 - }, - - AmLegend: { - color: "#FFFFFF" - }, - - AmGraph: { - lineAlpha: 0.9 - }, - GaugeArrow: { - color: "#FFFFFF", - alpha: 0.8, - nailAlpha: 0, - innerRadius: "40%", - nailRadius: 15, - startWidth: 15, - borderAlpha: 0.8, - nailBorderAlpha: 0 - }, - - GaugeAxis: { - tickColor: "#FFFFFF", - tickAlpha: 1, - tickLength: 15, - minorTickLength: 8, - axisThickness: 3, - axisColor: '#FFFFFF', - axisAlpha: 1, - bandAlpha: 0.8 - }, - - TrendLine: { - lineColor: layoutColors.danger, - lineAlpha: 0.8 - }, - - // ammap - AreasSettings: { - alpha: 0.8, - color: layoutColors.info, - colorSolid: layoutColors.primaryDark, - unlistedAreasAlpha: 0.4, - unlistedAreasColor: "#FFFFFF", - outlineColor: "#FFFFFF", - outlineAlpha: 0.5, - outlineThickness: 0.5, - rollOverColor: layoutColors.primary, - rollOverOutlineColor: "#FFFFFF", - selectedOutlineColor: "#FFFFFF", - selectedColor: "#f15135", - unlistedAreasOutlineColor: "#FFFFFF", - unlistedAreasOutlineAlpha: 0.5 - }, - - LinesSettings: { - color: "#FFFFFF", - alpha: 0.8 - }, - - ImagesSettings: { - alpha: 0.8, - labelColor: "#FFFFFF", - color: "#FFFFFF", - labelRollOverColor: layoutColors.primaryDark - }, - - ZoomControl: { - buttonFillAlpha: 0.8, - buttonIconColor: layoutColors.default, - buttonRollOverColor: layoutColors.danger, - buttonFillColor: layoutColors.primaryDark, - buttonBorderColor: layoutColors.primaryDark, - buttonBorderAlpha: 0, - buttonCornerRadius: 0, - gridColor: "#FFFFFF", - gridBackgroundColor: "#FFFFFF", - buttonIconAlpha: 0.6, - gridAlpha: 0.6, - buttonSize: 20 - }, - - SmallMap: { - mapColor: "#000000", - rectangleColor: layoutColors.danger, - backgroundColor: "#FFFFFF", - backgroundAlpha: 0.7, - borderThickness: 1, - borderAlpha: 0.8 - }, - - // the defaults below are set using CSS syntax, you can use any existing css property - // if you don't use Stock chart, you can delete lines below - PeriodSelector: { - color: "#FFFFFF" - }, - - PeriodButton: { - color: "#FFFFFF", - background: "transparent", - opacity: 0.7, - border: "1px solid rgba(0, 0, 0, .3)", - MozBorderRadius: "5px", - borderRadius: "5px", - margin: "1px", - outline: "none", - boxSizing: "border-box" - }, - - PeriodButtonSelected: { - color: "#FFFFFF", - backgroundColor: "#b9cdf5", - border: "1px solid rgba(0, 0, 0, .3)", - MozBorderRadius: "5px", - borderRadius: "5px", - margin: "1px", - outline: "none", - opacity: 1, - boxSizing: "border-box" - }, - - PeriodInputField: { - color: "#FFFFFF", - background: "transparent", - border: "1px solid rgba(0, 0, 0, .3)", - outline: "none" - }, - - DataSetSelector: { - color: "#FFFFFF", - selectedBackgroundColor: "#b9cdf5", - rollOverBackgroundColor: "#a8b0e4" - }, - - DataSetCompareList: { - color: "#FFFFFF", - lineHeight: "100%", - boxSizing: "initial", - webkitBoxSizing: "initial", - border: "1px solid rgba(0, 0, 0, .3)" - }, - - DataSetSelect: { - border: "1px solid rgba(0, 0, 0, .3)", - outline: "none" - } - - }; - } - -})(); diff --git a/src/app/theme/chartJsConfig.js b/src/app/theme/chartJsConfig.js deleted file mode 100644 index de5f0b4..0000000 --- a/src/app/theme/chartJsConfig.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @author a.demeshko - * created on 12/16/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .config(chartJsConfig); - - /** @ngInject */ - function chartJsConfig(ChartJsProvider, layoutColors) { - // Configure all charts - ChartJsProvider.setOptions({ - colours: [ layoutColors.primary, layoutColors.danger, layoutColors.warning, layoutColors.success, layoutColors.info, layoutColors.default, layoutColors.primaryDark, layoutColors.successDark, layoutColors.warningLight, layoutColors.successLight, layoutColors.successBg], - responsive: true, - scaleFontColor: "rgba(255,255,255,.7)", - scaleLineColor: "rgba(255,255,255,.7)", - pointLabelFontColor: "rgba(255,255,255,.7)" - }); - // Configure all line charts - ChartJsProvider.setOptions('Line', { - datasetFill: false - }); - } - -})(); \ No newline at end of file diff --git a/src/app/theme/components/baPanel/baPanel.directive.js b/src/app/theme/components/baPanel/baPanel.directive.js deleted file mode 100644 index 98deb06..0000000 --- a/src/app/theme/components/baPanel/baPanel.directive.js +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @author v.lugovsky - * created on 23.12.2015 - */ -(function () { - 'use strict'; - - /** - * Includes basic panel layout inside of current element. - */ - angular.module('BlurAdmin.theme') - .directive('baPanel', baPanel); - - /** @ngInject */ - function baPanel(baPanel, $document, $window, tplSkinManager) { - return angular.extend({}, baPanel, { - link: function($scope){ - $scope.panelType = tplSkinManager.getActiveSkin().panelType; - $scope.$on('tplSkinChanged', function(){ - $scope.panelType = tplSkinManager.getActiveSkin().panelType; - }); - }, - template: function(el, attrs) { - var res = '
'; - res += baPanel.template(el, attrs); - res += '
'; - return res; - } - }); - } - -})(); diff --git a/src/app/theme/components/baPanel/baPanel.service.js b/src/app/theme/components/baPanel/baPanel.service.js deleted file mode 100644 index cfd1cf7..0000000 --- a/src/app/theme/components/baPanel/baPanel.service.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @author v.lugovsky - * created on 23.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .factory('baPanel', baPanel); - - /** @ngInject */ - function baPanel() { - - /** Base baPanel directive */ - return { - restrict: 'A', - transclude: true, - template: function(elem, attrs) { - var res = '
'; - if (attrs.baPanelTitle) { - var titleTpl = '

' + attrs.baPanelTitle + '

'; - res = titleTpl + res; // title should be before - } - - return res; - } - }; - } - -})(); diff --git a/src/app/theme/components/baPanel/baPanelBlur.directive.js b/src/app/theme/components/baPanel/baPanelBlur.directive.js deleted file mode 100644 index c3bf907..0000000 --- a/src/app/theme/components/baPanel/baPanelBlur.directive.js +++ /dev/null @@ -1,51 +0,0 @@ -/** - * @author v.lugovsky - * created on 15.01.2016 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .directive('baPanelBlur', baPanelBlur); - - /** @ngInject */ - function baPanelBlur(baPanelBlurHelper, $window, $rootScope) { - var bodyBgSize; - - baPanelBlurHelper.bodyBgLoad().then(function() { - bodyBgSize = baPanelBlurHelper.getBodyBgImageSizes(); - }); - - $window.addEventListener('resize', function() { - bodyBgSize = baPanelBlurHelper.getBodyBgImageSizes(); - }); - - return { - restrict: 'A', - link: function($scope, elem) { - if(!$rootScope.$isMobile) { - baPanelBlurHelper.bodyBgLoad().then(function () { - setTimeout(recalculatePanelStyle); - }); - $window.addEventListener('resize', recalculatePanelStyle); - - $scope.$on('$destroy', function () { - $window.removeEventListener('resize', recalculatePanelStyle); - }); - } - - function recalculatePanelStyle() { - if (!bodyBgSize) { - return; - } - elem.css({ - backgroundSize: Math.round(bodyBgSize.width) + 'px ' + Math.round(bodyBgSize.height) + 'px', - backgroundPosition: Math.floor(bodyBgSize.positionX) + 'px ' + Math.floor(bodyBgSize.positionY) + 'px' - }); - } - - } - }; - } - -})(); diff --git a/src/app/theme/components/baPanel/baPanelBlurHelper.service.js b/src/app/theme/components/baPanel/baPanelBlurHelper.service.js deleted file mode 100644 index 72c89a4..0000000 --- a/src/app/theme/components/baPanel/baPanelBlurHelper.service.js +++ /dev/null @@ -1,47 +0,0 @@ -/** - * @author v.lugovsky - * created on 15.01.2016 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .service('baPanelBlurHelper', baPanelBlurHelper); - - /** @ngInject */ - function baPanelBlurHelper($q) { - var res = $q.defer(); - var computedStyle = getComputedStyle(document.body, ':before'); - var image = new Image(); - image.src = computedStyle.backgroundImage.replace(/url\((['"])?(.*?)\1\)/gi, '$2'); - image.onerror = function() { - res.reject(); - }; - image.onload = function() { - res.resolve(); - }; - - this.bodyBgLoad = function() { - return res.promise; - }; - - this.getBodyBgImageSizes = function() { - var elemW = document.documentElement.clientWidth; - var elemH = document.documentElement.clientHeight; - if(elemW <= 640) return; - var imgRatio = (image.height / image.width); // original img ratio - var containerRatio = (elemH / elemW); // container ratio - - var finalHeight, finalWidth; - if (containerRatio > imgRatio) { - finalHeight = elemH; - finalWidth = (elemH / imgRatio); - } else { - finalWidth = elemW; - finalHeight = (elemW * imgRatio); - } - return { width: finalWidth, height: finalHeight, positionX: (elemW - finalWidth)/2, positionY: (elemH - finalHeight)/2}; - }; - } - -})(); diff --git a/src/app/theme/components/baPanel/baPanelSelf.directive.js b/src/app/theme/components/baPanel/baPanelSelf.directive.js deleted file mode 100644 index 1856348..0000000 --- a/src/app/theme/components/baPanel/baPanelSelf.directive.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @author v.lugovsky - * created on 23.12.2015 - */ -(function () { - 'use strict'; - - /** - * Represents current element as panel, adding all necessary classes. - */ - angular.module('BlurAdmin.theme') - .directive('baPanelSelf', baPanelSelf); - - /** @ngInject */ - function baPanelSelf(baPanel) { - return angular.extend({}, baPanel, { - link: function(scope, el, attrs) { - el.addClass('panel panel-white'); - if (attrs.baPanelClass) { - el.addClass(attrs.baPanelClass); - } - } - }); - } - -})(); diff --git a/src/app/theme/components/baSidebar/BaSidebarCtrl.js b/src/app/theme/components/baSidebar/BaSidebarCtrl.js deleted file mode 100644 index 8967d6c..0000000 --- a/src/app/theme/components/baSidebar/BaSidebarCtrl.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .controller('BaSidebarCtrl', BaSidebarCtrl); - - /** @ngInject */ - function BaSidebarCtrl($scope, baSidebarService) { - - $scope.menuItems = baSidebarService.getMenuItems(); - $scope.defaultSidebarState = $scope.menuItems[0].stateRef; - - $scope.hoverItem = function ($event) { - $scope.showHoverElem = true; - $scope.hoverElemHeight = $event.currentTarget.clientHeight; - var menuTopValue = 66; - $scope.hoverElemTop = $event.currentTarget.getBoundingClientRect().top - menuTopValue; - }; - - $scope.$on('$stateChangeSuccess', function () { - if (baSidebarService.canSidebarBeHidden()) { - baSidebarService.setMenuCollapsed(true); - } - }); - } -})(); \ No newline at end of file diff --git a/src/app/theme/components/baSidebar/ba-sidebar.html b/src/app/theme/components/baSidebar/ba-sidebar.html deleted file mode 100644 index 6ce3deb..0000000 --- a/src/app/theme/components/baSidebar/ba-sidebar.html +++ /dev/null @@ -1,44 +0,0 @@ - \ No newline at end of file diff --git a/src/app/theme/components/baSidebar/baSidebar.directive.js b/src/app/theme/components/baSidebar/baSidebar.directive.js deleted file mode 100644 index 55d66ed..0000000 --- a/src/app/theme/components/baSidebar/baSidebar.directive.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .directive('baSidebar', baSidebar); - - /** @ngInject */ - function baSidebar($timeout, baSidebarService, baUtil, layoutSizes) { - var jqWindow = $(window); - return { - restrict: 'E', - templateUrl: 'app/theme/components/baSidebar/ba-sidebar.html', - controller: 'BaSidebarCtrl', - link: function(scope, el) { - - scope.menuHeight = el[0].childNodes[0].clientHeight - 84; - jqWindow.on('click', _onWindowClick); - jqWindow.on('resize', _onWindowResize); - - scope.$on('$destroy', function() { - jqWindow.off('click', _onWindowClick); - jqWindow.off('resize', _onWindowResize); - }); - - function _onWindowClick($evt) { - if (!baUtil.isDescendant(el[0], $evt.target) && - !$evt.originalEvent.$sidebarEventProcessed && - !baSidebarService.isMenuCollapsed() && - baSidebarService.canSidebarBeHidden()) { - $evt.originalEvent.$sidebarEventProcessed = true; - $timeout(function () { - baSidebarService.setMenuCollapsed(true); - }, 10); - } - } - - // watch window resize to change menu collapsed state if needed - function _onWindowResize() { - var newMenuCollapsed = baSidebarService.shouldMenuBeCollapsed(); - var newMenuHeight = _calculateMenuHeight(); - if (newMenuCollapsed != baSidebarService.isMenuCollapsed() || scope.menuHeight != newMenuHeight) { - scope.$apply(function () { - scope.menuHeight = newMenuHeight; - baSidebarService.setMenuCollapsed(newMenuCollapsed) - }); - } - } - - function _calculateMenuHeight() { - return el[0].childNodes[0].clientHeight - 84; - } - } - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/components/baSidebar/baSidebar.service.js b/src/app/theme/components/baSidebar/baSidebar.service.js deleted file mode 100644 index c878c89..0000000 --- a/src/app/theme/components/baSidebar/baSidebar.service.js +++ /dev/null @@ -1,86 +0,0 @@ -(function() { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .provider('baSidebarService', baSidebarServiceProvider); - - /** @ngInject */ - function baSidebarServiceProvider() { - var staticMenuItems = []; - - this.addStaticItem = function() { - staticMenuItems.push.apply(staticMenuItems, arguments); - }; - - /** @ngInject */ - this.$get = function($state, layoutSizes) { - return new _factory(); - - function _factory() { - var isMenuCollapsed = shouldMenuBeCollapsed(); - - this.getMenuItems = function() { - var states = defineMenuItemStates(); - var menuItems = states.filter(function(item) { - return item.level == 0; - }); - - menuItems.forEach(function(item) { - var children = states.filter(function(child) { - return child.level == 1 && child.name.indexOf(item.name) === 0; - }); - item.subMenu = children.length ? children : null; - }); - - return menuItems.concat(staticMenuItems); - }; - - this.shouldMenuBeCollapsed = shouldMenuBeCollapsed; - this.canSidebarBeHidden = canSidebarBeHidden; - - this.setMenuCollapsed = function(isCollapsed) { - isMenuCollapsed = isCollapsed; - }; - - this.isMenuCollapsed = function() { - return isMenuCollapsed; - }; - - this.toggleMenuCollapsed = function() { - isMenuCollapsed = !isMenuCollapsed; - }; - - function defineMenuItemStates() { - return $state.get() - .filter(function(s) { - return s.sidebarMeta; - }) - .map(function(s) { - var meta = s.sidebarMeta; - return { - name: s.name, - title: s.title, - level: (s.name.match(/\./g) || []).length, - order: meta.order, - icon: meta.icon, - stateRef: s.name, - }; - }) - .sort(function(a, b) { - return (a.level - b.level) * 100 + a.order - b.order; - }); - } - - function shouldMenuBeCollapsed() { - return window.innerWidth <= layoutSizes.resWidthCollapseSidebar; - } - - function canSidebarBeHidden() { - return window.innerWidth <= layoutSizes.resWidthHideSidebar; - } - } - - }; - - } -})(); diff --git a/src/app/theme/components/baSidebar/baSidebarHelpers.directive.js b/src/app/theme/components/baSidebar/baSidebarHelpers.directive.js deleted file mode 100644 index 682fefb..0000000 --- a/src/app/theme/components/baSidebar/baSidebarHelpers.directive.js +++ /dev/null @@ -1,91 +0,0 @@ -/** - * @author v.lugovsky - * created on 03.05.2016 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .directive('baSidebarToggleMenu', baSidebarToggleMenu) - .directive('baSidebarCollapseMenu', baSidebarCollapseMenu) - .directive('baUiSrefTogglingSubmenu', baUiSrefTogglingSubmenu) - .directive('baUiSrefToggler', baUiSrefToggler); - - /** @ngInject */ - function baSidebarToggleMenu(baSidebarService) { - return { - restrict: 'A', - link: function(scope, elem) { - elem.on('click', function($evt) { - $evt.originalEvent.$sidebarEventProcessed = true; - scope.$apply(function() { - baSidebarService.toggleMenuCollapsed(); - }); - }); - } - }; - } - - /** @ngInject */ - function baSidebarCollapseMenu(baSidebarService) { - return { - restrict: 'A', - link: function(scope, elem) { - elem.on('click', function($evt) { - $evt.originalEvent.$sidebarEventProcessed = true; - if (!baSidebarService.isMenuCollapsed()) { - scope.$apply(function() { - baSidebarService.setMenuCollapsed(true); - }); - } - }); - } - }; - } - - /** @ngInject */ - function baUiSrefTogglingSubmenu($state) { - return { - restrict: 'A', - link: function(scope, el, attrs) { - var stateToWatch = scope.$eval(attrs.baUiSrefTogglingSubmenu); - - if (_isState($state.current)) { - el.parent().addClass('ba-sidebar-item-expanded'); - } - - scope.$on('$stateChangeStart', function (event, toState) { - if (!_isState(toState) && el.parent().hasClass('ba-sidebar-item-expanded')) { - el.slideToggle(); - el.parent().removeClass('ba-sidebar-item-expanded'); - } - }); - - scope.$on('$stateChangeSuccess', function (event, toState) { - if (_isState(toState) && !el.parent().hasClass('ba-sidebar-item-expanded')) { - el.slideToggle(); - el.parent().addClass('ba-sidebar-item-expanded'); - } - }); - - function _isState(state) { - return state && state.name.indexOf(stateToWatch) == 0; - } - } - }; - } - - /** @ngInject */ - function baUiSrefToggler() { - return { - restrict: 'A', - link: function(scope, el, attrs) { - el.on('click', function() { - el.next().slideToggle(); - el.parent().toggleClass('ba-sidebar-item-expanded'); - }); - } - }; - } - -})(); diff --git a/src/app/theme/components/baWizard/baWizard.directive.js b/src/app/theme/components/baWizard/baWizard.directive.js deleted file mode 100644 index 8f74d3b..0000000 --- a/src/app/theme/components/baWizard/baWizard.directive.js +++ /dev/null @@ -1,17 +0,0 @@ -(function() { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .directive('baWizard', baWizard); - - /** @ngInject */ - function baWizard() { - return { - restrict: 'E', - transclude: true, - templateUrl: 'app/theme/components/baWizard/baWizard.html', - controllerAs: '$baWizardController', - controller: 'baWizardCtrl' - } - } -})(); diff --git a/src/app/theme/components/baWizard/baWizard.html b/src/app/theme/components/baWizard/baWizard.html deleted file mode 100644 index a8c7c4f..0000000 --- a/src/app/theme/components/baWizard/baWizard.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
- {{t.title}} -
-
- -
-
-
-
- -
- - -
diff --git a/src/app/theme/components/baWizard/baWizardCtrl.js b/src/app/theme/components/baWizard/baWizardCtrl.js deleted file mode 100644 index 996b763..0000000 --- a/src/app/theme/components/baWizard/baWizardCtrl.js +++ /dev/null @@ -1,54 +0,0 @@ -(function() { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .controller('baWizardCtrl', baWizardCtrl); - - /** @ngInject */ - function baWizardCtrl($scope) { - var vm = this; - vm.tabs = []; - - vm.tabNum = 0; - vm.progress = 0; - - vm.addTab = function(tab) { - tab.setPrev(vm.tabs[vm.tabs.length - 1]); - vm.tabs.push(tab); - vm.selectTab(0); - }; - - $scope.$watch(angular.bind(vm, function () {return vm.tabNum;}), calcProgress); - - vm.selectTab = function (tabNum) { - vm.tabs[vm.tabNum].submit(); - if (vm.tabs[tabNum].isAvailiable()) { - vm.tabNum = tabNum; - vm.tabs.forEach(function (t, tIndex) { - tIndex == vm.tabNum ? t.select(true) : t.select(false); - }); - } - }; - - vm.isFirstTab = function () { - return vm.tabNum == 0; - }; - - vm.isLastTab = function () { - return vm.tabNum == vm.tabs.length - 1 ; - }; - - vm.nextTab = function () { - vm.selectTab(vm.tabNum + 1) - }; - - vm.previousTab = function () { - vm.selectTab(vm.tabNum - 1) - }; - - function calcProgress() { - vm.progress = ((vm.tabNum + 1) / vm.tabs.length) * 100; - } - } -})(); - diff --git a/src/app/theme/components/baWizard/baWizardStep.directive.js b/src/app/theme/components/baWizard/baWizardStep.directive.js deleted file mode 100644 index 126dbd9..0000000 --- a/src/app/theme/components/baWizard/baWizardStep.directive.js +++ /dev/null @@ -1,58 +0,0 @@ -(function() { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .directive('baWizardStep', baWizardStep); - - /** @ngInject */ - function baWizardStep() { - return { - restrict: 'E', - transclude: true, - require: '^baWizard', - scope: { - form: '=' - }, - templateUrl: 'app/theme/components/baWizard/baWizardStep.html', - link: function($scope, $element, $attrs, wizard) { - $scope.selected = true; - - var tab = { - title: $attrs.title, - select: select, - submit: submit, - isComplete: isComplete, - isAvailiable: isAvailiable, - prevTab: undefined, - setPrev: setPrev - }; - - wizard.addTab(tab); - - function select(isSelected) { - if (isSelected) { - $scope.selected = true; - } else { - $scope.selected = false; - } - } - - function submit() { - $scope.form && $scope.form.$setSubmitted(true); - } - - function isComplete() { - return $scope.form ? $scope.form.$valid : true; - } - - function isAvailiable() { - return tab.prevTab ? tab.prevTab.isComplete() : true; - } - - function setPrev(pTab) { - tab.prevTab = pTab; - } - } - }; - } -})(); \ No newline at end of file diff --git a/src/app/theme/components/baWizard/baWizardStep.html b/src/app/theme/components/baWizard/baWizardStep.html deleted file mode 100644 index 1610f06..0000000 --- a/src/app/theme/components/baWizard/baWizardStep.html +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/src/app/theme/components/backTop/backTop.directive.js b/src/app/theme/components/backTop/backTop.directive.js deleted file mode 100644 index 1f93efc..0000000 --- a/src/app/theme/components/backTop/backTop.directive.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .directive('backTop', backTop); - - /** @ngInject */ - function backTop() { - return { - restrict: 'E', - templateUrl: 'app/theme/components/backTop/backTop.html', - controller: function () { - $('#backTop').backTop({ - 'position': 200, - 'speed': 100 - }); - } - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/components/backTop/backTop.html b/src/app/theme/components/backTop/backTop.html deleted file mode 100644 index f5979bf..0000000 --- a/src/app/theme/components/backTop/backTop.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/app/theme/components/backTop/lib/jquery.backTop.min.js b/src/app/theme/components/backTop/lib/jquery.backTop.min.js deleted file mode 100644 index 01e5136..0000000 --- a/src/app/theme/components/backTop/lib/jquery.backTop.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Minified js for jQuery BackTop */ -!function(o){o.fn.backTop=function(e){var n=this,i=o.extend({position:400,speed:500,color:"white"},e),t=i.position,c=i.speed,d=i.color;n.addClass("white"==d?"white":"red"==d?"red":"green"==d?"green":"black"),n.css({right:40,bottom:40,position:"fixed"}),o(document).scroll(function(){var e=o(window).scrollTop();e>=t?n.fadeIn(c):n.fadeOut(c)}),n.click(function(){o("html, body").animate({scrollTop:0},{duration:1200})})}}(jQuery); \ No newline at end of file diff --git a/src/app/theme/components/components.module.js b/src/app/theme/components/components.module.js deleted file mode 100644 index 760fe63..0000000 --- a/src/app/theme/components/components.module.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme.components', []); - -})(); diff --git a/src/app/theme/components/contentTop/contentTop.directive.js b/src/app/theme/components/contentTop/contentTop.directive.js deleted file mode 100644 index 6c2deae..0000000 --- a/src/app/theme/components/contentTop/contentTop.directive.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .directive('contentTop', contentTop); - - /** @ngInject */ - function contentTop($location, $state) { - return { - restrict: 'E', - templateUrl: 'app/theme/components/contentTop/contentTop.html', - link: function($scope) { - $scope.$watch(function () { - $scope.activePageTitle = $state.current.title; - }); - } - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/components/contentTop/contentTop.html b/src/app/theme/components/contentTop/contentTop.html deleted file mode 100644 index 10304c7..0000000 --- a/src/app/theme/components/contentTop/contentTop.html +++ /dev/null @@ -1,9 +0,0 @@ -
-

{{ activePageTitle }}

- - -
\ No newline at end of file diff --git a/src/app/theme/components/msgCenter/MsgCenterCtrl.js b/src/app/theme/components/msgCenter/MsgCenterCtrl.js deleted file mode 100644 index 703d038..0000000 --- a/src/app/theme/components/msgCenter/MsgCenterCtrl.js +++ /dev/null @@ -1,112 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .controller('MsgCenterCtrl', MsgCenterCtrl); - - /** @ngInject */ - function MsgCenterCtrl($scope, $sce) { - $scope.users = { - 0: { - name: 'Vlad', - }, - 1: { - name: 'Kostya', - }, - 2: { - name: 'Andrey', - }, - 3: { - name: 'Nasta', - } - }; - - $scope.notifications = [ - { - userId: 0, - template: '&name posted a new article.', - time: '1 min ago' - }, - { - userId: 1, - template: '&name changed his contact information.', - time: '2 hrs ago' - }, - { - image: 'assets/img/shopping-cart.svg', - template: 'New orders received.', - time: '5 hrs ago' - }, - { - userId: 2, - template: '&name replied to your comment.', - time: '1 day ago' - }, - { - userId: 3, - template: 'Today is &name\'s birthday.', - time: '2 days ago' - }, - { - image: 'assets/img/comments.svg', - template: 'New comments on your post.', - time: '3 days ago' - }, - { - userId: 1, - template: '&name invited you to join the event.', - time: '1 week ago' - } - ]; - - $scope.messages = [ - { - userId: 3, - text: 'After you get up and running, you can place Font Awesome icons just about...', - time: '1 min ago' - }, - { - userId: 0, - text: 'You asked, Font Awesome delivers with 40 shiny new icons in version 4.2.', - time: '2 hrs ago' - }, - { - userId: 1, - text: 'Want to request new icons? Here\'s how. Need vectors or want to use on the...', - time: '10 hrs ago' - }, - { - userId: 2, - text: 'Explore your passions and discover new ones by getting involved. Stretch your...', - time: '1 day ago' - }, - { - userId: 3, - text: 'Get to know who we are - from the inside out. From our history and culture, to the...', - time: '1 day ago' - }, - { - userId: 1, - text: 'Need some support to reach your goals? Apply for scholarships across a variety of...', - time: '2 days ago' - }, - { - userId: 0, - text: 'Wrap the dropdown\'s trigger and the dropdown menu within .dropdown, or...', - time: '1 week ago' - } - ]; - - $scope.getMessage = function(msg) { - var text = msg.template; - if (msg.userId || msg.userId === 0) { - text = text.replace('&name', '' + $scope.users[msg.userId].name + ''); - } - return $sce.trustAsHtml(text); - }; - } -})(); \ No newline at end of file diff --git a/src/app/theme/components/msgCenter/msgCenter.directive.js b/src/app/theme/components/msgCenter/msgCenter.directive.js deleted file mode 100644 index 30c7aed..0000000 --- a/src/app/theme/components/msgCenter/msgCenter.directive.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .directive('msgCenter', msgCenter); - - /** @ngInject */ - function msgCenter() { - return { - restrict: 'E', - templateUrl: 'app/theme/components/msgCenter/msgCenter.html', - controller: 'MsgCenterCtrl' - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/components/msgCenter/msgCenter.html b/src/app/theme/components/msgCenter/msgCenter.html deleted file mode 100644 index 50b1a49..0000000 --- a/src/app/theme/components/msgCenter/msgCenter.html +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/src/app/theme/components/pageTop/pageTop.directive.js b/src/app/theme/components/pageTop/pageTop.directive.js deleted file mode 100644 index ffa79d9..0000000 --- a/src/app/theme/components/pageTop/pageTop.directive.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .directive('pageTop', pageTop); - - /** @ngInject */ - function pageTop() { - return { - restrict: 'E', - templateUrl: 'app/theme/components/pageTop/pageTop.html' - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/components/pageTop/pageTop.html b/src/app/theme/components/pageTop/pageTop.html deleted file mode 100644 index 33919c2..0000000 --- a/src/app/theme/components/pageTop/pageTop.html +++ /dev/null @@ -1,24 +0,0 @@ -
- - - - - -
- - -
-
\ No newline at end of file diff --git a/src/app/theme/components/widgets/widgets.directive.js b/src/app/theme/components/widgets/widgets.directive.js deleted file mode 100644 index 2600602..0000000 --- a/src/app/theme/components/widgets/widgets.directive.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme.components') - .directive('widgets', widgets); - - /** @ngInject */ - function widgets() { - return { - restrict: 'EA', - scope: { - ngModel: '=' - }, - templateUrl: 'app/theme/components/widgets/widgets.html', - replace: true - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/components/widgets/widgets.html b/src/app/theme/components/widgets/widgets.html deleted file mode 100644 index 57d1ff3..0000000 --- a/src/app/theme/components/widgets/widgets.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
-
-
-
-
-
-
-
diff --git a/src/app/theme/directives/animatedChange.js b/src/app/theme/directives/animatedChange.js deleted file mode 100644 index ab6c408..0000000 --- a/src/app/theme/directives/animatedChange.js +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Change top "Daily Downloads", "Active Users" values with animation effect - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .directive('animatedChange', animatedChange); - - /** @ngInject */ - function animatedChange($timeout) { - return { - link: function (scope, element) { - $timeout(function () { - var newValue = element.attr('new-value'); - var oldvalue = parseInt(element.html()); - - function changeValue(val) { - $timeout(function () { - element.html(val); - }, 30); - } - - if (newValue > oldvalue) { - for (var i = oldvalue; i <= newValue; i++) { - changeValue(i); - } - } else { - for (var j = oldvalue; j >= newValue; j--) { - changeValue(j); - } - } - $timeout(function () { - element.next().find('i').addClass('show-arr'); - }, 500); - }, 3500); - } - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/directives/autoExpand.js b/src/app/theme/directives/autoExpand.js deleted file mode 100644 index e7eb21c..0000000 --- a/src/app/theme/directives/autoExpand.js +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Auto expand textarea field - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .directive('autoExpand', autoExpand); - - /** @ngInject */ - function autoExpand() { - return { - restrict: 'A', - link: function ($scope, elem) { - elem.bind('keydown', function ($event) { - var element = $event.target; - $(element).height(0); - var height = $(element)[0].scrollHeight; - height = (height < 16) ? 16 : height; - $(element).height(height); - }); - - // Expand the textarea as soon as it is added to the DOM - setTimeout(function () { - var element = elem; - $(element).height(0); - var height = $(element)[0].scrollHeight; - height = (height < 16) ? 16 : height; - $(element).height(height); - }, 0) - } - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/directives/autoFocus.js b/src/app/theme/directives/autoFocus.js deleted file mode 100644 index 4230d8b..0000000 --- a/src/app/theme/directives/autoFocus.js +++ /dev/null @@ -1,27 +0,0 @@ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .directive('autoFocus', autoFocus); - - /** @ngInject */ - function autoFocus($timeout, $parse) { - return { - link: function (scope, element, attrs) { - var model = $parse(attrs.autoFocus); - scope.$watch(model, function (value) { - if (value === true) { - $timeout(function () { - element[0].focus(); - element[0].select(); - }); - } - }); - element.bind('blur', function () { - scope.$apply(model.assign(scope, false)); - }); - } - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/directives/includeWithScope.js b/src/app/theme/directives/includeWithScope.js deleted file mode 100644 index 4c50f6d..0000000 --- a/src/app/theme/directives/includeWithScope.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .directive('includeWithScope', includeWithScope); - - /** @ngInject */ - function includeWithScope() { - return { - restrict: 'AE', - templateUrl: function(ele, attrs) { - return attrs.includeWithScope; - } - }; - } - -})(); diff --git a/src/app/theme/directives/ionSlider.js b/src/app/theme/directives/ionSlider.js deleted file mode 100644 index e760de4..0000000 --- a/src/app/theme/directives/ionSlider.js +++ /dev/null @@ -1,91 +0,0 @@ -/** - * @author a.demeshko - * created on 22.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .directive('ionSlider', ionSlider); - - /** @ngInject */ - function ionSlider($timeout) { - return { - restrict: 'EA', - template: '
', - replace: true, - scope: { - min: '=', - max: '=', - type: '@', - prefix: '@', - maxPostfix: '@', - prettify: '=', - prettifySeparator: '@', - grid: '=', - gridMargin: '@', - postfix: '@', - step: '@', - hideMinMax: '@', - hideFromTo: '@', - from: '=', - to: '=', - disable: '=', - onChange: '=', - onFinish: '=', - values: '=', - timeout: '@' - }, - link: function ($scope, $element) { - $element.ionRangeSlider({ - min: $scope.min, - max: $scope.max, - type: $scope.type, - prefix: $scope.prefix, - maxPostfix: $scope.maxPostfix, - prettify_enabled: $scope.prettify, - prettify_separator: $scope.prettifySeparator, - grid: $scope.grid, - gridMargin: $scope.gridMargin, - postfix: $scope.postfix, - step: $scope.step, - hideMinMax: $scope.hideMinMax, - hideFromTo: $scope.hideFromTo, - from: $scope.from, - to: $scope.to, - disable: $scope.disable, - onChange: $scope.onChange, - onFinish: $scope.onFinish, - values: $scope.values - }); - - $scope.$watch('min', function (value) { - $timeout(function () { - $element.data("ionRangeSlider").update({min: value}); - }); - }, true); - $scope.$watch('max', function (value) { - $timeout(function () { - $element.data("ionRangeSlider").update({max: value}); - }); - }); - $scope.$watch('from', function (value) { - $timeout(function () { - $element.data("ionRangeSlider").update({from: value}); - }); - }); - $scope.$watch('to', function (value) { - $timeout(function () { - $element.data("ionRangeSlider").update({to: value}); - }); - }); - $scope.$watch('disable', function (value) { - $timeout(function () { - $element.data("ionRangeSlider").update({disable: value}); - }); - }); - } - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/directives/ngFileSelect.js b/src/app/theme/directives/ngFileSelect.js deleted file mode 100644 index a255d60..0000000 --- a/src/app/theme/directives/ngFileSelect.js +++ /dev/null @@ -1,19 +0,0 @@ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .directive('ngFileSelect', ngFileSelect); - - /** @ngInject */ - function ngFileSelect() { - return { - link: function ($scope, el) { - el.bind('change', function (e) { - $scope.file = (e.srcElement || e.target).files[0]; - $scope.getFile(); - }) - } - } - } - -})(); \ No newline at end of file diff --git a/src/app/theme/directives/scrollPosition.js b/src/app/theme/directives/scrollPosition.js deleted file mode 100644 index 8b5bbca..0000000 --- a/src/app/theme/directives/scrollPosition.js +++ /dev/null @@ -1,28 +0,0 @@ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .directive('scrollPosition', scrollPosition); - - /** @ngInject */ - function scrollPosition() { - return { - scope: { - scrollPosition: '=', - maxHeight: '=' - }, - link: function (scope) { - $(window).on('scroll', function() { - var scrollTop = $(window).scrollTop() > scope.maxHeight; - if (scrollTop !== scope.prevScrollTop) { - scope.$apply(function() { - scope.scrollPosition = scrollTop; - }); - } - scope.prevScrollTop = scrollTop; - }); - } - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/directives/trackWidth.js b/src/app/theme/directives/trackWidth.js deleted file mode 100644 index 906d1fc..0000000 --- a/src/app/theme/directives/trackWidth.js +++ /dev/null @@ -1,31 +0,0 @@ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .directive('trackWidth', trackWidth); - - /** @ngInject */ - function trackWidth() { - return { - scope: { - trackWidth: '=', - minWidth: '=', - }, - link: function (scope, element) { - scope.trackWidth = $(element).width() < scope.minWidth; - scope.prevTrackWidth = scope.trackWidth; - - $(window).resize(function() { - var trackWidth = $(element).width() < scope.minWidth; - if (trackWidth !== scope.prevTrackWidth) { - scope.$apply(function() { - scope.trackWidth = trackWidth; - }); - } - scope.prevTrackWidth = trackWidth; - }); - } - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/directives/zoomIn.js b/src/app/theme/directives/zoomIn.js deleted file mode 100644 index 59b78e3..0000000 --- a/src/app/theme/directives/zoomIn.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Animated load block - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .directive('zoomIn', zoomIn); - - /** @ngInject */ - function zoomIn($timeout, $rootScope) { - return { - restrict: 'A', - link: function ($scope, elem) { - var delay = 1000; - - if ($rootScope.$pageFinishedLoading) { - delay = 100; - } - - $timeout(function () { - elem.removeClass('full-invisible'); - elem.addClass('animated zoomIn'); - }, delay); - } - }; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/filters/image/appImage.js b/src/app/theme/filters/image/appImage.js deleted file mode 100644 index 2be558b..0000000 --- a/src/app/theme/filters/image/appImage.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @author v.lugovsky - * created on 17.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .filter('appImage', appImage); - - /** @ngInject */ - function appImage(layoutPaths) { - return function(input) { - return layoutPaths.images.root + input; - }; - } - -})(); diff --git a/src/app/theme/filters/image/kameleonImg.js b/src/app/theme/filters/image/kameleonImg.js deleted file mode 100644 index 5d260bc..0000000 --- a/src/app/theme/filters/image/kameleonImg.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @author v.lugovsky - * created on 17.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .filter('kameleonImg', kameleonImg); - - /** @ngInject */ - function kameleonImg(layoutPaths) { - return function(input) { - return layoutPaths.images.root + 'theme/icon/kameleon/' + input + '.svg'; - }; - } - -})(); diff --git a/src/app/theme/filters/image/profilePicture.js b/src/app/theme/filters/image/profilePicture.js deleted file mode 100644 index 5815e57..0000000 --- a/src/app/theme/filters/image/profilePicture.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @author v.lugovsky - * created on 17.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .filter('profilePicture', profilePicture); - - /** @ngInject */ - function profilePicture(layoutPaths) { - return function(input, ext) { - ext = ext || 'png'; - return layoutPaths.images.profile + input + '.' + ext; - }; - } - -})(); diff --git a/src/app/theme/filters/text/removeHtml.js b/src/app/theme/filters/text/removeHtml.js deleted file mode 100644 index 5d7cc86..0000000 --- a/src/app/theme/filters/text/removeHtml.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @author a.demeshko - * created on 23.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .filter('plainText', plainText); - - /** @ngInject */ - function plainText() { - return function(text) { - return text ? String(text).replace(/<[^>]+>/gm, '') : ''; - }; - } - -})(); diff --git a/src/app/theme/services/baUtil.js b/src/app/theme/services/baUtil.js deleted file mode 100644 index 146a4cd..0000000 --- a/src/app/theme/services/baUtil.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @author v.lugovsky - * created on 03.05.2016 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .service('baUtil', baUtil); - - /** @ngInject */ - function baUtil() { - - this.isDescendant = function(parent, child) { - var node = child.parentNode; - while (node != null) { - if (node == parent) { - return true; - } - node = node.parentNode; - } - return false; - }; - - } - -})(); diff --git a/src/app/theme/services/fileReader.js b/src/app/theme/services/fileReader.js deleted file mode 100644 index 9882c52..0000000 --- a/src/app/theme/services/fileReader.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .service('fileReader', fileReader); - - /** @ngInject */ - function fileReader($q) { - var onLoad = function(reader, deferred, scope) { - return function () { - scope.$apply(function () { - deferred.resolve(reader.result); - }); - }; - }; - - var onError = function (reader, deferred, scope) { - return function () { - scope.$apply(function () { - deferred.reject(reader.result); - }); - }; - }; - - var onProgress = function(reader, scope) { - return function (event) { - scope.$broadcast('fileProgress', - { - total: event.total, - loaded: event.loaded - }); - }; - }; - - var getReader = function(deferred, scope) { - var reader = new FileReader(); - reader.onload = onLoad(reader, deferred, scope); - reader.onerror = onError(reader, deferred, scope); - reader.onprogress = onProgress(reader, scope); - return reader; - }; - - var readAsDataURL = function (file, scope) { - var deferred = $q.defer(); - - var reader = getReader(deferred, scope); - reader.readAsDataURL(file); - - return deferred.promise; - }; - - return { - readAsDataUrl: readAsDataURL - }; - } -})(); \ No newline at end of file diff --git a/src/app/theme/services/preloader.js b/src/app/theme/services/preloader.js deleted file mode 100644 index 9060e88..0000000 --- a/src/app/theme/services/preloader.js +++ /dev/null @@ -1,33 +0,0 @@ -/** - * @author a.demeshko - * created on 3/1/16 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .service('preloader', preloader); - - /** @ngInject */ - function preloader($q) { - return { - loadImg: function (src) { - var d = $q.defer(); - var img = new Image(); - img.src = src; - img.onload = function(){ - d.resolve(); - }; - return d.promise; - }, - loadAmCharts : function(){ - var d = $q.defer(); - AmCharts.ready(function(){ - d.resolve(); - }); - return d.promise; - } - } - } - -})(); \ No newline at end of file diff --git a/src/app/theme/services/stopableInterval.js b/src/app/theme/services/stopableInterval.js deleted file mode 100644 index 0c78733..0000000 --- a/src/app/theme/services/stopableInterval.js +++ /dev/null @@ -1,33 +0,0 @@ -/** - * @author a.demeshko - * created on 12/21/15 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .service('stopableInterval', stopableInterval); - - /** @ngInject */ - function stopableInterval($window) { - return { - start: function (interval, calback, time) { - function startInterval() { - return interval(calback, time); - } - - var i = startInterval(); - - angular.element($window).bind('focus', function () { - if (i) interval.cancel(i); - i = startInterval(); - }); - - angular.element($window).bind('blur', function () { - if (i) interval.cancel(i); - }); - } - } - } - -})(); \ No newline at end of file diff --git a/src/app/theme/theme.constants.js b/src/app/theme/theme.constants.js deleted file mode 100644 index b248842..0000000 --- a/src/app/theme/theme.constants.js +++ /dev/null @@ -1,112 +0,0 @@ -/** - * @author v.lugovsky - * created on 15.12.2015 - */ -(function () { - 'use strict'; - - var IMAGES_ROOT = 'assets/img/'; - - // main color scheme - var colorScheme = { - primary: '#209e91', - info: '#2dacd1', - success: '#90b900', - warning: '#dfb81c', - danger: '#e85656', - }; - - // background color palette - var bgColorPalette = { - blueStone: '#005562', - surfieGreen: '#0e8174', - silverTree: '#6eba8c', - gossip: '#b9f2a1', - white: '#ffffff', - }; - - angular.module('BlurAdmin.theme') - .constant('layoutColors', { - primary: colorScheme.primary, - info: colorScheme.info, - success: colorScheme.success, - warning: colorScheme.warning, - danger: colorScheme.danger, - - primaryLight: tint(colorScheme.primary, 30), - infoLight: tint(colorScheme.info, 30), - successLight: tint(colorScheme.success, 30), - warningLight: tint(colorScheme.warning, 30), - dangerLight: tint(colorScheme.danger, 30), - - primaryDark: shade(colorScheme.primary, 15), - infoDark: shade(colorScheme.info, 15), - successDark: shade(colorScheme.success, 15), - warningDark: shade(colorScheme.warning, 15), - dangerDark: shade(colorScheme.danger, 15), - - primaryBg: tint(colorScheme.primary, 20), - infoBg: tint(colorScheme.info, 20), - successBg: tint(colorScheme.success, 20), - warningBg: tint(colorScheme.warning, 20), - dangerBg: tint(colorScheme.danger, 20), - - default: '#ffffff', - defaultText: '#ffffff', - - bgColorPalette: { - blueStone: bgColorPalette.blueStone, - surfieGreen: bgColorPalette.surfieGreen, - silverTree: bgColorPalette.silverTree, - gossip: bgColorPalette.gossip, - white: bgColorPalette.white, - - blueStoneDark: shade(bgColorPalette.blueStone, 15), - surfieGreenDark: shade(bgColorPalette.surfieGreen, 15), - silverTreeDark: shade(bgColorPalette.silverTree, 15), - gossipDark: shade(bgColorPalette.gossip, 15), - whiteDark: shade(bgColorPalette.white, 5), - }, - }) - .constant('layoutSizes', { - resWidthCollapseSidebar: 1200, - resWidthHideSidebar: 500 - }) - .constant('layoutPaths', { - images: { - root: IMAGES_ROOT, - profile: IMAGES_ROOT + 'app/profile/', - amMap: 'assets/img/theme/vendor/ammap//dist/ammap/images/', - amChart: 'assets/img/theme/vendor/amcharts/dist/amcharts/images/' - } - }); - - function shade(color, weight) { - return mix('#000000', color, weight); - } - - function tint(color, weight) { - return mix('#ffffff', color, weight); - } - - //SASS mix function - function mix(color1, color2, weight) { - // convert a decimal value to hex - function d2h(d) { - return d.toString(16); - } - // convert a hex value to decimal - function h2d(h) { - return parseInt(h, 16); - } - - var result = "#"; - for(var i = 1; i < 7; i += 2) { - var color1Part = h2d(color1.substr(i, 2)); - var color2Part = h2d(color2.substr(i, 2)); - var resultPart = d2h(Math.floor(color2Part + (color1Part - color2Part) * (weight / 100.0))); - result += ('0' + resultPart).slice(-2); - } - return result; - } -})(); diff --git a/src/app/theme/theme.module.js b/src/app/theme/theme.module.js deleted file mode 100644 index adf34ba..0000000 --- a/src/app/theme/theme.module.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @author v.lugovsky - * created on 15.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme', [ - 'toastr', - 'chart.js', - 'angular-chartist', - 'angular.morris-chart', - 'textAngular', - 'BlurAdmin.theme.components' - ]); - -})(); diff --git a/src/app/theme/theme.run.js b/src/app/theme/theme.run.js deleted file mode 100644 index 3e12cf7..0000000 --- a/src/app/theme/theme.run.js +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @author v.lugovksy - * created on 15.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .run(themeRun); - - /** @ngInject */ - function themeRun($timeout, $rootScope, layoutSizes, layoutPaths, preloader, $q, baSidebarService) { - - $rootScope.$isMobile = (/android|webos|iphone|ipad|ipod|blackberry|windows phone/).test(navigator.userAgent.toLowerCase()); - var whatToWait = [ - preloader.loadAmCharts(), - $timeout(3000) - ]; - - if ($rootScope.$isMobile) { - whatToWait.unshift(preloader.loadImg(layoutPaths.images.root + 'blur-bg-mobile.jpg')); - } else { - whatToWait.unshift(preloader.loadImg(layoutPaths.images.root + 'blur-bg.jpg')); - whatToWait.unshift(preloader.loadImg(layoutPaths.images.root + 'blur-bg-blurred.jpg')); - } - - $q.all(whatToWait).then(function () { - $rootScope.$pageFinishedLoading = true; - }); - - $timeout(function () { - if (!$rootScope.$pageFinishedLoading) { - $rootScope.$pageFinishedLoading = true; - } - }, 7000); - - $rootScope.$baSidebarService = baSidebarService; - } - -})(); \ No newline at end of file diff --git a/src/app/theme/toastrLibConfig.js b/src/app/theme/toastrLibConfig.js deleted file mode 100644 index 94593b1..0000000 --- a/src/app/theme/toastrLibConfig.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @author v.lugovksy - * created on 15.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.theme') - .config(toastrLibConfig); - - /** @ngInject */ - function toastrLibConfig(toastrConfig) { - angular.extend(toastrConfig, { - closeButton: true, - closeHtml: '', - timeOut: 5000, - autoDismiss: false, - containerId: 'toast-container', - maxOpened: 0, - newestOnTop: true, - positionClass: 'toast-top-right', - preventDuplicates: false, - preventOpenDuplicates: false, - target: 'body' - }); - } -})(); \ No newline at end of file diff --git a/src/app/tplSkin/tplSkin.constants.js b/src/app/tplSkin/tplSkin.constants.js deleted file mode 100644 index 6c71364..0000000 --- a/src/app/tplSkin/tplSkin.constants.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * @author v.lugovsky - * created on 18.11.2015 - */ -(function() { - 'use strict'; - - var SKIN_CLASS_PREFIX = 'badmin'; - - var ADMIN_STYLES = [ - { - name: 'Transparent (beta)', - bodyClass: SKIN_CLASS_PREFIX + '-transparent', - panelType: "panel-blur", - thumbnailUrl: 'assets/img/app/skin-thumbnails/02_transparent.jpg', - chartColorProfile: 'transparent' - }, - { - name: 'Default', - bodyClass: '', - thumbnailUrl: 'assets/img/app/skin-thumbnails/01_default.jpg', - panelType: "panel-white", - chartColorProfile: 'whitePanel' - }, - { - name: 'Peachy', - bodyClass: SKIN_CLASS_PREFIX + '-peachy', - thumbnailUrl: 'assets/img/app/skin-thumbnails/04_peachy.jpg', - panelType: "panel-white", - chartColorProfile: 'whitePanel' - }, - { - name: 'Blue', - bodyClass: SKIN_CLASS_PREFIX + '-blue', - thumbnailUrl: 'assets/img/app/skin-thumbnails/03_blue.jpg', - panelType: "panel-white", - chartColorProfile: 'whitePanel' - }, - { - name: 'Material', - bodyClass: SKIN_CLASS_PREFIX + '-material', - thumbnailUrl: 'assets/img/app/skin-thumbnails/05_material.jpg', - panelType: "panel-white", - chartColorProfile: 'whitePanel' - }, - { - name: 'Transblue (beta)', - bodyClass: SKIN_CLASS_PREFIX + '-transblue', - panelType: "panel-blur", - thumbnailUrl: 'assets/img/app/skin-thumbnails/06_transblue.jpg', - chartColorProfile: 'transparent' - } - ]; - - var SKIN_CHART_COLORS = { - whitePanel: { - fontColors: undefined, - axisColors: '#7b7b7b' - }, - transparent: { - fontColors: '#FFFFFF', - axisColors: '#FFFFFF' - } - }; - - angular.module('BlurAdmin.tplSkin') - .constant('tplSkinClassPrefix', SKIN_CLASS_PREFIX) - .constant('tplSkinEnum', ADMIN_STYLES) - .constant('tplSkinChartColors', SKIN_CHART_COLORS); - -})(); diff --git a/src/app/tplSkin/tplSkin.module.js b/src/app/tplSkin/tplSkin.module.js deleted file mode 100644 index fe48b37..0000000 --- a/src/app/tplSkin/tplSkin.module.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -/** - * @author v.lugovsky - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.tplSkin', []); - -})(); diff --git a/src/app/tplSkin/tplSkinChartWatcherHelper.service.js b/src/app/tplSkin/tplSkinChartWatcherHelper.service.js deleted file mode 100644 index 40e5e9d..0000000 --- a/src/app/tplSkin/tplSkinChartWatcherHelper.service.js +++ /dev/null @@ -1,67 +0,0 @@ -/** - * @author v.lugovsky - * created on 27.11.2015 - */ -(function() { - 'use strict'; - - angular.module('BlurAdmin.tplSkin') - .service('tplSkinChartWatcherHelper', tplSkinChartWatcherHelper); - - tplSkinChartWatcherHelper.$inject = ['tplSkinManager']; - function tplSkinChartWatcherHelper(tplSkinManager) { - - this.watchAxisChartStyleChanges = function(scope, chart) { - _doUpdateStyles(); - scope.$on('tplSkinChanged', _doUpdateStyles); - - function _doUpdateStyles() { - var chartColorProfile = tplSkinManager.getChartColorProfile(); - chart.color = chartColorProfile.fontColors; - chart.categoryAxis.color = chartColorProfile.fontColors; - chart.categoryAxis.axisColor = chartColorProfile.axisColors; - chart.valueAxes[0].color = chartColorProfile.fontColors; - chart.valueAxes[0].axisColor = chartColorProfile.axisColors; - chart.validateNow(); - } - }; - - this.watchChartColorChanges = function(scope, chart) { - _doUpdateStyles(); - scope.$on('tplSkinChanged', _doUpdateStyles); - - function _doUpdateStyles() { - var chartColorProfile = tplSkinManager.getChartColorProfile(); - chart.color = chartColorProfile.fontColors; - chart.validateNow(); - } - }; - - this.watchDonutChanges = function(scope, chart) { - _doUpdateStyles(); - scope.$on('tplSkinChanged', _doUpdateStyles); - - function _doUpdateStyles() { - var chartColorProfile = tplSkinManager.getChartColorProfile(); - chart.color = chartColorProfile.fontColors; - chart.legend.color = chartColorProfile.fontColors; - chart.labelTickColor = chartColorProfile.axisColors; - chart.validateNow(); - } - }; - - this.watchFunnelChanges = function(scope, chart) { - _doUpdateStyles(); - scope.$on('tplSkinChanged', _doUpdateStyles); - - function _doUpdateStyles() { - var chartColorProfile = tplSkinManager.getChartColorProfile(); - chart.color = chartColorProfile.fontColors; - chart.labelTickColor = chartColorProfile.axisColors; - chart.validateNow(); - } - }; - - } - -})(); diff --git a/src/app/tplSkin/tplSkinManager.service.js b/src/app/tplSkin/tplSkinManager.service.js deleted file mode 100644 index 74f1dec..0000000 --- a/src/app/tplSkin/tplSkinManager.service.js +++ /dev/null @@ -1,50 +0,0 @@ -/** - * @author v.lugovsky - * created on 18.11.2015 - */ -(function() { - 'use strict'; - - angular.module('BlurAdmin.tplSkin') - .service('tplSkinManager', tplSkinManager); - - tplSkinManager.$inject = ['$rootScope', '$document', 'tplSkinClassPrefix', 'tplSkinChartColors', 'tplSkinEnum']; - function tplSkinManager($rootScope, $document, tplSkinClassPrefix, tplSkinChartColors, tplSkinEnum) { - - var activeSkin = tplSkinEnum[0]; - - this.setActiveSkin = function(skin) { - activeSkin = skin; - if (activeSkin) { - _removeSkinBodyClassIfPresent(); - _addSkinBodyClass(activeSkin); - $rootScope.$broadcast('tplSkinChanged'); - } - }; - - this.getActiveSkin = function(){ - return activeSkin; - }; - - this.getChartColorProfile = function() { - return tplSkinChartColors[activeSkin.chartColorProfile]; - }; - - function _removeSkinBodyClassIfPresent() { - var body = $document[0].body; - var $body = angular.element(body); - body.className.split(/\s+/).forEach(function(className) { - if (className.indexOf(tplSkinClassPrefix) === 0) { - $body.removeClass(className); - } - }); - } - - function _addSkinBodyClass(skin) { - angular.element($document[0].body).addClass(skin.bodyClass); - } - - this.setActiveSkin(activeSkin); - } - -})(); diff --git a/src/app/tplSkin/tplSkinPanel.directive.js b/src/app/tplSkin/tplSkinPanel.directive.js deleted file mode 100644 index 961e79d..0000000 --- a/src/app/tplSkin/tplSkinPanel.directive.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @author v.lugovsky - * created on 18.11.2015 - */ -(function() { - 'use strict'; - - angular.module('BlurAdmin.tplSkin') - .directive('tplSkinPanel', tplSkinPanel); - - tplSkinPanel.$inject = ['tplSkinEnum', 'tplSkinManager']; - function tplSkinPanel(tplSkinEnum, tplSkinManager) { - return { - templateUrl: 'app/tplSkin/tplSkinPanel.html', - link: function(scope) { - scope.skins = tplSkinEnum; - - scope.setActiveSkin = function(option) { - tplSkinManager.setActiveSkin(option); - }; - } - }; - } - -})(); diff --git a/src/app/tplSkin/tplSkinPanel.html b/src/app/tplSkin/tplSkinPanel.html deleted file mode 100644 index 76906f8..0000000 --- a/src/app/tplSkin/tplSkinPanel.html +++ /dev/null @@ -1,10 +0,0 @@ -
-
-
-
- -
-
-
-
-
\ No newline at end of file diff --git a/src/assets/fonts/socicon.eot b/src/assets/fonts/socicon.eot deleted file mode 100644 index 3ad3224..0000000 Binary files a/src/assets/fonts/socicon.eot and /dev/null differ diff --git a/src/assets/fonts/socicon.svg b/src/assets/fonts/socicon.svg deleted file mode 100644 index 32477bf..0000000 --- a/src/assets/fonts/socicon.svg +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/assets/fonts/socicon.ttf b/src/assets/fonts/socicon.ttf deleted file mode 100644 index ddb4de4..0000000 Binary files a/src/assets/fonts/socicon.ttf and /dev/null differ diff --git a/src/assets/fonts/socicon.woff b/src/assets/fonts/socicon.woff deleted file mode 100644 index b70b233..0000000 Binary files a/src/assets/fonts/socicon.woff and /dev/null differ diff --git a/src/assets/fonts/socicon.woff2 b/src/assets/fonts/socicon.woff2 deleted file mode 100644 index 84a6921..0000000 Binary files a/src/assets/fonts/socicon.woff2 and /dev/null differ diff --git a/src/assets/img/app/browsers/chrome.svg b/src/assets/img/app/browsers/chrome.svg deleted file mode 100644 index f71c2e3..0000000 --- a/src/assets/img/app/browsers/chrome.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/img/app/browsers/firefox.svg b/src/assets/img/app/browsers/firefox.svg deleted file mode 100644 index 610d7a2..0000000 --- a/src/assets/img/app/browsers/firefox.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/img/app/browsers/ie.svg b/src/assets/img/app/browsers/ie.svg deleted file mode 100644 index 48e34f0..0000000 --- a/src/assets/img/app/browsers/ie.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/img/app/browsers/opera.svg b/src/assets/img/app/browsers/opera.svg deleted file mode 100644 index 57d4347..0000000 --- a/src/assets/img/app/browsers/opera.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/img/app/browsers/safari.svg b/src/assets/img/app/browsers/safari.svg deleted file mode 100644 index 255d949..0000000 --- a/src/assets/img/app/browsers/safari.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/img/app/feed/genom.png b/src/assets/img/app/feed/genom.png deleted file mode 100644 index 9dbfa2d..0000000 Binary files a/src/assets/img/app/feed/genom.png and /dev/null differ diff --git a/src/assets/img/app/feed/my-little-kitten.png b/src/assets/img/app/feed/my-little-kitten.png deleted file mode 100644 index 8f51f61..0000000 Binary files a/src/assets/img/app/feed/my-little-kitten.png and /dev/null differ diff --git a/src/assets/img/app/feed/new-york-location.png b/src/assets/img/app/feed/new-york-location.png deleted file mode 100644 index c7328b2..0000000 Binary files a/src/assets/img/app/feed/new-york-location.png and /dev/null differ diff --git a/src/assets/img/app/feed/vader-and-me-preview.png b/src/assets/img/app/feed/vader-and-me-preview.png deleted file mode 100644 index 1363b1e..0000000 Binary files a/src/assets/img/app/feed/vader-and-me-preview.png and /dev/null differ diff --git a/src/assets/img/app/my-app-logo.png b/src/assets/img/app/my-app-logo.png deleted file mode 100644 index 1330932..0000000 Binary files a/src/assets/img/app/my-app-logo.png and /dev/null differ diff --git a/src/assets/img/app/profile/Alexander.png b/src/assets/img/app/profile/Alexander.png deleted file mode 100644 index 79195b7..0000000 Binary files a/src/assets/img/app/profile/Alexander.png and /dev/null differ diff --git a/src/assets/img/app/profile/Andrey.png b/src/assets/img/app/profile/Andrey.png deleted file mode 100644 index f6a676d..0000000 Binary files a/src/assets/img/app/profile/Andrey.png and /dev/null differ diff --git a/src/assets/img/app/profile/Kostya.png b/src/assets/img/app/profile/Kostya.png deleted file mode 100644 index 81cf48a..0000000 Binary files a/src/assets/img/app/profile/Kostya.png and /dev/null differ diff --git a/src/assets/img/app/profile/Nasta.png b/src/assets/img/app/profile/Nasta.png deleted file mode 100644 index 6bf829a..0000000 Binary files a/src/assets/img/app/profile/Nasta.png and /dev/null differ diff --git a/src/assets/img/app/profile/Nick.png b/src/assets/img/app/profile/Nick.png deleted file mode 100644 index 2254df8..0000000 Binary files a/src/assets/img/app/profile/Nick.png and /dev/null differ diff --git a/src/assets/img/app/profile/Vlad.png b/src/assets/img/app/profile/Vlad.png deleted file mode 100644 index 9f1cde6..0000000 Binary files a/src/assets/img/app/profile/Vlad.png and /dev/null differ diff --git a/src/assets/img/app/skin-thumbnails/01_default.jpg b/src/assets/img/app/skin-thumbnails/01_default.jpg deleted file mode 100644 index 67bb1a8..0000000 Binary files a/src/assets/img/app/skin-thumbnails/01_default.jpg and /dev/null differ diff --git a/src/assets/img/app/skin-thumbnails/02_transparent.jpg b/src/assets/img/app/skin-thumbnails/02_transparent.jpg deleted file mode 100644 index bf253ad..0000000 Binary files a/src/assets/img/app/skin-thumbnails/02_transparent.jpg and /dev/null differ diff --git a/src/assets/img/app/skin-thumbnails/03_blue.jpg b/src/assets/img/app/skin-thumbnails/03_blue.jpg deleted file mode 100644 index 1a16f0e..0000000 Binary files a/src/assets/img/app/skin-thumbnails/03_blue.jpg and /dev/null differ diff --git a/src/assets/img/app/skin-thumbnails/04_peachy.jpg b/src/assets/img/app/skin-thumbnails/04_peachy.jpg deleted file mode 100644 index 004f409..0000000 Binary files a/src/assets/img/app/skin-thumbnails/04_peachy.jpg and /dev/null differ diff --git a/src/assets/img/app/skin-thumbnails/05_material.jpg b/src/assets/img/app/skin-thumbnails/05_material.jpg deleted file mode 100644 index cb9d6f4..0000000 Binary files a/src/assets/img/app/skin-thumbnails/05_material.jpg and /dev/null differ diff --git a/src/assets/img/app/skin-thumbnails/06_transblue.jpg b/src/assets/img/app/skin-thumbnails/06_transblue.jpg deleted file mode 100644 index 355c260..0000000 Binary files a/src/assets/img/app/skin-thumbnails/06_transblue.jpg and /dev/null differ diff --git a/src/assets/img/app/todo/check-icon.png b/src/assets/img/app/todo/check-icon.png deleted file mode 100644 index 93f870a..0000000 Binary files a/src/assets/img/app/todo/check-icon.png and /dev/null differ diff --git a/src/assets/img/app/typography/banner.png b/src/assets/img/app/typography/banner.png deleted file mode 100644 index f49b8f4..0000000 Binary files a/src/assets/img/app/typography/banner.png and /dev/null differ diff --git a/src/assets/img/app/typography/typo01.png b/src/assets/img/app/typography/typo01.png deleted file mode 100644 index a8a471c..0000000 Binary files a/src/assets/img/app/typography/typo01.png and /dev/null differ diff --git a/src/assets/img/app/typography/typo03.png b/src/assets/img/app/typography/typo03.png deleted file mode 100644 index f8d12f0..0000000 Binary files a/src/assets/img/app/typography/typo03.png and /dev/null differ diff --git a/src/assets/img/app/typography/typo04.png b/src/assets/img/app/typography/typo04.png deleted file mode 100644 index db911d5..0000000 Binary files a/src/assets/img/app/typography/typo04.png and /dev/null differ diff --git a/src/assets/img/app/typography/typo05.png b/src/assets/img/app/typography/typo05.png deleted file mode 100644 index 65d53b2..0000000 Binary files a/src/assets/img/app/typography/typo05.png and /dev/null differ diff --git a/src/assets/img/app/typography/typo06.png b/src/assets/img/app/typography/typo06.png deleted file mode 100644 index 7c57f03..0000000 Binary files a/src/assets/img/app/typography/typo06.png and /dev/null differ diff --git a/src/assets/img/app/typography/typo07.png b/src/assets/img/app/typography/typo07.png deleted file mode 100644 index 1c17493..0000000 Binary files a/src/assets/img/app/typography/typo07.png and /dev/null differ diff --git a/src/assets/img/arrow-green-up.svg b/src/assets/img/arrow-green-up.svg deleted file mode 100644 index 8432c6d..0000000 --- a/src/assets/img/arrow-green-up.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/src/assets/img/arrow-red-down.svg b/src/assets/img/arrow-red-down.svg deleted file mode 100644 index 3afde83..0000000 --- a/src/assets/img/arrow-red-down.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/src/assets/img/blue-bg.jpg b/src/assets/img/blue-bg.jpg deleted file mode 100644 index 56596da..0000000 Binary files a/src/assets/img/blue-bg.jpg and /dev/null differ diff --git a/src/assets/img/blur-bg-blurred.jpg b/src/assets/img/blur-bg-blurred.jpg deleted file mode 100644 index 6b18f34..0000000 Binary files a/src/assets/img/blur-bg-blurred.jpg and /dev/null differ diff --git a/src/assets/img/blur-bg-mobile.jpg b/src/assets/img/blur-bg-mobile.jpg deleted file mode 100644 index 4803a45..0000000 Binary files a/src/assets/img/blur-bg-mobile.jpg and /dev/null differ diff --git a/src/assets/img/blur-bg.jpg b/src/assets/img/blur-bg.jpg deleted file mode 100644 index 3f557e8..0000000 Binary files a/src/assets/img/blur-bg.jpg and /dev/null differ diff --git a/src/assets/img/chernika.png b/src/assets/img/chernika.png deleted file mode 100644 index e852950..0000000 Binary files a/src/assets/img/chernika.png and /dev/null differ diff --git a/src/assets/img/comments.svg b/src/assets/img/comments.svg deleted file mode 100644 index 1b25401..0000000 --- a/src/assets/img/comments.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/face.svg b/src/assets/img/face.svg deleted file mode 100644 index 2ec4c5b..0000000 --- a/src/assets/img/face.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/assets/img/favicon-16x16.png b/src/assets/img/favicon-16x16.png deleted file mode 100644 index b67bf86..0000000 Binary files a/src/assets/img/favicon-16x16.png and /dev/null differ diff --git a/src/assets/img/favicon-32x32.png b/src/assets/img/favicon-32x32.png deleted file mode 100644 index e2ea43c..0000000 Binary files a/src/assets/img/favicon-32x32.png and /dev/null differ diff --git a/src/assets/img/favicon-96x96.png b/src/assets/img/favicon-96x96.png deleted file mode 100644 index 06f2343..0000000 Binary files a/src/assets/img/favicon-96x96.png and /dev/null differ diff --git a/src/assets/img/green-bg.jpg b/src/assets/img/green-bg.jpg deleted file mode 100644 index 6664eed..0000000 Binary files a/src/assets/img/green-bg.jpg and /dev/null differ diff --git a/src/assets/img/money.svg b/src/assets/img/money.svg deleted file mode 100644 index a7b3121..0000000 --- a/src/assets/img/money.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/assets/img/peachy-bg.jpg b/src/assets/img/peachy-bg.jpg deleted file mode 100644 index ea23b47..0000000 Binary files a/src/assets/img/peachy-bg.jpg and /dev/null differ diff --git a/src/assets/img/person.svg b/src/assets/img/person.svg deleted file mode 100644 index 655bfc2..0000000 --- a/src/assets/img/person.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/assets/img/refresh.svg b/src/assets/img/refresh.svg deleted file mode 100644 index 6c83402..0000000 --- a/src/assets/img/refresh.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/assets/img/shopping-cart.svg b/src/assets/img/shopping-cart.svg deleted file mode 100644 index 2ffe9c0..0000000 --- a/src/assets/img/shopping-cart.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/feed/feed-image.svg b/src/assets/img/theme/icon/feed/feed-image.svg deleted file mode 100644 index 5bb98bc..0000000 --- a/src/assets/img/theme/icon/feed/feed-image.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/feed/feed-location.svg b/src/assets/img/theme/icon/feed/feed-location.svg deleted file mode 100644 index 226f4c1..0000000 --- a/src/assets/img/theme/icon/feed/feed-location.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - diff --git a/src/assets/img/theme/icon/feed/feed-video.svg b/src/assets/img/theme/icon/feed/feed-video.svg deleted file mode 100644 index 0e78d4b..0000000 --- a/src/assets/img/theme/icon/feed/feed-video.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Alien.svg b/src/assets/img/theme/icon/kameleon/Alien.svg deleted file mode 100644 index f9a3ef0..0000000 --- a/src/assets/img/theme/icon/kameleon/Alien.svg +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Analytics.svg b/src/assets/img/theme/icon/kameleon/Analytics.svg deleted file mode 100644 index 112436f..0000000 --- a/src/assets/img/theme/icon/kameleon/Analytics.svg +++ /dev/null @@ -1,662 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Apartment.svg b/src/assets/img/theme/icon/kameleon/Apartment.svg deleted file mode 100644 index a3b4c9d..0000000 --- a/src/assets/img/theme/icon/kameleon/Apartment.svg +++ /dev/null @@ -1,982 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Batman.svg b/src/assets/img/theme/icon/kameleon/Batman.svg deleted file mode 100644 index a53ac6c..0000000 --- a/src/assets/img/theme/icon/kameleon/Batman.svg +++ /dev/null @@ -1,415 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Beach.svg b/src/assets/img/theme/icon/kameleon/Beach.svg deleted file mode 100644 index 9321c4f..0000000 --- a/src/assets/img/theme/icon/kameleon/Beach.svg +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Bell.svg b/src/assets/img/theme/icon/kameleon/Bell.svg deleted file mode 100644 index 14e4c62..0000000 --- a/src/assets/img/theme/icon/kameleon/Bell.svg +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Bonsai.svg b/src/assets/img/theme/icon/kameleon/Bonsai.svg deleted file mode 100644 index 337c524..0000000 --- a/src/assets/img/theme/icon/kameleon/Bonsai.svg +++ /dev/null @@ -1,494 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Boss-3.svg b/src/assets/img/theme/icon/kameleon/Boss-3.svg deleted file mode 100644 index ac95810..0000000 --- a/src/assets/img/theme/icon/kameleon/Boss-3.svg +++ /dev/null @@ -1,622 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Boss-5.svg b/src/assets/img/theme/icon/kameleon/Boss-5.svg deleted file mode 100644 index d842504..0000000 --- a/src/assets/img/theme/icon/kameleon/Boss-5.svg +++ /dev/null @@ -1,501 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Burglar.svg b/src/assets/img/theme/icon/kameleon/Burglar.svg deleted file mode 100644 index 63e7b2e..0000000 --- a/src/assets/img/theme/icon/kameleon/Burglar.svg +++ /dev/null @@ -1,374 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Bus.svg b/src/assets/img/theme/icon/kameleon/Bus.svg deleted file mode 100644 index 55a0372..0000000 --- a/src/assets/img/theme/icon/kameleon/Bus.svg +++ /dev/null @@ -1,675 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Candy.svg b/src/assets/img/theme/icon/kameleon/Candy.svg deleted file mode 100644 index 7f4693d..0000000 --- a/src/assets/img/theme/icon/kameleon/Candy.svg +++ /dev/null @@ -1,453 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Checklist.svg b/src/assets/img/theme/icon/kameleon/Checklist.svg deleted file mode 100644 index ed2edb3..0000000 --- a/src/assets/img/theme/icon/kameleon/Checklist.svg +++ /dev/null @@ -1,782 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Cheese.svg b/src/assets/img/theme/icon/kameleon/Cheese.svg deleted file mode 100644 index 21cfc8e..0000000 --- a/src/assets/img/theme/icon/kameleon/Cheese.svg +++ /dev/null @@ -1,463 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Chessboard.svg b/src/assets/img/theme/icon/kameleon/Chessboard.svg deleted file mode 100644 index b4309c3..0000000 --- a/src/assets/img/theme/icon/kameleon/Chessboard.svg +++ /dev/null @@ -1,545 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Clipboard-Plan.svg b/src/assets/img/theme/icon/kameleon/Clipboard-Plan.svg deleted file mode 100644 index 80383ac..0000000 --- a/src/assets/img/theme/icon/kameleon/Clipboard-Plan.svg +++ /dev/null @@ -1,368 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Desert.svg b/src/assets/img/theme/icon/kameleon/Desert.svg deleted file mode 100644 index 0f0a98b..0000000 --- a/src/assets/img/theme/icon/kameleon/Desert.svg +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Dna.svg b/src/assets/img/theme/icon/kameleon/Dna.svg deleted file mode 100644 index d14cc73..0000000 --- a/src/assets/img/theme/icon/kameleon/Dna.svg +++ /dev/null @@ -1,689 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Euro-Coin.svg b/src/assets/img/theme/icon/kameleon/Euro-Coin.svg deleted file mode 100644 index 5d0d09c..0000000 --- a/src/assets/img/theme/icon/kameleon/Euro-Coin.svg +++ /dev/null @@ -1,340 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Food-Dome.svg b/src/assets/img/theme/icon/kameleon/Food-Dome.svg deleted file mode 100644 index de32e0d..0000000 --- a/src/assets/img/theme/icon/kameleon/Food-Dome.svg +++ /dev/null @@ -1,375 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Hacker.svg b/src/assets/img/theme/icon/kameleon/Hacker.svg deleted file mode 100644 index cd563c8..0000000 --- a/src/assets/img/theme/icon/kameleon/Hacker.svg +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Images.svg b/src/assets/img/theme/icon/kameleon/Images.svg deleted file mode 100644 index 01dc6a4..0000000 --- a/src/assets/img/theme/icon/kameleon/Images.svg +++ /dev/null @@ -1,353 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Key.svg b/src/assets/img/theme/icon/kameleon/Key.svg deleted file mode 100644 index b4a7a3c..0000000 --- a/src/assets/img/theme/icon/kameleon/Key.svg +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Laptop-Signal.svg b/src/assets/img/theme/icon/kameleon/Laptop-Signal.svg deleted file mode 100644 index d602bca..0000000 --- a/src/assets/img/theme/icon/kameleon/Laptop-Signal.svg +++ /dev/null @@ -1,330 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Locked-Cloud.svg b/src/assets/img/theme/icon/kameleon/Locked-Cloud.svg deleted file mode 100644 index 62b7a87..0000000 --- a/src/assets/img/theme/icon/kameleon/Locked-Cloud.svg +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Love-Letter.svg b/src/assets/img/theme/icon/kameleon/Love-Letter.svg deleted file mode 100644 index b6fc696..0000000 --- a/src/assets/img/theme/icon/kameleon/Love-Letter.svg +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Magician.svg b/src/assets/img/theme/icon/kameleon/Magician.svg deleted file mode 100644 index 0f059c1..0000000 --- a/src/assets/img/theme/icon/kameleon/Magician.svg +++ /dev/null @@ -1,713 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Makeup.svg b/src/assets/img/theme/icon/kameleon/Makeup.svg deleted file mode 100644 index c8c106e..0000000 --- a/src/assets/img/theme/icon/kameleon/Makeup.svg +++ /dev/null @@ -1,815 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Medal-2.svg b/src/assets/img/theme/icon/kameleon/Medal-2.svg deleted file mode 100644 index ba81c06..0000000 --- a/src/assets/img/theme/icon/kameleon/Medal-2.svg +++ /dev/null @@ -1,580 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Microscope.svg b/src/assets/img/theme/icon/kameleon/Microscope.svg deleted file mode 100644 index c1d30ff..0000000 --- a/src/assets/img/theme/icon/kameleon/Microscope.svg +++ /dev/null @@ -1,415 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Mind-Map-Paper.svg b/src/assets/img/theme/icon/kameleon/Mind-Map-Paper.svg deleted file mode 100644 index 21dd511..0000000 --- a/src/assets/img/theme/icon/kameleon/Mind-Map-Paper.svg +++ /dev/null @@ -1,736 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Money-Increase.svg b/src/assets/img/theme/icon/kameleon/Money-Increase.svg deleted file mode 100644 index 23c2948..0000000 --- a/src/assets/img/theme/icon/kameleon/Money-Increase.svg +++ /dev/null @@ -1,964 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Music-Equalizer.svg b/src/assets/img/theme/icon/kameleon/Music-Equalizer.svg deleted file mode 100644 index 02fe4bf..0000000 --- a/src/assets/img/theme/icon/kameleon/Music-Equalizer.svg +++ /dev/null @@ -1,472 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Ninja.svg b/src/assets/img/theme/icon/kameleon/Ninja.svg deleted file mode 100644 index 9f25971..0000000 --- a/src/assets/img/theme/icon/kameleon/Ninja.svg +++ /dev/null @@ -1,367 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Online-Shopping.svg b/src/assets/img/theme/icon/kameleon/Online-Shopping.svg deleted file mode 100644 index a134ea7..0000000 --- a/src/assets/img/theme/icon/kameleon/Online-Shopping.svg +++ /dev/null @@ -1,437 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Pantone.svg b/src/assets/img/theme/icon/kameleon/Pantone.svg deleted file mode 100644 index 84c48f1..0000000 --- a/src/assets/img/theme/icon/kameleon/Pantone.svg +++ /dev/null @@ -1,952 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Party-Poppers.svg b/src/assets/img/theme/icon/kameleon/Party-Poppers.svg deleted file mode 100644 index dadd365..0000000 --- a/src/assets/img/theme/icon/kameleon/Party-Poppers.svg +++ /dev/null @@ -1,982 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Phone-Booth.svg b/src/assets/img/theme/icon/kameleon/Phone-Booth.svg deleted file mode 100644 index da868c7..0000000 --- a/src/assets/img/theme/icon/kameleon/Phone-Booth.svg +++ /dev/null @@ -1,449 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Programming.svg b/src/assets/img/theme/icon/kameleon/Programming.svg deleted file mode 100644 index 284f5dd..0000000 --- a/src/assets/img/theme/icon/kameleon/Programming.svg +++ /dev/null @@ -1,348 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Santa.svg b/src/assets/img/theme/icon/kameleon/Santa.svg deleted file mode 100644 index 3bc2b00..0000000 --- a/src/assets/img/theme/icon/kameleon/Santa.svg +++ /dev/null @@ -1,475 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Shop.svg b/src/assets/img/theme/icon/kameleon/Shop.svg deleted file mode 100644 index 14f321e..0000000 --- a/src/assets/img/theme/icon/kameleon/Shop.svg +++ /dev/null @@ -1,680 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Street-View.svg b/src/assets/img/theme/icon/kameleon/Street-View.svg deleted file mode 100644 index aa18337..0000000 --- a/src/assets/img/theme/icon/kameleon/Street-View.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Student-3.svg b/src/assets/img/theme/icon/kameleon/Student-3.svg deleted file mode 100644 index 6e3fcdd..0000000 --- a/src/assets/img/theme/icon/kameleon/Student-3.svg +++ /dev/null @@ -1,708 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Surfer.svg b/src/assets/img/theme/icon/kameleon/Surfer.svg deleted file mode 100644 index 4e11ea6..0000000 --- a/src/assets/img/theme/icon/kameleon/Surfer.svg +++ /dev/null @@ -1,462 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Surgeon.svg b/src/assets/img/theme/icon/kameleon/Surgeon.svg deleted file mode 100644 index 98ea621..0000000 --- a/src/assets/img/theme/icon/kameleon/Surgeon.svg +++ /dev/null @@ -1,526 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Tower.svg b/src/assets/img/theme/icon/kameleon/Tower.svg deleted file mode 100644 index fedb08f..0000000 --- a/src/assets/img/theme/icon/kameleon/Tower.svg +++ /dev/null @@ -1,728 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/icon/kameleon/Vector.svg b/src/assets/img/theme/icon/kameleon/Vector.svg deleted file mode 100644 index 0941388..0000000 --- a/src/assets/img/theme/icon/kameleon/Vector.svg +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/img/theme/no-photo.png b/src/assets/img/theme/no-photo.png deleted file mode 100644 index c023f84..0000000 Binary files a/src/assets/img/theme/no-photo.png and /dev/null differ diff --git a/src/assets/img/theme/palette.png b/src/assets/img/theme/palette.png deleted file mode 100644 index ffb62a8..0000000 Binary files a/src/assets/img/theme/palette.png and /dev/null differ diff --git a/src/assets/img/transblue-bg.jpg b/src/assets/img/transblue-bg.jpg deleted file mode 100644 index dcd64ec..0000000 Binary files a/src/assets/img/transblue-bg.jpg and /dev/null differ diff --git a/src/assets/pictures/pic-andrey.png b/src/assets/pictures/pic-andrey.png deleted file mode 100644 index 268e9a3..0000000 Binary files a/src/assets/pictures/pic-andrey.png and /dev/null differ diff --git a/src/assets/pictures/pic-kostia.png b/src/assets/pictures/pic-kostia.png deleted file mode 100644 index 1514194..0000000 Binary files a/src/assets/pictures/pic-kostia.png and /dev/null differ diff --git a/src/assets/pictures/pic-nasta.png b/src/assets/pictures/pic-nasta.png deleted file mode 100644 index bb7bb81..0000000 Binary files a/src/assets/pictures/pic-nasta.png and /dev/null differ diff --git a/src/assets/pictures/pic-profile.png b/src/assets/pictures/pic-profile.png deleted file mode 100644 index 67940f1..0000000 Binary files a/src/assets/pictures/pic-profile.png and /dev/null differ diff --git a/src/assets/pictures/pic-vova.png b/src/assets/pictures/pic-vova.png deleted file mode 100644 index 7df6c51..0000000 Binary files a/src/assets/pictures/pic-vova.png and /dev/null differ diff --git a/src/assets/pictures/tinder-logo.jpg b/src/assets/pictures/tinder-logo.jpg deleted file mode 100644 index a70c970..0000000 Binary files a/src/assets/pictures/tinder-logo.jpg and /dev/null differ diff --git a/src/auth.html b/src/auth.html deleted file mode 100644 index 9a8aef9..0000000 --- a/src/auth.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - Blur Admin - - - - - - - - - - - - - - - - - - - - -
-
-

Sign in to Blur Admin

- New to Blur Admin? Sign up! - -
-
- - -
- -
-
-
- - -
- -
-
-
-
- - Forgot password? -
-
-
- -
or Sign in with one click
- - -
-
- - \ No newline at end of file diff --git a/src/index.html b/src/index.html deleted file mode 100644 index b61227f..0000000 --- a/src/index.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - Blur Admin - - - - - - - - - - - - - - - - - - - - -
-
- - - - -
-
- -
-
-
- - - - -
- -
-
-
- - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/reg.html b/src/reg.html deleted file mode 100644 index 70e6b5a..0000000 --- a/src/reg.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - Blur Admin - - - - - - - - - - - - - - - - - - - - -
-
-

Sign up to Blur Admin

- Already have a Blur Admin account? Sign in! - -
-
- - -
- -
-
-
- - -
- -
-
-
- - -
- -
-
-
-
- -
-
-
- -
or Sign up with one click
- - -
-
- - \ No newline at end of file diff --git a/src/sass/404.scss b/src/sass/404.scss deleted file mode 100644 index 7ab7f64..0000000 --- a/src/sass/404.scss +++ /dev/null @@ -1,50 +0,0 @@ -@import "common.scss"; - -html { - position: relative; - min-width: 320px; -} - -html, body { - min-height: 100%; - height: 100%; -} - -body { - font: 12px/16px $font-family; - color: $default-text; - @include main-background(); - display: flex; - align-items: center; -} - -.page-not-found-modal { - width: 638px; - margin: 0 auto; - @include bg-translucent-dark(0.5); - border-radius: 5px; - font-weight: $font-light; - color: #ffffff; - padding: 32px; - text-align: center; - - h1 { - font-weight: $font-light; - margin-bottom: 32px; - } - p { - font-size: 16px; - line-height: 24px; - } - a { - text-decoration: none; - outline: none; - transition: all 0.2s ease; - color: $primary; - display: inline-block; - &:hover { - color: $primary-dark; - } - } -} - diff --git a/src/sass/README.md b/src/sass/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/sass/app/_alerts.scss b/src/sass/app/_alerts.scss deleted file mode 100644 index 87cffd1..0000000 --- a/src/sass/app/_alerts.scss +++ /dev/null @@ -1,62 +0,0 @@ -.alert{ - font-size: 13px; - font-weight: $font-light; - strong{ - font-weight: $font-normal; - } - .close{ - margin-top: -3px; - } - .alert-link{ - font-weight: $font-normal; - } - .control-alert{ - padding-top:10px ; - button{ - margin-right: 10px; - } - } -} - -.closeable{ - button{ - color: $input-border; - } -} - -.bg-success { - background-color: rgba($success,0.85); - a{ - color: $danger; - &:hover{ - color: $danger-dark; - } - } -} -.bg-info { - background-color: rgba($info,0.85); - a{ - color: $warning; - &:hover{ - color: $warning-dark; - } - } -} -.bg-warning { - background-color: rgba($warning,0.85); - a{ - color: $danger; - &:hover{ - color: $danger-dark; - } - } -} -.bg-danger { - background-color: rgba($danger,0.85); - a{ - color: $primary-light; - &:hover{ - color: $primary; - } - } -} \ No newline at end of file diff --git a/src/sass/app/_buttonsPage.scss b/src/sass/app/_buttonsPage.scss deleted file mode 100644 index b9d789d..0000000 --- a/src/sass/app/_buttonsPage.scss +++ /dev/null @@ -1,131 +0,0 @@ -.basic-btns { - padding-top: 8px; - margin-bottom: -8px; - h5 { - line-height: 35px; - font-size: 12px; - &.row-sm { - line-height: 30px; - } - &.row-xs { - line-height: 22px; - } - } - & > .row { - padding-bottom: 4px; - } -} - -.btns-row { - & > div { - margin-bottom: 12px; - } -} - -.btns-same-width-sm { - .btn { - width: 48px; - } -} - -.btns-same-width-md { - .btn { - width: 79px; - } -} - -.btns-same-width-lg { - .btn { - width: 112px; - } -} - -ul.btn-list { - margin: 0 0 0 -18px; - padding: 0; - padding-top: 6px; - clear: both; - li { - margin: 0px 0 12px 18px; - padding: 0; - list-style: none; - float: left; - } -} - -.btn-group-wrapper { - margin-bottom: 12px; -} - -$btn-icon-size: 34px; -.btn-icon { - width: $btn-icon-size; - height: $btn-icon-size; - line-height: $btn-icon-size; - padding: 0; - text-align: center; -} - -.btn-group-example { - float: left; - margin-right: 30px; - margin-bottom: 12px; -} - -.btn-toolbar-example { - float: left; -} - -.progress-buttons-container { - text-align: center; - font-size: 16px; - span.button-title { - display: inline-block; - width: 100%; - line-height: 1; - font-size: 14px; - margin-bottom: 10px; - margin-top: 10px; - } - .row + .row { - margin-top: 30px; - } -} - -.button-panel{ - height: 315px; - .btn{ - width: 150px; - } -} - -.large-buttons-panel{ - height: 202px; -} - -.button-panel.df-size-button-panel{ - .btn-xs{ - width: 60px; - } - .btn-sm{ - width: 90px; - } - .btn-mm{ - width: 120px; - } - .btn-md{ - width: 150px; - } - .btn-xm{ - width: 175px; - } - .btn-lg{ - width: 200px; - } -} - -.button-wrapper{ - text-align: center; - margin: 5px 0; -} - diff --git a/src/sass/app/_chartsPage.scss b/src/sass/app/_chartsPage.scss deleted file mode 100644 index bb02435..0000000 --- a/src/sass/app/_chartsPage.scss +++ /dev/null @@ -1,161 +0,0 @@ -.admin-chart { - width: 100%; - height: 500px; - font-size: 11px; -} - -.amcharts-export-menu-top-right { - top: 10px; - right: 0; -} - -#funnelChart, #lineChart { -} - -#pieChart { - max-width: 1120px; -} - -.amcharts-pie-slice { - transform: scale(1); - transform-origin: 50% 50%; - transition-duration: 0.3s; - transition: all .3s ease-out; - cursor: pointer; - box-shadow: 0 0 30px 0 #000; -} - -.amcharts-pie-slice:hover { - transform: scale(1.1); - filter: url(#shadow); -} - -.amChartsButtonSelected { - background-color: #CC0000; - border: 1px solid #CC0000; - color: #FFFFFF; - -moz-border-radius: 5px; - border-radius: 5px; - margin: 1px; -} - -.amChartsButton { - background-color: #EEEEEE; - border: 1px solid #CCCCCC; - color: #000000; - border-radius: 5px; - margin: 1px; -} - -.ct-chart .ct-label{ - font-size: 1em; -} - -.ct-chart svg{ - width: 100%; - display: block; -} - -.ct-series-a { - .ct-bar, .ct-line, .ct-point, .ct-slice-donut, .ct-slice-pie { - stroke: $primary; - } - .ct-slice-pie, .ct-area{ - fill: $primary; - } -} - -.ct-series-b { - .ct-bar, .ct-line, .ct-point, .ct-slice-donut, .ct-slice-pie { - stroke: $success; - } - .ct-slice-pie, .ct-area{ - fill: $success; - } -} - -.ct-series-c { - .ct-bar, .ct-line, .ct-point, .ct-slice-donut, .ct-slice-pie { - stroke: $danger; - } - .ct-slice-pie, .ct-area{ - fill: $danger; - } -} - -.ct-series-d { - .ct-bar, .ct-line, .ct-point, .ct-slice-donut, .ct-slice-pie { - stroke: $warning; - } - .ct-slice-pie, .ct-area{ - fill: $warning; - } - -} - -.ct-series-e { - .ct-bar, .ct-line, .ct-point, .ct-slice-donut, .ct-slice-pie { - stroke: $info; - } - .ct-slice-pie, .ct-area{ - fill: $info; - } -} - -body.badmin-transparent{ - .ct-area { - fill-opacity: .5; - } - .ct-label{ - color: $default; - opacity: 0.9; - fill: rgba(255,255,255,.9); - } -} -@media screen and (min-width: 992px) { - .row.morris-up { - > div { - margin-top: -434px; - } - } -} - -.area-morris-header{ - margin-top: 20px; -} - -.stacked-bar .ct-bar{ - stroke-width: 30px; -} - -.amChartsCompareList { - border: 1px solid #CCCCCC; -} - -.pie-chart-panel { - padding: 0; -} - -.chart-panel{ - height: 495px; -} - -#filterChart { - width : 96%; - font-size : 11px; - margin-left: auto; - margin-right: auto; - margin-top:15px; -} - -.amcharts-graph-g1 .amcharts-graph-fill { - filter: url(#blur); -} - -.amcharts-graph-g2 .amcharts-graph-fill { - filter: url(#blur); -} - -.amcharts-cursor-fill { - filter: url(#shadow); -} \ No newline at end of file diff --git a/src/sass/app/_dashboard.scss b/src/sass/app/_dashboard.scss deleted file mode 100644 index 592a94b..0000000 --- a/src/sass/app/_dashboard.scss +++ /dev/null @@ -1,23 +0,0 @@ -@media screen and (min-width: 1620px) { - .row.shift-up { - > div { - margin-top: -573px; - } - } -} - -@media screen and (max-width: 1620px) { - .panel.feed-panel.large-panel { - height: 824px; - } -} - -.user-stats-panel { - .panel-title { - padding: 0 0 15px; - } -} - -.blurCalendar{ - height: 475px; -} \ No newline at end of file diff --git a/src/sass/app/_email.scss b/src/sass/app/_email.scss deleted file mode 100644 index 3c72685..0000000 --- a/src/sass/app/_email.scss +++ /dev/null @@ -1,1033 +0,0 @@ -.letter-layout { - margin-top: -15px; - margin-right: -22px; -} - -.mail-panel { - .panel-body{ - padding-left: 0; - } - .panel-content { - padding: 15px 22px 0 0; - } -} - -.mail-navigation-container { - width: 200px; - .mail-navigation { - cursor: pointer; - font-weight: $font-light; - font-size: 16px; - text-align: left; - padding: 10px 10px 10px 30px; - transition: 0.8s padding ease; - .new-mails { - position: absolute; - left: 150px; - padding: 1px 6px; - border: 1px solid; - color: white; - background-color: $primary-light; - margin-top: -2px; - font-size: 12px; - margin-right: 5px; - border-radius: 10px; - transition: 0.8s left ease; - } - &.active { - background-color: $primary-light; - color: white; - &:hover { - background-color: $primary-light; - } - .new-mails { - color: $primary-light; - background-color: white; - } - transition: background-color .2s ease, 0.8s padding ease; - } - &:hover { - background-color: $border-light; - } - } - .compose-button { - margin: 7px 0; - .btn { - width: 140px; - color: white; - font-weight: $font-light; - background-color: $dribble-color; - } - } -} - -.labels, .add-label-container { - margin-top: 16px; - margin-left: 22px; -} - -.labels-container { - text-align: center; - padding-right: 28px; - padding-left: 20px; - .label-item { - display: inline-block; - } -} - -.labels-title { - padding-left: 10px; - border-bottom: 1px solid $border-light; - .label-header { - line-height: 24px; - } -} - -.label-item { - margin: 10px 0 0 10px; -} - -.add-label-container { - padding-left: 10px; - font-size: 16px; - font-weight: $font-light; - .label-input-stub { - font-size: 14px; - margin-left: 5px; - } - i { - cursor: pointer; - } -} - -.margin-left { - margin-left: 10px; -} - -.mail-messages-control { - padding: 10px; - - ul.dropdown-menu { - margin-top: 5px; - } - - .btn { - background-color: transparent; - border: 1px solid $border-light; - } - - .more-button { - width: 60px; - font-size: 14px; - padding: 6px 5px; - } - - span.select-all-label { - font-size: 13px; - font-weight: $font-light; - } -} - -.message-container, .side-message-navigation, .mail-navigation-container { - float: left; - padding: 0 15px; - position: relative; - height: 550px; - transition: width 0.5s; -} - -.side-message-navigation { - padding: 10px 0 0 0; - width: calc(100% - 200px); - box-shadow: -4px 0 7px -2px $input-border; - .side-message-navigation-item { - border-bottom: 1px solid $input-border; - &.work { - border-left: 4px solid $primary-light; - } - - &.study { - border-left: 4px solid $google-color; - } - - &.family { - border-left: 4px solid $warning; - } - - &.friend { - border-left: 4px solid $danger; - } - } -} - -.mail-body-part { - text-overflow: ellipsis; - height: 16px; - overflow: hidden; - margin-top: 3px; - margin-left: 5px; -} - -.mail-tag.tag.label { - display: inline-block; - font-size: 14px; - text-transform: uppercase; - margin-top: 10px; - width: 65px; -} - -.phone-email { - i { - color: $primary-dark; - } -} - -.message-container { - width: calc(100% - 300px); - padding: 15px 15px 10px 30px; - box-shadow: -4px 0 7px -2px $input-border; - overflow-x: hidden; -} - -.little-human { - cursor: pointer; - transition: border-left 1.5s ease; - .little-human-picture { - width: 45px; - height: 45px; - border-radius: 23px; - margin: 7px 0px 7px 7px; - transition: all .2s ease-in-out; - } - .name { - font-size: 14px; - vertical-align: super; - white-space: nowrap; - } - .name-wrap { - margin-left: 10px; - } - .date { - float: right; - margin-top: 10px; - display: inline-block; - font-size: 13px; - margin-left: 5px; - margin-right: 5px; - white-space: nowrap; - } - .tag { - vertical-align: super; - } - .subject { - font-size: 14px; - white-space: nowrap; - } - &:hover { - .little-human-picture { - animation: rotateReturnAnimation 0.5s; - } - color: $dribble-color; - } -} - -.name-container{ - margin-left: 10px; -} - -.mail-checkbox { - margin-top: 5px; - margin-left: 6px; - .custom-checkbox{ - margin-left: 5px; - } -} - -.mail-panel .tag { - text-transform: lowercase; - font-size: 11px; - font-weight: $font-light; - width: 45px; - cursor: pointer; - display: inline-block; - &.label { - padding: .2em .5em; - border-radius: 2px; - line-height: 1.1; - } - &.work { - background-color: $primary; - } - - &.study { - background-color: $warning; - } - - &.family { - background-color: $success; - } - - &.friend { - background-color: $danger; - } -} - -.messages { - overflow: auto; - table { - width: 100%; - } -} -@media screen and (min-width: 1199px) { - .photo-td { - width: 55px; - } - .check-td{ - width: 35px; - } -} - -.important { - color: $warning; -} - -.message-control-icon { - cursor: pointer; - font-size: 16px; - margin-right: 5px; -} - -.person-info { - padding: 0 0 10px 15px; - margin-top: 10px; - .human-picture { - width: 80px; - height: 80px; - border-radius: 40px; - margin-top: -60px; - } - - .name { - display: inline-block; - margin-left: 10px; - margin-top: 5px; - h2 { - margin-bottom: 0; - font-size: 24px; - } - } - -} - -.no-padding { - padding: 0; -} - -.contact-info { - display: inline-block; - div { - margin-top: 10px; - } - &.phone-email { - .ion-iphone { - font-size: 32px; - width: 27px; - display: inline-block; - } - .phone { - font-size: 19px; - font-weight: $font-light; - vertical-align: super; - } - .ion-email { - font-size: 24px; - width: 27px; - display: inline-block; - } - .email { - font-size: 16px; - font-weight: $font-light; - vertical-align: super; - } - } - - &.position-address { - div { - margin-top: 17px; - } - .position { - font-size: 20px; - font-weight: $font-light; - } - - .address { - font-size: 16px; - font-weight: $font-light; - } - } -} - -.message-details { - margin: 5px 0; - .subject { - font-size: 20px; - margin-right: 10px; - font-weight: $font-light; - } - .control-icons { - float: right; - font-size: 20px; - margin-right: 40px; - i { - cursor: pointer; - } - } - .date { - white-space: nowrap; - font-size: 12px; - } -} - -.message-body { - margin: 20px 0; - font-weight: $font-light; - line-height: 18px; - p { - margin-bottom: 0; - } -} - -.attachment { - margin: 5px 0; - .file-icon { - font-size: 24px; - cursor: pointer; - } - - .file-name { - font-size: 14px; - margin-left: 3px; - position: relative; - top: -3px; - font-weight: $font-light; - } - - .file-links { - font-size: 14px; - } -} - -.line { - height: 1px; - background-color: $input-border; - opacity: 0.3; -} - -.answer-button { - margin-left: 20px; - color: white; - font-size: 16px; - font-weight: $font-light; - padding-left: 40px; - padding-right: 40px; - background-color: $dribble-color; - &:hover { - color: white; - } - &:focus { - color: white; - } - &.focus { - color: white; - } -} - -.answer-container { - float: right; - margin-top: 10px; - .btn { - margin-top: 3px; - background-color: $primary-light; - border: none; - color: white; - width: 100px; - transition: none; - &:hover { - transform: none; - background-color: $danger; - } - } -} - -.second-name { - margin-top: -7px; -} - -@keyframes rotateReturnAnimation { - 0% { - transform: rotate(0deg); - } - 50% { - transform: rotate(10deg); - } - 100% { - transform: rotate(0deg); - } -} - - -@media screen and (max-width: 1199px) { - .name-h { - display: inline; - } - .person-info .human-picture { - margin-top: -30px; - } - .second-name { - margin-top: 0; - } -} - -@media screen and (max-width: 990px) { - - .person-info .human-picture { - width: 150px; - height: 150px; - border-radius: 75px; - margin: 5px auto; - display: block; - - } - - .person-info { - padding-left: 0; - } - - .message-container { - padding-left: 15px; - } - - .back-button, .contact-info { - margin-left: 15px; - } - - .additional-info { - display: none; - } - - .little-human .date { - font-size: 10px; - } - - .margin-left { - margin-left: 5px; - } - -} - -@media screen and (max-width: 760px) { - - .mail-navigation-container { - width: 175px; - .mail-navigation{ - padding-left: 19px; - .new-mails { - left: 137px; - } - } - } - - .side-message-navigation { - width: calc(100% - 175px); - } - - .message-container { - width: calc(100% - 175px); - } - - .mail-body-part { - display: none; - } - .little-human .little-human-picture { - width: 30px; - height: 30px; - } - .messages-control .more-button { - width: 50px; - } -} - -@media screen and (max-width: 560px) { - .mail-navigation-container { - padding: 0; - width: 0; - &.expanded { - width: 155px; - } - .mail-navigation { - font-size: 14px; - padding-left: 23px; - .new-mails { - left: 116px; - padding: 0px 5px; - margin-top: 0px; - font-size: 12px; - } - .labels { - margin-left: 10px; - } - } - .compose-button .btn { - width: 110px; - } - } - - .mail-messages-control{ - .custom-checkbox{ - margin-left: 5px; - margin-top: -2px; - } - } - - .side-message-navigation, .message-container { - &.expanded { - width: 100%; - border: none; - box-shadow: none; - } - width: calc(100% - 155px); - } - - div.toggle-navigation-container { - display: inline-block; - } - - .little-human { - .name { - white-space: inherit; - } - .little-human-picture { - display: none; - } - } - - .add-label-container { - padding-left: 0; - font-size: 13px; - font-weight: $font-light; - } - -} - -.compose-header { - padding: 8px 3px 8px 10px; - color: white; - font-weight: $font-light; - font-size: 13px; - background-color: $github-color; -} - -.header-controls { - display: inline-block; - float: right; - i { - margin-right: 5px; - font-size: 14px; - cursor: pointer; - &:hover { - color: $primary-light; - } - } -} - -.compose-container .ta-scroll-window > .ta-bind { - height: 290px; - overflow-y: scroll; - -} - -.modal-compose input.form-control.compose-input { - background-color: transparent; - border-bottom: 1px solid rgba(0,0,0,.2); - border-radius: 0; -} - -.compose-footer { - padding: 2px 4px; - background-color: whitesmoke; - .btn-send { - background-color: $primary-light; - color: white; - padding: 2px 10px; - margin: 3px; - font-weight: $font-light; - } - .btn-default { - background-color: transparent; - border: none; - } -} - -.footer-controls { - float: right; - margin: 6px; -} - -.compose-footer-icon { - font-size: 18px; - margin-right: 5px; - cursor: pointer; - color: $help-text; - &:hover { - color: $primary-light; - } -} - -.compose-container { - background-color: whitesmoke; - .ta-text.ta-editor { - background-color: white; - div{ - &:focus{ - outline: none; - } - } - } - -} - -.footer-control-first { - border-right: 2px solid $help-text; - display: inline-block; - padding-right: 9px; -} - -.toggle-navigation-container { - display: none; - vertical-align: middle; - margin-left: -1px; - &.detail-page{ - margin-left: 10px; - } -} - -.collapse-navigation-link { - font-size: 32px; - color: $default; - &:hover{ - color: $default; - opacity: .8; - } - &:visited{ - color: $default; - } - -} - -.collapsed { - width: 0; -} - -.modal .modal-dialog.modal-compose { - max-width: 398px; - position: fixed; - bottom: 0; - right: 0; - max-height: 474px; - - .form-control, .bootstrap-tagsinput input { - @include placeholderStyle($default-text, 1); - color: $default-text; - border-radius: 0; - } - .ta-toolbar { - .btn { - border-width: 1px; - border-radius: 0; - color: $default-text; - border-color: transparent; - &.active { - box-shadow: none; - background-color: rgba(0, 0, 0, .12); - } - } - } - @include overrideColors($default-text) -} - -@media (max-width: 640px) { - .modal .modal-dialog.modal-compose { - max-height: 600px; - } -} - -body.badmin-transparent { - .mail-navigation-container { - overflow: hidden; - width: 200px; - padding: 0; - .mail-navigation { - margin-left: 0; - .new-mails { - background-color: transparent; - } - &.active { - background: rgba(255, 255, 255, 0.2); - color: white; - transition: background-color .5s ease; - .new-mails { - background-color: transparent; - color: $default; - } - &:hover { - background-color: rgba(255, 255, 255, 0.3); - } - } - &:hover { - background-color: rgba(0, 0, 0, 0.1); - } - } - } - - .message-container, .side-message-navigation{ - width: calc(100% - 200px); - border-bottom-right-radius: 5px; - border-top-right-radius: 5px; - border-left: 1px solid rgba(0, 0, 0, 0.12); - box-shadow: -1px 0px 0px 0px rgba(255, 255, 255, 0.12); - } - - .side-message-navigation { - overflow: hidden; - padding: 0; - } - - .labels, .add-label-container { - margin-left: 0; - } - - .add-label-container { - margin-top: 10px; - text-align: center; - } - - .labels-title { - text-align: center; - .label-header { - width: 100%; - margin-bottom: 5px; - } - padding-left: 0; - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.12); - } - - .compose-button { - text-align: center; - .btn { - border: $default 2px solid; - background-color: transparent; - } - } - - .side-message-navigation .side-message-navigation-item { - border-bottom: 1px solid rgba(255, 255, 255, 0.12); - &.work, &.study, &.family, &.friend { - border-left: none; - } - } - - .mail-messages-control { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - box-shadow: 0px 0px 1px 0px rgba(255, 255, 255, 0.12); - padding-right: 0; - .btn { - border: none; - width: auto; - &:focus, &:hover { - color:$default; - opacity: 0.8; - box-shadow: none; - } - } - .refresh-button{ - margin-left: 10px; - } - } - - .little-human { - font-weight: $font-light; - transition: background-color .5s; - &:hover { - color: $default; - background-color: rgba(255, 255, 255, 0.12); - } - .subject { - font-weight: $font-light; - margin: 0 30px; - font-size: 16px; - } - .date { - margin-right: 10px; - } - } - - .mail-body-part { - width: calc(100% - 50px); - opacity: 0.8; - } - - .name-h { - font-weight: $font-light; - &.second-name { - margin: 5px 0; - } - } - - .person-info .human-picture { - margin-top: -65px; - } - - .mail-tag.tag.label { - margin-top: 0; - } - - .back-button { - margin-left: 45px; - } - - .phone-email i { - color: $default; - } - - .message-details { - padding: 5px 0 5px 30px; - } - - .message-body, .attachment { - padding-left: 30px; - } - - .person-info { - padding-left: 45px; - } - - @media screen and (max-width: 1199px) { - .person-info { - .human-picture { - margin-top: -35px; - } - .name { - margin-top: 20px; - } - } - .mail-tag.tag.label { - margin-top: 10px; - } - } - - @media screen and (max-width: 990px) { - .person-info { - .human-picture { - margin-top: 5px; - } - } - - .back-button { - margin-left: 10px; - } - - .message-details { - padding: 5px 0 5px 0; - } - - .message-body, .attachment { - padding-left: 0; - } - - .person-info { - padding-left: 0; - } - - } - - @media screen and (max-width: 760px) { - - .mail-navigation-container { - width: 175px - } - - .side-message-navigation { - width: calc(100% - 175px); - } - - .message-container { - width: calc(100% - 175px); - } - } - - @media screen and (max-width: 560px) { - .mail-navigation-container { - width: 0; - &.expanded { - width: 155px; - } - .mail-navigation { - font-size: 14px; - .new-mails { - padding: 0 5px; - margin-top: 0; - font-size: 12px; - } - .labels { - margin-left: 10px; - } - } - .compose-button .btn { - width: 110px; - } - } - - .mail-messages-control{ - .custom-checkbox{ - margin-left: 5px; - margin-top: -2px; - } - } - - .side-message-navigation, .message-container { - &.expanded { - width: 100%; - border: none; - box-shadow: none; - } - width: calc(100% - 155px); - } - - .toggle-navigation-container { - display: inline-block; - } - - .little-human { - .name { - white-space: inherit; - } - .little-human-picture { - display: none; - } - } - - .add-label-container { - padding-left: 0; - font-size: 13px; - font-weight: $font-light; - } - - } - -} - - - - - diff --git a/src/sass/app/_form.scss b/src/sass/app/_form.scss deleted file mode 100644 index de8b872..0000000 --- a/src/sass/app/_form.scss +++ /dev/null @@ -1,563 +0,0 @@ -.label { - border-radius: 0; -} - -.label-primary { - background: $primary; -} - -.label-info { - background: $primary-light; -} - -.label-success { - background: $success; -} - -.label-warning { - background: $warning; -} - -.label-danger { - background: $danger; -} - -.form-horizontal { - label { - line-height: 34px; - margin-bottom: 0; - padding-top: 0 !important; - } -} - -.form-group { - label { - margin-bottom: 5px; - color: $default-text; - font-weight: $font-normal; - font-size: 13px; - } -} - -.form-control { - border-radius: 0; - background: transparent; - box-shadow: none; - border: none; - &:focus { - box-shadow: none; - border-color: $primary-bg; - background: #ffffff; - } -} - -select.form-control { - padding-left: 8px; -} - -textarea.form-control { - height: 96px; -} - -.modal-form-btn { - text-align: center; -} - -.form-inline { - .form-group { - input { - width: 100%; - } - label { - margin-right: 12px; - } - } - - button[type="submit"] { - margin-left: 12px; - } - - label.custom-checkbox > span { - display: block; - margin-top: -13px; - margin-right: 10px; - } -} - -.modal-content { - border-radius: 5px; - border: none; - color: $default-text; - .modal-header { - color: $default; - border-top-left-radius: 5px; - border-top-right-radius: 5px; - } -} - -@mixin setSwitchBorder($color) { - .bootstrap-switch.bootstrap-switch-on { - border-color: $color; - } -} - -.switch-container { - display: inline-block; - & { - @include setSwitchBorder($default); - } - &.primary { - @include setSwitchBorder($primary); - } - &.success { - @include setSwitchBorder($success); - } - &.warning { - @include setSwitchBorder($warning); - } - &.danger { - @include setSwitchBorder($danger); - } - &.info { - @include setSwitchBorder($primary-light); - } -} - -.bootstrap-switch { - border-radius: 5px; - border: 1px solid $default; - transition: border-color ease-in-out .7s, box-shadow ease-in-out .7s; - &:focus { - outline: none; - } - &.bootstrap-switch-off { - border-color: $input-border; - } - &.bootstrap-switch-focused { - box-shadow: none; - &.bootstrap-switch-off { - border-color: $input-border; - } - } - .bootstrap-switch-container { - border-radius: 0; - &:focus { - outline: none; - } - } - .bootstrap-switch-handle-on { - border-radius: 0; - &.bootstrap-switch-default { - background: $default; - } - &.bootstrap-switch-success { - background: $success; - } - &.bootstrap-switch-primary { - background: $primary; - } - &.bootstrap-switch-warning { - background: $warning; - } - &.bootstrap-switch-danger { - background: $danger; - } - &.bootstrap-switch-info { - background: $primary-light; - } - } - .bootstrap-switch-handle-off { - border-radius: 0; - } - - .bootstrap-switch-label { - background: transparent; - } - - &.bootstrap-switch-animate .bootstrap-switch-container { - transition: margin-left .2s; - } -} - -.switches { - margin-left: -12px; - margin-bottom: -12px; - .switch-container { - float: left; - margin-left: 12px; - margin-bottom: 12px; - } -} - -.input-group { - width: 100%; - margin-bottom: 15px; - & > span { - border-radius: 0; - } -} - -label.custom-checkbox { - padding-right: 0; - padding-left: 0; - margin-bottom: 0; - & > input { - height: 0; - z-index: -100 !important; - opacity: 0; - position: absolute; - &:checked { - & + span { - &:before { - content: "\f00c"; - font-weight: $font-light; - } - } - } - &:disabled { - & + span { - color: $disabled; - cursor: not-allowed; - &:before { - border-color: $disabled !important; - cursor: not-allowed; - } - } - } - } - & > span { - position: relative; - display: inline-block; - margin: 0; - line-height: 16px; - font-weight: $font-light; - cursor: pointer; - padding-left: 22px; - width: 100%; - &:before { - cursor: pointer; - font-family: fontAwesome; - font-weight: $font-light; - font-size: 12px; - color: $default; - content: "\a0"; - background-color: transparent; - border: 1px solid $default; - border-radius: 0; - display: inline-block; - text-align: center; - height: 16px; - line-height: 14px; - min-width: 16px; - margin-right: 6px; - position: relative; - top: 0; - margin-left: -22px; - float: left; - } - &:hover { - &:before { - border-color: $primary-bg; - } - } - } -} - -.nowrap { - white-space: nowrap; -} - -.cut-with-dots { - overflow: hidden; - text-overflow: ellipsis; - display: block; -} - -label.custom-radio { - @extend .custom-checkbox; - & > input { - &:checked { - & + span { - &:before { - content: "\f111"; - } - } - } - } - & > span { - &:before { - border-radius: 16px; - font-size: 9px; - } - } -} - -@mixin customInput($color) { - & > span { - &:before { - color: $color; - } - &:hover { - &:before { - border-color: $color; - } - } - } -} - -label.custom-input-primary { - @include customInput($primary); -} - -label.custom-input-success { - @include customInput($success); -} - -label.custom-input-warning { - @include customInput($warning) -} - -label.custom-input-danger { - @include customInput($danger) -} - -.form-horizontal { - .radio, .checkbox, .radio-inline, .checkbox-inline { - padding-top: 0px; - } -} - -.input-demo { - line-height: 25px; -} - -@mixin validationState($color, $focusColor) { - .control-label { - color: $color; - } - .form-control { - border: 1px solid $color; - &:focus { - box-shadow: none; - border-color: $focusColor; - } - } - - label.custom-checkbox { - color: $color; - & > span { - &:before { - color: $color; - } - &:hover { - &:before { - border-color: $color; - } - } - } - } - .form-control-feedback { - color: $color; - } - .input-group-addon { - background-color: $color; - color: #ffffff; - } -} - -.has-success { - @include validationState($success-bg, $success); -} - -.has-warning { - @include validationState($warning-bg, $warning); -} - -.has-error { - @include validationState($danger-bg, $danger); -} - -.has-feedback label ~ .form-control-feedback { - top: 21px; - font-size: 18px; -} - -.bootstrap-select { - .btn-default { - &:focus { - color: $default-text; - } - } -} - -.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { - background: transparent; - color: $disabled; - border-color: $disabled-bg; - @include placeholderStyle($disabled, 1); -} - -.form-control-rounded { - border-radius: 16px; -} - -.help-block { - color: $help-text; -} - -.help-block.error-block { - display: none; - .has-error &.basic-block { - display: block; - } -} - -@mixin groupAddon($color) { - background: $color; - color: #ffffff; - border-color: $color; -} - -.input-group-addon-danger { - @include groupAddon($danger); -} - -.input-group-addon-warning { - @include groupAddon($warning); -} - -.input-group-addon-success { - @include groupAddon($success); -} - -.input-group-addon-primary { - @include groupAddon($primary); -} - -.checkbox-demo-row { - margin-bottom: 12px; -} - -.dropdown-menu { - border-radius: 5px; -} - -.bootstrap-select { - .btn-default { - background: transparent; - color: $default; - &:focus { - background: #ffffff; - box-shadow: none; - outline: 0 !important; - } - &:active { - border-color: $default; - box-shadow: none; - background: #ffffff; - } - } - &.open { - .btn-default.dropdown-toggle { - box-shadow: none; - background-color: #ffffff; - border-color: $default; - color: $default; - } - .dropdown-menu { - border-left: 1px solid $default; - border-right: 1px solid $default; - border-bottom-color: $default; - border-radius: 0 0 5px 5px; - } - > .btn.dropdown-toggle { - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - border-color: transparent; - box-shadow: none; - } - .dropdown-menu { - border-top: none; - } - } - &.with-search.open{ - .btn-default.btn{ - background-color: rgba(0, 0, 0, 0.2); - border-color: 1px solid $default; - } - } - &.with-search.open .btn-default + .dropdown-menu { - .bs-searchbox .form-control { - background-color: rgba(0, 0, 0, 0.35); - } - .no-results { - color: $default-text; - } - } - .notify { - color: $default-text; - } -} - -.bootstrap-tagsinput { - background-color: transparent; - border: 1px solid $input-border; - box-shadow: none; - color: #555555; - max-width: 100%; - font-size: 14px; - line-height: 26px; - width: 100%; - &.form-control { - display: block; - width: 100%; - } - .tag { - border-radius: 3px; - font-weight: $font-normal; - font-size: 11px; - padding: 4px 8px; - & [data-role="remove"]:hover { - box-shadow: none; - } - } - input { - line-height: 22px; - font-size: 11px; - min-width: 53px; - } -} - -.progress-bar-primary { - background-color: $primary; -} - -.progress-bar-success { - background-color: $success-light; -} - -.progress-bar-warning { - background-color: $warning; -} - -.progress-bar-danger { - background-color: $danger; -} - -.has-success .input-group-addon { - border: none; -} - -.input-group > span.addon-left { - border-top-left-radius: 5px; - border-bottom-left-radius: 5px; -} - -.input-group > span.addon-right { - border-top-right-radius: 5px; - border-bottom-right-radius: 5px; -} - -.sub-little-text{ - font-size: 12px; -} \ No newline at end of file diff --git a/src/sass/app/_grid.scss b/src/sass/app/_grid.scss deleted file mode 100644 index dedba4d..0000000 --- a/src/sass/app/_grid.scss +++ /dev/null @@ -1,29 +0,0 @@ -.show-grid div[class^=col-]{ - padding: 10px; - box-sizing: border-box; - div { - color: $default-text; - text-align: center; - font-size: 18px; - background-color: $border-light; - padding: 12px 5px; - } -} - -.grid-h{ - margin-top: 10px; - margin-bottom: 0; - &:first-child{ - margin-top: 0; - } -} - -body.badmin-transparent { - .show-grid div[class^=col-]{ - div { - color: $default; - background-color: rgba(255, 255, 255, 0.3); - } - } -} - diff --git a/src/sass/app/_iconsPage.scss b/src/sass/app/_iconsPage.scss deleted file mode 100644 index b64cb66..0000000 --- a/src/sass/app/_iconsPage.scss +++ /dev/null @@ -1,123 +0,0 @@ -@mixin icon-hover($color) { - i:hover { - color: $color; - } -} - -.icons-list { - & > div { - text-align: center; - margin-bottom: 32px; - } - i { - font-weight: $font-normal; - font-size: 18px; - cursor: pointer; - } - - &.primary { - @include icon-hover($primary); - } - &.success { - @include icon-hover($success); - } - &.warning { - @include icon-hover($warning); - } - &.danger { - @include icon-hover($danger); - } -} - -a.see-all-icons { - float: right; -} - -.awesomeIcons { - height: 308px; -} - -.kameleon-row { - display: inline-block; - min-width: 102px; - width: 20%; - .kameleon-icon { - padding:0 10px; - img { - width: 81px; - } - } -} - -@media (max-width: 750px) { - .kameleon-row { - width: 25%; - } -} - -@media (max-width: 550px) { - .kameleon-row { - width: 33%; - } -} - -@media (max-width: 430px) { - .kameleon-row { - width: 50%; - } -} - -.kameleon-icon-tabs { - max-width: 84px; - img { - width: 100%; - min-width: 81px; - min-height: 81px; - } -} - -.kameleon-icon { - text-align: center; - margin: 0 auto; - img { - width: 100%; - } - span { - display: block; - text-align: center; - white-space: nowrap; - } -} - -@mixin setImgBg($color) { - img { - background: $color; - } -} - -.with-round-bg { - margin-bottom: 6px; - img { - border-radius: 50%; - margin-bottom: 4px; - } - @include setImgBg($default); - - &.success { - @include setImgBg($success); - } - &.danger { - @include setImgBg($danger); - } - &.warning { - @include setImgBg($warning); - } - &.info { - @include setImgBg($info); - } - &.primary { - @include setImgBg($primary); - } -} - - diff --git a/src/sass/app/_modalNotifications.scss b/src/sass/app/_modalNotifications.scss deleted file mode 100644 index 3ebeb9b..0000000 --- a/src/sass/app/_modalNotifications.scss +++ /dev/null @@ -1,23 +0,0 @@ -.toast { - background-color: $primary; -} - -.toast-success { - background-color: $success; -} - -.toast-error { - background-color: $danger; -} - -.toast-info { - background-color: $info; -} - -.toast-warning { - background-color: $warning; -} - -#toast-container.toast-top-full-width > div, #toast-container.toast-bottom-full-width > div { - margin: 5px auto; -} diff --git a/src/sass/app/_modals.scss b/src/sass/app/_modals.scss deleted file mode 100644 index eb67f0c..0000000 --- a/src/sass/app/_modals.scss +++ /dev/null @@ -1,110 +0,0 @@ -.modal-buttons { - margin-top: -12px; - margin-right: -22px; - button { - float: left; - margin-right: 24px; - margin-top: 12px; - } - &.same-width { - button { - width: 160px; - text-align: center; - } - } -} - -.modal { - text-align: center; - .modal-dialog { - display: inline-block; - text-align: left; - margin: 0 auto; - .form-control{ - color: $github-color; - background-color: transparent; - border: 1px solid $input-border; - @include placeholderStyle($default-text, 0.9); - } - .modal-body p, .modal-body div, .modal-body span{ - color: $default-text; - } - } - .modal-header { - border: none; - .close{ - margin-top: -5px; - } - } - .modal-footer { - border: none; - padding-top: 0; - } - .modal-icon{ - margin-right: 3px; - } - .sn-link-close { - color: #949494; - font-size: 30px; - &:hover { - color: $danger; - } - } -} - -@media screen and (min-width: $resM) { - .modal:before { - display: inline-block; - vertical-align: middle; - content: " "; - height: 100%; - } -} - -.modal-content .modal-header .modal-title{ - color: $default-text; -} - -.message-modal { - .modal-header { - text-align: center; - i { - font-size: 32px; - } - } - .modal-title { - text-align: center; - font-size: 18px; - margin-bottom: 12px; - margin-top: 18px; - } - .modal-body { - text-align: center; - padding: 0; - font-size: 14px; - } - .modal-footer { - margin: 24px 0 12px; - text-align: center; - } -} - -@mixin message-modal-color($color) { - .modal-header { - color: #ffffff; - background: $color; - } -} - -.success-modal { - @include message-modal-color($success); -} -.info-modal { - @include message-modal-color($info); -} -.warning-modal { - @include message-modal-color($warning); -} -.danger-modal { - @include message-modal-color($danger); -} \ No newline at end of file diff --git a/src/sass/app/_notifications.scss b/src/sass/app/_notifications.scss deleted file mode 100644 index 1c64643..0000000 --- a/src/sass/app/_notifications.scss +++ /dev/null @@ -1,69 +0,0 @@ -.control { - margin-bottom: 10px; - .form-control { - width: 75%; - } - span { - white-space: pre-line; - } -} - -.notification-panel { - .control, - .radio, - label, - label.custom-checkbox > span, - label.custom-radio > span { - font-weight: $font-light; - } -} - -.radio-controls .custom-radio{ - margin-top: 5px; -} - -@media (max-width: 991px) { - .toastr-radio-setup { - margin-left: 22px; - } -} - -.radio-header { - - margin-bottom: 0; - &.position-header { - margin-top: 15px; - } -} - -.button-row { - line-height: 37px; - button { - width: 125px; - } -} - -.result-toastr { - border-radius: 5px; - color: rgba(255, 255, 255, 0.9); - background-color: rgba(0, 0, 0, 0.33); - border: none; -} - -.sub-label { - margin-top: 5px; -} - -.toast-title { - font-weight: $font-normal; -} - -.toast-message { - font-weight: $font-light; -} - -#toast-container.toast-top-center, #toast-container.toast-bottom-center{ - .toast{ - margin-bottom: 5px; - } -} diff --git a/src/sass/app/_profile.scss b/src/sass/app/_profile.scss deleted file mode 100644 index ed6460a..0000000 --- a/src/sass/app/_profile.scss +++ /dev/null @@ -1,234 +0,0 @@ -h3.with-line { - border-bottom: 1px solid $border; - color: $default-text; - font-weight: $font-normal; - padding-top: 30px; - margin-bottom: 14px; - line-height: 39px; - width: 100%; -} - -.panel .panel-body h3 { - &.with-line { - margin-bottom: 14px; - margin-top: 0; - } -} - -.profile-block { - background: #fff; - - .nav-tabs > li { - & > a { - border-radius: 0; - transition: background, 0s, ease !important; - } - } - - .progress { - border-radius: 0; - margin-bottom: 6px; - } - - .progress-info { - margin-bottom: 8px; - margin-top: -2px; - } - - .tab-content { - padding: 15px 15px 25px; - } - - .progress-bar-primary { - background-color: $primary-light; - } - - .form-group { - margin-bottom: 14px; - label { - text-align: right; - } - } - - .form-control { - font-size: 13px; - } -} - -.notification { - .form-group { - label { - text-align: left; - padding-left: 26px; - } - } -} - -.userpic { - border: 1px dashed #b8b8b8; - width: 202px; - height: 202px; - position: relative; - cursor: pointer; - .userpic-wrapper { - width: 200px; - height: 200px; - overflow: hidden; - display: flex; - justify-content: center; - align-items: center; - } - img { - max-width: 100%; - max-height: 100%; - } - i { - display: none; - position: absolute; - font-size: 32px; - background: #ffffff; - cursor: pointer; - color: $primary; - top: -11px; - right: -11px; - height: 26px; - border-radius: 50%; - &:before { - line-height: 26px; - } - &:hover { - color: $danger; - } - } - a.change-userpic { - display: none; - width: 202px; - background: rgba(0, 0, 0, 0.7); - transition: all 200ms ease-in-out; - color: #ffffff; - text-decoration: none; - position: absolute; - bottom: -1px; - left: -1px; - line-height: 32px; - text-align: center; - } - &:hover { - i { - display: block; - } - .change-userpic { - display: block; - } - } -} - -.save-profile { - margin: 23px 0 12px 12px; -} - -$snColor: $primary; -$snPadding: 8px; -a.sn-link { - transition: none; - display: block; - border-radius: 5px; - background-color: rgba(0, 0, 0, .15); - padding: $snPadding; - color: $default; - border: 1px solid transparent; - margin-bottom: 23px; - width: 100%; - position: relative; - cursor: pointer; - text-decoration: none !important; - i.socicon { - padding: 6px; - border-radius: 50%; - width: auto; - font-size: 17px; - margin-right: 8px; - background-color: rgba(0,0,0,.15); - color: #fff; - } - span { - - } - - span { - font-size: 14px; - line-height: 29px; - } - - @mixin activeSn() { - border-color: $snColor; - border-width: 2px; - padding: $snPadding - 1; - span { - color: $default; - } - i { - background: $snColor; - } - } - - &.connected { - @include activeSn(); - em { - display: block; - } - } - &:hover { - @include activeSn(); - } - - .socicon { - background: transparent; - } -} - -.close { - opacity: 1; - box-shadow: none; - outline: none !important; - &:hover, &:focus, &:active { - opacity: 1; - } -} - -.connected .sn-link-close { - position: absolute; - top: 1px; - right: 0; - width: 45px; - line-height: 45px; - text-align: center; - font-size: 32px; - color: $snColor; - transition: all 0.1s ease; - outline: none; - &:hover { - color: $danger; - transform: scale(1.2); - } -} - -.social-profiles { - padding-top: 3px; - margin-bottom: -3px; - padding-left: 12px; -} - -.profile-page { - .form-group { - label { - line-height: 34px; - font-size: 14px; - font-weight: $font-light; - } - input{ - font-weight: $font-light; - } - } -} - diff --git a/src/sass/app/_slider.scss b/src/sass/app/_slider.scss deleted file mode 100644 index 3dfca03..0000000 --- a/src/sass/app/_slider.scss +++ /dev/null @@ -1,13 +0,0 @@ -.slider-box{ - min-height: 86px; -} - -.irs-bar, -.irs-bar-edge, -.irs-line-left, -.irs-line-mid, -.irs-line-right, -.irs-slider { - background-image: url(../assets/img/theme/vendor/ionrangeslider/img/sprite-skin-flat.png); - background-repeat: repeat-x; -} \ No newline at end of file diff --git a/src/sass/app/_table.scss b/src/sass/app/_table.scss deleted file mode 100644 index e1b790a..0000000 --- a/src/sass/app/_table.scss +++ /dev/null @@ -1,3 +0,0 @@ -.table-panel { - height: 295px; -} diff --git a/src/sass/app/_tabsPage.scss b/src/sass/app/_tabsPage.scss deleted file mode 100644 index 3189982..0000000 --- a/src/sass/app/_tabsPage.scss +++ /dev/null @@ -1,38 +0,0 @@ -.tabset-group { - > div + div { - margin-top: 15px; - } -} - - -.panel.tabs-panel{ - .panel-body{ - padding: 0; - } - .dropdown-menu{ - min-width: 132px; - top: auto; - border: none; - border-bottom-left-radius: 5px; - border-bottom-right-radius: 5px; - } - &.with-scroll .panel-body{ - height: 100%; - } -} - -.xsmall-panel { - .nav-tabs, .tab-content{ - height: 100%; - } -} -.inline-icon{ - display: inline-block; - margin: 20px 5px; -} -.panel.horizontal-tabs { - .tab-content{ - height: calc(100% - 40px); - } -} - diff --git a/src/sass/app/_tplSkinPanel.scss b/src/sass/app/_tplSkinPanel.scss deleted file mode 100644 index b48293b..0000000 --- a/src/sass/app/_tplSkinPanel.scss +++ /dev/null @@ -1,18 +0,0 @@ -.tpl-skin-panel { - width: 300px; - .tpl-skin-option { - padding: 10px; - line-height: 83px; - color: $default-text; - &:hover { - cursor: pointer; - background-color: $primary; - } - + .tpl-skin-option { - border-top: 1px solid $border-light; - } - } - .skin-thumbnail { - width: 100%; - } -} \ No newline at end of file diff --git a/src/sass/app/_tree.scss b/src/sass/app/_tree.scss deleted file mode 100644 index b68f2fc..0000000 --- a/src/sass/app/_tree.scss +++ /dev/null @@ -1,47 +0,0 @@ -.tree-node{ - line-height: 25px; - cursor: pointer; - &.selected{ - background-color: $border-light ; - } - .control{ - cursor: pointer; - font-size: 16px; - padding-left: 5px; - } - &:hover{ - background-color: $input-border; - } -} - -.jstree-default a.jstree-clicked, .jstree-default a.jstree-hovered { - background-color: rgba(0, 0, 0, 0.25); -} - -.jstree-default a.jstree-anchor, .jstree-default a.jstree-wholerow{ - &:hover{ - background-color: rgba(0, 0, 0, 0.15); - } -} - -.control-side > div { - margin-top: 5px; - margin-bottom: 10px; - - .btn{ - width: 100px; - } -} - -#tree-root{ - border-left: 1px solid $border-light; - padding-left: 10px; -} - -.tree-panel{ - height: 500px; -} - -.search-container{ - margin-top: 10px; -} \ No newline at end of file diff --git a/src/sass/app/_typography.scss b/src/sass/app/_typography.scss deleted file mode 100644 index a88d05a..0000000 --- a/src/sass/app/_typography.scss +++ /dev/null @@ -1,473 +0,0 @@ -h1, h2, h3, h4, h5, h6 { - font-family: $font-family; - width: 100%; - margin-top: 0; -} - -h1.color, h2.color, h3.color, h4.color, h5.color, h6.color { - color: $danger; -} - -body a { - color: $activelink; - text-decoration: none !important; - transition: color 0.2s ease; - &:hover { - color: $hoverlink; - } -} - -h1 { - font-size: 32px; -} - -h2 { - font-size: 24px; -} - -h3 { - font-size: 20px; -} - -h4 { - font-size: 18px; -} - -h5 { - font-size: 15px; -} - -.typography-document-samples { - - - p { - margin: 0; - } - - .typography-widget { - height: 100%; - - .panel { - height: 620px; - } - - .panel-title{ - text-align: center; - width: 100%; - } - - .panel.with-scroll .panel-body{ - height: calc(100% - 45px); - } - - .panel-content{ - padding: 15px 22px 5px 22px; - } - - } - -} - -.heading-widget { - - h1, h2, h3, h4, h5, h6 { - width: 100%; - font-weight: $font-light; - text-align: center; - } - - p { - line-height: 16px; - font-weight: $font-normal; - text-align: center; - } -} - -.more-text-widget { - text-align: center; - font-size: 14px; - - p { - line-height: 17px; - } - - .gray { - color: #767676; - } - - .black { - color: #585858; - } - - .light-text { - font-weight: $font-light; - } - - .regular-text { - font-weight: $font-normal; - } - - .upper-text { - text-transform: uppercase; - } - - .bold-text { - font-weight: $font-bold; - } - - .small-text { - padding: 5px 0 0 0; - p { - font-size: 9px; - font-weight: $font-light; - line-height: 10px; - } - } -} - -.color-widget { - text-align: center; - font-size: 14px; - font-weight: $font-normal; - p { - line-height: 17px; - } - - .section-block { - margin: 14px 0; - } - - .yellow-text p { - color: $warning-bg; - } - - .red-text p { - color: $danger-bg; - } - - .links { - h3 { - margin-bottom: 10px; - } - p { - margin-bottom: 0; - &.hovered { - a { - color: $hoverlink; - } - } - } - } - -} - -.lists-widget { - - font-weight: $font-normal; - .list-header { - width: 100%; - text-align: center; - } - - .accent { - margin-top: 30px; - color: $warning-bg; - line-height: 14px; - font-size: 14px; - padding-left: 11px; - border-left: 4px solid $warning-bg; - margin-left: 13px; - } - - ul.blur, ol.blur { - padding-left: 13px; - margin-bottom: 19px; - list-style: none; - padding-top: 1px; - li { - margin-top: 5px; - font-size: 14px; - ul, ol { - padding-left: 20px; - margin-bottom: 0; - list-style: none; - } - } - } - - ul.blur { - li { - &:before { - content: "• "; - color: $warning-bg; - width: 10px; - display: inline-block; - } - } - } - - ol.blur { - counter-reset: section; - li { - color: $warning-bg; - padding-left: 0; - line-height: 14px; - position: relative; - span { - color: $default-text; - display: block; - } - ol { - padding-left: 0; - margin-left: 12px; - } - &:before { - content: counters(section, ".") "."; - counter-increment: section; - width: 19px; - position: absolute; - left: 0; - top: 0; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - } - } - & > li { - span { - padding-left: 14px; - } - } - ol { - counter-reset: section; - & > li { - &:before { - width: 30px; - } - span { - padding-left: 27px - } - } - ol { - & > li { - &:before { - width: 40px; - } - span { - padding-left: 40px; - } - } - } - } - } -} - -.columns-section { - background-color: white; -} - -p { - margin-bottom: 12px; - font-family: $font-family; - font-size: 14px; -} - -p.small-text { - color: $help-text; - font-size: 12px; - line-height: 16px; - margin-bottom: 8px; -} - -.cols-two { - margin-bottom: 50px; - & > div { - float: left; - width: 350px; - margin-left: 40px; - &:first-child { - margin-left: 0; - } - } -} - -.cols-three { - margin-bottom: 50px; - & > div { - float: left; - width: 222px; - margin-left: 40px; - &:first-child { - margin-left: 0; - } - } -} - -a.learn-more { - font-size: 14px; - font-weight: $font-bold; - text-decoration: none; - line-height: 24px; -} - -.img-wrapper { - margin-bottom: 19px; - margin-top: 5px; - overflow: hidden; - height: 180px; - img { - width: 100%; - } -} - -.cols-three p { - margin-bottom: 10px; -} - -.banner { - position: relative; - margin-bottom: 20px; -} - -.large-banner-wrapper { - overflow: hidden; - height: 400px; - img { - height: 100%; - width: 100%; - display: block - } -} - -.banner-text-wrapper { - margin-top: -400px; - height: 400px; - text-align: center; -} - -.banner-text { - padding: 85px 90px 60px; - display: inline-block; - margin: 67px auto; - background: #fff; - min-width: 432px; - overflow: hidden; - background: rgba(0, 0, 0, 0.75); - color: #ffffff; - - h1 { - font-weight: $font-bold; - width: 100%; - color: #ffffff; - margin-bottom: 10px; - } - p { - font-size: 24px; - line-height: 30px; - font-weight: $font-light; - color: $primary; - margin-bottom: 0px; - } -} - -@media (max-width: 600px) { - .banner-text { - padding: 55px 60px 30px; - min-width: 0; - h1 { - font-size: 24px; - } - - p { - font-size: 16px; - } - } -} - -@media (max-width: 400px) { - .banner-text { - min-width: 0; - width: 100%; - height: 100%; - margin: 0; - } -} - -.photo-desc { - margin-top: 12px; - text-align: center; -} - -.text-info { - width: 90%; - p { - margin-bottom: 10px; - } -} - -.section-block { - padding-bottom: 12px; -} - -.separator { - height: 1px; - background: $border-light; - width: 100%; - margin-bottom: 19px; - margin-top: 16px; -} - -.section { - padding: 0 20px 50px 20px; -} - -.panel.banner-column-panel { - padding: 0; - margin-bottom: 90px; - - .panel-body{ - padding: 0; - } -} - - - - - @media screen and (min-width: 1620px) { - .col-xlg-1{ - width: 8.33333333%; - } - .col-xlg-2{ - width: 16.66666667%; - } - .col-xlg-3{ - width: 25%; - } - .col-xlg-4{ - width: 33.33333333%; - } - .col-xlg-5{ - width: 41.66666667%; - } - .col-xlg-6{ - width: 50%; - } - .col-xlg-7{ - width: 58.33333333%; - } - .col-xlg-8{ - width: 66.66666667%; - } - .col-xlg-9{ - width: 75%; - } - .col-xlg-10{ - width: 83.33333333%; - } - .col-xlg-11{ - width: 91.66666667%; - } - .col-xlg-12{ - width: 100%; - } - } \ No newline at end of file diff --git a/src/sass/app/maps/_google-maps.scss b/src/sass/app/maps/_google-maps.scss deleted file mode 100644 index 134bbda..0000000 --- a/src/sass/app/maps/_google-maps.scss +++ /dev/null @@ -1,4 +0,0 @@ -#google-maps { - width: 100%; - height: calc(100vh - 283px); -} \ No newline at end of file diff --git a/src/sass/app/maps/_leaflet.scss b/src/sass/app/maps/_leaflet.scss deleted file mode 100644 index 0d290ce..0000000 --- a/src/sass/app/maps/_leaflet.scss +++ /dev/null @@ -1,518 +0,0 @@ -#leaflet-map { - height: calc(100vh - 283px); -} - -/* required styles */ - -.leaflet-map-pane, -.leaflet-tile, -.leaflet-marker-icon, -.leaflet-marker-shadow, -.leaflet-tile-pane, -.leaflet-tile-container, -.leaflet-overlay-pane, -.leaflet-shadow-pane, -.leaflet-marker-pane, -.leaflet-popup-pane, -.leaflet-overlay-pane svg, -.leaflet-zoom-box, -.leaflet-image-layer, -.leaflet-layer { - position: absolute; - left: 0; - top: 0; -} - -.leaflet-container { - overflow: hidden; - -ms-touch-action: none; -} - -.leaflet-tile, -.leaflet-marker-icon, -.leaflet-marker-shadow { - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - -webkit-user-drag: none; -} - -.leaflet-marker-icon, -.leaflet-marker-shadow { - display: block; -} - -/* map is broken in FF if you have max-width: 100% on tiles */ -.leaflet-container img { - max-width: none !important; -} - -/* stupid Android 2 doesn't understand "max-width: none" properly */ -.leaflet-container img.leaflet-image-layer { - max-width: 15000px !important; -} - -.leaflet-tile { - filter: inherit; - visibility: hidden; -} - -.leaflet-tile-loaded { - visibility: inherit; -} - -.leaflet-zoom-box { - width: 0; - height: 0; -} - -/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ -.leaflet-overlay-pane svg { - -moz-user-select: none; -} - -.leaflet-tile-pane { - z-index: 2; -} - -.leaflet-objects-pane { - z-index: 3; -} - -.leaflet-overlay-pane { - z-index: 4; -} - -.leaflet-shadow-pane { - z-index: 5; -} - -.leaflet-marker-pane { - z-index: 6; -} - -.leaflet-popup-pane { - z-index: 7; -} - -.leaflet-vml-shape { - width: 1px; - height: 1px; -} - -.lvml { - behavior: url(#default#VML); - display: inline-block; - position: absolute; -} - -/* control positioning */ - -.leaflet-control { - position: relative; - z-index: 7; - pointer-events: auto; -} - -.leaflet-top, -.leaflet-bottom { - position: absolute; - z-index: 1000; - pointer-events: none; -} - -.leaflet-top { - top: 0; -} - -.leaflet-right { - right: 0; -} - -.leaflet-bottom { - bottom: 0; -} - -.leaflet-left { - left: 0; -} - -.leaflet-control { - float: left; - clear: both; -} - -.leaflet-right .leaflet-control { - float: right; -} - -.leaflet-top .leaflet-control { - margin-top: 10px; -} - -.leaflet-bottom .leaflet-control { - margin-bottom: 10px; -} - -.leaflet-left .leaflet-control { - margin-left: 10px; -} - -.leaflet-right .leaflet-control { - margin-right: 10px; -} - -/* zoom and fade animations */ - -.leaflet-fade-anim .leaflet-tile, -.leaflet-fade-anim .leaflet-popup { - opacity: 0; - transition: opacity 0.2s linear; -} - -.leaflet-fade-anim .leaflet-tile-loaded, -.leaflet-fade-anim .leaflet-map-pane .leaflet-popup { - opacity: 1; -} - -.leaflet-zoom-anim .leaflet-zoom-animated { - transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1); -} - -.leaflet-zoom-anim .leaflet-tile, -.leaflet-pan-anim .leaflet-tile, -.leaflet-touching .leaflet-zoom-animated { - transition: none; -} - -.leaflet-zoom-anim .leaflet-zoom-hide { - visibility: hidden; -} - -/* cursors */ - -.leaflet-clickable { - cursor: pointer; -} - -.leaflet-container { - cursor: -webkit-grab; - cursor: -moz-grab; -} - -.leaflet-popup-pane, -.leaflet-control { - cursor: auto; -} - -.leaflet-dragging .leaflet-container, -.leaflet-dragging .leaflet-clickable { - cursor: move; - cursor: -webkit-grabbing; - cursor: -moz-grabbing; -} - -/* visual tweaks */ - -.leaflet-container { - background: #ddd; - outline: 0; -} - -.leaflet-container a { - color: #0078A8; -} - -.leaflet-container a.leaflet-active { - outline: 2px solid orange; -} - -.leaflet-zoom-box { - border: 2px dotted #38f; - background: rgba(255, 255, 255, 0.5); -} - -/* general toolbar styles */ - -.leaflet-bar { - box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); - a { - background-color: $primary-dark; - border-bottom: 1px solid #ccc; - display: block; - text-align: center; - text-decoration: none; - opacity: 0.8; - color: #fff; - font-size: 17px; - width: 20px; - height: 20px; - line-height: 18px; - font-family: Lato; - font-weight: $font-thin; - &:hover { - background-color: $danger; - } - &:last-child { - border-bottom: none; - } - &.leaflet-control-zoom-out { - line-height: 16px; - } - } -} - -.leaflet-bar a.leaflet-disabled { - cursor: default; - background-color: $disabled-bg; - color: $disabled; -} - -/* zoom control */ - -.leaflet-bar .leaflet-control-zoom-in, -.leaflet-bar .leaflet-control-zoom-out { - line-height: 18px; - &:hover{ - width: 20px; - height: 20px; - } -} - -.leaflet-control-zoom-out { - font-size: 20px; -} - -.leaflet-touch .leaflet-control-zoom-in { - font-size: 22px; -} - -.leaflet-touch .leaflet-control-zoom-out { - font-size: 24px; -} - -/* layers control */ - -.leaflet-control-layers { - box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); - background: #fff; -} - -.leaflet-control-layers-toggle { - background-image: url(../img/layers.png); - width: 36px; - height: 36px; -} - -.leaflet-retina .leaflet-control-layers-toggle { - background-image: url(../img/layers-2x.png); - background-size: 26px 26px; -} - -.leaflet-touch .leaflet-control-layers-toggle { - width: 44px; - height: 44px; -} - -.leaflet-control-layers .leaflet-control-layers-list, -.leaflet-control-layers-expanded .leaflet-control-layers-toggle { - display: none; -} - -.leaflet-control-layers-expanded .leaflet-control-layers-list { - display: block; - position: relative; -} - -.leaflet-control-layers-expanded { - padding: 6px 10px 6px 6px; - color: #333; - background: #fff; -} - -.leaflet-control-layers-selector { - margin-top: 2px; - position: relative; - top: 1px; -} - -.leaflet-control-layers label { - display: block; -} - -.leaflet-control-layers-separator { - height: 0; - border-top: 1px solid #ddd; - margin: 5px -10px 5px -6px; -} - -/* attribution and scale controls */ - -.leaflet-container .leaflet-control-attribution { - background: #fff; - background: rgba(255, 255, 255, 0.7); - margin: 0; -} - -.leaflet-control-attribution, -.leaflet-control-scale-line { - padding: 0 5px; - color: #333; -} - -.leaflet-control-attribution a { - text-decoration: none; -} - -.leaflet-control-attribution a:hover { - text-decoration: underline; -} - -.leaflet-container .leaflet-control-attribution, -.leaflet-container .leaflet-control-scale { - font-size: 11px; -} - -.leaflet-left .leaflet-control-scale { - margin-left: 5px; -} - -.leaflet-bottom .leaflet-control-scale { - margin-bottom: 5px; -} - -.leaflet-control-scale-line { - border: 2px solid #777; - border-top: none; - line-height: 1.1; - padding: 2px 5px 1px; - font-size: 11px; - white-space: nowrap; - overflow: hidden; - -moz-box-sizing: content-box; - box-sizing: content-box; - - background: #fff; - background: rgba(255, 255, 255, 0.5); -} - -.leaflet-control-scale-line:not(:first-child) { - border-top: 2px solid #777; - border-bottom: none; - margin-top: -2px; -} - -.leaflet-control-scale-line:not(:first-child):not(:last-child) { - border-bottom: 2px solid #777; -} - -.leaflet-touch .leaflet-control-attribution, -.leaflet-touch .leaflet-control-layers, -.leaflet-touch .leaflet-bar { - box-shadow: none; -} - -.leaflet-touch .leaflet-control-layers, -.leaflet-touch .leaflet-bar { - border: none; - background-clip: padding-box; -} - -/* popup */ - -.leaflet-popup { - position: absolute; - text-align: center; -} - -.leaflet-popup-content-wrapper { - padding: 1px; - text-align: left; -} - -.leaflet-popup-content { - margin: 13px 19px; - line-height: 1.4; - color: $default-text; -} - -.leaflet-popup-content p { - margin: 18px 0; -} - -.leaflet-popup-tip-container { - margin: 0 auto; - width: 40px; - height: 20px; - position: relative; - overflow: hidden; -} - -.leaflet-popup-tip { - width: 17px; - height: 17px; - padding: 1px; - margin: -10px auto 0; - transform: rotate(45deg); -} - -.leaflet-popup-content-wrapper, -.leaflet-popup-tip { - background: white; - - box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); -} - -.leaflet-container a.leaflet-popup-close-button { - position: absolute; - top: 0; - right: 0; - padding: 4px 4px 0 0; - text-align: center; - width: 18px; - height: 14px; - font: 16px/14px Tahoma, Verdana, sans-serif; - color: #c3c3c3; - text-decoration: none; - font-weight: $font-bold; - background: transparent; -} - -.leaflet-container a.leaflet-popup-close-button:hover { - color: #999; -} - -.leaflet-popup-scrolled { - overflow: auto; - border-bottom: 1px solid #ddd; - border-top: 1px solid #ddd; -} - -.leaflet-oldie .leaflet-popup-content-wrapper { - zoom: 1; -} - -.leaflet-oldie .leaflet-popup-tip { - width: 24px; - margin: 0 auto; - -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; - filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); -} - -.leaflet-oldie .leaflet-popup-tip-container { - margin-top: -1px; -} - -.leaflet-oldie .leaflet-control-zoom, -.leaflet-oldie .leaflet-control-layers, -.leaflet-oldie .leaflet-popup-content-wrapper, -.leaflet-oldie .leaflet-popup-tip { - border: 1px solid #999; -} - -/* div icon */ - -.leaflet-div-icon { - background: #fff; - border: 1px solid #666; -} \ No newline at end of file diff --git a/src/sass/app/maps/_map-bubbles.scss b/src/sass/app/maps/_map-bubbles.scss deleted file mode 100644 index 036bc4f..0000000 --- a/src/sass/app/maps/_map-bubbles.scss +++ /dev/null @@ -1,14 +0,0 @@ -#map-bubbles { - width: 100%; - height: calc(100vh - 283px); - font-size : 11px; -} - -/* -#chartdiv1 { - background: #3f3f4f; - color:#ffffff; - width : 100%; - height : 500px; - font-size : 11px; -}*/ diff --git a/src/sass/app/maps/_map-lines.scss b/src/sass/app/maps/_map-lines.scss deleted file mode 100644 index cf1c331..0000000 --- a/src/sass/app/maps/_map-lines.scss +++ /dev/null @@ -1,4 +0,0 @@ -#map-lines { - width: 100%; - height: calc(100vh - 283px); -} \ No newline at end of file diff --git a/src/sass/auth.scss b/src/sass/auth.scss deleted file mode 100644 index 8b141f2..0000000 --- a/src/sass/auth.scss +++ /dev/null @@ -1,156 +0,0 @@ -@import "common.scss"; -@import "theme/_socicon.scss"; -@import "theme/_layout.scss"; -@import 'theme/buttons.scss'; -@import 'app/form.scss'; - -html, body { - height: 100%; -} - -html { - min-height: 520px; -} - -.form-control, .form-control:focus { - @include placeholderStyle($default, 0.9); - background-color: rgba(0, 0, 0, .4); - border-radius: 5px; - color: $default; -} -.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { - @include placeholderStyle($default, 0.6); -} - -.auth-main { - display: flex; - align-items: center; - height: 100%; - width: 100%; -} - -.auth-block { - width: 540px; - margin: 0 auto; - border-radius: 5px; - @include bg-translucent-dark(0.55); - color: #fff; - padding: 32px; - h1 { - font-weight: $font-light; - margin-bottom: 28px; - text-align: center; - } - p { - font-size: 16px; - } - a { - text-decoration: none; - outline: none; - transition: all 0.2s ease; - color: $primary; - &:hover { - color: $primary-dark; - } - } - - .control-label { - padding-top: 11px; - color: $default; - } - - .form-group { - margin-bottom: 12px; - } -} - -.auth-input { - width: 300px; - margin-bottom: 24px; - input { - display: block; - width: 100%; - border: none; - font-size: 16px; - padding: 4px 10px; - outline: none; - } -} - -a.forgot-pass { - display: block; - text-align: right; - margin-bottom: -20px; - float: right; - z-index: 2; - position: relative; -} - -.auth-link { - display: block; - font-size: 16px; - text-align: center; - margin-bottom: 33px; -} - -.auth-sep { - margin-top: 36px; - margin-bottom: 24px; - line-height: 20px; - font-size: 16px; - text-align: center; - display: block; - position: relative; - & > span { - display: table-cell; - width: 30%; - white-space: nowrap; - padding: 0 24px; - color: $default; - & > span { - margin-top: -12px; - display: block; - } - } - &:before, &:after { - border-top: solid 1px $default; - content: ""; - height: 1px; - width: 35%; - display: table-cell; - } -} - -.al-share-auth { - text-align: center; - .al-share { - float: none; - margin: 0; - padding: 0; - display: inline-block; - li { - margin-left: 24px; - &:first-child { - margin-left: 0; - } - i { - font-size: 24px; - } - } - } -} - -.btn-auth { - background: $primary; - color: #ffffff; - border-radius: 5px; - border-color: $primary; - padding: 7px 12px; - transition: all 0.1s ease; - &:hover { - color: #ffffff; - background: $primary; - border-color: $primary; - transform: scale(1.2); - } -} \ No newline at end of file diff --git a/src/sass/common.scss b/src/sass/common.scss deleted file mode 100644 index bd86edf..0000000 --- a/src/sass/common.scss +++ /dev/null @@ -1,3 +0,0 @@ -@import 'theme/conf/mixins'; -@import 'theme/conf/colorScheme'; -@import 'theme/conf/variables'; diff --git a/src/sass/main.scss b/src/sass/main.scss deleted file mode 100644 index f8ffe2d..0000000 --- a/src/sass/main.scss +++ /dev/null @@ -1,4 +0,0 @@ -@import 'common'; - -// injector -// endinjector \ No newline at end of file diff --git a/src/sass/theme/_blur-admin-theme.scss b/src/sass/theme/_blur-admin-theme.scss deleted file mode 100644 index 5324b35..0000000 --- a/src/sass/theme/_blur-admin-theme.scss +++ /dev/null @@ -1,23 +0,0 @@ -.label { - border-radius: 0; -} - -.label-primary { - background: $primary; -} - -.label-info { - background: $primary-light; -} - -.label-success { - background: $success; -} - -.label-warning { - background: $warning; -} - -.label-danger { - background: $danger; -} \ No newline at end of file diff --git a/src/sass/theme/_buttons.scss b/src/sass/theme/_buttons.scss deleted file mode 100644 index af24a34..0000000 --- a/src/sass/theme/_buttons.scss +++ /dev/null @@ -1,279 +0,0 @@ -$hover: 24; -.btn:focus, .btn:active:focus, .btn.active:focus, -.btn.focus, .btn:active.focus, .btn.active.focus { - outline: none; -} - -.btn { - border-radius: 5px; - transition: all 0.1s ease; -} - -.btn:hover { - transform: scale(1.2); -} - -@mixin styleButton($color, $borderColor) { - background: $color; - border-color: $borderColor; -} - -@mixin buttonColor($color, $borderColor) { - @include styleButton($color, $borderColor); - - &.disabled, &[disabled], fieldset[disabled] &, &.disabled:hover, &[disabled]:hover, - fieldset[disabled] &:hover, &.disabled:focus, &[disabled]:focus, fieldset[disabled] &:focus, - &.disabled.focus, &[disabled].focus, fieldset[disabled] &.focus, &.disabled:active, - &[disabled]:active, fieldset[disabled] &:active, &.disabled.active, &[disabled].active, - fieldset[disabled] &.active { - @include styleButton($color, $borderColor + $hover/2); - &:hover { - transform: none; - } - } - - &:hover, &:focus, &.focus, &:active, &.active { - @include styleButton($color, $borderColor - $hover); - } -} - -.open > .btn.dropdown-toggle { - &.btn.btn-primary { - @include styleButton($primary, $primary - $hover); - background-color: $primary-dark; - border-color: $primary-dark; - } - &.btn-default { - @include styleButton(transparent, $default); - &:focus, &:active:hover, &.active:hover, &:hover{ - background-color: rgba(0, 0, 0, 0.2); - color: $default; - } - } - &.btn-success { - @include styleButton($success, $success - $hover); - } - &.btn-info { - @include styleButton($info, $info - $hover); - } - &.btn-warning { - @include styleButton($warning, $warning - $hover); - } - &.btn-danger { - @include styleButton($danger, $danger - $hover); - } -} - -.dropdown button.btn.btn-default.dropdown-toggle { - color: #fff; -} - -.bootstrap-select { - .dropdown-toggle:focus { - outline: none !important; - } - button.btn-default:focus { - color: $default; - } - .btn { - transition: none; - } -} - -button.btn.btn-primary { - @include buttonColor($primary, $primary); - &:active, &:target { - background-color: $primary-dark; - } -} - -button.btn.btn-default { - border-width: 1px; - @include buttonColor(transparent, $default); - &:active, &:target { - background-color: rgba(0, 0, 0, 0.2); - color: $default; - } -} - -button.btn.btn-success { - @include buttonColor($success, $success); - &:active, &:target { - background-color: $success-dark; - } -} - -button.btn.btn-info { - @include buttonColor($info, $info); - &:active, &:target { - background-color: $info-dark; - } -} - -button.btn.btn-warning { - @include buttonColor($warning, $warning); - &:active, &:target { - background-color: $warning-dark; - } -} - -button.btn.btn-danger { - @include buttonColor($danger, $danger); - &:active, &:target { - background-color: $danger-dark; - } -} - - -button.btn.btn-inverse { - @include buttonColor($help-text, $help-text); - color: $default; - &:active, &:target, &:hover { - background-color: $help-text; - color: $default; - } -} - - - -.btn-with-icon { - i { - margin-right: 10px; - } -} - -.btn-group, .btn-toolbar { - :hover { - transform: none; - } -} - -@mixin buttonGroupColor($color) { - border-color: $color - $hover/2; - &:hover { - border-color: $color - $hover; - } -} - -.btn-group { - button.btn.btn-primary { - @include buttonGroupColor($primary); - } - button.btn.btn-default { - @include buttonGroupColor($default); - } - button.btn.btn-danger { - @include buttonGroupColor($danger); - } - button.btn.btn-info { - @include buttonGroupColor($info); - } - button.btn.btn-success { - @include buttonGroupColor($success); - } - button.btn.btn-warning { - @include buttonGroupColor($warning); - } - .dropdown-menu { - margin-top: 0px; - } -} - -.btn-toolbar { - display: inline-block; -} - -.btn .caret { - margin-left: 2px; -} - -@mixin progressButtonColor($btnColor) { - border-radius: 0; - .content { - &:after, &:before { - color: darken($btnColor, 40); - } - } - - &.progress-button-style-move-up, &.progress-button-style-slide-down { - .content { - background-color: darken($btnColor, 10); - } - } - - &.progress-button-style-lateral-lines .progress-inner { - border-color: darken($btnColor, 10); - background: 0 0; - } - - .progress { - background-color: darken($btnColor, 10); - box-shadow: 0 1px 0 darken($btnColor, 10); - } - - .progress-inner { - background-color: darken($btnColor, 20); - } - &.progress-button-perspective { - background: none; - .content { - background-color: $btnColor; - } - } -} - -button.progress-button { - - .progress { - margin-bottom: 0; - border-radius: 0; - } - &:hover { - transform: none; - } - - &.progress-button-style-shrink.btn.disabled.progress-button-dir-horizontal:hover { - transform: scaleY(.3); - } - &.progress-button-style-shrink.btn.disabled.progress-button-dir-vertical:hover { - transform: scaleX(.1); - } - - &.btn.btn-primary { - @include progressButtonColor($primary); - } - - &.btn.btn-default { - @include progressButtonColor($default); - } - - &.btn.btn-success { - @include progressButtonColor($success); - } - - &.btn.btn-info { - @include progressButtonColor($info); - } - - &.btn.btn-warning { - @include progressButtonColor($warning); - } - - &.btn.btn-danger { - @include progressButtonColor($danger); - } -} - -.btn-raised { - box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.35); -} - -.btn-mm { - padding: 5px 11px; - font-size: 13px; -} - -.btn-xm { - padding: 8px 14px; - font-size: 16px; -} diff --git a/src/sass/theme/_icons.scss b/src/sass/theme/_icons.scss deleted file mode 100644 index bb92753..0000000 --- a/src/sass/theme/_icons.scss +++ /dev/null @@ -1,40 +0,0 @@ -@mixin svg-icon($url, $width:'', $height:'') { - display: inline-block; - background: url($url) no-repeat center; - background-size: contain; - vertical-align: middle; - @if ($width != '') { - width: $width + px; - } - @if ($height != '') { - height: $height + px; - } -} - -@mixin svg-icon-class($iconName, $width:'', $height:'') { - .#{'i-' + $iconName} { - @include svg-icon($images-root + $iconName + '.svg', $width, $height); - } -} - -@include svg-icon-class('face', 80, 80); -@include svg-icon-class('money', 80, 80); -@include svg-icon-class('person', 80, 80); -@include svg-icon-class('refresh', 80, 80); - - -@mixin png-icon($url, $width, $height) { - display: inline-block; - width: $width + px; - height: $height + px; - background: url($url) no-repeat center center; - background-size: $width + px $height + px; -} - -@mixin png-icon-class($iconName, $width, $height) { - .#{'i-' + $iconName} { - @include png-icon($images-root + $iconName + '.png', $width, $height); - } -} - -//@include icon-png-class('arrival-icon', 11, 11); \ No newline at end of file diff --git a/src/sass/theme/_layout.scss b/src/sass/theme/_layout.scss deleted file mode 100644 index c026f50..0000000 --- a/src/sass/theme/_layout.scss +++ /dev/null @@ -1,201 +0,0 @@ -$left-space: 180px; - -@include scrollbars(.5em, #d9d9d9, rgba(0,0,0,0)); - -html { - position: relative; - min-width: 320px; -} - -html, body { - min-height: 100%; - min-width: $resMin; -} - -body { - font: 14px/16px $font-family; - color: white; - @include main-background(); -} - - -@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) -{ - html{ - overflow: hidden; - height: 100%; - } - body{ - overflow: auto; - height: 100%; - } -} - -a { - transition: color 0.5s ease; - outline: 0 !important; -} - -.body-bg{ - display: none; -} -.al-header { - display: block; - height: 49px; - margin: 0; - background-repeat: repeat-x; - position: relative; - z-index: 905; - color: #444444; -} - -.al-main { - margin-left: $left-space; - padding: 66px 0 34px 0; - min-height: 500px; -} - -.al-footer { - height: 34px; - padding: 0px 18px 0 $left-space; - width: 100%; - position: absolute; - display: block; - bottom: 0; - font-size: 13px; - color: #ffffff; - transition: padding-left 0.5s ease; -} - -.al-footer-main { - float: left; - margin-left: 15px; -} - -.al-copy { - float: left; -} - -.al-footer-right { - float: right; - margin-right: 12px; - i { - margin: 0 4px; - color: $warning; - font-size: 12px; - } - a { - margin-left: 4px; - color: #ffffff; - &:hover { - color: $warning; - } - } -} - -.al-share { - margin: -6px 0 0 12px; - padding: 0; - list-style: none; - float: left; - li { - list-style: none; - float: left; - margin-left: 16px; - i { - cursor: pointer; - transition: all 0.1s ease; - color: #ffffff; - padding: 6px; - box-sizing: content-box; - font-size: 16px; - &:hover { - transform: scale(1.2); - } - } - i.fa-facebook-square { - color: $facebook-color; - } - i.fa-twitter-square { - color: $twitter-color; - } - i.fa-google-plus-square { - color: $google-color; - } - } -} - -.al-content { - padding: 8px 32px 8px 40px; -} - -@media screen and (max-width: $resXS) { - .al-content { - padding: 8px 20px; - } -} - -.vis-hidden { - visibility: hidden; - position: absolute; - top: -9999px; - left: -9999px; -} - -.icon-up, .icon-down { - width: 5px; - height: 13px; - display: block; -} - -.icon-up { - @include bg-nr('arrow-green-up.svg'); -} - -.icon-down { - @include bg-nr('arrow-red-down.svg'); -} - -.disable-text-selection { - -webkit-touch-callout: none; - user-select: none; -} - -.align-right { - text-align: right -} - -.amcharts-chart-div > a { - font-size: 6px !important; -} - -.content-panel { - padding-left: 22px; - padding-top: 26px; -} - -@media (max-width: 590px) { - .al-footer-right { - float: none; - margin-bottom: 19px; - margin-right: 0; - } - .al-footer { - height: 76px; - text-align: center; - } - .al-main { - padding-bottom: 76px; - } - .al-footer-main { - float: none; - display: inline-block; - } -} - -.full-invisible { - visibility: hidden!important; - * { - visibility: hidden!important; - } -} \ No newline at end of file diff --git a/src/sass/theme/_preloader.scss b/src/sass/theme/_preloader.scss deleted file mode 100644 index 3d0df0e..0000000 --- a/src/sass/theme/_preloader.scss +++ /dev/null @@ -1,77 +0,0 @@ -@-webkit-keyframes spin { - 0% { - transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ - } - 100% { - transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ - } -} -@-moz-keyframes spin { - 0% { - -moz-transform: rotate(0deg); /* Firefox 16+*/ - } - 100% { - -moz-transform: rotate(360deg); /* Firefox 16+*/ - } -} - -@keyframes spin { - 0% { - transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ - } - 100% { - transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ - } -} - -#preloader { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 1000; - background: #000000; - backface-visibility: hidden; - & > div { - display: block; - position: relative; - left: 50%; - top: 50%; - width: 150px; - height: 150px; - margin: -75px 0 0 -75px; - border-radius: 50%; - border: 3px solid transparent; - border-top-color: $danger; - backface-visibility: hidden; - transform: translate3d(0, 0, 0); - backface-visibility: hidden; - animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ - &:before { - content: ""; - position: absolute; - top: 5px; - left: 5px; - right: 5px; - bottom: 5px; - border-radius: 50%; - border: 3px solid transparent; - border-top-color: $primary; - -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ - animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ - } - &:after { - content: ""; - position: absolute; - top: 15px; - left: 15px; - right: 15px; - bottom: 15px; - border-radius: 50%; - border: 3px solid transparent; - border-top-color: $warning; - animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ - } - } -} \ No newline at end of file diff --git a/src/sass/theme/_socicon.scss b/src/sass/theme/_socicon.scss deleted file mode 100644 index 927bed8..0000000 --- a/src/sass/theme/_socicon.scss +++ /dev/null @@ -1,70 +0,0 @@ -@font-face { - font-family: 'socicon'; - src: url('#{$fonts-root}socicon.eot'); - src: url('#{$fonts-root}socicon.eot?#iefix') format('embedded-opentype'), - url('#{$fonts-root}socicon.woff') format('woff'), - url('#{$fonts-root}socicon.woff2') format('woff2'), - url('#{$fonts-root}socicon.ttf') format('truetype'), - url('#{$fonts-root}socicon.svg#sociconregular') format('svg'); - font-weight: $font-normal; - font-style: normal; - text-transform: initial; -} - -.socicon { - font-family: 'socicon' !important; -} - -.socicon { - position: relative; - top: 1px; - display: inline-block; - font-family: 'socicon'; - font-style: normal; - font-weight: $font-normal; - line-height: 1; - -webkit-font-smoothing: antialiased; -} - -.socicon:empty { - width: 1em; -} - -@mixin socicon($background, $content) { - background-color: $background; - &:before { - content: $content; - } -} - -.socicon-twitter { - @include socicon($twitter-color, "a"); -} - -.socicon-facebook { - @include socicon($facebook-color, "b"); -} - -.socicon-google { - @include socicon($google-color, "c"); -} - -.socicon-linkedin { - @include socicon($linkedin-color, "j"); -} - -.socicon-github { - @include socicon($github-color, "Q"); -} - -.socicon-stackoverflow { - @include socicon($stackoverflow-color, "("); -} - -.socicon-dribble { - @include socicon($dribble-color, "D"); -} - -.socicon-behace { - @include socicon($behace-color, "H"); -} \ No newline at end of file diff --git a/src/sass/theme/_table.scss b/src/sass/theme/_table.scss deleted file mode 100644 index 6501b72..0000000 --- a/src/sass/theme/_table.scss +++ /dev/null @@ -1,324 +0,0 @@ -.table { - margin-bottom: 0px; - & > thead { - & > tr { - & > th { - border-bottom: 1px solid rgba(255, 255, 255, 0.1); - white-space: nowrap; - &:first-child { - text-align: center; - } - &:last-child { - padding-right: 16px; - } - } - } - } - & > tbody { - & > tr { - & > tr:first-child { - padding-top: 1px; - } - & > td { - padding: 0px 8px; - line-height: 35px; - border-top: 1px solid rgba(255, 255, 255, 0.1); - &:first-child { - text-align: center; - } - &:last-child { - padding-right: 16px !important; - } - } - } - } - &.table-bordered { - border-color: rgba(255, 255, 255, 0.2) !important; - th, td { - border-color: rgba(255, 255, 255, 0.2) !important; - } - } -} - -.table-id { - text-align: left !important; - width: 40px; -} - -.table-arr { - width: 5px; - padding: 10px 8px 8px 0 !important; -} - -.table-no-borders { - border: none; - td, th, tr { - border: none !important; - } -} - -.editable-wrap .btn-group.form-control { - background-color: transparent; -} - -.editable-tr-wrap { - .editable-wrap { - vertical-align: super; - } - .editable-controls input.editable-input { - width: 110px; - } - td { - width: 20%; - } -} - -.editable-table-button { - width: 70px; -} - -.add-row-editable-table { - margin-bottom: 10px; -} - -.add-row-editable-table + table { - margin-bottom: 5px; -} - -.select-page-size-wrap { - width: 150px; -} - -.table .header-row th { - vertical-align: middle; - padding: 0 8px; -} - -tr.editable-row { - input.form-control { - vertical-align: middle; - } -} - -.select-td .editable-select { - margin-bottom: 1px; -} - -@media screen and (max-width: 1199px) { - .editable-tr-wrap { - .editable-wrap { - vertical-align: middle; - } - } -} - -.browser-icons { - width: 41px; -} - -.st-sort-ascent, .st-sort-descent { - position: relative; -} - -.st-sort-ascent:after, .st-sort-descent:after { - width: 0; - height: 0; - border-bottom: 4px solid $default-text; - border-top: 4px solid transparent; - border-left: 4px solid transparent; - border-right: 4px solid transparent; - margin-bottom: 2px; -} - -.st-sort-descent:after { - transform: rotate(-180deg); - margin-bottom: -2px; -} - -.sortable { - th { - cursor: pointer; - &:after { - content: ''; - display: inline-block; - width: 8px; - margin-left: 8px; - } - } -} - -a.email-link { - color: $default; - &:hover { - color: $danger; - } -} - -input.search-input { - margin-left: -8px; - padding-left: 8px; -} - -.table .pagination { - margin: 4px 0 -12px 0; - a { - cursor: pointer; - } -} - -.vertical-scroll { - max-height: 214px; -} - -.pagination > li > a, .pagination > li > span { - background: transparent; -} - -.pagination > li:first-child > a, .pagination > li:first-child > span { - border-top-left-radius: 0px; - border-bottom-left-radius: 0px; -} - -.pagination > li:last-child > a, .pagination > li:last-child > span { - border-top-right-radius: 0px; - border-bottom-right-radius: 0px; -} - -.status-button { - width: 60px; -} - -.table { - .editable-wrap .editable-controls, .editable-wrap .editable-error { - vertical-align: sub; - .btn { - &.dropdown-toggle { - padding: 3px 20px; - margin-top: 3px; - } - padding: 3px 8px; - } - input { - line-height: 1px; - height: 30px; - } - } -} - -.form-inline button[type="submit"].editable-table-button { - margin-left: 0; -} - -body.badmin-transparent { - .table { - & > thead { - & > tr { - & > th { - border-bottom: none; - } - } - } - & > tbody { - & > tr.no-top-border { - &:first-child > td { - border-top: none; - } - } - } - } - - .black-muted-bg { - background-color: rgba(0, 0, 0, 0.1); - } - - .table-hover { - tr:hover { - background-color: rgba(0, 0, 0, 0.1); - } - } - - .table-striped > tbody > tr:nth-of-type(odd) { - background-color: rgba(0, 0, 0, 0.1); - } - .table > tbody > tr.primary > td { - background-color: rgba($primary,0.7); - border: none; - } - .table > tbody > tr.success > td { - background-color: rgba($success,0.7); - border: none; - } - .table > tbody > tr.warning > td { - background-color: rgba($warning,0.7); - border: none; - } - .table > tbody > tr.danger > td { - background-color: rgba($danger,0.7); - border: none; - } - .table > tbody > tr.info > td { - background-color: rgba($info,0.7); - border: none; - } - - .editable-click, a.editable-click { - color: $default; - border-bottom: dashed 1px $default; - } -} - -th { - font-weight: $font-normal; -} - -.editable-empty { - color: $danger-dark; -} - -.table > tbody > tr > th { - border: none; -} - -.table-striped > tbody > tr > td { - border: none; -} -.pagination > li > a, -.pagination > li > span{ - color: $default; - border-color: $default; -} - - -.pagination > li:first-of-type > a, -.pagination > li:first-of-type > span{ - border-top-left-radius: 5px; - border-bottom-left-radius: 5px; -} - -.pagination > li:last-of-type > a, -.pagination > li:last-of-type > span{ - border-top-right-radius: 5px; - border-bottom-right-radius: 5px; -} - -.pagination > .active > a, -.pagination > .active > span, -.pagination > .active > a:hover, -.pagination > .active > span:hover, -.pagination > .active > a:focus, -.pagination > .active > span:focus { - background-color: $primary; - border-color: $default; -} - -.pagination > li > a:hover, -.pagination > li > span:hover, -.pagination > li > a:focus, -.pagination > li > span:focus{ - background-color: rgba(0,0,0,.2); - color: $default; -} - -.editable-buttons .btn-with-icon i { - margin-right: 0; -} \ No newline at end of file diff --git a/src/sass/theme/_tree.scss b/src/sass/theme/_tree.scss deleted file mode 100644 index e69de29..0000000 diff --git a/src/sass/theme/bootstrap-overrides/_panel.scss b/src/sass/theme/bootstrap-overrides/_panel.scss deleted file mode 100644 index 98b7968..0000000 --- a/src/sass/theme/bootstrap-overrides/_panel.scss +++ /dev/null @@ -1,185 +0,0 @@ -$panel-title-height: 44px; -$panel-heading-font-size: 16px; - -.panel { - border: none; - background-color: $panel-bg; - color: $default-text; - position: relative; - //transition: all 0.2s ease; - margin-bottom: 24px; - box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.25); - /*&:hover { - background: $panel-bg-hover; - }*/ - &.animated { - animation-duration: 0.5s; - } - &.small-panel { - height: $small-panel-height; - } - &.xsmall-panel { - height: $xsmall-panel-height; - } - &.medium-panel { - height: $medium-panel-height; - } - &.xmedium-panel { - height: $extra-medium-panel-height; - } - &.large-panel { - height: $large-panel-height; - } - &.viewport100 { - height: calc(100vh - 218px); - } - - &.with-scroll { - .panel-body { - height: calc(100% - #{$panel-title-height}); - overflow-y: auto; - } - } -} - -.panel > .panel-body { - padding: 15px 22px; - height: 100%; -} - -.panel-heading, .panel-footer { - height: $panel-title-height; - font-size: $panel-heading-font-size; - - $vertical-padding: ($panel-title-height - $panel-heading-font-size) / 2; - padding: $vertical-padding 22px; - -} - -.panel-title { - font-weight: $font-normal; - text-transform: uppercase; - opacity: 0.9; - //text-transform: uppercase; -} - -.panel-white, .panel-blur { - background-size: cover; - > .panel-heading { - background-color: transparent; - border: none; - color: $default-text; - } -} - -.panel-white { - background-color: $panel-bg; -} - -.panel-blur { - $blurredBgUrl: $images-root + 'blur-bg-blurred.jpg'; - background: url($blurredBgUrl); - transition: none; -} - -.panel-primary { - > .panel-heading { - color: $primary; - background-color: $primary-bg; - border-color: $primary-bg; - } -} - -.panel-success { - > .panel-heading { - color: $success; - background-color: $success-bg; - border-color: $success-bg; - } -} - -.panel-info { - > .panel-heading { - color: $info; - background-color: $info-bg; - border-color: $info-bg; - } -} - -.panel-warning { - > .panel-heading { - color: $warning; - background-color: $warning-bg; - border-color: $warning-bg; - } -} - -.panel-danger { - > .panel-heading { - color: $danger; - background-color: $danger-bg; - border-color: $danger-bg; - } -} - -.panel-primary, .panel-success, .panel-info, .panel-warning, .panel-danger { - .panel-heading { - color: rgba(255, 255, 255, 0.8); - } -} - -.panel.bootstrap-panel{ - .panel-body, .panel-heading { - p, div, span { - color: $default-text; - } - } -} - -.accordion-panel.panel.bootstrap-panel{ - &.panel-primary, - &.panel-success, - &.panel-info, - &.panel-warning, - &.panel-danger{ - .panel-heading { - p, div, span { - color: rgba(255, 255, 255, 0.8); - } - } - } -} - -.panel-group .panel.accordion-panel{ - .panel-heading{ - border-bottom: 0; - } -} - -.panel-group .panel { - .panel-heading { - border-bottom: 1px solid #ddd; - } -} - -.p-with-code { - line-height: 1.5em; -} - -.contextual-example-panel { - height: 120px; -} - -.footer-panel{ - height: 142px; -} - -.light-text{ - font-weight: $font-light; -} - - -/* -.panel-group .panel { - border-radius: 0; -}*/ diff --git a/src/sass/theme/bootstrap-overrides/_tabs.scss b/src/sass/theme/bootstrap-overrides/_tabs.scss deleted file mode 100644 index 7494d94..0000000 --- a/src/sass/theme/bootstrap-overrides/_tabs.scss +++ /dev/null @@ -1,198 +0,0 @@ -/** Different tabs positions, which were removed from bootstrap */ -.tabs-below, .tabs-right, .tabs-left { - .nav-tabs { - border-bottom: 0; - } -} - -.tabs-right, .tabs-left { - .nav-tabs { - min-width: 100px; - } - .tab-content { - width: calc(100% - 100px); - overflow-y: auto; - } -} - -.tabs-right .tab-content { - margin-right: 100px; -} - -.tabs-left .tab-content { - margin-left: 100px; -} - -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} - -.tab-content > .active, -.pill-content > .active { - display: block; -} - -.tabs-below { - > .nav-tabs { - - > li { - margin-top: -1px; - margin-bottom: 0; - - > a { - &:hover, &:focus { - } - } - } - > .active a { - &, &:hover, &:focus { - } - } - } -} - -.tabs-left, .tabs-right { - height: 100%; - > .nav-tabs > li { - float: none; - margin-bottom: 0; - > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; - } - } -} - -.tabs-left > .nav-tabs { - float: left; - border-bottom-left-radius: 5px; - > li > a { - margin-right: -1px; - - &:hover, &:focus { - } - } - - > .active a { - &, &:hover, &:focus { - } - } -} - -.tabs-right > .nav.nav-tabs { - float: right; - border-top-left-radius: 0; - border-bottom-right-radius: 5px; - > li > a { - margin-left: -1px; - - &:hover, &:focus { - } - } - - & > li:first-of-type a { - border-top-left-radius: 0; - } - - > .active a { - &, &:hover, &:focus { - } - } -} - -/** /Different tabs positions, which were removed from bootstrap */ - -.nav-tabs > li.with-dropdown { - > a { - padding: 0; - } - - .dropdown-toggle { - padding: 10px 15px; - display: inline-block; - cursor: pointer; - } -} - -.tab-content { - padding: 15px 15px 5px 15px; - background: transparent; - color: $default; - .tab-pane p { - color: $default; - } -} - -.nav.nav-tabs { - border-top-left-radius: 5px; - border-top-right-radius: 5px; - border-bottom: 1px solid rgba(0, 0, 0, .01); - background-color: rgba(0, 0, 0, .2); - a { - color: $default; - &:hover { - color: $default; - } - } - & > li > a { - margin-right: 0; - margin-bottom: 0; - border-radius: 0; - border: none; - color: $default; - &:hover { - border: none; - color: $default; - background-color: rgba(0, 0, 0, .1); - } - } - & > li.active > a { - color: $default; - background-color: rgba(0, 0, 0, .25); - } - > li:first-of-type a { - border-top-left-radius: 5px; - } - .dropdown-menu > li > a { - color: $default-text; - } -} - -.nav .open > a, .nav .open > a:hover, .nav .open > a:focus { - background-color: transparent; -} - -.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { - border: none; -} - -.panel-primary, .panel-info, .panel-success, .panel-warning, .panel-danger, { - .panel-heading { - border-radius: 4px; - } - - &.panel-open .panel-heading { - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - } - - &:not(.panel-open) .panel-heading { - transition-delay: .3s; - } - - > .panel-heading + .panel-collapse > .panel-body { - border-top: none; - } -} - -.accordion-panel .panel-heading { - padding: 0; - .accordion-toggle { - display: inline-block; - width: 100%; - padding: 14px 22px; - } -} - diff --git a/src/sass/theme/components/_accordion.scss b/src/sass/theme/components/_accordion.scss deleted file mode 100644 index 94abf35..0000000 --- a/src/sass/theme/components/_accordion.scss +++ /dev/null @@ -1,28 +0,0 @@ -/* -.panel-group { - > .panel { - > .panel-heading { - padding: 0; - - > h4.panel-title { - height: 50px; - width: 100%; - padding: 0; - - > a { - display: block; - padding: 15px 22px; - width: 100%; - } - } - } - } - -} - -.panel-collapse { - transition: height $default-animation-duration $default-animation-style; - .panel-body { - padding: 15px; - } -}*/ diff --git a/src/sass/theme/components/_baWizard.scss b/src/sass/theme/components/_baWizard.scss deleted file mode 100644 index bf4aa49..0000000 --- a/src/sass/theme/components/_baWizard.scss +++ /dev/null @@ -1,32 +0,0 @@ -.ba-wizard-progress { - margin-top: 10px; - height: 10px; -} - -.ba-wizard-pager { - .previous { - float: left; - } - .next { - float: right; - } -} - -.ba-wizard-navigation-container { - display: table; - table-layout: fixed; - width: 100%; - padding: 15px 0; - .ba-wizard-navigation { - cursor: pointer; - display: table-cell; - line-height: 1; - text-align: center; - font-weight: $font-light; - font-size: 18px; - opacity: 0.7; - &.active { - opacity: 0.95; - } - } -} \ No newline at end of file diff --git a/src/sass/theme/components/_backTop.scss b/src/sass/theme/components/_backTop.scss deleted file mode 100644 index 3e8aab2..0000000 --- a/src/sass/theme/components/_backTop.scss +++ /dev/null @@ -1,22 +0,0 @@ -$height: 52px; - -.back-top { - width: $height; - height: $height; - cursor: pointer; - z-index: 9999; - display: none; - text-decoration: none; - right: (180px - $height) / 2; - bottom: 40px !important; - font-size: 45px; - text-align: center; - opacity: 0.4; - color: $primary; - background-color: rgba(0, 0, 0, 0.75); - border-radius: 50%; - line-height: 46px; - &:hover { - opacity: 0.8; - } -} diff --git a/src/sass/theme/components/_contentTop.scss b/src/sass/theme/components/_contentTop.scss deleted file mode 100644 index a3098a5..0000000 --- a/src/sass/theme/components/_contentTop.scss +++ /dev/null @@ -1,38 +0,0 @@ -.content-top { - padding-top: 13px; - padding-bottom: 27px; -} - -h1.al-title { - font-weight: $font-bold; - color: #ffffff; - float: left; - width: auto; - margin: 0; - padding: 0; - font-size: 24px; - text-transform: uppercase; - opacity: 0.9; -} - -.al-breadcrumb { - background: none; - color: #ffffff; - padding: 0; - margin: 0; - float: right; - padding-top: 11px; - li { - font-size: 18px; - font-weight: $font-light; - } -} - -.al-look { - float: right; - margin-right: 10px; - padding-top: 10px; - > a { - font-size: 19px; - } -} \ No newline at end of file diff --git a/src/sass/theme/components/_msgCenter.scss b/src/sass/theme/components/_msgCenter.scss deleted file mode 100644 index 9182122..0000000 --- a/src/sass/theme/components/_msgCenter.scss +++ /dev/null @@ -1,262 +0,0 @@ -/* msg center */ -@-webkit-keyframes pulsate { - 30% { - -webkit-transform: scale(0.1, 0.1); - opacity: 0.0; - } - 35% { - opacity: 1.0; - } - 40% { - -webkit-transform: scale(1.2, 1.2); - opacity: 0.0; - } -} - -.al-msg-center { - float: right; - padding: 0; - list-style: none; - margin: 13px 47px 0 0; - - li { - list-style: none; - float: left; - margin-left: 30px; - &:first-child { - margin-left: 0; - } - & > a { - color: #ffffff; - text-decoration: none; - font-size: 13px; - position: relative; - span { - display: inline-block; - min-width: 10px; - padding: 2px 4px 2px 4px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-align: center; - border-radius: 13px; - text-shadow: none; - line-height: 11px; - background-color: $danger; - position: absolute; - top: -5px; - right: -14px; - font-size: 11px; - } - .notification-ring { - border: 1px solid $danger; - border-radius: 100px; - height: 40px; - width: 40px; - position: absolute; - top: -18px; - right: -27px; - animation: pulsate 8s ease-out; - animation-iteration-count: infinite; - opacity: 0.0 - } - - &:hover { - color: $danger; - &.msg { - color: $primary; - } - } - &.msg { - span { - background-color: $primary; - } - .notification-ring { - border-color: $primary; - } - } - } - &.open { - & > a { - color: $danger; - &.msg { - color: $primary; - } - } - } - } -} - -@media (max-width: $resXXS) { - .al-msg-center { - margin-right: 20px; - li { - margin-left: 20px; - &:first-child { - margin-left: 0; - } - } - } -} - -.msg-block-header { - display: inline-block; - padding: 0; - font-size: 13px; - margin: 0 0 0 6px; -} - -.top-dropdown-menu { - width: 316px; - left: auto; - right: -47px; - top: 26px; - @include scrollbars(.4em, rgba(0,0,0,0.5), #fff); - .header { - padding: 10px 12px; - border-bottom: 1px solid $border-light; - font-size: 12px; - strong { - float: left; - color: $default-text; - } - & > a { - float: right; - margin-left: 12px; - text-decoration: none; - &:hover { - color: $default-text; - } - } - } - .msg-list { - max-height: 296px; - overflow: scroll; - overflow-x: hidden; - & > a { - border-top: 1px solid $border-light; - padding: 10px 12px; - display: block; - text-decoration: none; - color: $default-text; - font-size: 12px; - &:first-child { - border-top: none; - } - .img-area { - float: left; - width: 36px; - img { - width: 36px; - height: 36px; - &.photo-msg-item{ - border-radius: 18px; - } - } - & > div { - width: 36px; - height: 36px; - border-radius: 4px; - font-size: 24px; - text-align: center; - &.comments { - color: $warning; - } - &.orders { - color: $warning; - } - i { - width: 36px; - line-height: 36px; - } - } - } - .msg-area { - float: right; - width: 230px; - div { - max-height: 34px; - overflow: hidden; - text-overflow: ellipsis; - } - span { - font-style: italic; - text-align: right; - display: block; - font-size: 11px; - } - } - &:hover { - background: #E2F0FF; - } - } - } - & > a { - border-top: 1px solid $border-light; - display: block; - text-align: center; - padding: 10px; - font-size: 12px; - text-decoration: none; - &:hover { - color: $default-text; - } - } - - &.profile-dropdown { - width: 145px; - top: 55px; - right: -25px; - a { - text-align: left; - border: none; - text-decoration: none; - color: $default-text; - padding: 4px 16px 4px 20px; - &.signout { - border-top: 1px solid $border-light; - } - i { - margin-right: 10px; - } - &:hover { - background: #f4fcff; - } - } - i.dropdown-arr { - right: 25px; - } - } - - i.dropdown-arr { - position: absolute; - top: -22px; - right: 42px; - display: block; - width: 0; - height: 0; - border: 11px solid transparent; - border-bottom-color: rgba(0, 0, 0, .15); - &:after { - top: -9px; - left: 0px; - margin-left: -10px; - content: " "; - position: absolute; - display: block; - width: 0; - height: 0; - border: 10px solid transparent; - border-bottom-color: #ffffff; - } - } -} - -@media (max-width: 415px) { - .top-dropdown-menu { - right: -81px; - i.dropdown-arr { - right: 75px; - } - } -} \ No newline at end of file diff --git a/src/sass/theme/components/_pageTop.scss b/src/sass/theme/components/_pageTop.scss deleted file mode 100644 index 65770fe..0000000 --- a/src/sass/theme/components/_pageTop.scss +++ /dev/null @@ -1,172 +0,0 @@ -.page-top { - @include bg-translucent-dark(0.5); - position: fixed; - z-index: 904; - box-shadow: 2px 0px 3px rgba(0, 0, 0, 0.5); - height: 66px; - width: 100%; - min-width: $resMin; - padding: 0 32px 0 40px; - - &.scrolled { - @include bg-translucent-dark(0.85); - } -} - -a.al-logo { - color: #ffffff; - display: block; - font-size: 24px; - font-family: $font-family; - white-space: nowrap; - float: left; - outline: none !important; - line-height: 60px; - - span { - color: $primary; - } -} - -.user-profile { - float: right; - min-width: 230px; - margin-top: 10px; -} - -.al-user-profile { - float: right; - margin-right: 12px; - transition: all .15s ease-in-out; - padding: 0; - width: 36px; - height: 36px; - border: 0; - opacity: 1; - position: relative; - a { - display: block; - } - img { - width: 45px; - height: 45px; - border-radius: 50%; - } -} - -a.refresh-data { - color: #ffffff; - font-size: 13px; - text-decoration: none; - font-weight: $font-normal; - float: right; - margin-top: 13px; - margin-right: 26px; - - &:hover { - color: $warning !important; - } -} - -a.collapse-menu-link { - font-size: 31px; - cursor: pointer; - display: block; - text-decoration: none; - line-height: 42px; - color: #fff; - padding: 0; - float: left; - margin: 11px 0 0 25px; - - &:hover { - text-decoration: none; - color: $warning; - } -} - -.al-skin-dropdown { - float: right; - margin-top: 14px; - margin-right: 26px; - - .tpl-skin-panel { - max-height: 300px; - overflow-y: scroll; - overflow-x: hidden; - } -} - -.icon-palette { - display: inline-block; - width: 14px; - height: 13px; - @include bg('theme/palette.png'); - background-size: cover; -} - -.search { - text-shadow: none; - color: #fff; - font-size: 13px; - line-height: 25px; - transition: all 0.5s ease; - white-space: nowrap; - overflow: hidden; - width: 162px; - float: left; - margin: 20px 0 0 30px; - - label { - cursor: pointer; - } - i { - width: 16px; - display: inline-block; - cursor: pointer; - padding-left: 1px; - font-size: 16px; - margin-right: 13px; - } - input { - background: none; - border: none; - outline: none; - width: 120px; - padding: 0; - margin: 0 0 0 -3px; - height: 27px; - } -} - -@media screen and (max-width: $resS) { - .search { - display: none; - } -} - -@media screen and (max-width: $resXS) { - .page-top { - padding: 0 20px; - } -} - -@media (max-width: $resXXS) { - .user-profile{ - min-width: 136px; - } - a.refresh-data { - margin-right: 10px; - } - a.collapse-menu-link { - margin-left: 10px; - } - - .al-skin-dropdown { - display: none; - } -} - -.profile-toggle-link{ - cursor: pointer; -} diff --git a/src/sass/theme/components/_sidebar.scss b/src/sass/theme/components/_sidebar.scss deleted file mode 100644 index 6dd3fe9..0000000 --- a/src/sass/theme/components/_sidebar.scss +++ /dev/null @@ -1,287 +0,0 @@ -$sidebar-width: 180px; -$angle-left: "\f100"; -$angle-right: "\f101"; - -.al-sidebar { - width: $sidebar-width; - top: $top-height; - left: 0; - z-index: 904; - display: block; - min-height: 100%; - @include bg-translucent-dark(0.5); - height: 100%; - position: fixed; -} - -.al-sidebar-list { - margin: 0; - padding: 18px 0 0 0; - list-style: none; -} - -.al-sidebar-sublist .subitem-submenu-list { - padding-left: 15px; -} - -.subitem-submenu-link { - .fa { - top: 7px; - } -} - -.al-sidebar-list-item { - display: block; - position: relative; - float: none; - padding: 0; - &.selected:not(.with-sub-menu) { - background-color: $primary; - a.al-sidebar-list-link { - color: $default; - b { - color: $default; - } - } - } -} - -.al-sidebar-list-item, .ba-sidebar-sublist-item { - &.ba-sidebar-item-expanded { - > .al-sidebar-list-link { - b { - transform: rotate(180deg); - } - } - - > .al-sidebar-sublist { - display: block; - } - } -} - -a.al-sidebar-list-link { - display: block; - height: 42px; - padding-left: 18px; - text-shadow: none; - font-size: 13px; - text-decoration: none; - color: #ffffff; - line-height: 42px; - white-space: nowrap; - overflow: hidden; - cursor: pointer; - &:hover { - color: $primary; - b { - color: $primary; - } - } - i { - margin-right: 18px; - width: 16px; - display: inline-block; - } - b { - display: block; - opacity: 1; - width: 14px; - height: 14px; - line-height: 14px; - text-shadow: none; - font-size: 18px; - position: absolute; - right: 10px; - top: 12px; - padding: 0; - text-align: center; - color: #cccccc; - transition: transform 0.2s linear; - } -} - -.slimScrollBar, .slimScrollRail { - border-radius: 0px !important; - width: 4px !important; - left: 176px; -} - -@mixin layout-collapsed() { - .al-main { - margin-left: 50px; - } - - .al-footer { - padding-left: 83px - } -} - -@mixin default-sublist() { - padding: 0; - list-style: none; - position: relative; - display: none; - &.expanded { - display: block; - } - > li { - display: block; - float: none; - padding: 0; - border-bottom: none; - position: relative; - a { - display: block; - text-shadow: none; - font-size: 13px; - text-decoration: none; - color: #ffffff; - padding-left: 52px; - height: auto; - line-height: 29px; - &:hover { - color: $primary; - } - } - &.selected:not(.with-sub-menu) > a { - border: none; - background-color: $primary; - &:hover { - color: $default; - } - } - - } -} - -.al-sidebar-sublist { - @include default-sublist(); -} - -.sidebar-hover-elem{ - width: 4px; - background: $primary; - position: absolute; - top: -150px; - left: 176px; - transition: all 0.5s ease; - transition-property: top, height; - height: 42px; - display: block; -} - -.sidebar-select-elem { - display: block; - top: 94px; -} - -@mixin sidebar-collapsed() { - .al-sidebar { - width: 52px; - - .fa-angle-down, .fa-angle-up { - opacity: 0; - } - - .al-sidebar-sublist { - position: absolute; - top: -1px; - left: 52px; - @include bg-translucent-dark(0.8); - width: 0; - display: block; - overflow: hidden; - transition: width 0.5s ease; - &.slide-right { - width: 135px; - } - &:before { - display: none; - } - li { - &:before { - display: none; - } - a { - padding-left: 18px; - padding-right: 18px; - min-width: 130px; - white-space: nowrap; - } - } - } - - .sidebar-hover-elem, .sidebar-select-elem { - left: 48px; - } - } -} - -@mixin sidebar-hidden() { - .al-sidebar { - width: 0; - } - .sidebar-hover-elem, .sidebar-select-elem { - display: none; - } -} - -@mixin sidebar-overlap() { - .al-sidebar { - width: $sidebar-width; - @include bg-translucent-dark(0.75); - transition: width 0.5s ease; - - .fa-angle-down, .fa-angle-up { - opacity: 1; - } - - .al-sidebar-sublist { - @include default-sublist(); - top: auto; - left: auto; - background: none; - width: auto; - overflow: visible; - transition: none; - } - - .sidebar-hover-elem, .sidebar-select-elem { - left: $sidebar-width - 4; - transition: left 0.5s ease; - } - } -} - -@media (min-width: 1200px) { - .menu-collapsed { - @include layout-collapsed(); - } -} - -@media (min-width: $resXS + 1) { - .menu-collapsed { - @include sidebar-collapsed(); - } -} - -@media (max-width: 1200px) and (min-width: $resXS) { - @include layout-collapsed(); -} - -@media (max-width: 1200px) { - @include sidebar-overlap(); -} - -@media (max-width: $resXS) { - .menu-collapsed { - @include sidebar-hidden(); - } - .al-main { - margin-left: 0; - } - .al-footer { - padding-left: 0; - } -} \ No newline at end of file diff --git a/src/sass/theme/components/_widgets.scss b/src/sass/theme/components/_widgets.scss deleted file mode 100644 index 03591ad..0000000 --- a/src/sass/theme/components/_widgets.scss +++ /dev/null @@ -1,42 +0,0 @@ -.widgets { - transform: translate3d(0, 0, 0); - backface-visibility: hidden; -} - -.full-width { - margin: 0 -22px -16px; -} - -.horizontal-scroll { - overflow-x: auto; - overflow-y: visible; -} - -.panel-subtitle { - font-size: 15px; - margin-bottom: 16px; -} - -.panel-nav { - position: absolute; - top: 12px; - right: 15px; - z-index: 2; - - i { - cursor: pointer; - font-size: 14px; - color: #bfbfbf; - margin-left: 11px; - display: inline-block; - - &.fa-minus { - margin-bottom: -1px; - vertical-align: bottom; - } - - &:hover { - color: $default-text; - } - } -} \ No newline at end of file diff --git a/src/sass/theme/conf/_colorScheme.scss b/src/sass/theme/conf/_colorScheme.scss deleted file mode 100644 index eb75f8e..0000000 --- a/src/sass/theme/conf/_colorScheme.scss +++ /dev/null @@ -1,23 +0,0 @@ -$primary: #209e91 !default; -$info: #2dacd1 !default; -$success: #90b900 !default; -$warning: #dfb81c !default; -$danger: #e85656 !default; - -$primary-light: tint($primary, 30%); -$info-light: tint($info, 30%); -$success-light: tint($success, 30%); -$warning-light: tint($warning, 30%); -$danger-light: tint($danger, 30%); - -$primary-dark: shade($primary, 15%); -$info-dark: shade($info, 15%); -$success-dark: shade($success, 15%); -$warning-dark: shade($warning, 15%); -$danger-dark: shade($danger, 15%); - -$primary-bg: tint($primary, 20%); -$info-bg: tint($info, 20%); -$success-bg: tint($success, 20%); -$warning-bg: tint($warning, 20%); -$danger-bg: tint($danger, 20%); diff --git a/src/sass/theme/conf/_mixins.scss b/src/sass/theme/conf/_mixins.scss deleted file mode 100644 index bf34aae..0000000 --- a/src/sass/theme/conf/_mixins.scss +++ /dev/null @@ -1,128 +0,0 @@ -/// Slightly lighten a color -/// @access public -/// @param {Color} $color - color to tint -/// @param {Number} $percentage - percentage of `$color` in returned color -/// @return {Color} -@function tint($color, $percentage) { - @return mix(white, $color, $percentage); -} - -/// Slightly darken a color -/// @access public -/// @param {Color} $color - color to shade -/// @param {Number} $percentage - percentage of `$color` in returned color -/// @return {Color} -@function shade($color, $percentage) { - @return mix(black, $color, $percentage); -} - -@mixin scrollbars($size, $foreground-color, $background-color: mix($foreground-color, white, 50%)) { - ::-webkit-scrollbar { - width: $size; - height: $size; - } - - ::-webkit-scrollbar-thumb { - background: $foreground-color; - cursor: pointer; - } - - ::-webkit-scrollbar-track { - background: $background-color; - } - - // For Internet Explorer - body { - scrollbar-face-color: $foreground-color; - scrollbar-track-color: $background-color; - } -} - -@mixin bg-nr($relativeUrl) { - background: url($images-root + $relativeUrl) no-repeat 0 0; -} -@mixin bg($relativeUrl) { - background: url($images-root + $relativeUrl); -} - -@mixin bg-image($relativeUrl) { - background-image: url($images-root + $relativeUrl); -} - -@mixin main-background() { - $mainBgUrl: $images-root + 'blur-bg.jpg'; - - &::before { - content: ''; - position: fixed; - width: 100%; - height: 100%; - top: 0; - left: 0; - background: url($mainBgUrl) no-repeat center center; - background-size: cover; - will-change: transform; - z-index: -1; - } -} - -@mixin bg-translucent-dark($opacity) { - background: rgba(0, 0, 0, $opacity); -} - -@mixin placeholderStyle($color, $opacity) { - &::-webkit-input-placeholder { - color: $color; - opacity: $opacity; - } - &:-moz-placeholder { - /* Firefox 18- */ - color: $color; - opacity: $opacity; - } - &::-moz-placeholder { - /* Firefox 19+ */ - color: $color; - opacity: $opacity; - } - &:-ms-input-placeholder { - color: $color; - opacity: $opacity; - } -} - -@mixin overrideColors($color) { - p, - h1,h2,h3,h4,h5,h6, - .pie-chart-item, - .panel-heading>.dropdown .dropdown-toggle, - .panel-title, - ol.blur span, - ul.blur, - .popular-app-cost, - .popular-app-info, - .panel-title>.small, - .panel-title>.small>a, - .panel-title>a, - .panel-title>small, - .panel-title>small>a, - .traffic-text span, - .form-group label, - .help-block{ - color: $color; - } - .feed-message .message-time, .text-muted { - color: darken($color, 20); - } -} - -@mixin overridePanelBg($color, $borderColor, $dropdownColor) { - .panel.panel-blur, .panel.panel-blur:hover { - border-color: $borderColor; - background-color: $color; - } - - .progress { - background: $color; - } -} \ No newline at end of file diff --git a/src/sass/theme/conf/_variables.scss b/src/sass/theme/conf/_variables.scss deleted file mode 100644 index 5806bde..0000000 --- a/src/sass/theme/conf/_variables.scss +++ /dev/null @@ -1,59 +0,0 @@ -$font-family: 'Roboto', sans-serif; - -$view-total :rgba(0,0,0,.4); - -$activelink: $primary; -$hoverlink: $primary-dark; - -$default: #ffffff !default; - -$facebook-color: #3b5998; -$twitter-color: #55acee; -$google-color: #dd4b39; -$linkedin-color: #0177B5; -$github-color: #6b6b6b; -$stackoverflow-color: #2F96E8; -$dribble-color: #F26798; -$behace-color: #0093FA; - -$panel-bg: #f8f8f8; -$panel-bg-hover: #fff; - -$disabled: #bdbdbd; -$disabled-bg: #e6e6e6; - -$default-text: #7b7b7b; -$help-text: #949494; - -$border: #dddddd; -$border-light: #eeeeee; -$input-border: #cccccc; - -$resXXL: 1280px; -$resXL: 1170px; -$resL: 991px; -$resM: 768px; -$resS: 660px; -$resXS: 500px; -$resXXS: 435px; -$resMin: 320px; - -$top-height: 66px; - -$small-panel-height: 114px; -$xsmall-panel-height: 187px; -$medium-panel-height: 400px; -$extra-medium-panel-height: 550px; -$large-panel-height: 974px; - -$default-animation-duration: 0.2s; -$default-animation-style: ease-out; - -$assets-root: '../assets/'; -$images-root: $assets-root + 'img/'; -$fonts-root: $assets-root + 'fonts/'; -$font-thin: 100; -$font-light: 300; -$font-normal: 400; -$font-bold: 700; -$font-ultraBold: 900; \ No newline at end of file diff --git a/src/sass/theme/dashboard/_amChart.scss b/src/sass/theme/dashboard/_amChart.scss deleted file mode 100644 index 3736a69..0000000 --- a/src/sass/theme/dashboard/_amChart.scss +++ /dev/null @@ -1,5 +0,0 @@ -#amchart { - width: 100%; - height: 350px; - margin-top: -20px; -} \ No newline at end of file diff --git a/src/sass/theme/dashboard/_amChartMap.scss b/src/sass/theme/dashboard/_amChartMap.scss deleted file mode 100644 index d182a36..0000000 --- a/src/sass/theme/dashboard/_amChartMap.scss +++ /dev/null @@ -1,4 +0,0 @@ -#amChartMap { - width: 100%; - height: 315px; -} \ No newline at end of file diff --git a/src/sass/theme/dashboard/_blurFeed.scss b/src/sass/theme/dashboard/_blurFeed.scss deleted file mode 100644 index 0774e05..0000000 --- a/src/sass/theme/dashboard/_blurFeed.scss +++ /dev/null @@ -1,220 +0,0 @@ -.feed-panel .panel-body{ - padding: 10px 0; -} - -.feed-message { - $text-message-color: $default; - $video-message-color: $danger; - $image-message-color: $success; - $geo-message-color: $primary; - padding: 10px 0 ; - border-bottom: 1px solid rgba(0,0,0,0.12); - box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.12); - &:first-child { - padding-top: 0; - } - - .message-icon { - cursor: pointer; - width: 60px; - height: 60px; - float: left; - position: relative; - margin-left: 20px; - > img, .media-icon { - border-radius: 30px; - width: 100%; - height: 100%; - } - - .sub-photo-icon { - display: inline-block; - padding: 4px; - &:after { - content: ''; - display: inline-block; - width: 22px; - height: 22px; - background-size: contain; - } - &.video-message { - background: $video-message-color; - &:after { - @include bg-image('theme/icon/feed/feed-video.svg'); - } - } - &.image-message { - background: $image-message-color; - &:after { - width: 21px; - height: 21px; - margin-top: 1px; - margin-left: 1px; - border-radius: 5px; - @include bg-image('theme/icon/feed/feed-image.svg'); - } - } - &.geo-message { - background: $geo-message-color; - &:after { - width: 22px; - height: 22px; - @include bg-image('theme/icon/feed/feed-location.svg'); - } - } - } - - .sub-photo-icon { - position: absolute; - width: 30px; - height: 30px; - right: -2px; - bottom: -4px; - border-radius: 15px; - } - } - - .text-block { - cursor: pointer; - position: relative; - border-radius: 5px; - margin: 0 0 0 80px; - padding: 5px 20px; - color: #fff; - width: 280px; - height: 70px; - - &.text-message { - font-size: 12px; - width: inherit; - max-width: calc(100% - 80px); - height: inherit; - min-height: 60px; - &:before { - display: block; - } - .message-content { - font-size: 12px; - line-height: 15px; - font-weight: $font-light; - } - } - &.small-message { - width: 155px; - height: 145px; - .preview { - bottom: 0; - top: initial; - height: 87px; - img { - width: 155px; - height: 87px; - border-radius: 0 0 5px 5px; - } - } - } - } - - .message-header { - font-size: 12px; - padding-bottom: 5px; - .author { - font-size: 13px; - padding-right: 5px; - } - } - - .message-content { - font-size: 18px; - line-height: 20px; - } - - .preview { - transition: 0s linear all; - display: inline-block; - img { - padding-top: 10px; - width: 100%; - height: auto; - float: none!important; - } - } - - .message-time { - width: 100%; - left: 0; - font-size: 11px; - padding-top: 10px; - color: $help-text; - margin-bottom: 5px; - .post-time { - float: left; - } - .ago-time { - float: right; - } - } -} - - - -.line-clamp -{ - display : block; - display : -webkit-box; - -webkit-box-orient : vertical; - position : relative; - - line-height : 1.2; - overflow : hidden; - text-overflow : ellipsis; - padding : 0 !important; -} - -@media screen and (-webkit-min-device-pixel-ratio:0) { - .line-clamp:after - { - content : '...'; - text-align : right; - bottom : 0; - right : 0; - width : 25%; - display : block; - position : absolute; - height : calc(1em * 1.2); - } -} - - -@supports (-webkit-line-clamp: 1) -{ - .line-clamp:after - { - display : none !important; - } -} -.line-clamp-1 -{ - -webkit-line-clamp : 1; - height : calc(1em * 1.2 * 1); -} -.line-clamp-2 -{ - -webkit-line-clamp : 2; - height : calc(1em * 1.2 * 2); -} -.line-clamp-3 -{ - -webkit-line-clamp : 3; - height : calc(1em * 1.2 * 3); -} -.line-clamp-4 -{ - -webkit-line-clamp : 4; - height : calc(1em * 1.2 * 4); -} -.line-clamp-5 -{ - -webkit-line-clamp : 5; - height : calc(1em * 1.2 * 5); -} diff --git a/src/sass/theme/dashboard/_calendar.scss b/src/sass/theme/dashboard/_calendar.scss deleted file mode 100644 index 366d924..0000000 --- a/src/sass/theme/dashboard/_calendar.scss +++ /dev/null @@ -1,770 +0,0 @@ -div.blurCalendar{ - font-size: 12px; -} -.fc { - direction: ltr; - text-align: left; - - button { - box-sizing: border-box; - margin: 0; - height: 2.1em; - padding: 0 .6em; - font-size: 1em; - white-space: nowrap; - cursor: pointer; - &::-moz-focus-inner { - margin: 0; - padding: 0; - } - .fc-icon { - position: relative; - top: 0; - margin: 0; - } - } - - .fc-button-group { - & > * { - float: left; - margin: 0 0 0 -1px; - } - & > :first-child { - margin-left: 0; - } - } - - hr { - height: 0; - margin: 0; - padding: 0 0 2px; - border-style: solid; - border-width: 1px 0; - } - - table { - width: 100%; - table-layout: fixed; - border-collapse: collapse; - border-spacing: 0; - font-size: 1em; - } - - th { - text-align: center; - } - - th, td { - border: 1px solid; - padding: 0; - vertical-align: top; - } - - td.fc-today { - border-style: double; - } - - .fc-row { - border: 0 solid; - } - - .fc-toolbar { - & > * { - & > * { - float: left; - margin-left: .75em; - } - & > :first-child { - margin-left: 0; - - } - } - } - - .fc-axis { - vertical-align: middle; - padding: 0 4px; - white-space: nowrap; - } -} - -.fc-rtl { - text-align: right; -} - -.fc-unthemed { - th, td, hr, thead, tbody, .fc-row, .fc-popover { - border-color: $border; - } - - .fc-popover { - background-color: #ffffff; - border: 1px solid; - - .fc-header { - background: #eee; - - .fc-close { - color: #666666; - font-size: 25px; - margin-top: 4px; - } - } - } - - hr { - background: #eee; - } - - .fc-today { - background: rgba(255,255,255,0.15); - } -} - -.fc-highlight { - background: rgba(255,255,255,0.25); - opacity: .3; -} - -.fc-icon { - display: inline-block; - font-size: 2em; - font-family: "Courier New", Courier, monospace; -} - -.fc-icon-left-single-arrow:after { - content: "\02039"; - font-weight: $font-bold; - font-size: 100%; -} - -.fc-icon-right-single-arrow:after { - content: "\0203A"; - font-weight: $font-bold; - font-size: 100%; -} - -.fc-icon-left-double-arrow:after { - content: "\000AB"; -} - -.fc-icon-right-double-arrow:after { - content: "\000BB"; -} - -.fc-icon-x:after { - content: "\000D7"; -} - -.fc-state-default { - border: 1px solid; - outline: none; - background: #f5f5f5 repeat-x; - border-color: #e6e6e6 #e6e6e6 #bfbfbf; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1); - color: #333333; - - &.fc-corner-left { - border-top-left-radius: 0px; - border-bottom-left-radius: 0px; - } - - &.fc-corner-right { - border-top-right-radius: 0px; - border-bottom-right-radius: 0px; - } -} - -.fc-state-hover, -.fc-state-down, -.fc-state-active, -.fc-state-disabled { - color: #333333; - background-color: $disabled-bg; -} - -.fc-state-hover { - color: #333333; - text-decoration: none; - background-position: 0 -15px; - transition: background-position 0.1s linear; -} - -.fc-state-down, -.fc-state-active { - background: #cccccc none; -} - -.fc-state-disabled { - cursor: default; - background-image: none; - opacity: 0.65; - box-shadow: none; -} - -.fc-button-group { - display: inline-block; -} - -.fc-popover { - position: absolute; - - .fc-header { - padding: 2px 4px; - } - - .fc-header .fc-title { - margin: 0 2px; - } - - .fc-header .fc-close { - cursor: pointer; - } -} - -.fc-ltr .fc-popover .fc-header .fc-title, -.fc-rtl .fc-popover .fc-header .fc-close { - float: left; -} - -.fc-rtl .fc-popover .fc-header .fc-title, -.fc-ltr .fc-popover .fc-header .fc-close { - float: right; -} - -.fc-popover > .ui-widget-header + .ui-widget-content { - border-top: 0; -} - -.fc-clear { - clear: both; -} - -.fc-bg, -.fc-highlight-skeleton, -.fc-helper-skeleton { - position: absolute; - top: 0; - left: 0; - right: 0; -} - -.fc-bg { - bottom: 0; -} - -.fc-bg table { - height: 100%; -} - -.fc-row { - position: relative; - table { - border-left: 0 hidden transparent; - border-right: 0 hidden transparent; - border-bottom: 0 hidden transparent; - } - - &:first-child table { - border-top: 0 hidden transparent; - } - - .fc-bg { - z-index: 1; - } - - .fc-highlight-skeleton { - z-index: 2; - bottom: 0; - table { - height: 100%; - } - td { - border-color: transparent; - } - } - .fc-content-skeleton { - position: relative; - z-index: 3; - padding-bottom: 2px; - } - - .fc-helper-skeleton { - z-index: 4; - } - - .fc-content-skeleton td, - .fc-helper-skeleton td { - background: none; - border-color: transparent; - border-bottom: 0; - } - - .fc-content-skeleton tbody td, - .fc-helper-skeleton tbody td { - border-top: 0; - } -} - -.fc-scroller { - //overflow-y: scroll; - //overflow-x: hidden; - & > * { - //position: relative; - //width: 100%; - //overflow: hidden; - //height: 100%; - } -} - -.fc-event { - position: relative; - display: block; - font-size: .85em; - line-height: 1.3; - border: 1px solid $primary; - background-color: $primary; - font-weight: $font-normal; -} - -.fc-event, -.fc-event:hover, -.ui-widget .fc-event { - color: #ffffff; - text-decoration: none; -} - -.fc-event[href], -.fc-event.fc-draggable { - cursor: pointer; -} - -.fc-day-grid-event { - margin: 1px 2px 0; - padding: 0 1px; -} - -.fc-ltr .fc-day-grid-event.fc-not-start, -.fc-rtl .fc-day-grid-event.fc-not-end { - margin-left: 0; - border-left-width: 0; - padding-left: 1px; - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} - -.fc-ltr .fc-day-grid-event.fc-not-end, -.fc-rtl .fc-day-grid-event.fc-not-start { - margin-right: 0; - border-right-width: 0; - padding-right: 1px; - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} - -.fc-day-grid-event > .fc-content { - white-space: nowrap; - overflow: hidden; -} - -.fc-day-grid-event .fc-time { - font-weight: $font-bold; -} - -.fc-day-grid-event .fc-resizer { - position: absolute; - top: 0; - bottom: 0; - width: 7px; -} - -.fc-ltr .fc-day-grid-event .fc-resizer { - right: -3px; - cursor: e-resize; -} - -.fc-rtl .fc-day-grid-event .fc-resizer { - left: -3px; - cursor: w-resize; -} - -a.fc-more { - margin: 1px 3px; - font-size: .85em; - cursor: pointer; - text-decoration: none; - &:hover { - text-decoration: underline; - } -} - -.fc-limited { - display: none; -} - -.fc-day-grid .fc-row { - z-index: 1; -} - -.fc-more-popover { - z-index: 2; - width: 220px; - - .fc-event-container { - padding: 10px; - } -} - -.fc-toolbar { - text-align: center; - margin-bottom: 1em; - .fc-left { - float: left; - } - .fc-right { - float: right; - } - .fc-center { - display: inline-block; - } - h2 { - margin: 0; - font-size: 24px; - width: 100%; - line-height: 26px; - } - button { - position: relative; - } - - .fc-state-hover, .ui-state-hover { - z-index: 2; - } - - .fc-state-down { - z-index: 3; - } - - .fc-state-active, - .ui-state-active { - z-index: 4; - } - - button:focus { - z-index: 5; - } -} - -.fc-view-container *, -.fc-view-container *:before, -.fc-view-container *:after { - box-sizing: content-box; -} - -.fc-view, -.fc-view > table { - position: relative; - z-index: 1; -} - -.fc-basicWeek-view .fc-content-skeleton, -.fc-basicDay-view .fc-content-skeleton { - padding-top: 1px; - padding-bottom: 1em; -} - -.fc-basic-view tbody .fc-row { - min-height: 4em; - max-height: 70px; -} - -.fc-row.fc-rigid { - overflow: hidden; -} - -.fc-row.fc-rigid .fc-content-skeleton { - position: absolute; - top: 0; - left: 0; - right: 0; -} - -.fc-basic-view .fc-week-number, -.fc-basic-view .fc-day-number { - padding: 0 2px; -} - -.fc-basic-view td.fc-week-number span, -.fc-basic-view td.fc-day-number { - padding-top: 2px; - padding-bottom: 2px; -} - -.fc-basic-view .fc-week-number { - text-align: center; -} - -.fc-basic-view .fc-week-number span { - display: inline-block; - min-width: 1.25em; -} - -.fc-ltr .fc-basic-view .fc-day-number { - text-align: right; -} - -.fc-rtl .fc-basic-view .fc-day-number { - text-align: left; -} - -.fc-day-number.fc-other-month { - opacity: 0.3; -} - -.fc-agenda-view .fc-day-grid { - position: relative; - z-index: 2; -} - -.fc-agenda-view .fc-day-grid .fc-row { - min-height: 3em; -} - -.fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton { - padding-top: 1px; - padding-bottom: 1em; -} - -.fc-ltr .fc-axis { - text-align: right; -} - -.fc-rtl .fc-axis { - text-align: left; -} - -.ui-widget td.fc-axis { - font-weight: $font-normal; -} - -.fc-time-grid-container, -.fc-time-grid { - position: relative; - z-index: 1; -} - -.fc-time-grid { - min-height: 100%; -} - -.fc-time-grid table { - border: 0 hidden transparent; -} - -.fc-time-grid > .fc-bg { - z-index: 1; -} - -.fc-time-grid .fc-slats, -.fc-time-grid > hr { - position: relative; - z-index: 2; -} - -.fc-time-grid .fc-highlight-skeleton { - z-index: 3; -} - -.fc-time-grid .fc-content-skeleton { - position: absolute; - z-index: 4; - top: 0; - left: 0; - right: 0; -} - -.fc-time-grid > .fc-helper-skeleton { - z-index: 5; -} - -.fc-slats { - td { - height: 1.5em; - border-bottom: 0; - } - - .fc-minor td { - border-top-style: dotted; - } - - .ui-widget-content { - background: none; - } -} - -.fc-time-grid .fc-highlight-container { - position: relative; -} - -.fc-time-grid .fc-highlight { - position: absolute; - left: 0; - right: 0; -} - -.fc-time-grid .fc-event-container { - position: relative; -} - -.fc-ltr .fc-time-grid .fc-event-container { - margin: 0 2.5% 0 2px; -} - -.fc-rtl .fc-time-grid .fc-event-container { - margin: 0 2px 0 2.5%; -} - -.fc-time-grid .fc-event { - position: absolute; - z-index: 1; -} - -.fc-time-grid-event { - overflow: hidden; - - &.fc-not-start { - border-top-width: 0; - padding-top: 1px; - border-top-left-radius: 0; - border-top-right-radius: 0; - } - - &.fc-not-end { - border-bottom-width: 0; - padding-bottom: 1px; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - } - - & > .fc-content { - position: relative; - z-index: 2; - } - - .fc-title { - padding: 0 1px; - } - - .fc-time { - padding: 0 1px; - font-size: .85em; - white-space: nowrap; - } - - .fc-bg { - z-index: 1; - background: #fff; - opacity: .25; - filter: alpha(opacity=25); - } - - &.fc-short { - .fc-content { - white-space: nowrap; - } - - .fc-time { - display: inline-block; - vertical-align: top; - - span { - display: none; - } - - &:before { - content: attr(data-start); - } - - &:after { - content: "\000A0-\000A0"; - } - } - - .fc-title { - display: inline-block; - vertical-align: top; - font-size: .85em; - padding: 0; - } - } - - .fc-resizer { - position: absolute; - z-index: 3; - left: 0; - right: 0; - bottom: 0; - height: 8px; - overflow: hidden; - line-height: 8px; - font-size: 11px; - font-family: monospace; - text-align: center; - cursor: s-resize; - &:after { - content: "="; - } - } -} - -.fc-day-grid-container.fc-scroller { - height: auto!important; -} -body.badmin-transparent{ - - .calendar-panel.panel .panel-body{ - padding: 0; - } - - .fc-body > tr > .fc-widget-content{ - border: none; - } - - .fc-head{ - color: $default; - background-color: $primary; - td, th{ - border:none; - } - div.fc-widget-header{ - padding: 5px 0; - } - } - - .fc td{ - border-color: rgba(255,255,255,0.1); - } - - .fc-today-button, .fc-month-button, .fc-agendaWeek-button, .fc-agendaDay-button { - display: none; - } - .blurCalendar{ - margin-top: 15px; - } - .fc-prev-button, .fc-next-button{ - position: absolute; - background: transparent; - box-shadow: none; - border: none; - color: $default; - } - .fc-next-button { - left: 30px; - } - .fc-prev-button { - } - .fc-day-number{ - color: $default; - opacity: 0.9; - } -} \ No newline at end of file diff --git a/src/sass/theme/dashboard/_pieCharts.scss b/src/sass/theme/dashboard/_pieCharts.scss deleted file mode 100644 index db6327d..0000000 --- a/src/sass/theme/dashboard/_pieCharts.scss +++ /dev/null @@ -1,88 +0,0 @@ -.pie-charts { - color: $default-text; - - .pie-chart-item-container { - position: relative; - padding: 0 15px; - float: left; - box-sizing: border-box; - - .panel { - height: $small-panel-height; - } - } - @media screen and (min-width: 1325px) { - .pie-chart-item-container { - width: 25%; - } - } - @media screen and (min-width: 700px) and (max-width: 1325px) { - .pie-chart-item-container { - width: 50%; - } - } - @media screen and (max-width: 700px) { - .pie-chart-item-container { - width: 100%; - } - } - - .pie-chart-item { - position: relative; - .chart-icon { - position: absolute; - right: 0px; - top: 3px; - z-index: -1; - } - } - @media screen and - (min-width: 1325px) and (max-width: 1650px), - (min-width: 700px) and (max-width: 830px), - (max-width: 400px) { - .chart-icon { - display: none; - } - } - - .chart { - position: relative; - display: inline-block; - width: 84px; - height: 84px; - text-align: center; - float: left; - } - .chart canvas { - position: absolute; - top: 0; - left: 0; - } - .percent { - display: inline-block; - line-height: 84px; - z-index: 2; - font-size: 16px; - } - .percent:after { - content: '%'; - margin-left: 0.1em; - font-size: .8em; - } - .description { - display: inline-block; - padding: 20px 0 0 20px; - font-size: 18px; - opacity: 0.9; - .description-stats { - padding-top: 8px; - font-size: 24px; - } - } - .angular { - margin-top: 100px; - } - .angular .chart { - margin-top: 0; - } -} \ No newline at end of file diff --git a/src/sass/theme/dashboard/_popularApp.scss b/src/sass/theme/dashboard/_popularApp.scss deleted file mode 100644 index ebda34d..0000000 --- a/src/sass/theme/dashboard/_popularApp.scss +++ /dev/null @@ -1,52 +0,0 @@ -.panel.popular-app { - &>.panel-body { - padding: 0; - } - - .popular-app-img { - position: relative; - background: rgba(0, 0, 0, 0.5); - padding: 30px 0; - height: 260px; - border-top-right-radius: 5px; - border-top-left-radius: 5px; - img { - max-width: 60%; - max-height: 70%; - position: absolute; - transform: translateY(-50%) translate(-50%); - top: 50%; - left: 50%; - } - } - .popular-app-cost { - font-size: 20px; - padding: 20px 22px; - border-bottom: 1px solid $border; - } - .popular-app-info { - padding: 20px 22px; - font-size: 20px; - text-align: center; - .info-label { - font-size: 12px; - } - } - .row { - margin: 0; - > div { - padding: 0; - } - } -} - -body.badmin-transparent { - .popular-app-img { - border-top-right-radius: 5px; - border-top-left-radius: 5px; - } - .popular-app-cost { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.12); - } -} \ No newline at end of file diff --git a/src/sass/theme/dashboard/_timeline.scss b/src/sass/theme/dashboard/_timeline.scss deleted file mode 100644 index a053150..0000000 --- a/src/sass/theme/dashboard/_timeline.scss +++ /dev/null @@ -1,306 +0,0 @@ -#cd-timeline { - margin-top: 15px; - position: relative; - - &:before { - content: ''; - position: absolute; - top: 0; - left: 18px; - height: 100%; - width: 4px; - background: #d7e4ed; - } -} - -.cd-timeline-block { - position: relative; - margin: 2em 0; - - &:after { - content: ""; - display: table; - clear: both; - } - - &:first-child { - margin-top: 0; - } - - &:last-child { - margin-bottom: 0; - } -} - -.cd-timeline-img { - position: absolute; - top: 0; - left: 0; - width: 40px; - height: 40px; - border-radius: 50%; -} - -@media only screen and (min-width: $resXL) { - .cd-timeline-img { - width: 60px; - height: 60px; - left: 50%; - margin-left: -30px; - /* Force Hardware Acceleration in WebKit */ - -webkit-transform: translateZ(0); - -webkit-backface-visibility: hidden; - } - .cssanimations .cd-timeline-img.is-hidden { - visibility: hidden; - } - .cssanimations .cd-timeline-img.bounce-in { - visibility: visible; - animation: cd-bounce-1 0.6s; - } -} - -@keyframes cd-bounce-1 { - 0% { - opacity: 0; - transform: scale(0.5); - } - - 60% { - opacity: 1; - transform: scale(1.2); - } - - 100% { - transform: scale(1); - } -} - -.cd-timeline-content { - position: relative; - margin-left: 60px; - background: $primary; - padding: 1em; - border-radius: 5px; - &:after { - content: ""; - display: table; - clear: both; - } - - h2 { - color: #303e49; - margin: 0; - font-size: 18px; - } - - .cd-read-more, .cd-date { - font-size: 13px; - display: inline-block; - } - - p { - font-size: 13px; - margin-bottom: 0; - } - - .cd-read-more { - float: right; - padding: .8em 1em; - background: #acb7c0; - color: white; - border-radius: 0.25em; - } - - .cd-date { - float: left; - padding: .8em 0; - opacity: .7; - } - - &:before { - content: ''; - position: absolute; - top: 16px; - right: 100%; - height: 0; - width: 0; - border: 7px solid transparent; - border-right: 7px solid white; - } -} - -@mixin cd-timeline-color($color) { - background: $color; - &:before { - border-right-color: $color; - } -} - -.cd-timeline-content-yellow { - @include cd-timeline-color(rgba(0,0,0,.2)); -} - -.cd-timeline-content-red { - @include cd-timeline-color(rgba(0,0,0,.2)); -} - -.cd-timeline-content-blue { - @include cd-timeline-color(rgba(0,0,0,.2)); -} - -.no-touch .cd-timeline-content .cd-read-more:hover { - background-color: #bac4cb; -} - -@mixin cd-timeline-left-color($color) { - &:before { - border-left-color: $color; - } -} - -@media only screen and (min-width: $resXL) { - - #cd-timeline::before { - left: 50%; - margin-left: -2px; - } - - .cd-timeline-block { - margin: 4em 0; - &:first-child { - margin-top: 0; - } - &:last-child { - margin-bottom: 0; - } - } - - .cd-timeline-content { - margin-left: 0; - padding: 1.6em; - width: 42%; - &::before { - top: 24px; - left: 100%; - border-color: transparent; - border-left-color: white; - } - - .cd-read-more { - float: left; - } - .cd-date { - position: absolute; - width: 100%; - left: 137%; - top: 6px; - font-size: 16px; - } - } - - .cd-timeline-content-yellow { - @include cd-timeline-left-color(rgba(0,0,0,.2)); - } - - .cd-timeline-content-red { - @include cd-timeline-left-color(rgba(0,0,0,.2)); - } - - .cd-timeline-content-blue { - @include cd-timeline-left-color(rgba(0,0,0,.2)); - } - - .cd-timeline-block:nth-child(even) .cd-timeline-content { - float: right; - } - - .cd-timeline-block:nth-child(even) { - .cd-timeline-content { - &::before { - top: 24px; - left: auto; - right: 100%; - border-color: transparent; - border-right-color: white; - } - - @mixin cd-timeline-right-color($color) { - &::before { - border-right-color: $color; - } - } - &.cd-timeline-content-yellow { - @include cd-timeline-right-color(rgba(0,0,0,.2)); - } - &.cd-timeline-content-red { - @include cd-timeline-right-color(rgba(0,0,0,.2)); - } - &.cd-timeline-content-blue { - @include cd-timeline-right-color(rgba(0,0,0,.2)); - } - } - } - - .cd-timeline-block:nth-child(even) { - .cd-timeline-content { - .cd-read-more { - float: right; - } - .cd-date { - left: auto; - right: 137%; - text-align: right; - } - } - } - - .cssanimations .cd-timeline-content { - &.is-hidden { - visibility: hidden; - } - &.bounce-in { - visibility: visible; - animation: cd-bounce-2 0.6s; - } - } -} - -@media only screen and (min-width: $resXL) { - /* inverse bounce effect on even content blocks */ - .cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in { - animation: cd-bounce-2-inverse 0.6s; - } -} - -@keyframes cd-bounce-2 { - 0% { - opacity: 0; - transform: translateX(-100px); - } - - 60% { - opacity: 1; - transform: translateX(20px); - } - - 100% { - transform: translateX(0); - } -} - -@keyframes cd-bounce-2-inverse { - 0% { - opacity: 0; - transform: translateX(100px); - } - - 60% { - opacity: 1; - transform: translateX(-20px); - } - - 100% { - transform: translateX(0); - } -} \ No newline at end of file diff --git a/src/sass/theme/dashboard/_todo.scss b/src/sass/theme/dashboard/_todo.scss deleted file mode 100644 index 95d8233..0000000 --- a/src/sass/theme/dashboard/_todo.scss +++ /dev/null @@ -1,220 +0,0 @@ -input.task-todo { - margin-bottom: 8px; -} - -ul.todo-list { - margin: 0; - padding: 0; - .placeholder, .ui-sortable-placeholder { - } - li { - margin: 0 0 -1px 0; - padding: 12px; - list-style: none; - position: relative; - border: 1px solid $input-border; - cursor: grab; - height: 42px; - i.remove-todo { - position: absolute; - cursor: pointer; - top: 0px; - right: 12px; - font-size: 32px; - transition: color 0.2s; - color: $input-border; - visibility: hidden; - line-height: 42px; - &:hover { - color: $danger-dark; - } - } - &:hover { - i.remove-todo { - visibility: visible; - } - } - - &.checked { - .todo-text { - color: #BFBFBF; - } - &:before { - background: $input-border !important; - } - } - - @mixin mark($color) { - i.mark { - background: $color; - } - } - &.primary { - @include mark($primary); - } - &.danger { - @include mark($danger); - } - &.success { - @include mark($success); - } - &.info { - @include mark($info); - } - &.warning { - @include mark($warning); - } - - i.mark { - display: block; - position: absolute; - top: -1px; - left: -1px; - height: 42px; - min-width: 4px; - background: $input-border; - cursor: pointer; - transition: min-width 0.3s ease-out; - } - - &.active { - i.mark { - min-width: 40px; - } - label.todo-checkbox > span { - &:before { - color: white; - content: '\f10c'; - margin-right: 20px; - transition: margin-right 0.1s ease-out; - transition-delay: 0.2s; - float: none; - } - } - label.todo-checkbox > input:checked + span:before { - content: '\f00c'; - } - } - } -} - -label.todo-checkbox { - width: 100%; - padding-right: 25px; - min-height: 16px; - cursor: pointer; - > span { - white-space: nowrap; - height: 16px; - &:before { - border: none; - color: $help-text; - transition: all 0.15s ease-out; - } - } -} - -.add-item-icon { - display: none; -} - -body.badmin-transparent { - .todo-panel.panel { - color: white; - opacity: 0.9; - } - input.task-todo { - color: white; - width: calc(100% - 25px); - border-radius: 0; - border: none; - background: transparent; - &:focus { - outline: none; - background-color: transparent; - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.12); - } - } - .add-item-icon { - display: block; - float: right; - margin-top: -45px; - margin-right: 5px; - font-size: 25px; - cursor: pointer; - } - - ul.todo-list { - li { - margin: 0; - border: none; - font-weight: $font-light; - - .blur-container{ - height: 40px; - position: absolute; - width: calc(100% + 40px);; - top: 0; - left: -25px; - overflow-y: hidden; - } - &:hover{ - .blur-container{ - box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.12); - } - .blur-box { - height: 100%; - background: linear-gradient(to right, rgba(255,255,255,0.3) 0%,rgba(255,255,255,0) 100%); - -webkit-filter: blur(3px); - } - } - &.primary, &.danger,&.success, &.info, &.warning { - i.mark { - background-color: transparent; - } - } - i.remove-todo { - color: white; - opacity: 0.4; - &:hover { - color: white; - opacity: 0.95; - } - } - i.mark { - min-width: 40px; - background-color: transparent; - } - label.todo-checkbox > span { - &:before { - position: absolute; - color: white; - content: '\f10c'; - float: none; - margin-right: 6px; - transition: none; - } - } - &.checked { - label.todo-checkbox > span { - &:before { - margin-right: 0; - position: absolute; - content: ''; - background-size: contain; - background: url($images-root + "app/todo/check-icon.png") no-repeat; - } - } - } - } - } - - .box-shadow-border{ - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.12); - width: calc(100% + 44px); - margin-left: -22px; - } - -} \ No newline at end of file diff --git a/src/sass/theme/dashboard/_trafficChart.scss b/src/sass/theme/dashboard/_trafficChart.scss deleted file mode 100644 index 97426bf..0000000 --- a/src/sass/theme/dashboard/_trafficChart.scss +++ /dev/null @@ -1,202 +0,0 @@ -.channels-block { - width: 100%; - position: relative; -} - -.channels-info { - display: inline-block; - width: calc(100% - 370px); - margin-left: 70px; - margin-top: -20px; -} -.small-container { - .channels-info { - display: none; - } -} - -.channels-info-item { - p { - margin-bottom: 9px; - font-size: 18px; - opacity: 0.9; - } - .channel-number{ - display: inline-block; - float: right; - } -} - -.traffic-chart { - width: 300px; - position: relative; - min-height: 300px; - float: left; -} - -.traffic-legend { - display: inline-block; - padding: 70px 0 0 0px; - width: 160px; -} - -.traffic-legend ul.doughnut-legend { - li { - list-style: none; - font-size: 12px; - margin-bottom: 12px; - line-height: 16px; - position: relative; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - width: 120px; - span { - float: left; - display: inline-block; - width: 16px; - height: 16px; - margin-right: 10px; - } - } -} - -.canvas-holder { - display: inline-block; - width: 300px; - height: 300px; - position: relative; - float: left; - //canvas{ - // border: 10px solid rgba(0, 0, 0, 0.34902); - // border-radius: 180px; - //} -} - -.traffic-text { - width: 100%; - height: 40px; - position: absolute; - top: 50%; - left: 0; - margin-top: -24px; - line-height: 24px; - text-align: center; - font-size: 18px; - //color: $danger; - span { - display: block; - font-size: 18px; - color: $default-text; - } -} - -.channel-change { - display: block; - margin-bottom: 12px; -} - -.channel-progress { - height: 4px; - border-radius: 0; - width: 100%; - margin-bottom: 0; - background-color: rgba(0, 0, 0, 0.25); - .progress-bar{ - height: 4px; - background-color: white; - } -} - -.legend-color{ - width: 30px; - height: 30px; - box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.25); - position: relative; - top: 27px; - border-radius: 15px; - left: -45px; -} - -.traffic-chart canvas{ - border: 10px solid rgba(0,0,0,0.0); - border-radius: 150px; -} - -.chart-bg{ - background-color: $view-total; - position: absolute; - border-radius: 100px; - width: 180px; - height: 180px; - left: 60px; - top: 60px; -} - -@media (max-width: $resM) { - div.channels-info{ - display: block; - width: calc(100% - 88px); - margin-top: -65px; - margin-bottom: 10px; - } - .panel.medium-panel.traffic-panel{ - height: auto; - } - .traffic-chart{ - position: inherit; - float: none; - margin: 0 auto; - } - .chart-bg{ - left: calc(50% - 90px); - } -} - -@media (max-width: 1465px) and (min-width: 1199px){ - .channels-info{ - display: none; - } - .traffic-chart{ - position: inherit; - float: none; - margin: 0 auto; - } - .chart-bg{ - left: calc(50% - 90px); - } -} - - -@media (max-width: 380px){ - - .traffic-chart{ - width: 240px; - } - - .canvas-holder{ - width: 240px; - height: 240px; - } - - .chart-bg { - top: 30px; - } -} -@media (max-width: 320px){ - .chart-bg { - left: 50px; - top: 50px; - width: 142px; - height: 142px; - } -} - - -body.badmin-transparent{ - .traffic-chart canvas{ - border: 10px solid rgba(0,0,0,0.35); - box-shadow: 0 0 5px 0 rgb(0, 0, 0) inset; - border-radius: 150px; - } -} \ No newline at end of file diff --git a/src/sass/theme/dashboard/_weather.scss b/src/sass/theme/dashboard/_weather.scss deleted file mode 100644 index cdb3eee..0000000 --- a/src/sass/theme/dashboard/_weather.scss +++ /dev/null @@ -1,81 +0,0 @@ -.weather-wrapper { - - height: 100%; - - .weather-main-info { - min-height: 140px; - - div i { - display: inline-block; - width: 48px; - text-align: center; - } - - .city-date { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - } - } - - .temp-by-time { - height: calc(100% - 210px); - } - - .select-day { - display: table; - table-layout: fixed; - width: 100%; - height: 70px; - - .day { - display: table-cell; - line-height: 1; - text-align: center; - cursor: pointer; - - i.weatherIcon { - transition: color 0.5s ease; - } - - .select-day-info { - vertical-align: super; - } - } - - .day:hover { - i.weatherIcon { - color: #40BDE8; - } - } - } - - .rightHeading { - display: block; - float: right; - } - - .weather-info { - display: inline-block; - vertical-align: super; - } - - .font-x1dot25 { - font-size: 1.5em; - } - - .font-x1dot5 { - font-size: 1.5em; - } - - .font-x2 { - font-size: 2em; - } - - .font-x3 { - font-size: 3em; - } - -} - - diff --git a/src/sass/theme/skins/_02_transparent.scss b/src/sass/theme/skins/_02_transparent.scss deleted file mode 100644 index 8cec40a..0000000 --- a/src/sass/theme/skins/_02_transparent.scss +++ /dev/null @@ -1,52 +0,0 @@ -body.badmin-transparent { - &.mobile{ - background: none; - .body-bg{ - display: block; - position: fixed; - top: 0; - left: 0; - bottom: 0; - right: 0; - @include main-background(); - background-attachment: inherit; - } - .panel-blur { - background: transparent; - } - } - @include overrideColors(#fff); - @include overridePanelBg(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9)); - .default-color { - color: $default-text !important;; - } - .panel.panel-blur { - background-attachment: fixed; - @include scrollbars(.4em, rgba(0, 0, 0, 0.7), rgba(255, 255, 255, 0.8)); - border-radius: 5px; - color: $default; - .panel-heading { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.12); - transform: translate3d(0,0,0); - } - .panel-body { - transform: translate3d(0,0,0); - } - } - .btn-default { - color: $default; - } - .form-control, .bootstrap-tagsinput input { - @include placeholderStyle($default, 0.7); - background-color: rgba(0, 0, 0, .15); - border-radius: 5px; - color: $default; - } - .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { - @include placeholderStyle($default, 0.5); - } - .irs-grid-text { - color: $default; - } -} \ No newline at end of file diff --git a/src/sass/theme/skins/_03_blue.scss b/src/sass/theme/skins/_03_blue.scss deleted file mode 100644 index 8d346f0..0000000 --- a/src/sass/theme/skins/_03_blue.scss +++ /dev/null @@ -1,3 +0,0 @@ -body.badmin-blue { - background-image: url(../../../assets/img/blue-bg.jpg); -} \ No newline at end of file diff --git a/src/sass/theme/skins/_04_peachy.scss b/src/sass/theme/skins/_04_peachy.scss deleted file mode 100644 index 4d5aaa8..0000000 --- a/src/sass/theme/skins/_04_peachy.scss +++ /dev/null @@ -1,3 +0,0 @@ -body.badmin-peachy { - background-image: url(../../../assets/img/peachy-bg.jpg); -} \ No newline at end of file diff --git a/src/sass/theme/skins/_05_material.scss b/src/sass/theme/skins/_05_material.scss deleted file mode 100644 index 6169644..0000000 --- a/src/sass/theme/skins/_05_material.scss +++ /dev/null @@ -1,3 +0,0 @@ -body.badmin-material { - background: #039be6; -} \ No newline at end of file diff --git a/src/sass/theme/skins/_06_transblue.scss b/src/sass/theme/skins/_06_transblue.scss deleted file mode 100644 index 733af10..0000000 --- a/src/sass/theme/skins/_06_transblue.scss +++ /dev/null @@ -1,6 +0,0 @@ -body.badmin-transblue { - background-image: url(../../../assets/img/transblue-bg.jpg); - - @include overrideColors(#fff); - @include overridePanelBg(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9)); -} \ No newline at end of file diff --git a/src/sass/theme/skins/_07_grey.scss b/src/sass/theme/skins/_07_grey.scss deleted file mode 100644 index c36b690..0000000 --- a/src/sass/theme/skins/_07_grey.scss +++ /dev/null @@ -1,3 +0,0 @@ -body.badmin-grey { - background: #bdbdbd; -} \ No newline at end of file