Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1,minimum- scale=1, maximum-scale=1, user-scalable=no"/>
- </head>
- <apex:page standardController="Account" extensions="Account_Controller_2" action="{!displayAccount}" docType="html-5.0" standardStylesheets="true" showheader="false" sidebar="false">
- <script>
- function ExitButton()
- {
- sforce.one.navigateToURL("/home/home.jsp");
- }
- </script>
- <style type="text/css">
- .tg {border-collapse:collapse;border-spacing:0;}
- .tg td{font-family:Arial, sans-serif; font-size:12px;padding:1px 2px;border-style:solid;word-break:normal;}
- .tg .tg-io3b{font-size:12px;font-family:Arial, Helvetica, sans-serif; color:#6090F0;}
- .tg .tg-nuj7{font-size:12px;font-family:Arial, Helvetica, sans-serif; color:#000000;}
- .forcePanelOverlay .panel{display:block; overflow:y;}
- </style>
- <head>
- <meta name="viewport" content="width=device-width, height=800px, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
- </head>
- <apex:form id="theForm">
- <section id="status" style="text-align: center; display: none;"></section>
- <div id="Account Section">
- <div style="font-family:Arial, sans-serif; font-size:14px;"><b>Account<apex:inlineEditSupport /></b></div>
- <table class="tg">
- <tr>
- <td class="tg-io3b">
- <b><apex:outputLabel value="Name"/></b>
- </td>
- <td class="tg-nuj7">
- <apex:outputField value="{!account.Name}"/>
- </td>
- </tr>
- <tr>
- <td class="tg-io3b">
- <b><apex:outputLabel value="Current Status"/></b>
- </td>
- <td class="tg-nuj7">
- <apex:inputField style="width:250px;height:50px" id="Status" required="false" value="{!account.Last_Status__c}"/>
- </td>
- </tr>
- <tr>
- <td class="tg-io3b">
- <b><apex:outputLabel value="Additional Info"/></b>
- </td>
- <td class="tg-nuj7">
- <apex:outputField value="{!account.Additional_Information__c}"/>
- </td>
- </tr>
- <tr>
- <td class="tg-io3b">
- <b><apex:outputLabel value="Last contact"/></b>
- </td>
- <td class="tg-nuj7">
- <apex:outputField value="{!account.Last_Update__c}"/>
- </td>
- </tr>
- <tr>
- <td class="tg-io3b">
- <b><apex:outputLabel value="Problem?"/></b>
- </td>
- <td class="tg-nuj7">
- <apex:outputField value="{!account.Ongoing_Problem__c}"/>
- </td>
- </tr>
- </table>
- </div>
- <div id="Buttons Section" style="display:block;overflow:auto;">
- <apex:pageBlock >
- <apex:pageBlockButtons location="Top" style="position:fixed;width:300px;left:0;right:0;margin-left:10px;margin-top:0px;margin-bottom:0px;">
- <apex:commandButton style="background:#6090F0;height:20px;width:60px;color:#000000;" value="OK" action="{!OK}" id="OKButton"/>
- <apex:commandButton style="background:#6090F0;height:20px;width:60px;color:#000000;" value="NOT OK" action="{!notOK}" id="NotOKButton"/>
- <input type="button" value="EXIT" onclick="ExitButton()" id="btnExit" style="background:#6090F0;height:20px;width:60px;color:#000000;"/>
- </apex:pageBlockButtons>
- </apex:pageBlock>
- </div>
- <div id="Contacts Section" style="display:block;overflow:auto;">
- <div style="font-family:Arial, sans-serif; font-size:14px"><b>Contacts</b></div>
- <style type="text/css">
- .tg {border-collapse:collapse;border-spacing:0;display:block;overflow:visible}
- .tg td{font-family:Arial, sans-serif; font-size:11px;padding:3px 2px;border-style:none;overflow:hidden;word-break:normal;}
- .tg .tg-io3b{font-size:11px;font-family:Arial, Helvetica, sans-serif; color:#6090F0;}
- .tg .tg-nuj7{font-size:11px;font-family:Arial, Helvetica, sans-serif; color:#000000;}
- </style>
- <table class="tg">
- <thead>
- <tr class="tg-io3b">
- <th>Name</th>
- <th>Phone</th>
- <th>E-Mail</th>
- </tr>
- </thead>
- <tbody>
- <apex:repeat value="{!contacts}" var="cont_acc">
- <tr class="tg-nuj7">
- <td>{!cont_acc.Name}</td>
- <td><apex:outputLink value="tel:{!SUBSTITUTE(cont_acc.Phone,' ', '')}">{!cont_acc.Phone}</apex:outputLink></td>
- <td><apex:outputLink value="mailto:{!cont_acc.Email}">{!cont_acc.Email}</apex:outputLink></td>
- </tr>
- </apex:repeat>
- </tbody>
- </table>
- </div>
- </apex:form>
- <div style="display:block;height:88px;overflow:visible"></div>
- <div style="display:block;height:88px;overflow:visible">
- </div>
- <style type="text/css">
- .tg {border-collapse:collapse;border-spacing:0;}
- .tg td{font-family:Arial, sans-serif; font-size:12px;padding:1px 2px;border-style:solid;overflow:hidden;word-break:normal;}
- .tg .tg-io3b{font-size:12px;font-family:Arial, Helvetica, sans-serif; color:#6090F0;}
- .tg .tg-nuj7{font-size:12px;font-family:Arial, Helvetica, sans-serif; color:#000000;}
- .forcePanelOverlay .panel { overflow-y:scroll !important; }
- </style>
Add Comment
Please, Sign In to add comment