mirror of https://github.com/sipwise/ngcp-csc.git
Refactor ngcp-csc mockup login to use central store instead of inline, eliminate unneeded parts of if else in controller, add defaulCredential variable and remove some unnecessary requires. Change-Id: I3844a036bf994d1759095b2121c0cfa3ca620f5dchanges/56/8956/2
parent
75fce502ba
commit
8776eac375
@ -1,3 +1,10 @@
|
||||
build/
|
||||
sass/example/
|
||||
sass/example/bootstrap.js
|
||||
sass/example/bootstrap.json
|
||||
sass/example/bootstrap.jsonp
|
||||
sass/example/example.css
|
||||
bootstrap.json
|
||||
classic.json
|
||||
classic.jsonp
|
||||
modern.json
|
||||
modern.jsonp
|
||||
|
@ -0,0 +1,30 @@
|
||||
Ext.define('NgcpCsc.store.Languages', {
|
||||
extend: 'Ext.data.Store',
|
||||
|
||||
storeId: 'Languages',
|
||||
|
||||
fields: [
|
||||
{name: 'id', type: 'string'},
|
||||
{name: 'language', type: 'string'}
|
||||
],
|
||||
|
||||
data: [
|
||||
{
|
||||
id: "en",
|
||||
language: 'English'
|
||||
},{
|
||||
id: "it",
|
||||
language: 'Italian'
|
||||
},{
|
||||
id: "de",
|
||||
language: 'German'
|
||||
},{
|
||||
id: "fr",
|
||||
language: 'French'
|
||||
},{
|
||||
id: "sp",
|
||||
language: 'Spanish'
|
||||
}
|
||||
]
|
||||
|
||||
});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Copyright (c) 2012-2013. Sencha Inc.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Ext JS Theme Harness</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
|
||||
<!--
|
||||
Load all required links and scripts
|
||||
-->
|
||||
<script type="text/javascript" src="bootstrap.js"></script>
|
||||
|
||||
<style>
|
||||
.widget-container {
|
||||
margin: 10px;
|
||||
width: 400px;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.x-slicer-target,
|
||||
.x-slicer-target * {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* ensure body does not overlap the rounded corners of framed panel/window when slicing */
|
||||
.x-panel-body,
|
||||
.x-window-body {
|
||||
background: transparent;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
Loading…
Reference in new issue