Permalink
Browse files

added files

  • Loading branch information...
1 parent 1031bdc commit 04f0a7a89f25d7bea663f62148a9b289a2cee610 @Eugeny Eugeny committed Apr 17, 2015
View
@@ -1,4 +1,7 @@
-# demo-customized
-A demo of custom web-ui based on Ajenti Core
+# Customized Web-UI demo
-Entry point is the ``custom-web-ui`` script.
+This a demo of custom Web-UI built with Ajenti Core.
+
+Entry point is the [``custom-web-ui``](https://github.com/ajenti/demo-customized/blob/master/custom-web-ui) script.
+
+If you'd like to play with JS/CSS resource files, don't forget to rebuild them afterwards with ``make``. This requires the dev multitool (``sudo pip install -U ajenti-dev-multitool``).
@@ -2,7 +2,3 @@
*.sublime-*
.~lock.*
.bowerrc
-resources/build
-resources/vendor
-*/resources/build
-*/resources/vendor
@@ -0,0 +1,61 @@
+html body.customized #loading-bar .bar {
+ background: #CC2A00;
+}
+
+html body.customized .container > .row > .sidebar .sidebar-item.active > div > .expander,
+html body.customized .container > .row > .sidebar .sidebar-item.active > div > .link ,
+html body.customized .container > .sidebar .sidebar-item.active > div > .expander,
+html body.customized .container > .sidebar .sidebar-item.active > div > .link {
+ background: #CC2A00;
+}
+
+html body.customized .container > .row > .sidebar .sidebar-item h5,
+html body.customized .container > .sidebar .sidebar-item h5 {
+ color: #CC2A00;
+}
+
+html body.customized .form-control:focus {
+ border-bottom-color: #CC2A00;
+}
+
+html body.customized .form-control:focus + .input-group-addon {
+ border-bottom-color: #CC2A00;
+ a i { color: #CC2A00; }
+}
+
+html body.customized .navbar-brand .title {
+ color: #CC2A00;
+}
+
+html body.customized .navbar-brand.navigation-toggle {
+ color: #CC2A00;
+}
+
+html body.customized .btn-primary {
+ background: #CC2A00;
+ border: #AA1A00;
+}
+
+html body.customized .btn-flat {
+ color: #CC2A00;
+}
+
+html body.customized *[checkbox].active i.on {
+ color: #CC2A00;
+}
+
+html body.customized smart-progress .progress .progress-bar {
+ background: #CC2A00;
+}
+
+html body.customized progress-spinner .one {
+ border-left-color: #CC2A00;
+ border-top-color: #CC2A00;
+}
+
+html body.customized .nav-tabs > li.active > a,
+html body.customized .nav-tabs > li.active > a:hover {
+ border-bottom: 1px solid #CC2A00;
+ color: #CC2A00;
+}
+
@@ -0,0 +1,25 @@
+angular.module('branding', [
+ 'core',
+]);
+
+angular.module('branding').run(function (customization) {
+ customization.plugins.core.startupURL = '/view/settings';
+ customization.plugins.core.bodyClass = 'customized';
+ customization.plugins.core.title = 'Lipsum 9000';
+ customization.plugins.core.faviconURL = '/resources/customizations/resources/img/favicon.png';
+ customization.plugins.core.logoURL = '/resources/customizations/resources/img/logo-small.png';
+ customization.plugins.core.bigLogoURL = '/resources/customizations/resources/img/logo-full.png';
+ customization.plugins.core.hidePersonaLogin = true;
+
+ //customization.plugins.settings.hideMachineSettings = true;
+ //customization.plugins.settings.hideMachineName = true;
+ customization.plugins.settings.hideMachineColor = true;
+
+ //customization.plugins.settings.hideBindingSettings = true;
+ //customization.plugins.settings.hideAuthSettings = true;
+
+ //customization.plugins.settings.hideSSLSettings = true;
+ //customization.plugins.settings.hideSSLClientAuthSettings = true;
+
+});
+

0 comments on commit 04f0a7a

Please sign in to comment.