-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathSite.Mobile.Master
166 lines (151 loc) · 9.88 KB
/
Site.Mobile.Master
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.Mobile.master.cs" Inherits="Analytics.Site_Mobile" %>
<%@ Register Src="~/ViewSwitcher.ascx" TagPrefix="friendlyUrls" TagName="ViewSwitcher" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<%--<meta name="viewport" content="width=device-width" />--%>
<meta charset="utf-8" />
<%--<meta name="viewport" content="width=device-width, initial-scale=.5" />--%>
<meta name="viewport" content="width=device-width" />
<title>Portfolio Analytics</title>
<asp:PlaceHolder runat="server">
<%: Scripts.Render("~/bundles/modernizr") %>
</asp:PlaceHolder>
<asp:ContentPlaceHolder runat="server" ID="HeadContent" />
<webopt:BundleReference runat="server" Path="~/Content/css" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script type="text/javascript">
//$(window).load(function () {
// $("#loader").fadeOut(1000);
//});
function doHourglass() {
document.body.style.cursor = 'wait';
};
function resetCursor() {
document.body.style.cursor = 'default';
};
</script>
</head>
<body onbeforeunload="doHourglass();" onunload="resetCursor();">
<form id="form1" runat="server">
<asp:ScriptManager runat="server">
<Scripts>
<%--To learn more about bundling scripts in ScriptManager see https://go.microsoft.com/fwlink/?LinkID=301884 --%>
<%--Framework Scripts--%>
<asp:ScriptReference Name="MsAjaxBundle" />
<asp:ScriptReference Name="jquery" />
<asp:ScriptReference Name="bootstrap" />
<asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
<asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
<asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
<asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
<asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
<asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
<asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
<asp:ScriptReference Name="WebFormsBundle" />
<%--Site Scripts--%>
</Scripts>
</asp:ScriptManager>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" runat="server" href="~/">Portfolio Analytics</a>
</div>
<div id="testid" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<%--<li style="padding-left: 5px;"><a runat="server" href="~/" class="mysubmenu">Home</a></li>--%>
<%-- Adding new for project --%>
<li style="padding-left: 5px;">
<%--<a href="#" class="mysubmenu">Manage Investments (Global)</a>--%>
<a runat="server" href="~/mselectportfolio.aspx" class="mysubmenu">Manage global Investments</a></li>
<%--<ul style="padding-left: 15px;" class="no-bullets">
<li style="padding-left: 25px;"><a runat="server" href="~/mnewportfolio.aspx" class="mysubmenu">New Portfolio</a></li>
<li style="padding-left: 25px;"><a runat="server" href="~/mselectportfolio.aspx?valuation=false" class="mysubmenu">Open Portfolio</a></li>
<li style="padding-left: 25px;"><a runat="server" href="~/mdeleteportfolio.aspx" class="mysubmenu">Delete Portfolio</a></li>
<li style="padding-left: 25px;"><a runat="server" href="~/mimportstockfolio.aspx" class="mysubmenu">Import Portfolio</a></li>
<li style="padding-left: 25px;">
<a runat="server" href="~/mselectportfolio.aspx?valuation=true" class="mysubmenu">Portfolio Valuation Graph</a></li>
<li style="padding-left: 25px;">
<a runat="server" href="~/mgetquoteadd.aspx?addallowed=false" class="mysubmenu">Get Quote</a></li>
<li style="padding-left: 25px;"><a href="#" class="mysubmenu">Graphs</a>
<ul style="padding-left: 15px;" class="no-bullets">
<li style="padding-left: 25px;"><a runat="server" href="~/mshowgraph.aspx" class="mysubmenu">Standard Indicator</a></li>
<li style="padding-left: 25px;"><a runat="server" href="~/madvancegraphs.aspx" class="mysubmenu">Advanced Indicator</a></li>
</ul>
</li>
</ul>
</li>--%>
<li style="padding-left: 5px;">
<a runat="server" href="~/mselectportfolioMF.aspx" class="mysubmenu">Manage MF (India) Investments</a></li>
<%--<ul style="padding-left: 15px;" class="no-bullets">
<li style="padding-left: 25px;"><a runat="server" href="~/mnewportfolioMF.aspx" class="mysubmenu">New Portfolio</a></li>
<li style="padding-left: 25px;"><a runat="server" href="~/mselectportfolioMF.aspx?valuation=false" class="mysubmenu">Open Portfolio</a></li>
<li style="padding-left: 25px;"><a runat="server" href="~/mdeleteportfolioMF.aspx" class="mysubmenu">Delete Portfolio</a></li>
<li style="padding-left: 25px;">
<a runat="server" href="~/mselectportfolioMF.aspx?valuation=true&line=true" class="mysubmenu">Portfolio Fund Valuation Graph</a></li>
<li style="padding-left: 25px;">
<a runat="server" href="~/mselectportfolioMF.aspx?valuation=true&line=false" class="mysubmenu">Portfolio Cost Vs Value Graph</a></li>
<li style="padding-left: 25px;"><a href="#" class="mysubmenu">Graphs</a>
<ul style="padding-left: 15px;" class="no-bullets">
<li style="padding-left: 25px;"><a runat="server" target="_blank" href="~/Graphs/mfgraphmain.aspx" class="mysubmenu">Standard Indicator Graphs</a></li>
</ul>
</li>
</ul>
</li>--%>
<li style="padding-left: 5px;">
<a runat="server" target="_blank" href="~/advGraphs/globalindex.aspx" class="mysubmenu">Global Indices</a></li>
<li style="padding-left: 5px;"><a runat="server" href="~/About" class="mysubmenu">About</a></li>
<%--<li style="padding-left: 5px;"><a runat="server" href="~/HowTo" class="mysubmenu">How To Use</a></li>--%>
<li style="padding-left: 5px;"><a runat="server" href="~/Contact" class="mysubmenu">Contact</a></li>
</ul>
</div>
</div>
</div>
<div class="container body-content">
<%--<div>--%>
<%--<section class="content-wrapper main-content clear-fix">--%>
<asp:ContentPlaceHolder runat="server" ID="MainContent" />
<%--</section>--%>
</div>
<div>
<footer>
<p>
© <%: DateTime.Now.Year %> - Analytics Unlimited
</p>
<%--<friendlyUrls:ViewSwitcher runat="server" />--%>
</footer>
</div>
</form>
<script type="text/javascript">
//$(window).load(function () {
// $("#loader").fadeOut(1000);
//});
//function doHourglass() {
// document.body.style.cursor = 'wait';
//};
//function resetCursor() {
// document.body.style.cursor = 'default';
//};
function openGlobalIndices() {
/*window.open("Graphs/globalindices.aspx", "_blank", "fullscreen=1,menubar=0,scrollbars=2,width=1280,height=1024,top=0");*/
window.open("advGraphs/globalindex.aspx", "_blank", "fullscreen=1,menubar=0,scrollbars=2,width=1280,height=1024,top=0");
};
//following code for disabling back button both on right click and on menu
window.location.hash = "no-back-button";
// Again because Google Chrome doesn't insert
// the first hash into the history
window.location.hash = "Again-No-back-button";
window.onhashchange = function () {
window.location.hash = "no-back-button";
}
//end back button disable
</script>
</body>
</html>